:root {
    --bg-color: #02040a;
    --navy-deep: #02040a;
    --navy-soft: #0a0f1d;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary-glow: #a855f7;
    --secondary-glow: #6366f1;
    --accent-blue: #38bdf8;
    --container-max: 1280px;
    --nav-height: 80px;
    --border-color: rgba(99, 102, 241, 0.1);
    --card-bg: rgba(2, 4, 10, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

#three-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-color);
}

#three-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 80%);
    pointer-events: none;
}

/* Background Elements */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #050505;
    pointer-events: none;
}

.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.glow-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    filter: blur(100px);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop {
    z-index: 99999;
    /* Force top */
    position: fixed;
    /* Explicitly fixed */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: saturate(180%) blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    filter: drop-shadow(0 0 12px var(--primary-glow));
}

#mini-brain-logo {
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Syncopate', sans-serif;
    letter-spacing: -1px;
    margin: 0;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.lang-toggle {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.lang-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

/* RTL Support & Dynamic Positioning */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    align-items: flex-end;
}

[dir="rtl"] .hero-actions {
    justify-content: flex-start;
}

[dir="rtl"] .footer-columns {
    direction: rtl;
}

[dir="rtl"] .chat-widget {
    right: auto;
    left: 40px;
}

[dir="rtl"] .chat-window {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-toggle {
    font-family: 'Inter', sans-serif;
}

.nav-links a {
    color: var(--text-color);
    background: linear-gradient(135deg, #fff, var(--primary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    text-transform: uppercase;
    transition: filter 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    filter: drop-shadow(0 0 12px var(--primary-glow));
    transform: translateY(-1px);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, #fff, var(--primary-glow));
    color: #000;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
    opacity: 1;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.btn-primary-large {
    background: linear-gradient(135deg, #fff, #a855f7);
    color: #000;
    padding: 18px 42px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
    display: inline-block;
}

.btn-primary-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
    filter: brightness(1.1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.announcement-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.05);
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    text-decoration: none;
    font-size: 0.75rem;
    font-family: 'Syncopate', sans-serif;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.announcement-bar:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.announcement-bar .badge {
    color: var(--primary-glow);
    font-weight: 800;
    margin-right: 12px;
}

.announcement-bar .arrow {
    margin-left: 12px;
    opacity: 0.5;
}

.hero h1 {
    font-size: 64px;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 24px;
    max-width: 900px;
}

.glow-text {
    background: linear-gradient(135deg, #fff 40%, var(--primary-glow) 70%, var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 900px;
}

.hero-grid.single-card {
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

.feature.sol-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    z-index: 10;
    pointer-events: auto;
}

.feature-card.featured {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
    transform: none;
}

.feature-card.featured:hover {
    border-color: var(--primary-glow);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.2);
    transform: translateY(-5px);
}

.feature-card.featured .feature-card-image {
    height: 300px;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

.feature-card.featured .feature-card-content {
    padding: 32px;
    text-align: center;
}

.feature-card.featured h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
}

.feature-card.featured p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Pain Points Section */
.pain-section {
    margin-top: 80px;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.pain-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.pain-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pain-card:last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 50% !important;
    margin: 0 auto;
}

/* Fix for grid alignment as seen in screenshot */
.pain-grid div:nth-child(5) {
    grid-column: 2;
}

/* Manual override for exact layout in screenshot */
.pain-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pain-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.pain-card:nth-child(5) {
    flex: 0 0 calc(50% - 10px);
}

.pain-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
}

.pain-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #60a5fa;
    color: #fff;
    padding: 24px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(96, 165, 250, 0.3);
}

.pain-cta-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background: #3b82f6;
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.5);
}

.cta-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bolt-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

[dir="rtl"] .pain-cta-btn {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .pain-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pain-cta-btn {
        font-size: 1.1rem;
        padding: 16px 20px;
    }

    .pain-title {
        font-size: 1.8rem;
    }
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(2, 4, 10, 0.8));
}

