/* style.css - Daylight Forensic Workspace Theme */
:root {
    --bg-workspace: hsl(210, 15%, 95%); /* light greyish white */
    --bg-surface: hsl(0, 0%, 100%);     /* pure white */
    --border-color: hsl(210, 10%, 82%); /* dark grey boundary lines */
    
    --text-primary: hsl(210, 20%, 12%);   /* dark charcoal */
    --text-secondary: hsl(210, 10%, 40%); /* muted grey */
    
    --accent-orange: hsl(15, 100%, 45%);       /* forensic alert orange */
    --accent-orange-glow: hsla(15, 100%, 45%, 0.1);
    --accent-cyan: hsl(190, 80%, 40%);         /* secondary highlight */
    
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
    
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body.forensic-theme {
    background-color: var(--bg-workspace);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    padding: 30px; /* Leave space for forensic borders */
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Forensic Edge Borders & Metamarks */
.meta-edge-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--bg-workspace);
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 30px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
}

.meta-edge-left {
    position: fixed;
    top: 30px;
    left: 0;
    width: 30px;
    height: calc(100% - 30px);
    background: var(--bg-workspace);
    border-right: 1px solid var(--border-color);
    z-index: 99;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 30px 0;
    text-align: center;
}

/* Grid Crosshair Markers (+) */
body.forensic-theme::before {
    content: '+';
    position: fixed;
    top: 40px;
    right: 40px;
    font-size: 1.2rem;
    color: var(--border-color);
    font-weight: 300;
    z-index: 98;
}

body.forensic-theme::after {
    content: '+';
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 1.2rem;
    color: var(--border-color);
    font-weight: 300;
    z-index: 98;
}

/* Navigation & Header */
#main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-top: none;
    position: sticky;
    top: 30px;
    z-index: 95;
    margin-left: 10px; /* Offset from left meta-bar */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.logo-accent {
    color: var(--accent-orange);
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

#main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
    transition: color var(--transition-smooth);
}

#main-nav a:hover {
    color: var(--accent-orange);
}

/* Buttons */
.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-surface);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--text-primary);
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--bg-surface);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--accent-orange);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid var(--accent-orange);
    transition: all var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    color: var(--bg-surface);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.btn-outline:hover {
    background-color: rgba(0,0,0,0.03);
    border-color: var(--text-primary);
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent-orange);
    background-color: var(--accent-orange-glow);
    border: 1px solid var(--accent-orange);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 20px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-workspace);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Preview (Lesson 3 Layout) */
.hero-preview-container {
    width: 100%;
}

.comparison-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 4px;
}

/* Hero Before/After Swipe Slider styling */
.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    background: var(--bg-workspace);
}

.img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-before {
    z-index: 2;
    width: 50%; /* JS controlled */
    border-right: 2px solid var(--accent-orange);
    overflow: hidden;
}

.img-before-inner {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* Width is updated dynamically in JS to prevent squishing */
}

