/* assets/style.css - askaGOAT Homepage */

/* === RESET & CSS VARIABLES === */
:root {
    /* Colors */
    --bg-dark: #0a0f1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --accent-secondary: #10b981;
    --accent-risk: #f97316;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    /* Viewport panning coordinates (set by JS) */
    --pan-x: 0%;
    --pan-y: 0%;
    --img-scale: 1;
    
    /* Spotlight coordinates (set by JS) */
    --focus-top: 0%;
    --focus-left: 0%;
    --focus-width: 100%;
    --focus-height: 100%;
    --spotlight-opacity: 0;
    
    /* Animation timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   STYLE GUIDE
   =============================================
   
   This section documents the design system, typography scale,
   spacing system, and design tokens used throughout the site.
   
   === TYPOGRAPHY ===
   
   Font Families:
   - Sans-serif: Inter (UI elements, headings, navigation)
   - Serif: Source Serif 4 (article body text for readability)
   
   Font Size Scale (rem):
   - 0.75rem  (12px) - Small text, captions
   - 0.85rem  (13.6px) - Form notes, meta text
   - 0.9rem   (14.4px) - Small UI text
   - 0.95rem  (15.2px) - Breadcrumbs, small links
   - 1rem     (16px) - Base body text (mobile)
   - 1.05rem  (16.8px) - Standard body text
   - 1.0625rem (17px) - Article intro paragraphs
   - 1.1rem   (17.6px) - Article excerpts
   - 1.125rem (18px) - Article body text (optimal readability)
   - 1.25rem  (20px) - Lead paragraphs
   - 1.4rem   (22.4px) - H3 headings
   - 1.5rem   (24px) - CTA headings, section subheadings
   - 1.75rem  (28px) - H2 headings
   - 2rem     (32px) - Large headings (mobile)
   - 2.5rem   (40px) - Hero subheadings
   - 3rem     (48px) - Hero headings (mobile)
   - 4rem     (64px) - Hero headings (desktop)
   
   Line Height:
   - 1.2     - Tight (headings)
   - 1.6     - Base (UI elements)
   - 1.65    - Optimal (article body text)
   - 1.7     - Comfortable (lead paragraphs, excerpts)
   - 1.75    - Spacious (article intro, serif text)
   - 1.8     - Very spacious (long-form content)
   
   Font Weight:
   - 400 - Regular (body text)
   - 500 - Medium (lead paragraphs, emphasis)
   - 600 - Semi-bold (buttons, strong text)
   - 700 - Bold (headings, important text)
   - 800 - Extra-bold (hero headings)
   
   === SPACING SYSTEM ===
   
   Based on 4px base unit for consistency:
   - 4px   - Tiny spacing
   - 8px   - Small spacing
   - 12px  - Compact spacing
   - 16px  - Standard spacing
   - 20px  - Comfortable spacing
   - 24px  - Medium spacing
   - 28px  - Paragraph spacing (1.5× line height)
   - 32px  - Section spacing
   - 40px  - Large spacing
   - 48px  - Extra large spacing
   - 56px  - Heading top margin (H2)
   - 64px  - Section padding
   - 80px  - Major section spacing
   
   === COLOR PALETTE ===
   
   Background Colors:
   - --bg-dark: #0a0f1a (Main dark background)
   - --bg-card: rgba(255, 255, 255, 0.03) (Glass panel background)
   - --bg-card-hover: rgba(255, 255, 255, 0.06) (Hover state)
   - --resource-surface: #f8fafc (Light background for resources)
   
   Text Colors:
   - --text-main: #ffffff (Primary text)
   - --text-muted: #94a3b8 (Secondary/muted text)
   - --resource-ink: #0f172a (Dark text on light background)
   - --resource-muted: #475569 (Muted text on light background)
   
   Accent Colors:
   - --accent-primary: #3b82f6 (Blue - primary actions)
   - --accent-glow: rgba(59, 130, 246, 0.4) (Glow effects)
   - --accent-secondary: #10b981 (Green - success, positive)
   - --accent-risk: #f97316 (Orange - warnings, danger)
   - --resource-accent: #1d4ed8 (Blue for resources)
   - --resource-accent-soft: rgba(29, 78, 216, 0.12) (Light accent)
   
   === LAYOUT ===
   
   Container Widths:
   - Mobile: Full width with 16-24px padding
   - Tablet: Full width with 24px padding
   - Desktop: 1200px max-width (main container)
   - Article: 750px max-width (optimal reading width, ~70-72 chars/line)
   - Featured Card: 1200px max-width
   - Newsletter: 700px max-width
   
   Breakpoints:
   - Mobile: < 768px
   - Tablet: 768px - 991px
   - Desktop: 992px+
   - Large Desktop: 1200px+
   
   === COMPONENT SPECIFICATIONS ===
   
   Buttons:
   - Padding: 14px 28px (standard), 16px 32px (large)
   - Border radius: 99px (pill shape)
   - Font size: 1rem (standard), 1.1rem (large)
   - Font weight: 600
   
   Glass Panels:
   - Border radius: 16px
   - Backdrop filter: blur(12px)
   - Border: 1px solid rgba(255, 255, 255, 0.08)
   - Box shadow: 0 8px 32px rgba(0, 0, 0, 0.4)
   
   Article Content:
   - Max width: 750px (optimal reading width, ~70-72 chars/line)
   - Padding: 48px (desktop), 32px 24px (mobile)
   - Font: Source Serif 4 (serif for body)
   - Line height: 1.65
   - Paragraph spacing: 28px (1.5× line height)
   
   Headings:
   - H1: clamp(2rem, 5vw, 3rem), weight 800, line-height 1.2
   - H2: 1.75rem, weight 700, margin-top 56px, margin-bottom 20px
   - H3: 1.4rem, weight 600, margin-top 40px, margin-bottom 16px
   
   === ANIMATIONS ===
   
   Timing Functions:
   - --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1) (smooth, natural)
   - --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1) (standard transitions)
   
   Durations:
   - Fast: 0.2s (color changes, hover states)
   - Standard: 0.3s (transforms, transitions)
   - Slow: 0.6s (fade-ins, scroll animations)
   
   === ACCESSIBILITY ===
   
   Focus States:
   - Outline: 2px solid var(--accent-primary)
   - Outline offset: 4px
   
   Reduced Motion:
   - Respects prefers-reduced-motion
   - Animations disabled or minimal for accessibility
   
   Color Contrast:
   - Text on dark: #ffffff on #0a0f1a (WCAG AAA)
   - Text on light: #0f172a on #f8fafc (WCAG AAA)
   - Muted text: #94a3b8 (WCAG AA compliant)
   
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease-in-out);
}

ul {
    list-style: none;
}

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === GLASS PANELS === */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.pulse-hover:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px var(--accent-glow); }
    50% { box-shadow: 0 4px 40px var(--accent-glow); }
}

