/* ----------------------------------------
   GLOBAL THEME VARIABLES (DARK MODE ONLY)
----------------------------------------- */
:root {
    --primary: #1E9C73;

    /* ALWAYS DARK */
    --bg: linear-gradient(to bottom right, #0B0D0F, #0F1A2B);
    --bg-secondary: #131518;
    --card-bg: #1A1D21;
    --text: #eaeaea;

    /* Borders + Shadows */
    --border: rgba(255,255,255,0.08);
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* ----------------------------------------
   GLOBAL RESET
----------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text);
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

/* ----------------------------------------
   NAVBAR
----------------------------------------- */
.navbar {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-inner ul {
    display: flex;
    gap: 30px;
}

.nav-inner li {
    list-style: none;
}

.nav-inner a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.nav-inner a:hover {
    color: var(--primary);
}

.logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
}
/* Sticky Header Transition */
.navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: none;
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    background: var(--bg-secondary);
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border);
}


/* ----------------------------------------
   BUTTONS
----------------------------------------- */
.btn-outline,
.btn-primary {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}


.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.toggle-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 15px;
    transition: 0.2s;
}

.toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ----------------------------------------
   HERO SECTION
----------------------------------------- */
.hero {
    padding: 80px 0 120px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.label {
    font-size: 14px;
    color: var(--primary);
    background: rgba(30,156,115,0.15);
    padding: 4px 10px;
    border-radius: 6px;
}

.hero h1 {
    font-size: 48px;
    margin: 20px 0;
}

.subtitle {
    font-size: 18px;
    color: var(--text);
    opacity: 0.85;
    max-width: 420px;
}

.hero-ctas {
    margin-top: 30px;
}

.hero-right {
    flex: 1;
}

.feature-card {
    background: var(--card-bg);
    padding: 22px;
    border-radius: 14px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.feature-card.large {
    margin-bottom: 25px;
}

.feature-grid {
    display: flex;
    gap: 20px;
}

.feature-card.small {
    flex: 1;
}

/* ----------------------------------------
   FEATURES SECTION
----------------------------------------- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card h3 {
    margin-bottom: 10px !important;
}

/* ----------------------------------------
   Neon Hover Effect for Feature Cards
----------------------------------------- */
.feature-card {
    position: relative;
    border: 1px solid var(--border);
    transition: 
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

/* Neon border + glow */
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 
        0 0 12px rgba(30,156,115,0.35),
        0 0 22px rgba(30,156,115,0.20),
        0 0 32px rgba(30,156,115,0.10);
    transform: translateY(-6px);
}

/* ----------------------------------------
   PRICING SECTION
----------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card.recommended {
    border: 1px solid var(--primary);
    position: relative;
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.price {
    font-size: 24px;
    margin: 15px 0;
}

.pricing-card ul {
    margin-bottom: 25px;   /* add spacing below feature list */
}

.pricing-card ul li {
    margin-bottom: 8px;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    margin-top: 15px;      /* add spacing above button */
    display: inline-block;
}

.pricing-card .price + p {
    margin-top: -5px;      /* reduce if too tight, increase if too wide */
    margin-bottom: 15px;   /* bigger spacing below */
    display: block;
}

/* ----------------------------------------
   BILLING TOGGLE (Monthly / Yearly)
----------------------------------------- */

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.billing-label {
    font-size: 15px;
    color: var(--text);
    opacity: 0.65;
    cursor: pointer;
    transition: 0.25s ease;
}

.billing-label.active {
    opacity: 1;
    font-weight: 600;
    color: var(--primary);
}

.save-tag {
    font-size: 12px;
    margin-left: 4px;
    color: var(--primary);
    font-weight: 600;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    transition: 0.3s ease;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s ease;
}

/* active position */
.switch input:checked + .slider {
    background: var(--primary);
}

.switch input:checked + .slider:before {
    transform: translateX(26px);
}

/* Mobile improvements */
@media (max-width: 480px) {
    .billing-toggle {
        gap: 10px;
    }

    .billing-label {
        font-size: 14px;
    }
}

/* ----------------------------------------
   CONTACT SECTION
----------------------------------------- */
.contact-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
}

