/* --- CSS Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --bg-body: #f8fafb;
    --bg-alt: #eef2f5;
    --bg-dark: #111827;
    --fg-primary: #0f172a;
    --fg-secondary: #64748b;
    --fg-muted-dark: #cbcbcb;
    --accent-primary: #00589b;
    --accent-light: #3cbc67;
    --accent-dark: #004070;
    --white: #ffffff;
    --border-light: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.8);

    /* Typography */
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "DM Sans", sans-serif;

    /* Sizing */
    --container-width: 1280px;
    --header-height: 64px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--fg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background-color: var(--accent-primary);
    color: var(--white);
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--fg-primary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}
h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.25rem;
}

p {
    color: #333;
    margin-bottom: 1rem;
}

a, button {
    cursor: pointer;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-dark)
    );
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(8, 145, 178, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--fg-primary);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background-color: rgba(8, 145, 178, 0.05);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    /* background-color: var(--glass-bg); */
    background-color: rgb(255 255 255 / 75%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #fff;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: inline-block;
    width: auto;
    height: 40px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #004070;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--accent-primary);
}
.nav-link:hover::after {
    width: 80%;
}
.mobile-menu,
.mobile-menu-btn {
    display: none;
}

/*== | Popup CSS | ==================================*/

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    overflow: auto;
}

.popup-flex {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 100vh;
    overflow: auto;
}

.popup-inner {
    display: block;
    position: relative;
    width: 90%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.26);
    z-index: 9999;
    max-width: 700px;
    overflow: hidden;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.popup-inner h4 {
    display: block;
    padding: 15px 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #002a64;
    text-decoration: underline;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    z-index: 9999;
    opacity: 1;
    cursor: pointer;
}

.popup-close svg {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    transition: all 0.5s ease-in-out;
}

.popup-close:hover svg {
    opacity: 0.7;
}

.popup-inner .popup-title {
    display: block;
    font-size: 22px;
    font-family: var(--font-display);
    color: var(--accent-primary);
    font-weight: 500;
    border-bottom: 4px double var(--accent-light);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.popup-content {
    display: block;
    max-height: 50vh;
    overflow: auto;
    padding: 10px;
    scroll-behavior:smooth;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    /* background:
        radial-gradient(
            ellipse 80% 50% at 50% -20%,
            rgba(8, 145, 178, 0.15) 0%,
            transparent 50%
        ),
        linear-gradient(180deg, var(--bg-body) 0%, var(--bg-alt) 100%);
    overflow: hidden; */
}

.hero-wave-bg {
    position: absolute;
    inset: 0;
    background: url(../images/wave-bg.svg) no-repeat;
    background-size: 100%;
    background-position: 0 -20vh;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(8, 145, 178, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-light), transparent);
    top: 10%;
    right: 10%;
}
.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-primary), transparent);
    bottom: 20%;
    left: 5%;
    animation-delay: -3s;
}
.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f59e0b, transparent);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 42px;
}

.highlight-text {
    font-size: 58.5px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-light)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgb(255 235 59 / 80%);
    border: 1px solid #ffeb3b;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background-color: #00ff28;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    background: linear-gradient(135deg, var(--white), var(--bg-alt));
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
}

.sound-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* margin-bottom: 1.5rem; */
    height: 50px;
    margin-left: auto;
}

.bar {
    width: 4px;
    background-color: var(--accent-light);
    border-radius: 2px;
    animation: soundwave 0.8s ease-in-out infinite;
}

.demo-card {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    color: var(--white);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.demo-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-avatar svg {
    width: 20px;
    height: 20px;
    stroke: white;
}
.demo-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
}
.demo-status {
    font-size: 1rem;
    color: var(--fg-muted-dark);
}

.demo-list {
    list-style: none;
    font-size: 1rem;
}
.demo-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
}
.demo-list svg {
    width: 18px;
    height: 18px;
    fill: #00ff73;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}
.stat-label {
    font-size: 1rem;
    color: #fff;
}

/* Wave SVG */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
}

.wave-svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: wave 12s linear infinite;
}
.wave-svg:nth-child(2) {
    animation: wave 18s linear reverse infinite;
    opacity: 0.5;
    bottom: 10px;
}

/* --- Sections --- */
.how-it-works {
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
    position: relative;
}

.step-grid,
.use-case-grid,
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .step-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .use-case-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards */
.step-card,
.use-case-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-light)
    );
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover,
.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(8, 145, 178, 0.25);
    border-color: var(--accent-primary);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-light)
    );
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.step-number::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite;
}