/* === HEADER === */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    border-radius: 8px;
}

.desktop-nav {
    display: none;
    gap: 32px;
}

.desktop-nav a {
    color: var(--text-muted);
    font-weight: 500;
}

.desktop-nav a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-main);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    padding: 100px 0 40px;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-sub strong {
    color: var(--text-main);
}

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

.hero-trust {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
}

/* === PRODUCT SHOWCASE === */
.product-showcase {
    padding: 20px 0 32px;
}

.showcase-frame {
    max-width: 950px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.showcase-img {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.hoofnote-caption {
    text-align: center;
    padding: 20px 20px 0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.hoofnote-caption strong {
    color: var(--text-main);
}

/* === FEATURE TOUR SECTION (Scrollytelling) === */
.feature-tour-section {
    padding: 8vh;
    position: relative;
    margin-bottom: -20vh;
}

.feature-tour-section .section-header {
    margin-bottom: 24px;
}

.tour-container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tour Visual - Viewport Window */
.tour-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 1;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 14;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    background: #111827;
}

.tour-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    transform-origin: top left;
    transform: scale(var(--img-scale)) translate(var(--pan-x), var(--pan-y));
    transition: transform 0.8s var(--ease-out-expo);
}

/* Spotlight Overlay - dims everything except focus area */
.spotlight-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    z-index: 5;
    opacity: var(--spotlight-opacity);
    transition: opacity 0.5s var(--ease-in-out), clip-path 0.8s var(--ease-out-expo);
    clip-path: polygon(
        0% 0%,
        0% 100%,
        var(--focus-left) 100%,
        var(--focus-left) var(--focus-top),
        calc(var(--focus-left) + var(--focus-width)) var(--focus-top),
        calc(var(--focus-left) + var(--focus-width)) calc(var(--focus-top) + var(--focus-height)),
        var(--focus-left) calc(var(--focus-top) + var(--focus-height)),
        var(--focus-left) 100%,
        100% 100%,
        100% 0%
    );
}