textarea {
    height: 130px;
}

/* ----------------------------------------
   FOOTER
----------------------------------------- */
footer {
    border-top: 1px solid var(--border);
    padding: 15px 0;
    background: var(--bg-secondary);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* ----------------------------------------
   MOBILE LAYOUT (Consolidated & FIXED)
----------------------------------------- */
@media (max-width: 900px) {

    /* HERO */
    .hero {
        padding: 50px 0 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 16px;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
        align-items: center;
    }

    .hero-right {
        display: none;
    }

    #heroParticles {
        opacity: 0.18;
    }

    .ai-orb {
        display: none;
    }

    /* NAV */
    .nav-inner ul {
        display: none;
    }

    .logo {
        height: 70px;
    }

    /* PRICING */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 25px;
    }

    .pricing-card h3 {
        font-size: 22px;
    }

    .price {
        font-size: 22px;
    }

    .beta-label {
        font-size: 13px;
    }

    /* SECTION SPACING */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .gradient-divider {
        margin: 40px 0;
        height: 3px;
    }

    /* FOOTER */
    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-logo {
        height: 70px;
    }

    /* TYPOGRAPHY */
    body {
        font-size: 16px;
    }

    p, li {
        line-height: 1.5;
    }
}

/* ----------------------------------------
   PREMIUM PRICING CARDS
----------------------------------------- */

/* Pricing note text */
.pricing-note {
    text-align: center;
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 30px;
}

/* Pricing card base */
.pricing-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: 0.35s ease;
    position: relative;
    
    cursor: pointer;
}

/* Card hover glow */
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(30,156,115,0.25);
    border-color: var(--primary);
}

/* Highlighted “Most Popular” plan */
.pricing-card.recommended {
    border-color: var(--primary);
    box-shadow: 0 0 22px rgba(30,156,115,0.35);
    transform: scale(1.02);
}

.pricing-card.recommended:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 12px 40px rgba(30,156,115,0.45);
}

/* Badge styling for “Most Popular” */
.badge {
    position: absolute;
    top: -8px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Plan title */
.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

/* Plan price */
.pricing-card .price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

/* Included credits + extra credit pricing */
.pricing-card .credits-info,
.pricing-card .extra-info {
    font-size: 15px;
    opacity: 0.85;
    display: block;
    margin-bottom: 14px;
}

/* Divider line */
.pricing-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
    opacity: 0.4;
}

/* Feature list */
.pricing-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 22px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
}

/* Green check icons */
.pricing-card ul li::before {
    content: "✔";
    color: var(--primary);
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 1px;
}

/* Buttons inside pricing cards */
.pricing-card .btn-primary,
.pricing-card .btn-outline {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 15px;
    margin-top: 4px;
}

/* ----------------------------------------
   Hero Background Blob
----------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
}

/* AI Gradient Blob */
.hero::before {
    content: "";
    position: absolute;
    top: -250px;
    right: -250px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle at center,
        rgba(30,156,115,0.45) 0%,
        rgba(30,156,115,0.15) 40%,
        rgba(30,156,115,0.0) 75%
    );

    filter: blur(60px);
    z-index: -1;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(circle at center,
        rgba(60,200,255,0.25) 0%,
        rgba(60,200,255,0.10) 40%,
        rgba(60,200,255,0.0) 70%
    );
}
/* Floating animation for hero cards */
@keyframes float-updown {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.hero-right .feature-card {
    animation: float-updown 4s ease-in-out infinite;
}

.hero-right .feature-card:nth-child(2) {
    animation-delay: 1s;
}

.hero-right .feature-card:nth-child(3) {
    animation-delay: 2s;
}
/* Entrance Animations */
@keyframes fade-up {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
    opacity: 0;
    animation: fade-up 1.2s ease forwards;
}

.hero-left h1 {
    animation-delay: 0.2s;
}

.hero-left .subtitle {
    animation-delay: 0.45s;
}

.hero-left .hero-ctas {
    animation-delay: 0.75s;
}
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 180%;
    height: 100%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255,255,255,0.3) 30%,
        transparent 60%
    );
    transition: 0.4s;
}
/* Fix CTA shine for dark mode */
[data-theme="dark"] .btn-primary::after {
        display: none;
}