/* Agents Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 100px 0;
}

.agent-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agent-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.agent-image {
    width: 100%;
    height: 240px;
    background: var(--navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.agent-card:hover .agent-image img {
    transform: scale(1.1);
}

.agent-card:hover .theme-green .btn-primary:active {
    transform: scale(0.98);
}

/* Generic Content Modal - Removed */

.agent-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, var(--card-bg));
    pointer-events: none;
}

.agent-info {
    padding: 30px;
}

.agent-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}

.agent-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.card-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Info Section */
.info-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 48px;
    letter-spacing: -2px;
    margin-bottom: 40px;
    max-width: 800px;
}

.info-text {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 900px;
    display: grid;
    gap: 24px;
}

/* Business Solutions Section */
.solutions-section {
    padding: 120px 0;
    text-align: center;
}

.solutions-main-title {
    font-size: 3rem;
    margin-bottom: 64px;
    color: #fff;
    font-family: 'Syncopate', sans-serif;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sol-card {
    background: rgba(15, 23, 42, 0.4);
    padding: 40px;
    border-radius: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(30px);
}

.solutions-section.active .sol-card {
    animation: slideUpFade 0.8s forwards ease-out;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sol-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sol-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sol-card:nth-child(3) {
    animation-delay: 0.3s;
}

.sol-card:nth-child(4) {
    animation-delay: 0.4s;
}

.sol-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15);
}

.sol-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-glow);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.sol-card:hover .sol-icon-box {
    background: var(--primary-glow);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.sol-card h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Syncopate', sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.sol-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.featured-sol-card {
    border: 1px solid var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
}

.featured-sol-card .sol-icon-box {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border-color: rgba(56, 189, 248, 0.3);
}

.featured-sol-card:hover .sol-icon-box {
    background: var(--accent-blue);
    color: #fff;
}

/* Badge Styling */
.sol-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: #60a5fa;
    color: #fff;
    padding: 4px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

[dir="rtl"] .sol-card {
    text-align: right;
}

[dir="rtl"] .sol-badge {
    left: auto;
    right: 24px;
}

