/* ==========================================================================
   MysteryShop Master Production Stylesheet
   Complete, Unified, Hardened Responsive Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.45);
    
    --accent: #ff6b35;
    --accent-hover: #f7931e;
    
    --gold: #ffd700;
    --gold-warm: #f59e0b;
    
    --purple-brand: #7c3aed;
    --purple-deep: #6d28d9;
    --purple-light: #f5f3ff;
    --purple-border: #e9d5ff;
    
    --obsidian: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;
    
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 16px 36px -4px rgba(15, 23, 42, 0.08);
    --shadow-glass: 0 12px 36px 0 rgba(0, 0, 0, 0.25);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container-max: 1160px;
}

/* --------------------------------------------------------------------------
   2. Base Reset & Sticky-Safe Scrolling
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip; /* Never breaks position: sticky */
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip; /* Never breaks position: sticky */
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }

.section {
    padding: 6.5rem 0;
    position: relative;
}

h1, h2, h3, h4 {
    color: var(--obsidian);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

p {
    color: var(--slate-600);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple-brand);
    background: var(--purple-light);
    border: 1px solid var(--purple-border);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 640px;
    margin: 0 auto 3.25rem auto;
}

/* --------------------------------------------------------------------------
   3. Buttons & Hover Sheen Animation
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.btn-accent {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.55);
}

/* --------------------------------------------------------------------------
   4. Section 1: Sticky Announcement Bar
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: #ffffff !important;
    padding: 0.65rem 1rem;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    text-align: center;
}

.announcement-top-fire {
    display: inline-flex;
    align-items: center;
}

.fire-icon-animated {
    display: inline-block;
    font-size: 1.35rem;
    animation: fireBounce 1.4s ease infinite;
}

@keyframes fireBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.announcement-text {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #ffffff;
}

.countdown-slim-pill {
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.35rem 1.15rem;
    border-radius: var(--radius-full);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: #ffffff;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. Section 2: Desktop Navigation Bar
   -------------------------------------------------------------------------- */
.site-nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 0;
    position: sticky;
    top: 48px;
    z-index: 900;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-logo span { color: #a5b4fc; }

.desktop-nav .nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.desktop-nav .nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: #cbd5e1;
    transition: color 0.15s;
    white-space: nowrap;
}

.desktop-nav .nav-links a:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   6. Section 3: Animated Atmospheric Hero
   -------------------------------------------------------------------------- */
.luminous-hero-universe {
    position: relative;
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 25%, #6366f1 50%, #7c3aed 75%, #6d28d9 100%);
    background-size: 200% 200%;
    animation: meshShift 16s ease-in-out infinite alternate;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes meshShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.hero-section {
    padding: 6rem 0 3.5rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.breaking-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: #ffffff;
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.45);
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.035em;
    max-width: 920px;
    margin: 0 auto 0.85rem auto;
}

.hero-headline .highlight {
    color: var(--gold);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
    position: relative;
    display: inline-block;
}

.hero-headline .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.hero-subheadline {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 1.25rem 0;
}

.hero-body {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. Section 4: "Are You a Fit?" (2-Column Desktop Grid)
   -------------------------------------------------------------------------- */
.fit-section {
    padding: 2rem 0 6.5rem 0;
    position: relative;
    z-index: 2;
}

.fit-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Explicit 2-column desktop grid */
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
}

.fit-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.fit-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.fit-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding: 0;
    margin: 0;
}

.fit-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #f1f5f9;
    line-height: 1.5;
}

.fit-check-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    border: 1.5px solid #10b981;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    background: rgba(16, 185, 129, 0.08);
}

.fit-cta-wrap {
    text-align: center;
    margin-top: 3.5rem;
}

.btn-fit-emerald {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    padding: 1.15rem 3rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-fit-emerald:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.8), 0 12px 25px rgba(0, 0, 0, 0.4);
}

.fit-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   8. Section 5: Income Calculator (Light Lavender Canvas)
   -------------------------------------------------------------------------- */