.btn-primary:hover::after {
    left: 100%;
}
/* ----------------------------------------
   Scroll Fade-in Animations
----------------------------------------- */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ----------------------------------------
   HERO PARTICLE BACKGROUND
----------------------------------------- */
#heroParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.25;
}

[data-theme="dark"] #heroParticles {
    opacity: 0.35;
}

/* ----------------------------------------------------
   Animated Gradient Divider (Premium SaaS Style)
------------------------------------------------------ */
.gradient-divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(30,156,115,0.0),
        rgba(30,156,115,0.6),
        rgba(30,156,115,0.0)
    );
    margin: 60px 0;
    opacity: 0.8;
    position: relative;
    overflow: hidden;
}

/* moving highlight */
.gradient-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255,255,255,0),
        rgba(255,255,255,0.8),
        rgba(255,255,255,0)
    );
    animation: dividerMove 3s linear infinite;
}

/* dark mode override */
[data-theme="dark"] .gradient-divider {
    background: linear-gradient(90deg,
        rgba(60,200,255,0.0),
        rgba(60,200,255,0.5),
        rgba(60,200,255,0.0)
    );
}

/* movement animation */
@keyframes dividerMove {
    0%   { left: -30%; }
    100% { left: 100%; }
}

/* ----------------------------------------
   AI Feature Icons
----------------------------------------- */
.ai-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.4s ease;
    filter: drop-shadow(0 0 6px rgba(30,156,115,0.4));
}

.feature-card:hover .ai-icon {
    transform: translateY(-4px) scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(30,156,115,0.8));
}

.ai-icon svg {
    width: 100%;
    height: 100%;
}
/* ----------------------------------------
   Icon Micro-Float Animation
----------------------------------------- */
@keyframes aiIconFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

.ai-icon {
    animation: aiIconFloat 4s ease-in-out infinite;
}

/* slight variation for cards 2 and 3 */
.feature-card:nth-child(2) .ai-icon {
    animation-duration: 4.5s;
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .ai-icon {
    animation-duration: 5s;
    animation-delay: 0.8s;
}

.feature-card:nth-child(4) .ai-icon {
    animation-duration: 4.8s;
    animation-delay: 0.3s;
}
/* ----------------------------------------
   SVG Line-Drawing Animation
----------------------------------------- */
.ai-icon svg path,
.ai-icon svg circle {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawLine 1.8s ease forwards;
}

/* floating icons override stays intact */
.ai-icon {
    animation: aiIconFloat 4s ease-in-out infinite;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* stagger animation for each card */
.feature-card:nth-child(1) .ai-icon svg path,
.feature-card:nth-child(1) .ai-icon svg circle {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) .ai-icon svg path,
.feature-card:nth-child(2) .ai-icon svg circle {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) .ai-icon svg path,
.feature-card:nth-child(3) .ai-icon svg circle {
    animation-delay: 0.6s;
}

.feature-card:nth-child(4) .ai-icon svg path,
.feature-card:nth-child(4) .ai-icon svg circle {
    animation-delay: 0.8s;
}
.ai-icon svg path,
.ai-icon svg circle {
    filter: drop-shadow(0 0 6px rgba(30,156,115,0.4));
}
/* --------------------------------------------------
   Stripe-Style Sweeping Reveal Entrance Animation
-------------------------------------------------- */

.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* when revealed via JS */
.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* sweeping animated gradient overlay */
.reveal-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    transition: none;
    opacity: 0.15;
}

/* animate sweep when visible */
.revealed::before {
    animation: sweepReveal 1.2s ease forwards;
}

@keyframes sweepReveal {
    0%   { left: -80%; }
    100% { left: 120%; }
}
/* --------------------------------------------------
   Premium 3D PARALLAX TILT + DEPTH SHADOW
-------------------------------------------------- */

.parallax-card {
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    position: relative;
}

/* depth shadow */
.parallax-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* on hover: lift card + show shadow */
.parallax-card:hover {
    transform: scale(1.03);
}

.parallax-card:hover::after {
    opacity: 1;
}

/* highlight effect (moving light spot) */
.parallax-highlight {
    pointer-events: none;
    position: absolute;
    top: 0; left: 0;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, 
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.0) 70%
    );
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.1s ease;
}