.step-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-primary);
}
.step-icon.spin {
    animation: spin 3s ease-in-out infinite;
}
.step-icon.bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Use Cases */
.use-cases {
    background: linear-gradient(#ffffff 0%, #e3f3e1 100%);
    position: relative;
}
/* .use-cases::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    height: 100%;
    background: linear-gradient(to left, rgba(8, 145, 178, 0.05), transparent);
    pointer-events: none;
} */
.use-case-card {
    padding: 1.5rem;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}
.use-case-card:hover .icon-box {
    transform: scale(1.1);
}
.icon-box svg {
    width: 28px;
    height: 28px;
    stroke: white;
}
.use-case-card p {
    font-size: 0.875rem;
}

.icon-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.icon-cyan {
    background: linear-gradient(
        135deg,
        var(--accent-light),
        var(--accent-primary)
    );
}
.icon-violet {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.icon-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Features */
.features {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1f2937 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.features-bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.glow-1 {
    top: 0;
    left: 10%;
    background: var(--accent-primary);
}
.glow-2 {
    bottom: 0;
    right: 20%;
    background: #5e3ea7;
    animation: pulse 4s ease-in-out infinite;
}

.features h2,
.features h3 {
    color: var(--white);
}
.features .section-subtitle {
    color: var(--fg-muted-dark);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}
.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}
.feature-card .icon-box {
    /* background: transparent; */
    margin-bottom: 1.25rem;
}
.feature-card p {
    color: var(--fg-muted-dark);
    font-size: 0.875rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(
        135deg,
        rgba(8, 145, 178, 0.05),
        var(--white),
        rgba(139, 92, 246, 0.05)
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}
.cta-content p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.trust-section {
    border-top: 1px solid var(--border-light);
    padding-top: 3rem;
}
.trust-title {
    font-size: 0.875rem;
    color: var(--fg-muted-dark);
    margin-bottom: 1.5rem;
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    opacity: 0.5;
}
.trust-logos span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--fg-secondary);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--fg-muted-dark);
    padding: 3rem 0;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    display: inline-block;
    width: auto;
    height: 40px;
}
/* .footer-logo .logo-icon {
    width: 32px;
    height: 32px;
}
.footer-logo .logo-text {
    color: var(--white);
    font-size: 1rem;
} */
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--fg-muted-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--white);
}
.copyright {
    color: #aaa;
    font-size: 0.875rem;
    margin: 0;
}

/* Animations */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}
@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(-20px, -10px) rotate(3deg);
    }
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}
@keyframes soundwave {
    0%,
    100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1.5);
    }
}
@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}
@keyframes spin {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
@keyframes particleAnim {
    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.4;
        transform: scale(1);
    }
    90% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* --- Contact Form Styles --- */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--fg-primary);
    margin-bottom: 0.5rem;
}
.form-group label .required {
    display: inline-block;
    color: #ff0000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--white);
    transition: all 0.2s ease;
    line-height: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    min-height: 1rem;
    display: none;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-top: 1rem;
}

.form-actions .btn {
    width: 100%;
}

.form-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    font-weight: 500;
}

.success-message {
    background-color: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Media Query CSS */

@media screen and (max-width: 1100px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 3.3vw;
    }

    .highlight-text {
        font-size: 4.8vw;
    }

    .hero-wave-bg {
        background-position: 0 -10vh;
    }
}

@media screen and (max-width: 768px) {
    .btn {
        padding: 0.7rem 2rem;
    }
    .header .btn {
        padding: 0.5rem 1rem;
        line-height: normal;
    }
    .step-grid,
    .use-case-grid,
    .feature-grid {
        margin-top: 2rem;
        gap: 1rem;
    }

    .hero {
        min-height: 95vh;
    }
    .container {
        padding: 0 2rem !important;
    }
    .hero-badge {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .highlight-text {
        font-size: 8vw;
    }
    .hero-content h1 {
        font-size: 5vw;
        padding-bottom: 10px;
    }

    .hero-wave-bg {
        background-position: 0 0;
    }

    .popup-inner {
        width: 95%;
        margin: 1rem;
    }
}
@media screen and (max-width: 767px) {

    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        padding: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--fg-primary);
    }

    .mobile-menu-btn svg {
        width: 24px;
        height: 24px;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        padding: 2rem;
        display: block;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--fg-primary);
        padding: 0.5rem;
    }

    .mobile-menu-close svg {
        fill: #000;
        width: 20px;
    }

    .mobile-nav {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-nav a {
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--fg-secondary);
        text-decoration: none;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-light);
        transition: color 0.2s;
    }

    .mobile-nav a:hover {
        color: var(--accent-primary);
    }
    .mobile-nav .btn {
        color: #FFF;
        padding: 0.5rem 2rem;
        width: 100%;
    }

    .hero .container {
        padding: 1.5rem !important;
    }
    .hero-text p {
        font-size: 4vw;
    }
    .hero-visual {
        padding: 1.5rem;
    }
    .hero-wave-bg {
        background-position: 0 0;
    }
    .demo-header {
        flex-direction: column;
    }
    .demo-header div:has(.demo-title) {
        width: 100%;
    }
    .demo-header .demo-title,
    .demo-header .demo-status {
        text-align: center;
    }
    .demo-header .sound-wave {
        margin-left: unset;
    }
    .step-card,
    .use-case-card {
        padding: 1.5rem;
    }
    .section-padding {
        padding: 2rem 0;
    }
    .popup-inner {
        width: 94%;
        margin: 3%;
    }
    .popup-flex {
        display: block;
    }
    .popup-inner .popup-title {
        padding-bottom: 5px;
        margin-bottom: 10px;
    }
    .popup-content {
        max-height: 80vh;
    }
    .form-row {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem !important;
    }
    .hero-visual {
        padding: 1rem;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-text p {
        margin-bottom: 1.5rem;
    }
    .hero-wave-bg {
        width: 100%;
        background-position: 0 15vw;
    }
    .demo-stats {
        gap: 0.5rem;
    }
    .stat-value {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: auto;
        white-space: nowrap;
    }
}