.calculator-section {
    background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 50%, #ede9fe 100%) !important;
    border-top: 1px solid #e9d5ff;
    border-bottom: 1px solid #e9d5ff;
    padding: 6.5rem 0;
}

.calc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calc-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d28d9;
    background: #ffffff;
    border: 1px solid #c4b5fd;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(109, 40, 217, 0.08);
}

.calc-title {
    font-size: 2.65rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.calc-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
}

.calc-white-card {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(233, 213, 255, 0.8);
    border-radius: 26px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 45px -10px rgba(109, 40, 217, 0.14), 0 4px 10px rgba(0, 0, 0, 0.03);
}

.slider-container {
    text-align: center;
    margin-bottom: 2.75rem;
}

.slider-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    display: block;
}

.calc-range-purple {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-full);
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.calc-range-purple::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #7c3aed !important;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.45);
    cursor: pointer;
}

.slider-badge-val {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 800;
    color: #6d28d9 !important;
    background: #ede9fe !important;
    border: 1px solid #c4b5fd !important;
    padding: 0.45rem 1.5rem;
    border-radius: var(--radius-full);
}

.calc-output-card {
    text-align: center;
    background: linear-gradient(180deg, #faf5ff 0%, #f5f3ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.calc-output-card .sub {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.calc-output-card .income-amount {
    font-size: 3.35rem !important;
    font-weight: 900 !important;
    color: #6d28d9 !important;
    margin: 0.35rem 0;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 15px rgba(109, 40, 217, 0.15);
}

.calc-output-card .rate-note {
    font-size: 0.9rem;
    color: #64748b;
}

.calculator-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Explicit 3-column desktop grid */
    gap: 1rem;
    margin-bottom: 2rem;
}

.tier-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.35rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.tier-card.active {
    background: #f5f3ff !important;
    border-color: #7c3aed !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.18);
}

.tier-card .tier-name {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
}

.tier-card .tier-assignments {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0.25rem 0 0.5rem 0;
}

.tier-card .tier-income {
    font-weight: 900;
    color: #6d28d9 !important;
    font-size: 1.15rem;
}

.btn-calc-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1.15rem 2.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-calc-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.55);
}

/* --------------------------------------------------------------------------
   9. Section 6: Application Form (Desktop Side-by-Side 2-Column Grid)
   -------------------------------------------------------------------------- */
.application-section {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    padding: 6.5rem 0;
}

.application-section .container {
    max-width: 1220px;
}

.form-layout-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr; /* Explicit 2-column desktop grid */
    gap: 3.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .form-writeup-col {
        position: sticky;
        top: 90px;
    }
}

.form-trust-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.25rem;
}

.form-trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.form-trust-badge {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.form-trust-text .title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--obsidian);
}

.form-trust-text .sub {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.app-form-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-elevated);
    width: 100%;
}

.form-grid-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
}

.field-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.885rem;
    font-weight: 700;
    color: var(--obsidian);
}