/* show highlight on hover */
.parallax-card:hover .parallax-highlight {
    opacity: 0.35;
}
/* ----------------------------------------
   COST CALCULATOR
----------------------------------------- */
.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.calc-inputs label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    opacity: 0.85;
}

.calc-inputs input,
.calc-inputs select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    margin-bottom: 20px;
}

.calc-output {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.calc-total {
    font-size: 38px;
    font-weight: 600;
    margin-top: 10px;
}

.calc-sub {
    margin-top: 10px;
    opacity: 0.75;
    font-size: 16px;
}

.calc-savings {
    margin-top: 20px;
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
}
/* ============================================================
   COOKIE CONSENT — CENTERED MODAL WITH SLIDE-UP ANIMATION
   (Stable version — no conflicts with site animations)
============================================================ */

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
}

/* our custom hidden class to avoid conflicts */
.cookie-hidden {
    display: none;
}

/* Backdrop */
.cookie-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

/* Modal box */
.cookie-box {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 460px;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 26px;
    border-radius: 16px;
    z-index: 9999;
    color: #fff;

    opacity: 0;
    transform: translate(-50%, -40%);
    animation: cookieSlideUp 0.45s ease forwards;
}

/* Slide-up animation */
@keyframes cookieSlideUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Title */
.cookie-box h2 {
    font-size: 20px;
    margin-top: 0;
}

/* Description */
.cookie-desc {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 16px;
}

/* Options area */
.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    opacity: 0.9;
}

.cookie-option input {
    width: 18px;
    height: 18px;
}

.cookie-option.disabled {
    opacity: 0.55;
}

/* Buttons */
.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

/* Accept */
.cookie-btn.accept {
    background: #1ea97c;
    color: white;
}
.cookie-btn.accept:hover {
    background: #179567;
}

/* Save */
.cookie-btn.save {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.cookie-btn.save:hover {
    background: rgba(255,255,255,0.15);
}

/* Decline */
.cookie-btn.decline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
}
.cookie-btn.decline:hover {
    border-color: rgba(255,255,255,0.45);
}

/* Link */
.cookie-link {
    text-align: center;
    font-size: 13px;
    margin-top: 4px;
    color: #1ea97c;
    text-decoration: underline;
    display: block;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .cookie-box {
        padding: 20px;
        max-width: 90%;
    }
}

/* --------------------------------------------------
   MOBILE POLISH — HERO OPTIMIZATION
-------------------------------------------------- */
@media (max-width: 600px) {

    .hero {
        padding: 40px 0 60px;
        text-align: center;
    }

    .hero-left {
        width: 100%;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .subtitle {
        font-size: 15px;
        opacity: 0.9;
        margin: 0 auto 20px;
    }

    .hero-ctas {
        gap: 14px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 16px;
    }
}

/* --------------------------------------------------
   MOBILE POLISH — FEATURES
-------------------------------------------------- */
@media (max-width: 600px) {

    .features-grid {
        gap: 18px;
    }

    .feature-card {
        padding: 18px;
        border-radius: 12px;
        box-shadow: none; /* cleaner look */
    }

    .feature-card:hover {
        transform: none;
        box-shadow: none;
    }

    .ai-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 15px;
        line-height: 1.45;
    }
}