/* Staggered grid as per screenshot */
@media (min-width: 1025px) {
    .solutions-grid {
        grid-template-rows: auto auto;
    }
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-sol-card {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Real Results / Case Studies Section */
.results-section {
    padding: 120px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.case-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(40px);
}

.results-section.active .case-card {
    animation: slideUpFade 0.8s forwards ease-out;
}

.case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.case-card:nth-child(3) {
    grid-column: 2;
    animation-delay: 0.4s;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.case-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.case-icon-main {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.case-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-row {
    display: flex;
    gap: 20px;
}

.case-mini-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-mini-icon.problem {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.case-mini-icon.solution {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #0ea5e9;
}

.case-text {
    display: flex;
    flex-direction: column;
}

.case-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.problem .case-label {
    color: #ef4444;
    opacity: 0.8;
}

.solution .case-label {
    color: #0ea5e9;
    opacity: 0.8;
}

.case-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.case-metrics {
    padding: 0 32px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.metric-item svg {
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.metric-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.metric-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin: 0;
}

[dir="rtl"] .case-header,
[dir="rtl"] .case-card {
    text-align: right;
}

[dir="rtl"] .case-row {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .case-card:nth-child(3) {
        grid-column: auto;
    }
}

/* Hiring CTA */
.hiring-cta {
    padding: 160px 0;
    border-top: 1px solid var(--border-color);
    text-align: flex-start;
}

.hiring-cta h2 {
    font-size: 48px;
    margin-bottom: 24px;
    max-width: 800px;
}

.hiring-cta p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 64px;
    max-width: 600px;
}

.newsletter-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.newsletter-box h4 {
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0 160px;
}

/* FAQ Section */
.faq-section {
    padding: 0 0 160px;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: var(--primary-glow);
}

.faq-item.active {
    background: rgba(168, 85, 247, 0.05);
    border-color: var(--primary-glow);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-glow);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-body {
    max-height: 200px;
    /* Approximate max height */
    opacity: 1;
}

.faq-body p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.reviews-section.active .review-card {
    animation: slideUpFade 0.8s forwards ease-out;
}

.review-card:nth-child(even) {
    animation-delay: 0.2s;
}

.review-card:nth-child(3) {
    animation-delay: 0.3s;
}

.review-card:nth-child(4) {
    animation-delay: 0.5s;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.quote-icon {
    color: var(--primary-glow);
    opacity: 0.5;
    background: rgba(168, 85, 247, 0.1);
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
}

.review-metric {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: #0f172a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--border-color);
}

.reviewer-details h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.reviewer-details span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

[dir="rtl"] .reviews-grid {
    text-align: right;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

border: 1px solid var(--border-color);
border-radius: 8px;
padding: 12px 16px;
color: #fff;
outline: none;
}

.newsletter-form button {
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-weight: 700;
    cursor: pointer;
}

.privacy-note {
    font-size: 12px;
    color: #555 !important;
    margin: 0 !important;
}

/* Footer */
.footer {
    background: #020617;
    /* Very dark navy */
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    margin-bottom: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Syncopate', sans-serif;
    color: #fff;
    letter-spacing: 1px;
}

.footer-slogan {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-glow);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    background: var(--primary-glow);
    border-color: var(--primary-glow);
    transform: translateY(-4px);
    box-shadow: 0 0 20px var(--primary-glow);
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-inline-start: 4px;
    /* Move slightly right/left */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #64748b;
    font-size: 0.9rem;
}

[dir="rtl"] .footer-columns {
    text-align: right;
}

[dir="rtl"] .footer-col ul li a:hover {
    padding-inline-start: 4px;
}

@media (max-width: 900px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* WhatsApp Demo Modal Styles */
.wa-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.wa-modal-backdrop.active {
    display: flex !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wa-phone-frame {
    width: 100%;
    max-width: 420px;
    height: 90vh;
    max-height: 850px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wa-screen {
    width: 100%;
    height: 100%;
    background: #0b141a;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.wa-header {
    background: #202c33;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    color: white;
}

.wa-contact-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wa-contact-name {
    color: #e9edef;
    font-size: 16px;
    font-weight: 500;
}

.wa-online-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8696a0;
    font-size: 13px;
}

.wa-status-dot {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.wa-chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #0b141a;
}

.wa-date-divider {
    text-align: center;
    margin: 12px 0;
}

.wa-date-divider span {
    background: #202c33;
    color: #8696a0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.wa-message {
    display: flex;
    margin-bottom: 8px;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-message.incoming {
    justify-content: flex-start;
}

.wa-message.outgoing {
    justify-content: flex-end;
}

.wa-bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
}

.wa-message.incoming .wa-bubble {
    background: #202c33;
    color: #e9edef;
}

.wa-message.outgoing .wa-bubble {
    background: #005c4b;
    color: #e9edef;
}

.wa-message-text {
    font-size: 14.2px;
    line-height: 19px;
    word-wrap: break-word;
}

.wa-message-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
    font-size: 11px;
    color: #8696a0;
}

.wa-typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.wa-typing-dot {
    width: 8px;
    height: 8px;
    background: #8696a0;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.wa-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.wa-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

.wa-input-container {
    background: #202c33;
    padding: 8px 12px;
    text-align: center;
    color: #8696a0;
    font-size: 14px;
}

.wa-restart-btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 10;
}

.wa-restart-btn.visible {
    display: flex;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.3);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}


/* Chat Widget CSS Re-integrated */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 40px;
    z-index: 10000;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(5deg);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 520px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

/* (Internal messages styles same as before) */
.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    align-self: flex-start;
}

.message.user {
    background: var(--primary-glow);
    color: #fff;
    align-self: flex-end;
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    outline: none;
}

.chat-send {
    background: #fff;
    color: #000;
    border: none;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 52px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    /* Mobile Menu Toggle Styling */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1100;
        background: none;
        border: none;
        padding: 10px;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    /* Animated Hamburger to X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    /* Nav Links as Mobile Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger transitions for links */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .hero-subtext {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .chat-window {
        width: calc(100vw - 48px);
        bottom: 20px;
        right: 24px;
        height: 70vh;
    }

    .chat-widget {
        right: 24px;
        bottom: 24px;
    }
}

/* Dark Premium WhatsApp Modal (Default) */
:root {
    --whatsapp-green: #25D366;
    --whatsapp-dark-green: #0a0f1d;
    --whatsapp-bg: #05070a;
    --whatsapp-bubble-msg: rgba(255, 255, 255, 0.05);
    --whatsapp-bubble-self: rgba(168, 85, 247, 0.15);
}

/* Green Theme Overrides */
.whatsapp-modal.theme-green {
    --whatsapp-dark-green: #128C7E;
    --whatsapp-bg: #e5ddd5;
    --whatsapp-bubble-msg: #fff;
    --whatsapp-bubble-self: #dcf8c6;
}

.whatsapp-chat-window {
    width: 90%;
    max-width: 420px;
    height: 650px;
    background: #0a0f1d;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.1);
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-green .whatsapp-chat-window {
    background: var(--whatsapp-bg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 12px;
}

.modal-backdrop.active .whatsapp-chat-window {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.whatsapp-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-green .whatsapp-header {
    background: var(--whatsapp-dark-green);
    backdrop-filter: none;
    padding: 12px 16px;
    border-bottom: none;
}

.agent-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    overflow: hidden;
}

.theme-green .agent-avatar {
    width: 40px;
    height: 40px;
    background: #fff;
}

.whatsapp-chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #05070a;
    background-image: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 80%);
}

.theme-green .whatsapp-chat-area {
    background: var(--whatsapp-bg);
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-repeat: repeat;
    background-size: 300px;
    padding: 20px;
    gap: 12px;
}

.chat-bubble {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.95rem;
}

.theme-green .chat-bubble {
    backdrop-filter: none;
    border: none;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-bubble.agent {
    background: rgba(255, 255, 255, 0.03);
    border-top-left-radius: 2px;
    align-self: flex-start;
}

.theme-green .chat-bubble.agent {
    background: var(--whatsapp-bubble-msg);
    border-top-left-radius: 0;
}

.chat-bubble.user {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
    border-top-right-radius: 2px;
    align-self: flex-end;
}

.theme-green .chat-bubble.user {
    background: var(--whatsapp-bubble-self);
    border-top-right-radius: 0;
}

.chat-bubble .timestamp {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    margin-top: 4px;
    display: block;
    text-align: right;
}

.theme-green .chat-bubble .timestamp {
    color: #999;
}

.typing-indicator {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 12px;
    border-top-left-radius: 2px;
    width: fit-content;
}

.theme-green .typing-indicator {
    background: var(--whatsapp-bubble-msg);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    border-top-left-radius: 0;
}

.whatsapp-input-area {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-green .whatsapp-input-area {
    background: #f0f0f0;
    backdrop-filter: none;
    border-top: none;
    padding: 10px 16px;
}

.input-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    flex: 1;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 0.9rem;
}

.theme-green .input-placeholder {
    background: #fff;
    border: none;
    color: #999;
}

.action-btn {
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
}

.send-btn {
    color: var(--primary-glow);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
}

.theme-green .action-btn {
    color: #555;
}

.theme-green .send-btn {
    color: #128C7E;
}

/* Waveform Animation */
.voice-waveform {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 4px;
    align-items: center;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.voice-waveform.active {
    display: flex;
}

.voice-waveform .bar {
    width: 4px;
    height: 10px;
    background: var(--whatsapp-green);
    border-radius: 2px;
    animation: oscillate 1s infinite ease-in-out;
}

.voice-waveform .bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 15px;
}

.voice-waveform .bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 20px;
}

.voice-waveform .bar:nth-child(4) {
    animation-delay: 0.3s;
    height: 15px;
}

.voice-waveform .bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 10px;
}

/* Animations */
@keyframes bubbleAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

@keyframes oscillate {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1.5);
    }
}