/* Focus Ring - highlights the active card */
.focus-ring {
    position: absolute;
    top: var(--focus-top);
    left: var(--focus-left);
    width: var(--focus-width);
    height: var(--focus-height);
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    pointer-events: none;
    z-index: 6;
    opacity: var(--spotlight-opacity);
    box-shadow: 0 0 20px var(--accent-glow), inset 0 0 20px rgba(59, 130, 246, 0.1);
    transition: all 0.8s var(--ease-out-expo), opacity 0.5s var(--ease-in-out);
}

/* Orange ring for danger/warning cards */
.visual-wrapper.card-danger .focus-ring {
    border-color: var(--accent-risk);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4), inset 0 0 20px rgba(249, 115, 22, 0.1);
}

/* Tour Steps */
.tour-steps {
    position: relative;
    z-index: 10;
    padding: 10px 20px 20px;
}

.tour-step {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    opacity: 0.4;
    transition: opacity 0.5s var(--ease-in-out);
}

.tour-step-intro {
    min-height: 35vh;
    margin-top: 0;
}

.tour-step:last-child {
    min-height: 30vh;
}

.tour-step.is-active {
    opacity: 1;
}

/* Step Cards - Glassmorphism with accent border */
.step-card {
    padding: 28px 32px;
    max-width: 400px;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--accent-primary);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.step-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
}

.step-card.card-danger {
    border-left-color: var(--accent-risk);
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
}

.step-icon {
    font-size: 1.3rem;
}

/* Step Preview - Hidden on desktop, shown on mobile */
.step-preview {
    display: none;
}

/* Desktop Feature Tour Layout */
@media (min-width: 992px) {
    .tour-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .tour-steps {
        width: 35%;
        padding: 0 30px;
        padding-bottom: 0;
    }

    .tour-step {
        min-height: 60vh;
    }
    
    .tour-step-intro {
        min-height: 20vh;
        padding-top: 0;
    }
    
    .tour-step:last-child {
        min-height: 110vh;
    }

    .tour-visual {
        position: sticky;
        top: 70px;
        width: 65%;
        height: auto;
        max-height: 80vh;
        padding: 20px;
        display: flex;
        align-items: flex-start;
    }

    .visual-wrapper {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 16 / 10;
    }
}