/* --------------------------------------------------
   MOBILE POLISH — PRICING
-------------------------------------------------- */
@media (max-width: 600px) {

    .pricing-card {
        padding: 24px;
        border-radius: 14px;
        margin-bottom: 20px;
    }

    .pricing-card h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .pricing-card .price {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .pricing-card ul li {
        margin-bottom: 8px;
        font-size: 15px;
    }

    .btn-primary {
        font-size: 15px;
        padding: 12px;
    }
}

/* --------------------------------------------------
   MOBILE POLISH — FOOTER
-------------------------------------------------- */
@media (max-width: 600px) {
    footer {
        padding: 25px 0;
        text-align: center;
    }

    .footer-logo {
        height: 60px;
        margin-bottom: 12px;
    }

    .footer-inner p {
        font-size: 13px;
    }
}

/* ----------------------------------------
   PREMIUM GLASS LOGIN BUTTON
----------------------------------------- */
.btn-login {
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid rgba(30,156,115,0.6);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: 0.35s ease;
    display: inline-block;
}

.btn-login:hover {
    background: rgba(30,156,115,0.12);
    color: var(--primary);
    box-shadow: 0 0 18px rgba(30,156,115,0.35);
    transform: translateY(-2px);
}
/* ----------------------------------------
   PREMIUM SAAS FOOTER
----------------------------------------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}


.footer-col h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text);
    opacity: 0.75;
    text-decoration: none;
    transition: 0.25s ease;
    font-size: 14px;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-logo {
    height: 80px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
    max-width: 240px;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    opacity: 0.5;
    font-size: 13px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* -------------------------
   MOBILE FOOTER OPTIMIZED
-------------------------- */
@media (max-width: 600px) {  
    .footer {
        padding: 40px 0 25px;
    }


    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }
}
/* ----------------------------------------
   LEGAL PAGES LAYOUT
----------------------------------------- */

.legal-main h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.legal-main h2 {
    font-size: 22px;
    margin-top: 26px;
    margin-bottom: 10px;
}

.legal-main p,
.legal-main li {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 10px;
}

.legal-main ul {
    padding-left: 20px;
    margin-bottom: 15px;
}
/* --------------------------------------------------
   PREMIUM SAAS FOOTER
-------------------------------------------------- */

.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}


.footer-col h4 {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.75;
    transition: 0.2s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-logo {
    height: 80px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.75;
    max-width: 240px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Mobile optimization */
@media(max-width: 600px) {

    .footer-col {
        margin-bottom: 10px;
    }

    .footer-col h4 {
        margin-bottom: 10px;
    }

    .footer-tagline {
        margin: 0 auto;
    }
}
/* Remove giant space on legal pages */
/* Premium Footer Grid Layout */

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text);
    opacity: 0.75;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Mobile footer layout */
@media (max-width: 600px) {

    .footer-col {
        margin-bottom: 10px;
    }
}
/* Centered footer info text */

.footer-center-text p {
    margin: 4px 0;
}

/* ----------------------------------------
   FAQ SECTION STYLES
----------------------------------------- */
.faq-search-box {
    margin: 25px 0;
    text-align: center;
}
.faq-search-box input {
    width: 100%;
    max-width: 480px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.faq-col h2 {
    margin: 25px 0 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-item {
    margin-bottom: 18px;
}
.faq-item h3 {
    font-size: 18px;
    margin-bottom: 4px;
}
.faq-icon {
    font-size: 22px;
}
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ======================================================
   FIXED + OPTIMIZED FOOTER & LEGAL SPACING (v4)
====================================================== */

.legal-main {
    padding: 40px 0;
}

/* Premium Footer */
.footer {
    background: var(--bg-secondary);
    padding: 35px 0 20px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 35px;
    padding: 20px 0;
}

.footer-center-text {
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.5;
}

.footer-center-text p {
    margin: 4px 0;
}

.footer-col h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text);
    opacity: 0.75;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    opacity: 1;
}

@media(max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}


/* =============================================
   FIX: Allow badge to float outside pricing card
============================================= */
.pricing-card {
    overflow: visible !important;
}

/* ============================================
   SIGNUP MODAL STYLES (PAIR Phase 1 - UI-B)
============================================ */
.signup-modal { position: fixed; inset: 0; z-index: 10010; }
.signup-hidden { display: none; }
.signup-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.70); backdrop-filter: blur(6px); }

