/* ═══════════════════════════════════════════════════════════════
   THEME: XANTHOUS PLUM
   Colors: Plum #3B153A, Xanthous #F0C987
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Primary Colors - Xanthous Gold */
    --primary-50: #FFF9E6;
    --primary-100: #FFF3CC;
    --primary-200: #FFE799;
    --primary-300: #FFDB66;
    --primary-400: #F5D480;
    --primary-500: #F0C987;
    --primary-600: #E6B84D;
    --primary-700: #D4A73B;
    --primary-800: #B8912A;
    --primary-900: #9C7A1F;

    /* Accent - Plum Purple */
    --accent-400: #5A2454;
    --accent-500: #3B153A;
    --accent-600: #2D0F29;

    /* Neutrals */
    --gray-50: #F5F0F7;
    /* Light plum tint */
    --gray-100: #EBE4EE;
    --gray-200: #E8E5EC;
    --gray-300: #D1CAD8;
    --gray-400: #B5AAC0;
    --gray-500: #9388A2;
    --gray-600: #6E5F7E;
    --gray-700: #4A3D56;
    --gray-800: #3B153A;
    --gray-900: #2D0F29;
    --gray-950: #1F0A1C;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F0C987 0%, #D4A73B 100%);
    --gradient-text: linear-gradient(135deg, #F5D480 0%, #E6B84D 100%);
}

/* Navbar - Match Hero Section */
.navbar {
    background-color: #3B153A !important;
    background-image:
        radial-gradient(at 0% 0%, rgba(240, 201, 135, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(90, 36, 84, 0.08) 0px, transparent 50%);
}

.navbar .nav-links a {
    color: #F0C987 !important;
}

.navbar .nav-links a:hover {
    color: #FFF3CC !important;
}

.navbar .btn-ghost {
    color: #F0C987 !important;
    border-color: rgba(240, 201, 135, 0.3) !important;
}

.navbar .btn-ghost:hover {
    background: rgba(240, 201, 135, 0.1) !important;
    border-color: #F0C987 !important;
}

/* Dark Sections - Plum Background */
.section-dark {
    background-color: #3B153A;
    background-image:
        radial-gradient(at 0% 0%, rgba(240, 201, 135, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(90, 36, 84, 0.08) 0px, transparent 50%);
}

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

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

/* Light Sections - Golden Background */
.section-light {
    background-color: #F0C987;
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 21, 58, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 167, 55, 0.08) 0px, transparent 50%);
}

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

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

.section-light .section-title {
    color: #3B153A !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #F0C987 0%, #D4A73B 100%);
    color: #3B153A;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(230, 184, 77, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(230, 184, 77, 0.4), 0 0 15px rgba(240, 201, 135, 0.5);
}

/* Outline Button - Watch Demo */
.btn-outline {
    background: transparent !important;
    color: #E8E5EC !important;
    border: 2px solid rgba(232, 229, 236, 0.3) !important;
    transition: all 0.3s ease !important;
}

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

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

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