.form-label .req { color: #dc2626; }

.form-control {
    width: 100%;
    padding: 0.85rem 1.05rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    background: var(--slate-50);
    color: var(--obsidian);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.form-microcopy {
    text-align: center;
    font-size: 0.825rem;
    color: var(--slate-500);
    margin-top: 1.35rem;
}

/* --------------------------------------------------------------------------
   10. Section 7: Testimonials
   -------------------------------------------------------------------------- */
.testimonials-section {
    background: var(--slate-50);
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.stars {
    color: #f59e0b !important;
    font-size: 1.25rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 0.65rem !important;
    display: block !important;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.testimonial-quote {
    font-size: 0.985rem;
    line-height: 1.65;
    margin: 0.5rem 0 1.5rem 0;
    color: var(--slate-800);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #4f46e5;
}

.author-meta .name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--obsidian);
}

.author-meta .sub {
    font-size: 0.775rem;
    color: var(--slate-500);
}

/* --------------------------------------------------------------------------
   11. Section 8: What You'll Do (3-Column Desktop Grid)
   -------------------------------------------------------------------------- */
.what-you-do-section {
    background: #ffffff;
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Explicit 3-column desktop grid */
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
}

.category-card {
    background: linear-gradient(145deg, #4338ca 0%, #3730a3 100%) !important;
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.25rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.2);
    min-height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-card.cat-retail, .cat-retail { background: linear-gradient(145deg, #4338ca 0%, #3730a3 100%) !important; }
.category-card.cat-restaurant, .cat-restaurant { background: linear-gradient(145deg, #c2410c 0%, #9a3412 100%) !important; }
.category-card.cat-service, .cat-service { background: linear-gradient(145deg, #1d4ed8 0%, #1e3a8a 100%) !important; }

.cat-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.cat-icon-wrap {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem !important;
    line-height: 1;
}

.category-card h3 {
    color: #ffffff !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

.category-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    margin-top: 0.85rem !important;
}

.cat-detail-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.35rem;
    margin-top: 2rem;
}

.cat-time-badge {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.cat-pay-badge {
    color: #ffd700 !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
}

.section-cta-wrap {
    text-align: center;
    margin-top: 3.5rem;
}

.btn-section-emerald {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    padding: 1.15rem 3.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.55);
}

.btn-section-emerald .btn-main-text {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.btn-section-emerald .btn-sub-text {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.95;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Section 9: Guaranteed Benefits (3x2 Desktop Grid)
   -------------------------------------------------------------------------- */
.benefits-section {
    background: #ffffff;
    padding: 6.5rem 0 5rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Explicit 3-column desktop grid */
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 3rem 2.25rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

.benefit-icon-emoji {
    font-size: 3.25rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.85rem;
}

.benefit-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Urgency Warning Box */
.urgency-box-wrapper {
    margin-top: 5rem;
}

.urgency-box {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.38);
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

.urgency-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 65%);
    animation: rotateLight 12s linear infinite;
    pointer-events: none;
}

@keyframes rotateLight {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.warning-icon-animated {
    font-size: 3.25rem;
    line-height: 1;
    margin-bottom: 1.35rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    animation: shakeWarning 3s infinite ease-in-out;
}

@keyframes shakeWarning {
    0%, 100% { transform: translateX(0); }
    10%, 30% { transform: translateX(-6px) rotate(-4deg); }
    20%, 40% { transform: translateX(6px) rotate(4deg); }
    50% { transform: translateX(0); }
}

.urgency-headline {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    max-width: 820px;
    margin: 0 auto 2rem auto;
    position: relative;
    z-index: 2;
}

.urgency-details-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.urgency-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   13. Section 10: Trust Points (2-Column Desktop Grid)
   -------------------------------------------------------------------------- */
.trust-points-section {
    background: #ffffff;
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.trust-indicators-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Explicit 2-column desktop grid */
    gap: 1.25rem 2rem;
    max-width: 980px;
    margin: 0 auto;
}

.trust-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.trust-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.trust-icon-box {
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon-box svg {
    width: 100%;
    height: 100%;
    stroke: #7c3aed;
}

.trust-text {
    font-size: 1.025rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   14. Section 11: Bento Success Stories (2-Column Desktop Grid)
   -------------------------------------------------------------------------- */
.stories-section {
    background: var(--slate-50);
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr; /* Explicit 2-column desktop grid */
    gap: 1.75rem;
}

.bento-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-stat-highlight {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid #a7f3d0;
    display: inline-block;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.bento-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--slate-800);
    margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   15. Section 12: Frequently Asked Questions
   -------------------------------------------------------------------------- */
.faq-section {
    background: #ffffff;
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.faq-summary {
    padding: 1.4rem 1.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--obsidian);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-icon-cross {
    font-size: 1.35rem;
    color: var(--slate-400);
    transition: transform 0.2s;
}

details[open] .faq-icon-cross {
    transform: rotate(45deg);
    color: var(--purple-brand);
}

.faq-content {
    padding: 0 1.75rem 1.4rem 1.75rem;
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--slate-600);
}

/* --------------------------------------------------------------------------
   16. Section 13: Final CTA Banner
   -------------------------------------------------------------------------- */
.final-cta-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: #ffffff !important;
    padding: 6.5rem 0 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.6rem 1.65rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.final-cta-section h2 {
    color: #ffffff !important;
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    margin: 0 auto 1.25rem auto;
    letter-spacing: -0.025em;
    max-width: 960px;
    line-height: 1.25;
}

.final-cta-section p.final-cta-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.25rem !important;
    max-width: 740px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.bonus-offers-box {
    max-width: 680px;
    margin: 0 auto 3rem auto;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    padding: 2.75rem 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.bonus-offers-box h3 {
    color: #ffffff !important;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    text-align: center;
}

.bonus-offers-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 0;
    margin: 0;
}

.bonus-offers-list li {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    font-size: 1.075rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
}

.bonus-offers-list li span:first-child {
    font-size: 1.4rem;
    line-height: 1;
}

.final-cta-btn-wrap {
    text-align: center;
}

.btn-final-cta-emerald {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    padding: 1.25rem 3.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
    cursor: pointer;
}

.btn-final-cta-emerald .btn-main-text {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.btn-final-cta-emerald .btn-sub-text {
    font-size: 0.825rem;
    font-weight: 800;
    opacity: 0.95;
    margin-top: 0.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   17. Section 14: Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #232326;
    color: #e2e8f0;
    padding: 2.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-trust-pills {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-pill {
    background: #5c67f2;
    color: #ffffff;
    font-size: 0.825rem;
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    display: inline-block;
}

.footer-legal-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #f1f5f9;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-links a:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   18. Exit-Intent Modal
   -------------------------------------------------------------------------- */
.fomo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 1.25rem;
}

.fomoModal {
    background: #ffffff;
    max-width: 440px;
    width: 100%;
    padding: 2.25rem 2rem;
    border-radius: 24px;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: fomoPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fomoClose {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    background: transparent;
    border: none;
    padding: 4px;
}

.fomoClose:hover { color: #0f172a; }

.fomoModal h2 {
    color: #ea580c;
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.fomo-sub {
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #334155;
    font-size: 1.05rem;
}

.fomo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fomo-list li {
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
}

.fomo-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 900;
    font-size: 1.1rem;
}

.fomo-warning {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #475569;
}

.fomo-warning strong {
    color: #ea580c;
    font-weight: 800;
}

.fomo-btn {
    display: block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    padding: 1.1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
    animation: fomoPulseGlow 2.4s infinite ease-in-out;
}

.fomo-btn:hover { transform: translateY(-2px); }

@keyframes fomoPopIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fomoPulseGlow {
    0%, 100% { box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45); }
    50% { box-shadow: 0 16px 35px rgba(16, 185, 129, 0.7); }
}

.hp-field { display: none !important; position: absolute !important; left: -9999px !important; }

/* --------------------------------------------------------------------------
   19. Media Queries (Cleanly Scoped Breakpoints — Zero Desktop Leakage)
   -------------------------------------------------------------------------- */

/* TABLETS (959px and below) */
@media (max-width: 959px) {
    .desktop-nav,
    .desktop-nav-cta {
        display: none !important;
    }
    
    .nav-container {
        justify-content: center;
    }

    .brand-logo {
        max-width: 100%;
        font-size: 1.15rem;
    }

    .section,
    .calculator-section,
    .application-section,
    .testimonials-section,
    .what-you-do-section,
    .benefits-section,
    .trust-points-section,
    .stories-section,
    .faq-section,
    .final-cta-section {
        padding: 4rem 0 !important;
    }

    /* Form stacks on tablet */
    .form-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-writeup-col {
        position: static;
        text-align: center;
    }

    .form-writeup-col .form-eyebrow-badge,
    .form-writeup-col .section-eyebrow {
        margin: 0 auto 1rem auto;
        display: inline-flex;
    }

    .form-writeup-col .section-title,
    .form-writeup-col p {
        text-align: center;
    }

    .form-trust-features {
        max-width: 480px;
        margin: 1.5rem auto 0 auto;
        text-align: left;
    }

    /* Benefits 2-column on tablet */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-trust-pills,
    .footer-legal-wrap,
    .footer-links {
        justify-content: center;
        text-align: center;
        align-items: center;
    }
}

/* SMARTPHONES (767px and below) */
@media (max-width: 767px) {
    /* Announcement Bar Stack on Mobile */
    .announcement-bar {
        padding: 0.65rem 0.85rem !important;
    }

    .announcement-content {
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    .announcement-text {
        font-size: 0.85rem !important;
        line-height: 1.35 !important;
        max-width: 320px;
    }

    .countdown-slim-pill {
        font-size: 0.82rem !important;
        padding: 0.25rem 0.85rem !important;
    }

    /* Hero Responsive Tune */
    .hero-section {
        padding: 3rem 0 1.25rem 0 !important;
    }

    .hero-headline {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        font-size: clamp(2.15rem, 7.8vw, 2.65rem) !important;
        line-height: 1.15 !important;
    }

    .hero-headline .hero-line {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .hero-headline .hero-line-1 {
        white-space: nowrap !important;
    }

    .hero-headline .hero-line-2 {
        white-space: nowrap !important;
        margin-top: 0.15rem !important;
    }

    .hero-headline .hero-line-3 {
        white-space: nowrap !important;
        margin-top: 0.15rem !important;
    }

    .hero-subheadline {
        font-size: 1.35rem !important;
        margin-top: 0.85rem !important;
    }

    .hero-body {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
        padding: 0 0.5rem;
    }

    /* Section Titles Mobile Alignment */
    .section-title,
    .benefits-title,
    .calc-title {
        font-size: 1.85rem !important;
    }

    .final-cta-section h2 {
        font-size: 1.85rem !important;
    }

    /* "Are You a Fit?" Stack */
    .fit-section {
        padding: 0.5rem 0 3.75rem 0 !important;
    }

    .fit-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fit-card {
        padding: 2rem 1.5rem;
    }

    .btn-fit-emerald {
        width: 100%;
        padding: 1.1rem 1.5rem;
    }

    /* Calculator Mobile Tune */
    .calc-header {
        margin-bottom: 1.75rem;
    }

    .calc-subtitle {
        font-size: 0.95rem;
    }

    .calc-white-card {
        padding: 1.75rem 1.15rem;
    }

    .slider-label {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
    }

    .calc-output-card {
        padding: 1.25rem 0.85rem;
        margin-bottom: 1.75rem;
    }

    .calc-output-card .sub {
        font-size: 0.75rem;
    }

    .calc-output-card .income-amount {
        font-size: 1.85rem !important;
        margin: 0.2rem 0;
    }

    .calc-output-card .rate-note {
        font-size: 0.78rem;
    }

    .calculator-tiers-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .btn-calc-purple {
        font-size: 0.95rem;
        padding: 0.95rem 1.5rem;
    }

    /* Form Fields Stack */
    .app-form-card {
        padding: 2rem 1.25rem;
    }

    .form-grid-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .field-full {
        grid-column: span 1;
    }

    /* Category Cards Stack */
    .category-cards-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits & Trust Points Stack */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .benefit-card {
        padding: 2.25rem 1.5rem;
    }

    .urgency-box {
        padding: 2.25rem 1.25rem;
    }

    .urgency-headline {
        font-size: 1.25rem;
    }

    .urgency-details-grid {
        flex-direction: column;
        gap: 0.85rem;
    }

    .trust-indicators-grid {
        grid-template-columns: 1fr;
    }

    /* Final CTA Mobile */
    .bonus-offers-box {
        padding: 2rem 1.25rem;
    }

    .bonus-offers-list li {
        font-size: 0.95rem;
    }

    .btn-final-cta-emerald {
        width: 100%;
        padding: 1.1rem 1.5rem;
    }

    .fomoModal {
        padding: 2rem 1.5rem;
    }
}