.signup-dialog {
    position: fixed;
    top: 50%; left: 50%;
    width: 95%; max-width: 520px;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 26px;
    transform: translate(-50%, -50%);
    box-shadow: 0 22px 60px rgba(0,0,0,0.55);
}

.signup-close { position: absolute; top: 10px; right: 12px; font-size: 22px; background: none; border: none; color: var(--text); cursor: pointer; opacity: 0.7; }
.signup-close:hover { opacity: 1; }

.signup-plan-pill { background: rgba(30,156,115,0.18); padding: 4px 10px; border-radius: 12px; color: var(--primary); font-size: 12px; }

.signup-header h2 { font-size: 24px; margin: 10px 0 4px; }
.signup-header p { font-size: 14px; opacity: 0.8; margin-bottom: 10px; }

.signup-form { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.signup-row { display: flex; gap: 14px; flex-wrap: wrap; }
.signup-field { flex: 1; min-width: 0; }
.signup-field label { display: block; margin-bottom: 4px; font-size: 13px; opacity: 0.85; }
.signup-field input { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text); }

.signup-terms { font-size: 12px; opacity: 0.85; }
.signup-terms a { color: var(--primary); text-decoration: underline; }

.signup-error { color: #ff6b6b; font-size: 13px; min-height: 16px; }

.signup-submit { width: 100%; margin-top: 4px; display:flex; justify-content:center; gap:8px; }
.signup-spinner { display:none; width:14px; height:14px; border-radius:50%; border:2px solid rgba(255,255,255,0.3); border-top-color:#fff; animation: spin 0.7s linear infinite; }
.signup-loading .signup-spinner { display:inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.signup-divider { text-align:center; font-size:12px; opacity:0.7; margin:16px 0 10px; position:relative; }
.signup-divider span { background: var(--card-bg); padding:0 6px; position:relative; z-index:1; }
.signup-divider::before, .signup-divider::after { content:""; position:absolute; top:50%; width:40%; height:1px; background:var(--border); }
.signup-divider::before { left:0; } .signup-divider::after { right:0; }

.signup-sso { display:flex; flex-direction:column; gap:10px; }
.signup-sso-btn { padding:10px; border-radius:8px; border:1px dashed var(--border); color:var(--text); opacity:0.6; cursor:not-allowed; }

@media(max-width:580px) {
    .signup-dialog { max-width:94%; padding: 22px 18px; }
    .signup-row { flex-direction:column; }
}

/* ----------------------------------------
   SIGNUP – SSO BUTTONS
----------------------------------------- */
.signup-sso-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.signup-sso-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #1A1D21;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    transition: 0.25s ease;
}

.signup-sso-btn:hover {
    background: rgba(255,255,255,0.08);
}

.signup-sso-btn img {
    height: 20px;
}

.google-btn {
    border-left: 3px solid #4285F4;
}

.microsoft-btn {
    border-left: 3px solid #F25022;
}

/* PERFECT SSO LOGO RENDERING */
.signup-sso-btn img {
    height: 22px !important;
    width: auto !important;
    margin-right: 10px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
}

.signup-sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    transition: all 0.25s ease;
    cursor: pointer;
}

.signup-sso-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}