.btn-outline:hover {
    background: transparent !important;
    color: #F0C987 !important;
    border-color: #F0C987 !important;
    box-shadow: 0 0 20px rgba(240, 201, 135, 0.4) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

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

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #F0C987 0%, #E6B84D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-light .gradient-text {
    background: linear-gradient(135deg, #3B153A 0%, #2D0F29 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Darker amber-yellow gradient for spans in light sections (e.g. "Run Payroll", "3 Simple Steps", "Pricing") */
.gradient-text2 {
    background: linear-gradient(135deg, #e0b700 0%, #e7ac07 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: inherit;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #FFF3CC 0%, #F0C987 50%, #E6B84D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Section Badges */
.section-header .section-badge {
    background: rgba(59, 21, 58, 0.15);
    color: #3B153A;
    border: 1px solid rgba(59, 21, 58, 0.3);
}

.section-light .section-badge {
    background: #3B153A !important;
    color: #F0C987 !important;
    border: none !important;
}

.section-dark .section-badge {
    background: rgba(240, 201, 135, 0.2);
    color: #FFF3CC;
    border-color: rgba(240, 201, 135, 0.5);
    box-shadow: 0 0 10px rgba(240, 201, 135, 0.2);
}

/* Cards in Dark Sections */
.section-dark .feature-card,
.section-dark .pricing-card,
.section-dark .testimonial-card,
.section-dark .upcoming-card {
    background: rgba(59, 21, 58, 0.6);
    border: 1px solid rgba(240, 201, 135, 0.15);
    border-top: 1px solid rgba(240, 201, 135, 0.4);
}

.section-dark .feature-card:hover,
.section-dark .upcoming-card:hover {
    background: rgba(59, 21, 58, 0.7);
    border-color: rgba(240, 201, 135, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 15px rgba(240, 201, 135, 0.3);
}

/* Upcoming Badges */
.upcoming-badge {
    background: #F0C987 !important;
    color: #3B153A !important;
    border: 1px solid #E6B84D !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%, #5A2454 0%, #2D0F29 60%, #1F0A1C 100%);
    border: 2px solid #F0C987;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(240, 201, 135, 0.3);
}

.section-dark .integration-card:hover .card-front,
.section-dark .integration-card:hover .card-back {
    border-color: #FFE799;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(240, 201, 135, 0.5);
}

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

/* Light Section Cards */
.section-light .feature-card,
.section-light .pricing-card {
    background: #ffffff;
    border: 1px solid rgba(59, 21, 58, 0.15);
}

.section-light .feature-card:hover,
.section-light .pricing-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 40px rgba(240, 201, 135, 0.3);
}

/* Feature Icons */
.section-light .feature-icon {
    /*background: #6E2E6B !important;
    color: #F0C987 !important;*/
    background: #f5f0f7 !important;
    color: #3B153A !important;
}

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

/* Blobs */
.bg-blob::before {
    background: linear-gradient(135deg, #FFF3CC 0%, #F0C987 100%);
    box-shadow: 0 20px 50px rgba(240, 201, 135, 0.3);
}

.bg-blob::after {
    border-color: #F0C987;
}

.section-dark .bg-blob::before {
    box-shadow: 0 0 60px rgba(240, 201, 135, 0.2);
}

.section-dark .bg-blob::after {
    border-color: #F5D480;
}

/* ===================================
   FEATURES PAGE SPECIFIC STYLES
   =================================== */

/* Features Hero Section */
.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: #F0C987 !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #FFF3CC !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: #F0C987;
    margin-bottom: 16px;
    line-height: 1.2;
}

.features-hero p {
    font-size: 20px;
    color: #E8E5EC;
    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: #3B153A !important;
}

.section-dark .feature-category h2 {
    color: #F0C987 !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(59, 21, 58, 0.15);
}

.section-light .feature-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59, 21, 58, 0.15);
    border-color: rgba(59, 21, 58, 0.25);
}

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

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

/* Dark Section Feature Cards */
.section-dark .feature-detail-card {
    background: rgba(59, 21, 58, 0.6);
    border: 1px solid rgba(240, 201, 135, 0.15);
    border-top: 1px solid rgba(240, 201, 135, 0.4);
}

.section-dark .feature-detail-card:hover {
    transform: translateY(-4px);
    background: rgba(59, 21, 58, 0.7);
    border-color: rgba(240, 201, 135, 0.5);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(240, 201, 135, 0.2);
}

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

.section-dark .feature-detail-card p {
    font-size: 14px;
    color: #E8E5EC !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: #F0C987 !important;
    margin-bottom: 16px;
}

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

/* Responsive Design for Features Page */
@media (max-width: 1024px) {
    .feature-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .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;
    }
}

/* ===================================
   SMOKE CURSOR EFFECT
   =================================== */

#smokeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Behind hero content (buttons, text, images use z-index: 2 via .container) */
    opacity: 0.8;
}

/* ===================================
   ANIMATED BLOBS - 1:1 SYNC WITH PREVIOUS PROJECT
   =================================== */

