/* ═══════════════════════════════════════════════════════════════
   THEME: NOIR ROSE
   Colors: Black #000000 (background), White #FFFFFF (text), Rose #BF6F6D (accent)
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Primary Colors - Rose */
    --primary-50: #FDF3F3;
    --primary-100: #FAE5E5;
    --primary-200: #F5CBCB;
    --primary-300: #EDA6A5;
    --primary-400: #D48584;
    --primary-500: #BF6F6D;
    --primary-600: #A85A58;
    --primary-700: #8D4A48;
    --primary-800: #753E3C;
    --primary-900: #623534;

    /* Accent - Deep Noir */
    --accent-400: #1a1a1a;
    --accent-500: #000000;
    --accent-600: #0a0a0a;

    /* Neutrals - Noir Scale */
    --gray-50: #F8F8F8;
    --gray-100: #EFEFEF;
    --gray-200: #E0E0E0;
    --gray-300: #C8C8C8;
    --gray-400: #A0A0A0;
    --gray-500: #787878;
    --gray-600: #5A5A5A;
    --gray-700: #3C3C3C;
    --gray-800: #1A1A1A;
    --gray-900: #0D0D0D;
    --gray-950: #050505;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #BF6F6D 0%, #8D4A48 100%);
    --gradient-text: linear-gradient(135deg, #D48584 0%, #BF6F6D 100%);
}

/* ===================================
   NAVBAR — Premium Glass Effect
   =================================== */
.navbar {
    /* Dark glass — opaque enough so white text stays readable over any section */
    background-color: rgba(6, 4, 4, 0.88) !important;
    background-image:
        radial-gradient(ellipse at 0% 50%, rgba(191, 111, 109, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 50%, rgba(141, 74, 72, 0.08) 0%, transparent 60%);
    backdrop-filter: blur(24px) saturate(180%) brightness(0.95) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(0.95) !important;

    /* Rose-tinted bottom border acts as the glass edge */
    border-bottom: 1px solid rgba(191, 111, 109, 0.35) !important;

    /* Multi-layer shadow: top highlight + soft drop shadow + faint rose ambient */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.28),
        0 4px 22px rgba(0, 0, 0, 0.14),
        0 0 30px rgba(191, 111, 109, 0.05) !important;

    transition:
        background-color 0.35s ease,
        backdrop-filter 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease !important;
}

/* Denser glass once user has scrolled */
.navbar.scrolled {
    background-color: rgba(6, 4, 4, 0.92) !important;
    backdrop-filter: blur(28px) saturate(200%) brightness(0.92) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(0.92) !important;
    border-bottom: 1px solid rgba(191, 111, 109, 0.45) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 3px 14px rgba(0, 0, 0, 0.35),
        0 6px 28px rgba(0, 0, 0, 0.18),
        0 0 40px rgba(191, 111, 109, 0.06) !important;
}