/* === SECTION HEADER === */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === BENTO GRID FEATURES === */
.features-section {
    padding: 10px 0 100px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-large {
        grid-column: span 2;
    }
    
    .card-medium {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .card-large {
        grid-column: span 2;
    }
    
    .card-small {
        grid-column: span 1;
    }
    
    .card-medium {
        grid-column: span 2;
    }
}

.bento-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.card-content {
    position: relative;
    z-index: 1;
}

/* Visual Risk Animation */
.visual-risk {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.analysis-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.analysis-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    animation: scan 2s ease-in-out infinite;
}

.analysis-line:nth-child(2)::after {
    width: 80%;
    animation-delay: 0.3s;
}

@keyframes scan {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.analysis-alert {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-risk);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    width: fit-content;
}

/* Counter */
.counter-wrapper {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin: 16px 0;
}

.counter {
    font-variant-numeric: tabular-nums;
}

/* File Icons */
.file-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.file-icon {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Visual Graph */
.visual-graph {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    margin-top: 24px;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px 4px 0 0;
    animation: grow 1.5s ease-out forwards;
}

.bar-1 { height: 40%; animation-delay: 0.1s; }
.bar-2 { height: 70%; animation-delay: 0.2s; }
.bar-3 { height: 100%; animation-delay: 0.3s; }

@keyframes grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* === TIME SAVINGS SECTION === */
.savings-section {
    padding: 60px 0;
}

.savings-card {
    padding: 48px;
}

.savings-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .savings-layout {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.savings-visual h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.savings-explainer {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.reclaimed-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.time-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.time-box {
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-box-bad {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.time-box-good {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.time-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.time-value {
    font-size: 2.5rem;
    font-weight: 800;
}

.time-box-bad .time-value {
    color: rgba(239, 68, 68, 0.7);
}

.time-box-good .time-value {
    color: var(--accent-secondary);
}

.time-unit {
    font-size: 1rem;
    font-weight: 400;
}

.time-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.progress-track {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 1s var(--ease-out-expo);
}

/* Empty bar (gray, minimal width) */
.progress-bar.empty {
    width: 5%;
    background: rgba(255, 255, 255, 0.15);
}

/* Reclaimed bar (green, full width) */
.progress-bar.reclaimed {
    width: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), #34d399);
}

/* Muted state for Manual Way */
.progress-item.muted .progress-label {
    color: var(--text-muted);
    opacity: 0.7;
}

.progress-item.highlight .progress-label {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* Subtext under bar */
.progress-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.savings-benefits h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.benefit-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.benefit-icon {
    color: var(--accent-secondary);
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-list li > span:last-child {
    line-height: 1.2;
}

.benefit-list strong {
    display: inline-block;
    margin-bottom: 0;
    line-height: 1.2;
}

.benefit-list .text-muted {
    display: inline-block;
    line-height: 1.2;
    margin-top: 0;
}

/* === PRICING SECTION === */
.pricing-section {
    padding: 80px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.popular-card {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px var(--accent-glow);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.trial-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-secondary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.trial-badge.highlight {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-primary);
}

.feature-list {
    flex: 1;
    margin-bottom: 24px;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--text-main);
}

.roi-text-small {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.pricing-footer-text {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 32px;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-badge svg {
    opacity: 0.7;
}

.trust-divider {
    color: rgba(255, 255, 255, 0.2);
}

/* === NOT FOR YOU SECTION === */
.not-for-you-section {
    padding: 60px 0;
}

.not-for-you-card {
    padding: 36px;
    text-align: center;
}

.not-for-you-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-main);
}

.not-for-you-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.not-for-you-list li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}

.not-for-you-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--accent-risk);
    font-weight: bold;
    font-size: 1.1rem;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-card {
    padding: 28px;
}

.faq-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* === FOOTER === */
.glass-footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-weight: 600;
    margin-bottom: 4px;
}

.sub-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* === ANIMATIONS === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-up {
        opacity: 1;
        transform: none;
    }
}

/* === FOCUS STATES === */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =============================================
   MOBILE RESPONSIVE OVERRIDES (< 768px)
   ============================================= */
@media (max-width: 767px) {
    
    /* --- HEADER NAVIGATION --- */
    .nav-actions {
        gap: 8px;
    }
    
    .nav-actions .nav-link {
        font-size: 0.85rem;
        padding: 8px 4px;
    }
    
    .nav-actions .btn-sm {
        padding: 8px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    /* --- HERO SECTION --- */
    .hero-section {
        padding: 90px 0 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 24px;
    }
    
    .hero-trust {
        font-size: 0.85rem;
    }
    
    /* --- PRODUCT SHOWCASE --- */
    .hoofnote-caption {
        font-size: 0.95rem;
        padding: 16px 16px 0;
    }
    
    /* --- BENTO GRID --- */
    .bento-card {
        padding: 24px;
    }
    
    .counter-wrapper {
        font-size: 3rem;
    }
    
    /* --- SAVINGS SECTION --- */
    .savings-card {
        padding: 24px;
    }
    
    .savings-visual h3 {
        font-size: 1.4rem;
    }
    
    /* --- PRICING SECTION --- */
    .pricing-card {
        padding: 28px 24px;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
    
    /* --- FAQ SECTION --- */
    .faq-card {
        padding: 20px;
    }
    
    /* --- NOT FOR YOU SECTION --- */
    .not-for-you-section {
        padding: 40px 0;
    }
    
    .not-for-you-card {
        padding: 24px;
    }
    
    .not-for-you-title {
        font-size: 1.2rem;
    }
    
    .not-for-you-list {
        gap: 12px;
    }
    
    .not-for-you-list li {
        font-size: 0.95rem;
        padding-left: 20px;
    }
    
    /* --- FOOTER --- */
    .footer-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =============================================
   SCROLLYTELLING MOBILE OVERHAUL (< 992px)
   ============================================= */
@media (max-width: 991px) {
    
    .feature-tour-section {
        padding: 40px 0 60px;
        margin-bottom: 0; /* Remove negative margin */
    }
    
    .tour-container {
        gap: 24px;
    }
    
    /* Hide the static top image on mobile - cards have inline previews */
    .tour-visual {
        display: none;
    }
    
    .tour-steps {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
    }
    
    .tour-step {
        min-height: auto;
        padding: 0;
        opacity: 1; /* Always visible */
    }
    
    .tour-step-intro {
        min-height: auto;
    }
    
    .tour-step:last-child {
        min-height: auto;
    }
    
    .step-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
    }
    
    .step-card p {
        font-size: 0.95rem;
    }
    
    /* --- INLINE STEP PREVIEWS --- */
    .step-preview {
        display: block;
        margin-bottom: 16px;
        border-radius: 12px;
        overflow: hidden;
        aspect-ratio: 16 / 10;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        position: relative;
    }
    
    .step-preview-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        transform-origin: top left;
        /* Smooth zoom animation */
        transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.6s ease-out;
    }
    
    /* Starting state - full image before animation */
    .tour-step:not(.is-visible) .step-preview-img {
        transform: scale(1) translate(0%, 0%) !important;
        opacity: 0.85;
    }
    
    /* Final zoom positions when card becomes visible */
    .tour-step.is-visible .step-preview-img[data-crop="overview"] {
        transform: scale(1) translate(0%, 0%);
        opacity: 1;
    }
    
    .tour-step.is-visible .step-preview-img[data-crop="top-left"] {
        /* Key Deadlines */
        transform: scale(2) translate(-1%, 0%);
        opacity: 1;
    }
    
    .tour-step.is-visible .step-preview-img[data-crop="mid-left"] {
        /* Mandatory Checkpoints */
        transform: scale(2) translate(-1%, -25%);
        opacity: 1;
    }
    
    .tour-step.is-visible .step-preview-img[data-crop="bottom-left"] {
        /* Proposal Burden */
        transform: scale(1.8) translate(-1%, -52%);
        opacity: 1;
    }
    
    .tour-step.is-visible .step-preview-img[data-crop="top-right"] {
        /* Scope Summary */
        transform: scale(1.8) translate(-50%, -6%);
        opacity: 1;
    }
    
    .tour-step.is-visible .step-preview-img[data-crop="bottom-right"] {
        /* Opportunity Details */
        transform: scale(1.6) translate(-50%, -48%);
        opacity: 1;
    }
    
    /* Fallback: ensure zoomed state without JS */
    .step-preview-img[data-crop="overview"] { transform: scale(1) translate(0%, 0%); }
    .step-preview-img[data-crop="top-left"] { transform: scale(2) translate(-1%, 0%); }
    .step-preview-img[data-crop="mid-left"] { transform: scale(2) translate(-1%, -25%); }
    .step-preview-img[data-crop="bottom-left"] { transform: scale(1.8) translate(-1%, -56%); }
    .step-preview-img[data-crop="top-right"] { transform: scale(1.8) translate(-50%, -16%); }
    .step-preview-img[data-crop="bottom-right"] { transform: scale(1.8) translate(-50%, -55%); }
}

/* =============================================
   EXTRA SMALL SCREENS (< 400px)
   ============================================= */
@media (max-width: 399px) {
    
    /* Compact header even further */
    .nav-actions .nav-link {
        font-size: 0.75rem;
    }
    
    .nav-actions .btn-sm {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* =============================================
   RESOURCES SECTION STYLES
   ============================================= */

/* Resources typography template */
.resources-page {
    --resource-surface: #f8fafc;
    --resource-ink: #0f172a;
    --resource-muted: #475569;
    --resource-border: rgba(15, 23, 42, 0.12);
    --resource-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --resource-accent: #1d4ed8;
    --resource-accent-soft: rgba(29, 78, 216, 0.12);
}

.resources-page .glass-panel {
    background: var(--resource-surface);
    color: var(--resource-ink);
    border: 1px solid var(--resource-border);
    box-shadow: var(--resource-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.resources-page .hero-sub,
.resources-page .article-breadcrumb a {
    color: #cbd5e1;
}

.resources-page .article-header .article-meta {
    color: #cbd5e1;
}

.resources-page .article-header .meta-divider {
    color: rgba(255, 255, 255, 0.45);
}

/* Featured Article Section */
.resources-featured-section {
    padding: 52px 0;
}

.start-here-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    align-items: center;
}

@media (min-width: 992px) {
    .start-here-stack {
        gap: 32px;
    }
}

.featured-article-card {
    padding: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-article-card.is-primary {
    border: 2px solid rgba(30, 64, 175, 0.7);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12), 0 10px 28px rgba(15, 23, 42, 0.12);
}

.step-label {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.start-here-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f1300;
    background: #f5c542;
    border: 1px solid #eab308;
    box-shadow: 0 8px 18px rgba(234, 179, 8, 0.35);
    line-height: 1.1;
}

.featured-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 16px;
    line-height: 1;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .featured-content {
        grid-template-columns: 1.2fr 1fr;
    }
}

.featured-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-divider {
    color: rgba(255, 255, 255, 0.3);
}

.article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.secondary-link {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--resource-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.secondary-link:hover {
    color: #1e40af;
}

.resources-page .featured-article-card .article-meta {
    color: var(--resource-muted);
}

.resources-page .featured-article-card .meta-divider {
    color: rgba(15, 23, 42, 0.25);
}

.resources-page .featured-article-card .article-excerpt {
    color: var(--resource-muted);
}

.featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-placeholder {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    overflow: hidden;
}

.resources-page .article-placeholder svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
}

@media (min-width: 992px) {
    .resources-page .featured-article-card {
        min-height: 360px;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-card {
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.newsletter-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    margin-top: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        gap: 12px;
    }
}

.email-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s var(--ease-in-out);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.form-group .btn {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .form-group .btn {
        padding: 14px 32px;
    }
}

.form-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.resources-page .newsletter-description,
.resources-page .form-note {
    color: var(--resource-muted);
}

.resources-page .email-input {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--resource-ink);
}

.resources-page .email-input::placeholder {
    color: rgba(71, 85, 105, 0.8);
}

/* Article Page Styles */
.article-header-section {
    padding: 100px 0 24px;
}

.article-container {
    max-width: 750px;
}

.article-breadcrumb {
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s var(--ease-in-out);
}

.article-breadcrumb a:hover {
    color: var(--accent-primary);
}

.article-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.article-content-section {
    padding: 20px 0 80px;
}

.article-content {
    padding: 48px;
}

.resources-page .article-content {
    color: var(--resource-ink);
    font-family: var(--font-serif);
    line-height: 1.65;
}

.article-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 500;
}

.article-body {
    line-height: 1.8;
    color: var(--text-main);
}

.resources-page .article-intro {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.resources-page .article-body {
    color: var(--resource-ink);
}

.resources-page .article-intro {
    font-family: var(--font-serif);
}

.resources-page .article-intro p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--resource-muted);
    margin-bottom: 28px;
}

.resources-page .article-intro strong {
    color: var(--resource-ink);
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 56px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-body p {
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.resources-page .article-body h2,
.resources-page .article-body h3,
.resources-page .cta-card h3,
.resources-page .newsletter-card h3,
.resources-page .featured-text h2 {
    font-family: var(--font-sans);
}

.resources-page .article-body p,
.resources-page .article-body ol,
.resources-page .article-body ul,
.resources-page .article-body ul li,
.resources-page .cta-card p,
.resources-page .lead {
    color: var(--resource-muted);
}

.resources-page .article-body p,
.resources-page .article-body ol,
.resources-page .article-body ul li {
    font-size: 1.125rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.resources-page .lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
}

.article-body strong {
    color: var(--text-main);
    font-weight: 600;
}

.resources-page .article-body strong {
    color: var(--resource-ink);
}

.article-body a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s var(--ease-in-out), text-decoration-color 0.2s var(--ease-in-out);
}

.article-body a:hover {
    color: #60a5fa;
    text-decoration-color: rgba(96, 165, 250, 0.6);
}

.resources-page .article-body a {
    color: #2563eb;
    text-decoration-color: rgba(37, 99, 235, 0.4);
}

.resources-page .article-body a:hover {
    color: #1d4ed8;
    text-decoration-color: rgba(29, 78, 216, 0.6);
}

.resources-page .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style-position: outside;
}

.resources-page .article-body ol li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.article-body ul {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-muted);
}

.article-body ul li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.65;
    list-style: disc;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.article-cta {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resources-page .article-cta {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.cta-card {
    padding: 32px;
    text-align: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.resources-page .cta-note {
    color: var(--resource-muted);
}

.callout-box {
    background: var(--resource-accent-soft);
    border-left: 3px solid var(--resource-accent);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 8px;
    color: var(--resource-ink);
    font-family: var(--font-sans);
    font-weight: 600;
}

.formula-box {
    background: var(--resource-accent-soft);
    border-left: 3px solid var(--resource-accent);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--resource-ink);
}

/* Mobile Responsive for Resources */
@media (max-width: 767px) {
    .featured-article-card {
        padding: 32px 24px;
    }
    
    .featured-text h2 {
        font-size: 1.5rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
    }
    
    .newsletter-card {
        padding: 32px 24px;
    }
    
    .article-content {
        padding: 32px 24px;
    }
    
    /* Ensure article content is visible on mobile even if JS doesn't run */
    .article-content-section .fade-up {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .article-header-section {
        padding-top: 80px;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .article-body p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .resources-page .article-body p {
        margin-bottom: 24px;
    }
    
    .article-body h2 {
        margin-top: 40px;
    }
    
    .article-body h3 {
        margin-top: 32px;
    }
    
    /* Ensure article lists are visible and properly styled on mobile */
    .article-body ul {
        padding-left: 20px;
    }
    
    .article-body ul li {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .resources-page .article-body ul li {
        font-size: 1rem;
    }
}