.img-after {
    z-index: 1;
    width: 100%;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* JS controlled */
    width: 2px;
    background-color: var(--accent-orange);
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: var(--bg-surface);
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    z-index: 6;
    transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.slider-wrapper:hover .slider-button {
    box-shadow: 0 0 0 6px var(--accent-orange-glow);
    border-color: var(--accent-orange);
}

.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.tag-meta {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    z-index: 10;
}

.tag-winner {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.tag-loser {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.image-footer-meta {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Visual Placeholders */
.visual-placeholder {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.plastic-skin {
    background: linear-gradient(135deg, #f2ece9 0%, #dcd5d1 100%);
}
.plastic-skin::before {
    content: '';
    position: absolute;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    top: 35%; left: 45%;
    opacity: 0.7; /* Artificial harsh gloss highlight */
}

.raw-real {
    background: linear-gradient(135deg, #e4dedb 0%, #cdc3be 100%);
}
.raw-real::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 0);
    background-size: 3px 3px; /* Subtle organic lens grain noise */
    opacity: 0.6;
}

.placeholder-caption {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 5;
}

/* General Sections */
section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-surface);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Problem Section: The Magic Word Illusion */
.problem-section {
    background-color: var(--bg-workspace);
}

.trap-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.crossed-words-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.word-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 18px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.word-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.word-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: right;
}

/* Red cross-out line animation */
.word-card.crossed-out::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 4%;
    width: 32%; /* Covers only the keyword */
    height: 3px;
    background-color: var(--accent-orange);
    transform: rotate(-3deg);
    opacity: 0.85;
}

.training-explanation {
    padding: 30px;
    background: var(--bg-surface);
    border-left: 3px solid var(--accent-orange);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 4px 4px 0;
}

.training-explanation h3 {
    font-family: var(--font-heading);
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.training-explanation p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Layers Section */
.layers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 24px;
    transition: all var(--transition-smooth);
    position: relative;
}

.glass-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.layer-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 12px;
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.glass-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Proportions Bar */
.proportions-box {
    background: var(--bg-workspace);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 32px;
    text-align: center;
}

.proportions-box h3 {
    font-family: var(--font-heading);
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.proportion-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.ratio-bar {
    display: flex;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.ratio-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-surface);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.segment-80 {
    width: 80%;
    background-color: var(--text-primary);
}

.segment-15 {
    width: 15%;
    background-color: var(--text-secondary);
}

.segment-5 {
    width: 5%;
    background-color: var(--accent-orange);
}

.ratio-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.color-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot-80 { background-color: var(--text-primary); }
.dot-15 { background-color: var(--text-secondary); }
.dot-5 { background-color: var(--accent-orange); }

.ratio-takeaway {
    font-size: 0.95rem;
    color: var(--text-primary);
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
}

/* Lexicon Shift Section & Table */
.table-container {
    margin-bottom: 40px;
    overflow-x: auto;
}

.shift-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
}

.shift-table th, .shift-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.shift-table th {
    background-color: var(--bg-workspace);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.arrow-col {
    width: 60px;
    text-align: center;
    color: var(--accent-orange);
    font-weight: bold;
}

.adjective-tag {
    font-family: var(--font-mono);
    color: #C62828;
    background-color: #FFEBEE;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 0.85rem;
    border: 1px solid #FFCDD2;
    text-decoration: line-through;
}

.event-tag {
    font-family: var(--font-mono);
    color: #2E7D32;
    background-color: #E8F5E9;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 0.85rem;
    border: 1px solid #C8E6C9;
}

/* Takeaway Callout - Overlaid on premium slate background image */
.takeaway-callout {
    background: linear-gradient(rgba(10, 15, 25, 0.7), rgba(10, 15, 25, 0.7)), url('takeaway_background.webp') no-repeat center/cover;
    border: 1px solid var(--text-primary);
    border-radius: 6px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.callout-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: hsl(0, 0%, 100%);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.35;
}

.callout-sub {
    font-size: 1.05rem;
    color: hsl(24, 100%, 60%);
    font-family: var(--font-mono);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--bg-workspace);
    padding: 100px 0;
}

.pricing-card-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    border: 2px solid var(--text-primary);
    border-radius: 4px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
}

.badge-pricing {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    background-color: var(--accent-orange-glow);
    border: 1px solid var(--accent-orange);
    padding: 4px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 16px;
}

.pricing-card h2 {
    font-size: 2.3rem; /* Increased from 2rem */
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.pricing-desc {
    font-size: 1.05rem; /* Increased from 0.9rem */
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-box {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 32px;
}

.original-price {
    font-size: 1.35rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.current-price {
    font-size: 3.8rem; /* Increased from 3.5rem */
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.pricing-features {
    text-align: left;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.pricing-features li {
    font-size: 1.1rem; /* Increased from 0.9rem */
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-features li span {
    color: var(--accent-orange);
    font-weight: bold;
    margin-right: 10px;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, hsl(24, 100%, 50%) 0%, hsl(355, 100%, 45%) 100%);
    color: var(--bg-surface);
    padding: 16px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 60, 0, 0.2);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-checkout:hover {
    background: linear-gradient(135deg, hsl(355, 100%, 45%) 0%, hsl(24, 100%, 50%) 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 8px 25px rgba(255, 60, 0, 0.35);
}

.btn-main-text {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: var(--font-heading);
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-sub-text {
    font-size: 0.68rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    font-family: var(--font-sans);
    opacity: 0.85;
    line-height: 1.1;
}

.checkout-footer {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* Footer */
footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    margin-left: 10px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-container p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Responsive Grid/Layouts */
@media (max-width: 968px) {
    body.forensic-theme {
        padding: 10px;
    }
    
    .meta-edge-top, .meta-edge-left {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .trap-box {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Pricing Container adjustment to allow overflow visual cards */
.pricing-container {
    overflow: visible !important;
    position: relative;
}

.pricing-card-wrapper {
    max-width: 480px;
    margin: 40px auto;
    position: relative;
    z-index: 5;
}

/* Blurred background pages fanning behind the card */
.pdf-pages-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.pdf-page-bg {
    position: absolute;
    width: 280px;
    height: 180px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 1; /* Below the pricing card */
    transition: filter 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease, left 0.7s cubic-bezier(0.16, 1, 0.3, 1), right 0.7s cubic-bezier(0.16, 1, 0.3, 1), top 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    object-fit: cover;
    filter: blur(2.5px) grayscale(15%) contrast(95%);
    opacity: 0.8;
    
    /* Parallax CSS variables, updated dynamically in JS */
    --parallax-x: 0px;
    --parallax-y: 0px;
}

/* No hover styling allowed to prevent mouse from catching cards */
.pdf-page-bg:hover {
    cursor: default;
}

/* Floating Animations for Natural State */
@keyframes float-left-odd {
    0% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(-18deg); }
    50% { transform: translate(calc(var(--parallax-x) - 12px), calc(var(--parallax-y) + 10px)) rotate(-15deg); }
    100% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(-18deg); }
}
@keyframes float-left-even {
    0% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(-12deg); }
    50% { transform: translate(calc(var(--parallax-x) + 10px), calc(var(--parallax-y) - 12px)) rotate(-14deg); }
    100% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(-12deg); }
}
@keyframes float-right-odd {
    0% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(15deg); }
    50% { transform: translate(calc(var(--parallax-x) + 12px), calc(var(--parallax-y) - 10px)) rotate(17deg); }
    100% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(15deg); }
}
@keyframes float-right-even {
    0% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(18deg); }
    50% { transform: translate(calc(var(--parallax-x) - 10px), calc(var(--parallax-y) + 12px)) rotate(16deg); }
    100% { transform: translate(var(--parallax-x), var(--parallax-y)) rotate(18deg); }
}

/* Default Natural positions: scattered all over the page wrapper area (messy spread) */
.page-1 { left: -650px; right: auto; top: -140px; animation: float-left-odd 7s ease-in-out infinite; animation-delay: 0s; }
.page-2 { left: 750px; right: auto; top: -110px; animation: float-right-odd 9s ease-in-out infinite; animation-delay: -1.5s; }
.page-3 { left: -420px; right: auto; top: -30px; animation: float-left-even 8s ease-in-out infinite; animation-delay: -3s; }
.page-4 { left: 550px; right: auto; top: 10px; animation: float-right-even 7.5s ease-in-out infinite; animation-delay: -4.5s; }
.page-5 { left: -200px; right: auto; top: 120px; animation: float-left-odd 7s ease-in-out infinite; animation-delay: -2s; }
.page-6 { left: 400px; right: auto; top: 150px; animation: float-right-odd 9s ease-in-out infinite; animation-delay: -0.5s; }
.page-7 { left: -720px; right: auto; top: 220px; animation: float-left-even 8s ease-in-out infinite; animation-delay: -3.5s; }
.page-8 { left: 820px; right: auto; top: 260px; animation: float-right-even 7.5s ease-in-out infinite; animation-delay: -5s; }
.page-9 { left: -120px; right: auto; top: 320px; animation: float-left-odd 7s ease-in-out infinite; animation-delay: -1s; }
.page-10 { left: 320px; right: auto; top: 350px; animation: float-right-odd 9s ease-in-out infinite; animation-delay: -2.5s; }
.page-11 { left: -540px; right: auto; top: 430px; animation: float-left-even 8s ease-in-out infinite; animation-delay: -4s; }
.page-12 { left: 620px; right: auto; top: 460px; animation: float-right-even 7.5s ease-in-out infinite; animation-delay: -6s; }
.page-13 { left: -320px; right: auto; top: 540px; animation: float-left-odd 7s ease-in-out infinite; animation-delay: -1.8s; }
.page-14 { left: 480px; right: auto; top: 570px; animation: float-right-odd 9s ease-in-out infinite; animation-delay: -3.2s; }
.page-15 { left: -780px; right: auto; top: 650px; animation: float-left-even 8s ease-in-out infinite; animation-delay: -4.8s; }
.page-16 { left: 860px; right: auto; top: 680px; animation: float-right-even 7.5s ease-in-out infinite; animation-delay: -0.8s; }
.page-17 { left: -220px; right: auto; top: 740px; animation: float-left-odd 7s ease-in-out infinite; animation-delay: -2.2s; }
.page-18 { left: 360px; right: auto; top: 780px; animation: float-right-odd 9s ease-in-out infinite; animation-delay: -3.8s; }
.page-19 { left: -500px; right: auto; top: 830px; animation: float-left-even 8s ease-in-out infinite; animation-delay: -5.5s; }
.page-20 { left: 680px; right: auto; top: 860px; animation: float-right-even 7.5s ease-in-out infinite; animation-delay: -1.2s; }

/* Interactive page hover displacement: slides them half inward peeking out behind checkout card */
.pricing-card-wrapper:has(.pricing-card:hover) .pdf-page-bg {
    animation: none !important;
    filter: blur(1.2px) grayscale(10%) contrast(95%);
    opacity: 0.85;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pricing-card-wrapper:has(.pricing-card:hover) .page-1 { left: -190px; right: auto; top: -40px; transform: translate(0, 0) rotate(-12deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-2 { left: 390px; right: auto; top: -20px; transform: translate(0, 0) rotate(12deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-3 { left: -205px; right: auto; top: 40px; transform: translate(0, 0) rotate(-6deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-4 { left: 380px; right: auto; top: 60px; transform: translate(0, 0) rotate(16deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-5 { left: -175px; right: auto; top: 120px; transform: translate(0, 0) rotate(-9deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-6 { left: 395px; right: auto; top: 140px; transform: translate(0, 0) rotate(10deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-7 { left: -210px; right: auto; top: 200px; transform: translate(0, 0) rotate(-14deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-8 { left: 405px; right: auto; top: 220px; transform: translate(0, 0) rotate(11deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-9 { left: -180px; right: auto; top: 280px; transform: translate(0, 0) rotate(-4deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-10 { left: 375px; right: auto; top: 300px; transform: translate(0, 0) rotate(6deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-11 { left: -195px; right: auto; top: 360px; transform: translate(0, 0) rotate(-10deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-12 { left: 410px; right: auto; top: 380px; transform: translate(0, 0) rotate(15deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-13 { left: -170px; right: auto; top: 440px; transform: translate(0, 0) rotate(-8deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-14 { left: 385px; right: auto; top: 460px; transform: translate(0, 0) rotate(9deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-15 { left: -200px; right: auto; top: 520px; transform: translate(0, 0) rotate(-12deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-16 { left: 395px; right: auto; top: 540px; transform: translate(0, 0) rotate(10deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-17 { left: -180px; right: auto; top: 600px; transform: translate(0, 0) rotate(-5deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-18 { left: 405px; right: auto; top: 620px; transform: translate(0, 0) rotate(7deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-19 { left: -190px; right: auto; top: 680px; transform: translate(0, 0) rotate(-10deg) scale(0.95); }
.pricing-card-wrapper:has(.pricing-card:hover) .page-20 { left: 375px; right: auto; top: 700px; transform: translate(0, 0) rotate(11deg) scale(0.95); }

/* Hide fanned cards on smaller screens to prevent horizontal overflow and display a touch carousel */
@media (max-width: 1200px) {
    .pdf-pages-gallery {
        position: relative;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 24px 16px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        gap: 16px;
        z-index: 10;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pdf-pages-gallery::-webkit-scrollbar {
        height: 6px;
    }
    
    .pdf-pages-gallery::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
    }
    
    .pdf-pages-gallery::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 3px;
    }
    
    .pdf-page-bg {
        position: static;
        flex-shrink: 0;
        width: 250px;
        height: 160px;
        scroll-snap-align: center;
        filter: none !important;
        opacity: 1 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        animation: none !important;
        transform: none !important;
    }
    
    .pdf-page-bg:hover {
        transform: scale(1.02) !important;
        z-index: 2 !important;
    }
}

/* Testimonials Section */
.proof-section {
    background-color: var(--bg-surface);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
}

.creator-handle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.creator-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    background-color: var(--accent-orange-glow);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 2px 6px;
    border-radius: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-workspace);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-container {
    max-width: 700px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.faq-item[open] {
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    transition: color var(--transition-smooth);
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: transform var(--transition-smooth);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent-orange);
}

.faq-item summary:hover {
    color: var(--accent-orange);
}

.faq-item p {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