.bg-blob {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    width: 350px;
    height: 350px;
    animation: blob-float 15s ease-in-out infinite;
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 80% 20%, #F0C987 8px, transparent 9px),
        radial-gradient(circle at 90% 30%, #D4A73B 5px, transparent 6px),
        radial-gradient(circle at 85% 25%, transparent 12px, #FFE082 13px, transparent 14px);
    background-repeat: no-repeat;
    border-radius: 0;
    transition: all 0.5s ease;
    filter: none !important;
    /* Forces no blur */
}

.bg-blob::before {
    content: '';
    position: absolute;
    inset: 15%;
    background: linear-gradient(135deg, #F0C987 0%, #D4A73B 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.8;
    box-shadow: 0 20px 50px rgba(59, 21, 58, 0.2);
    animation: blob-morph 8s ease-in-out infinite alternate;
}

.bg-blob::after {
    content: '';
    position: absolute;
    inset: 10%;
    border: 2px solid #F0C987;
    border-radius: 50% 50% 70% 30% / 30% 50% 60% 40%;
    animation: blob-spin-reverse 20s linear infinite;
    opacity: 0.6;
}

/* Light sections - use plum tones for contrast */
.section-light .bg-blob::before {
    background: linear-gradient(135deg, #70296e 0%, #2D0F29 100%);
    opacity: 0.15;
}

.section-light .bg-blob::after {
    border-color: #3b123a;
    opacity: 0.2;
}

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

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

.section-dark .bg-blob::before {
    background: linear-gradient(135deg, #F0C987 0%, #D4A73B 100%);
    opacity: 0.6;
    box-shadow: 0 0 60px rgba(240, 201, 135, 0.2);
}

.section-dark .bg-blob::after {
    border-color: #F0C987;
    opacity: 0.8;
    box-shadow: inset 0 0 20px rgba(240, 201, 135, 0.2);
}

/* Variants from original CSS */
.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, #FFE082 0%, #D4A73B 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Animations - Exact copy from source */
@keyframes blob-morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 40% 60% 60% 40% / 40% 60% 30% 70%;
    }
}

@keyframes blob-spin-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes blob-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg) scale(1.1);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.9);
        border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%;
    }
}

/* 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 VISIBILITY FIX
   =================================== */

.section-light .form-group {
    background: #ffffff;
    border: 1.5px solid rgba(212, 167, 59, 0.5);
    box-shadow: 0 4px 20px rgba(59, 21, 58, 0.08), inset 0 1px 3px rgba(240, 201, 135, 0.15);
}

.section-light .form-group input {
    color: #3B153A !important;
}

.section-light .form-group input::placeholder {
    color: rgba(59, 21, 58, 0.4) !important;
}

/* Match navbar btn-primary style exactly */
.section-light .cta-form .btn-primary {
    background: linear-gradient(135deg, #F0C987 0%, #D4A73B 100%);
    color: #3B153A;
    font-weight: 700;
    font-size: 16px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(230, 184, 77, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
}

.section-light .cta-form .btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(230, 184, 77, 0.4), 0 0 15px rgba(240, 201, 135, 0.5);
}

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

.section-light .cta-note {
    color: #4A3D56 !important;
}

/* Pricing Toggle Switch Theme — Pill with Orange Border */
.pricing-toggle .toggle-switch {
    width: 100px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 2.5px solid #F0A500 !important;
    border-radius: 100px !important;
    box-shadow:
        0 2px 10px rgba(240, 165, 0, 0.25) !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(240, 165, 0, 0.4) !important;
    transform: none !important;
}

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

/* Slider — the emoji thumb that slides left ↔ right */
.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;
}

/* Active State: emoji moves to the right */
.pricing-toggle .toggle-switch.active .toggle-slider {
    transform: translateX(60px) !important;
}

/* ===================================
   RESPONSIVE - TABLET (max 1024px)
   =================================== */
@media (max-width: 1024px) {

    /* Hero */
    .hero-container {
        gap: 40px;
        padding: 0 24px;
    }

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

    /* Grids */
    .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;
    }
}

/* ===================================
   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: #3B153A !important;
        flex-direction: column;
        gap: 0 !important;
        padding: 16px 0 !important;
        border-bottom: 2px solid rgba(240, 201, 135, 0.3);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
        z-index: 999;
    }

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

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

    .nav-links a {
        display: block;
        padding: 14px 24px !important;
        color: #F0C987 !important;
        font-size: 16px !important;
        border-bottom: 1px solid rgba(240, 201, 135, 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 (How It Works) ---- */
    .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 Features ---- */
    .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 to avoid overflow ---- */
    .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;
    }
}

/* ===================================
   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: 38px;
    }
}