.navbar .nav-links a {
    color: rgba(255, 255, 255, 0.90) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.navbar .nav-links a:hover {
    color: #D48584 !important;
    text-shadow: 0 0 12px rgba(191, 111, 109, 0.5);
}

.navbar .btn-ghost {
    color: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.20) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.navbar .btn-ghost:hover {
    background: rgba(191, 111, 109, 0.15) !important;
    border-color: rgba(191, 111, 109, 0.60) !important;
    color: #D48584 !important;
    box-shadow: 0 0 16px rgba(191, 111, 109, 0.20) !important;
}

.navbar .mobile-menu-btn span {
    background: rgba(255, 255, 255, 0.85) !important;
}

/* ===================================
   DARK SECTIONS — Noir Black Background
   =================================== */
.section-dark {
    background-color: #050505;
    background-image:
        radial-gradient(at 0% 0%, rgba(191, 111, 109, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(141, 74, 72, 0.04) 0px, transparent 50%);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #FFFFFF;
}

.section-dark p {
    color: #C8C8C8;
}

/* ===================================
   LIGHT SECTIONS — Off-white / Very Light
   =================================== */
.section-light {
    background-color: #F8F8F8;
    background-image:
        radial-gradient(at 0% 0%, rgba(191, 111, 109, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 133, 132, 0.05) 0px, transparent 50%);
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: #0D0D0D !important;
}

.section-light p,
.section-light li,
.section-light .section-description {
    color: #3C3C3C !important;
}

.section-light .section-title {
    color: #0D0D0D !important;
}

/* ===================================
   BUTTONS — Rose Accent
   =================================== */
.btn-primary {
    background: #BF6F6D;
    color: #FFFFFF;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(191, 111, 109, 0.35);
}

.btn-primary:hover {
    background: #A85A58;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -4px rgba(191, 111, 109, 0.45), 0 0 20px rgba(191, 111, 109, 0.3);
}

/* Outline Button */
.btn-outline {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-outline svg {
    transition: all 0.3s ease;
}

.btn-outline svg circle {
    stroke: #FFFFFF;
    fill: none;
}

.btn-outline svg polygon {
    fill: #FFFFFF;
}

.btn-outline:hover {
    background: transparent !important;
    color: #BF6F6D !important;
    border-color: #BF6F6D !important;
    box-shadow: 0 0 20px rgba(191, 111, 109, 0.35) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.btn-outline:hover svg circle {
    stroke: #BF6F6D !important;
    fill: none !important;
}

.btn-outline:hover svg polygon {
    fill: #BF6F6D !important;
}

/* ===================================
   GRADIENT TEXT
   =================================== */
.gradient-text {
    background: linear-gradient(135deg, #D48584 0%, #BF6F6D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-light .gradient-text {
    background: linear-gradient(135deg, #BF6F6D 0%, #8D4A48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Darker rose gradient for light sections (buttons / spans) */
.gradient-text2 {
    background: linear-gradient(135deg, #BF6F6D 0%, #A85A58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: inherit;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #EDA6A5 0%, #BF6F6D 50%, #8D4A48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===================================
   SECTION BADGES
   =================================== */
.section-header .section-badge {
    background: rgba(191, 111, 109, 0.12);
    color: #BF6F6D;
    border: 1px solid rgba(191, 111, 109, 0.3);
}

.section-light .section-badge {
    background: #BF6F6D !important;
    color: #FFFFFF !important;
    border: none !important;
}

.section-dark .section-badge {
    background: rgba(191, 111, 109, 0.18);
    color: #EDA6A5;
    border-color: rgba(191, 111, 109, 0.4);
    box-shadow: 0 0 10px rgba(191, 111, 109, 0.15);
}

/* ===================================
   CARDS IN DARK SECTIONS
   =================================== */
.section-dark .feature-card,
.section-dark .pricing-card,
.section-dark .testimonial-card {
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(191, 111, 109, 0.15);
    border-top: 1px solid rgba(191, 111, 109, 0.4);
}

.section-dark .upcoming-card {
    background: rgba(15, 15, 15, 0.85);
    border: 2px solid rgba(191, 111, 109, 0.3);
}

.section-dark .feature-card:hover {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(191, 111, 109, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(191, 111, 109, 0.2);
}

.section-dark .upcoming-card:hover {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(191, 111, 109, 0.7);
    box-shadow: 0 25px 50px -5px rgba(0, 0, 0, 0.9), 0 0 60px rgba(191, 111, 109, 0.7);
}

/* Upcoming Badges */
.upcoming-badge {
    background: #BF6F6D !important;
    color: #FFFFFF !important;
    border: 1px solid #A85A58 !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

/* ===================================
   INTEGRATION CARDS
   =================================== */
.section-dark .integration-card .card-front,
.section-dark .integration-card .card-back {
    background: radial-gradient(circle at 30% 30%, #1A1A1A 0%, #0D0D0D 60%, #050505 100%);
    border: 2px solid #BF6F6D;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9), 0 0 10px rgba(191, 111, 109, 0.2);
}

.section-dark .integration-card:hover .card-front,
.section-dark .integration-card:hover .card-back {
    border-color: #D48584;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(191, 111, 109, 0.35);
}

.section-dark .integration-card span,
.section-dark .integration-card h4 {
    color: #EDA6A5 !important;
}

/* ===================================
   LIGHT SECTION CARDS
   =================================== */
.section-light .feature-card,
.section-light .pricing-card {
    background: #FFFFFF;
    border: 1px solid rgba(191, 111, 109, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.section-light .feature-card:hover,
.section-light .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(191, 111, 109, 0.15);
    border-color: rgba(191, 111, 109, 0.3);
}

/* Feature Icons */
.section-light .feature-icon {
    background: rgba(191, 111, 109, 0.08) !important;
    color: #BF6F6D !important;
}

.section-light .feature-icon svg {
    stroke: #BF6F6D !important;
}

/* ===================================
   ANIMATED BLOBS
   =================================== */
.bg-blob {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    width: 350px;
    height: 350px;
    animation: blob-float 15s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 80% 20%, #BF6F6D 8px, transparent 9px),
        radial-gradient(circle at 90% 30%, #8D4A48 5px, transparent 6px),
        radial-gradient(circle at 85% 25%, transparent 12px, #D48584 13px, transparent 14px);
    background-repeat: no-repeat;
    border-radius: 0;
    filter: none !important;
}

.bg-blob::before {
    content: '';
    position: absolute;
    inset: 15%;
    background: linear-gradient(135deg, #BF6F6D 0%, #8D4A48 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.7;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Light sections */
.section-light .bg-blob::before {
    background: linear-gradient(135deg, #BF6F6D 0%, #8D4A48 100%);
    opacity: 0.1;
}

.section-light .bg-blob {
    background-image:
        radial-gradient(circle at 80% 20%, #BF6F6D 8px, transparent 9px),
        radial-gradient(circle at 90% 30%, #A85A58 5px, transparent 6px),
        radial-gradient(circle at 85% 25%, transparent 12px, #A85A58 13px, transparent 14px);
    opacity: 0.25;
}

/* Dark sections */
.section-dark .bg-blob {
    background-image:
        radial-gradient(circle at 80% 20%, #BF6F6D 8px, transparent 9px),
        radial-gradient(circle at 90% 30%, #8D4A48 5px, transparent 6px),
        radial-gradient(circle at 85% 25%, transparent 12px, #D48584 13px, transparent 14px);
    opacity: 1;
}

.section-dark .bg-blob::before {
    background: linear-gradient(135deg, #BF6F6D 0%, #8D4A48 100%);
    opacity: 0.5;
    box-shadow: 0 0 60px rgba(191, 111, 109, 0.15);
}

/* Blob variants */
.blob-1 { opacity: 0.5 !important; }
.blob-2 { transform: rotate(180deg); opacity: 0.5 !important; }
.blob-3 { width: 300px; height: 300px; }
.blob-3::before {
    background: linear-gradient(135deg, #EDA6A5 0%, #8D4A48 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Blob float keyframe */
@keyframes blob-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(30px, -50px, 0) scale(1.1); }
    66% { transform: translate3d(-20px, 20px, 0) scale(0.9); }
}

/* ===================================
   SMOKE CURSOR
   =================================== */
#smokeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.smoke-effect {
    will-change: transform, opacity;
    transform: translateZ(0);
}


/* ===================================
   CONTAINMENT
   =================================== */
.section-light,
.section-dark,
.features,
.upcoming-features,
.how-it-works,
.integrations,
.pricing,
.testimonials,
.cta {
    position: relative !important;
    overflow: hidden !important;
}

.container {
    position: relative;
    z-index: 2;
}

/* ===================================
   CTA FORM
   =================================== */
.section-light .form-group {
    background: #FFFFFF;
    border: 1.5px solid rgba(191, 111, 109, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), inset 0 1px 3px rgba(191, 111, 109, 0.08);
}

.section-light .form-group input {
    color: #0D0D0D !important;
}

.section-light .form-group input::placeholder {
    color: rgba(60, 60, 60, 0.45) !important;
}

.section-light .cta-form .btn-primary {
    background: #BF6F6D;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(191, 111, 109, 0.35);
    transition: all 0.25s ease;
}

.section-light .cta-form .btn-primary:hover {
    background: #A85A58;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -4px rgba(191, 111, 109, 0.45), 0 0 20px rgba(191, 111, 109, 0.3);
}

.section-light .cta-form .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition-duration: 0.05s;
}

.section-light .cta-note {
    color: #5A5A5A !important;
}

/* ===================================
   PRICING TOGGLE — Rose Pill
   =================================== */
.pricing-toggle .toggle-switch {
    width: 100px !important;
    height: 44px !important;
    background: #FFFFFF !important;
    border: 2.5px solid #BF6F6D !important;
    border-radius: 100px !important;
    box-shadow: 0 2px 10px rgba(191, 111, 109, 0.2) !important;
    position: relative !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: box-shadow 0.3s ease !important;
}

.pricing-toggle .toggle-switch:hover {
    box-shadow: 0 4px 18px rgba(191, 111, 109, 0.35) !important;
    transform: none !important;
}

.pricing-toggle .toggle-switch.active {
    background: #FFFFFF !important;
    border: 2.5px solid #BF6F6D !important;
}

/* Slider thumb */
.pricing-toggle .toggle-slider {
    position: absolute !important;
    top: 50% !important;
    left: 0px !important;
    width: 36px !important;
    height: 36px !important;
    margin-top: -18px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.pricing-toggle .toggle-switch.active .toggle-slider {
    transform: translateX(60px) !important;
}

.popular-badge {
    background: #BF6F6D !important;
}

/* ===================================
   FEATURES PAGE SPECIFIC
   =================================== */
.features-hero {
    padding: 120px 0 80px;
    min-height: 400px;
    position: relative;
}

.features-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #BF6F6D !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #EDA6A5 !important;
    transform: translateX(-4px);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

.features-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #BF6F6D;
    margin-bottom: 16px;
    line-height: 1.2;
}

.features-hero p {
    font-size: 20px;
    color: #C8C8C8;
    margin-bottom: 0;
}

/* Feature Detail Sections */
.feature-detail-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.feature-category {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-category h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

.section-light .feature-category h2 {
    color: #0D0D0D !important;
}

.section-dark .feature-category h2 {
    color: #FFFFFF !important;
}

/* Feature Detail Grid */
.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.feature-detail-card {
    padding: 32px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Light Section Feature Cards */
.section-light .feature-detail-card {
    background: #FFFFFF;
    border: 1px solid rgba(191, 111, 109, 0.12);
}

.section-light .feature-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 0 12px rgba(191, 111, 109, 0.12);
    border-color: rgba(191, 111, 109, 0.25);
}

.section-light .feature-detail-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0D0D0D !important;
    margin-bottom: 8px;
}

.section-light .feature-detail-card p {
    font-size: 14px;
    color: #5A5A5A !important;
    line-height: 1.6;
    margin: 0;
}

/* Dark Section Feature Cards */
.section-dark .feature-detail-card {
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(191, 111, 109, 0.15);
    border-top: 1px solid rgba(191, 111, 109, 0.4);
}

.section-dark .feature-detail-card:hover {
    transform: translateY(-4px);
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(191, 111, 109, 0.5);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(191, 111, 109, 0.15);
}

.section-dark .feature-detail-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF !important;
    margin-bottom: 8px;
}

.section-dark .feature-detail-card p {
    font-size: 14px;
    color: #C8C8C8 !important;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section on Features Page */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-section .cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    color: #C8C8C8 !important;
    margin-bottom: 32px;
}

/* ===================================
   FOOTER OVERRIDES
   =================================== */
.footer {
    background-color: #000000 !important;
    border-top: 1px solid rgba(191, 111, 109, 0.20);
    color: #FFFFFF !important;
}

/* Section headings stay rose */
.footer h4 {
    color: #D48584 !important;
}

/* All body text — bright white */
.footer p,
.footer-brand p {
    color: rgba(255, 255, 255, 0.70) !important;
}

/* Nav links — white, hover to rose */
.footer a,
.footer-links a {
    color: rgba(255, 255, 255, 0.82) !important;
    transition: color 0.2s ease !important;
}

.footer a:hover,
.footer-links a:hover {
    color: #D48584 !important;
}

/* Copyright / bottom bar text */
.footer-bottom,
.footer-bottom p,
.footer-bottom span {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Social icon buttons */
.footer .social-links a {
    color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.footer .social-links a:hover {
    color: #FFFFFF !important;
    background: rgba(191, 111, 109, 0.30) !important;
    border-color: rgba(191, 111, 109, 0.50) !important;
}

/* ===================================
   SCROLL ANIMATION & MOBILE MENU
   =================================== */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.nav-links.mobile-open {
    display: flex !important;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #000000;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 999;
    border-top: 1px solid rgba(191, 111, 109, 0.2);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   NOTIFICATION TOAST
   =================================== */
.notification {
    will-change: transform, opacity;
}

/* ===================================
   RESPONSIVE — TABLET (max 1024px)
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
        padding: 0 24px;
    }

    .hero-content {
        max-width: 55%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .steps-container {
        grid-template-columns: 1fr !important;
        max-width: 600px;
        margin: 0 auto;
    }

    .feature-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   RESPONSIVE — MOBILE (max 768px)
   =================================== */
@media (max-width: 768px) {

    /* Navbar */
    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000000 !important;
        flex-direction: column;
        gap: 0 !important;
        padding: 16px 0 !important;
        border-bottom: 2px solid rgba(191, 111, 109, 0.25);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6) !important;
        z-index: 999;
    }

    .nav-links.mobile-open {
        display: flex !important;
        background: #000000 !important;
        top: 100% !important;
        padding: 16px 0 !important;
        gap: 0 !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6) !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 24px !important;
        color: #FFFFFF !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(191, 111, 109, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column !important;
        text-align: center;
        gap: 32px;
        padding: 0 16px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100% !important;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 42px) !important;
    }

    .hero-description {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Section headers */
    .section-header {
        text-align: center;
        padding: 0 8px;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 36px) !important;
    }

    .section-description {
        font-size: 14px !important;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .feature-card {
        padding: 24px !important;
    }

    /* Steps */
    .steps-container {
        flex-direction: column !important;
        gap: 32px;
        max-width: 100%;
    }

    .step {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 12px;
    }

    .step-line {
        display: none !important;
    }

    /* Integrations */
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-toggle {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* Upcoming */
    .upcoming-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* CTA */
    .cta-content {
        text-align: center;
        padding: 0 8px;
    }

    .cta-form .form-group {
        flex-direction: column;
        gap: 12px;
    }

    .cta-form .form-group input {
        width: 100%;
        border-radius: 10px !important;
    }

    .cta-form .btn-primary {
        width: 100%;
        border-radius: 10px !important;
    }

    /* Blobs — hide on mobile */
    .bg-blob {
        display: none;
    }

    /* Section padding */
    .section-light,
    .section-dark,
    .features,
    .upcoming-features,
    .how-it-works,
    .integrations,
    .pricing,
    .testimonials,
    .cta {
        padding: 60px 0 !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center;
        gap: 8px;
    }

    /* Features page */
    .features-hero {
        padding: 80px 0 60px;
    }

    .features-hero h1 {
        font-size: 36px;
    }

    .features-hero p {
        font-size: 16px;
    }

    .feature-category h2 {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .feature-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-detail-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }
}

/* ===================================
   RESPONSIVE — SMALL PHONES (max 480px)
   =================================== */
@media (max-width: 480px) {

    .hero-title {
        font-size: 26px !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .integrations-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 20px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .brand-logo {
        height: 20px;
    }
}

/* ===================================
   REDUCE MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
    .bg-blob,
    .bg-blob::before,
    .bg-blob::after {
        animation: none !important;
    }
    .animate-in,
    [class*="feature-card"],
    [class*="testimonial-card"],
    [class*="pricing-card"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===================================
   BLOB GPU WILL-CHANGE
   =================================== */
.bg-blob {
    will-change: transform;
}
