/* MuryaAI High-End Sleek Emerald & Slate Design System */
:root {
    --bg-dark: #020617;
    --card-bg: rgba(15, 23, 42, 0.85);
    --card-border: rgba(30, 41, 59, 0.8);
    --primary-emerald: #10b981;
    --primary-teal: #14b8a6;
    --text-muted: #94a3b8;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0b1120;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Base Form Control Resets */
button {
    cursor: pointer;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
}

/* Wave Bar Animation */
.wave-bar {
    width: 4px;
    background-color: var(--primary-emerald);
    border-radius: 9999px;
    display: inline-block;
    transition: height 0.15s ease-in-out;
}

.recording-active .wave-bar {
    animation: wavePulse 1.2s infinite ease-in-out;
}

.recording-active .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.recording-active .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.recording-active .wave-bar:nth-child(4) { animation-delay: 0.3s; }
.recording-active .wave-bar:nth-child(5) { animation-delay: 0.4s; }
.recording-active .wave-bar:nth-child(6) { animation-delay: 0.5s; }
.recording-active .wave-bar:nth-child(7) { animation-delay: 0.6s; }
.recording-active .wave-bar:nth-child(8) { animation-delay: 0.7s; }

@keyframes wavePulse {
    0%, 100% {
        height: 6px;
        opacity: 0.4;
    }
    50% {
        height: 38px;
        opacity: 1;
    }
}

/* Feature Phone (Nokia 3310 Style) Simulator */
.feature-phone-body {
    background: #1e293b;
    border: 3px solid #334155;
    border-radius: 28px;
    padding: 16px;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.feature-phone-screen {
    background: #064e3b;
    color: #a7f3d0;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 12px;
    padding: 12px;
    border: 2px solid #047857;
    min-height: 140px;
}

/* WhatsApp Message Simulator */
.wa-bubble-incoming {
    background: #1f2c34;
    color: #e9edef;
    border-radius: 8px 8px 8px 0px;
    padding: 10px 14px;
    max-width: 85%;
}

.wa-bubble-outgoing {
    background: #005c4b;
    color: #e9edef;
    border-radius: 8px 8px 0px 8px;
    padding: 10px 14px;
    max-width: 85%;
    margin-left: auto;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
}

/* Smooth line clamp for clean sample prompt buttons */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Glow effects */
.glow-emerald {
    box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.25);
}
