/* ==========================================================================
   Acceleration Coach — Premium Brand & Design System (styles.css)
   Aesthetic: Warm Minimalist Executive
   Colors: Obsidian Canvas (#090A0E), Slate-Obsidian Cards (#16171E), 
           Warm Alabaster (#F4F3EF), Antique Bronze / Burnished Gold (#C5A880)
   ========================================================================== */

/* Fonts loaded in parallel inside HTML head for optimal FCP */

:root {
    /* Color Palette */
    --bg-canvas: #FAF8F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F5F2EC;
    --border-neutral: rgba(0, 0, 0, 0.07);
    --border-neutral-focus: rgba(139, 109, 67, 0.35);
    
    --accent-gold: #8B6D43; /* Chestnut Bronze */
    --accent-gold-rgb: 139, 109, 67;
    --accent-gold-hover: #A38253;
    --text-heading: #1A1D20;
    --text-body: #5A626A; /* soft contrast charcoal-gray */
    --text-body-muted: #6A727A;
    
    /* Dynamic Structural Variables (A/B testing compliant) */
    --bg-testimonials: #FFFFFF;
    --bg-footer: #F5F2EC;
    --sidebar-bg: #FAF8F5;
    --bg-gated-box: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 242, 236, 0.99) 100%);
    --bg-input: #FFFFFF;
    --bg-option-card: rgba(139, 109, 67, 0.05);
    --btn-primary-text: #FFFFFF;
    --bg-cookie-banner: rgba(255, 255, 255, 0.98);
    --bg-header: rgba(250, 248, 245, 0.85);
    --bg-header-scrolled: rgba(255, 255, 255, 0.95);
    --shadow-header: 0 4px 20px rgba(139, 109, 67, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --header-height: 80px;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.2s ease;
    
    /* Fonts */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Multivariant A/B Testing Color Themes
   ========================================================================== */

/* --- Variant A: Obsidian Gold (Control - Default) --- */
html.theme-obsidian {
    --bg-canvas: #090A0E;
    --bg-card: #16171E;
    --bg-card-hover: #1E1F29;
    --border-neutral: rgba(255, 255, 255, 0.07);
    --border-neutral-focus: rgba(var(--accent-gold-rgb), 0.4);
    --accent-gold: #C5A880;
    --accent-gold-rgb: 197, 168, 128;
    --accent-gold-hover: #DCD0B9;
    --text-heading: #F4F3EF;
    --text-body: #94A3B8;
    --text-body-muted: #8294A8; /* High-contrast soft silver */
    
    --bg-testimonials: #0c0d13;
    --bg-footer: #050608;
    --sidebar-bg: rgba(9, 10, 14, 0.4);
    --bg-gated-box: linear-gradient(135deg, rgba(22, 23, 30, 0.95) 0%, rgba(9, 10, 14, 0.98) 100%);
    --bg-input: rgba(9, 10, 14, 0.5);
    --bg-option-card: rgba(9, 10, 14, 0.3);
    --btn-primary-text: #090A0E;
    --bg-cookie-banner: rgba(22, 23, 30, 0.95);
    --bg-header: rgba(9, 10, 14, 0.85);
    --bg-header-scrolled: rgba(9, 10, 14, 0.95);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Variant B: Nordic Frost --- */
html.theme-nordic-frost {
    --bg-canvas: #0B0F17;
    --bg-card: #131A22;
    --bg-card-hover: #1C2632;
    --border-neutral: rgba(255, 255, 255, 0.05);
    --border-neutral-focus: rgba(94, 234, 212, 0.4);
    --accent-gold: #5EEAD4; /* Frost Teal */
    --accent-gold-rgb: 94, 234, 212;
    --accent-gold-hover: #99F6E4;
    --text-heading: #F1F5F9;
    --text-body: #94A3B8;
    --text-body-muted: #7E8F9F; /* High-contrast soft steel */
    
    --bg-testimonials: #0e141d;
    --bg-footer: #06090e;
    --sidebar-bg: rgba(11, 15, 23, 0.4);
    --bg-gated-box: linear-gradient(135deg, rgba(19, 26, 34, 0.95) 0%, rgba(11, 15, 23, 0.98) 100%);
    --bg-input: rgba(11, 15, 23, 0.5);
    --bg-option-card: rgba(11, 15, 23, 0.3);
    --btn-primary-text: #0B0F17;
    --bg-cookie-banner: rgba(19, 26, 34, 0.95);
    --bg-header: rgba(11, 15, 23, 0.85);
    --bg-header-scrolled: rgba(11, 15, 23, 0.95);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Variant C: Royal Pine --- */
html.theme-royal-pine {
    --bg-canvas: #070C0A;
    --bg-card: #101915;
    --bg-card-hover: #192721;
    --border-neutral: rgba(255, 255, 255, 0.05);
    --border-neutral-focus: rgba(226, 200, 135, 0.4);
    --accent-gold: #E2C887; /* Imperial Brass */
    --accent-gold-rgb: 226, 200, 135;
    --accent-gold-hover: #ECE1BC;
    --text-heading: #F2F5F3;
    --text-body: #8F9D95;
    --text-body-muted: #8F9D95; /* High-contrast soft sage */
    
    --bg-testimonials: #0a110e;
    --bg-footer: #040706;
    --sidebar-bg: rgba(7, 12, 10, 0.4);
    --bg-gated-box: linear-gradient(135deg, rgba(16, 25, 21, 0.95) 0%, rgba(7, 12, 10, 0.98) 100%);
    --bg-input: rgba(7, 12, 10, 0.5);
    --bg-option-card: rgba(7, 12, 10, 0.3);
    --btn-primary-text: #070C0A;
    --bg-cookie-banner: rgba(16, 25, 21, 0.95);
    --bg-header: rgba(7, 12, 10, 0.85);
    --bg-header-scrolled: rgba(7, 12, 10, 0.95);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Variant D: Warm Alabaster (Premium Light Theme) --- */
html.theme-warm-alabaster {
    --bg-canvas: #FAF8F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F5F2EC;
    --border-neutral: rgba(0, 0, 0, 0.07);
    --border-neutral-focus: rgba(139, 109, 67, 0.35);
    --accent-gold: #8B6D43; /* Chestnut Bronze */
    --accent-gold-rgb: 139, 109, 67;
    --accent-gold-hover: #A38253;
    --text-heading: #1A1D20;
    --text-body: #5A626A;
    --text-body-muted: #6A727A; /* High-contrast charcoal gray (WCAG AA Compliant!) */
    
    --bg-testimonials: #FFFFFF;
    --bg-footer: #F5F2EC;
    --sidebar-bg: #FAF8F5;
    --bg-gated-box: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 242, 236, 0.99) 100%);
    --bg-input: #FFFFFF; /* High-contrast clean white inputs */
    --bg-option-card: rgba(139, 109, 67, 0.05); /* Soft premium warm gold background */
    --btn-primary-text: #FFFFFF; /* Pristine high-contrast white text on Bronze buttons */
    --bg-cookie-banner: rgba(255, 255, 255, 0.98); /* High contrast light background */
    --bg-header: rgba(250, 248, 245, 0.85);
    --bg-header-scrolled: rgba(255, 255, 255, 0.95);
    --shadow-header: 0 4px 20px rgba(139, 109, 67, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* --- Variant E: Cyber Graphite --- */
html.theme-cyber-graphite {
    --bg-canvas: #0E0E10;
    --bg-card: #1B1B1E;
    --bg-card-hover: #26262C;
    --border-neutral: rgba(255, 255, 255, 0.07);
    --border-neutral-focus: rgba(255, 255, 255, 0.4);
    --accent-gold: #FFFFFF; /* Absolute Crisp White */
    --accent-gold-rgb: 255, 255, 255;
    --accent-gold-hover: #E4E4E7;
    --text-heading: #F8F9FA;
    --text-body: #A0A0AA;
    --text-body-muted: #A0A0AA; /* High-contrast soft zinc */
    
    --bg-testimonials: #121215;
    --bg-footer: #08080a;
    --sidebar-bg: rgba(14, 14, 16, 0.4);
    --bg-gated-box: linear-gradient(135deg, rgba(27, 27, 30, 0.95) 0%, rgba(14, 14, 16, 0.98) 100%);
    --bg-input: rgba(14, 14, 16, 0.5);
    --bg-option-card: rgba(14, 14, 16, 0.3);
    --btn-primary-text: #0E0E10;
    --bg-cookie-banner: rgba(27, 27, 30, 0.95);
    --bg-header: rgba(14, 14, 16, 0.85);
    --bg-header-scrolled: rgba(14, 14, 16, 0.95);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-canvas);
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar - Only applied on hoverable desktop devices to prevent iOS Safari scrolling lockups */
@media (hover: hover) {
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: var(--bg-canvas);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--bg-card);
        border-radius: 4px;
        border: 2px solid var(--bg-canvas);
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-gold);
    }
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-heading);
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

p {
    font-weight: 300;
    letter-spacing: -0.01em;
}

strong {
    color: var(--text-heading);
    font-weight: 500;
}

.accent-text {
    color: var(--accent-gold);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--text-heading) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Common Layout Elements */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
    border-bottom: 1px solid var(--border-neutral);
    position: relative;
}

/* Section Header */
.section-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.section-desc {
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 3.5rem;
    color: var(--text-body);
}

/* Button & Call to Action Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--btn-primary-text);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-gold-rgb), 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-neutral);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.03);
    transform: translateY(-2px);
}

/* Glass Header / Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    border-bottom: 1px solid var(--border-neutral);
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 70px;
    background-color: var(--bg-header-scrolled);
    box-shadow: var(--shadow-header);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    color: var(--accent-gold);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: var(--transition-snappy);
}

.logo:hover .logo-icon {
    color: var(--accent-gold-hover);
    transform: translateY(-1px);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-top: -0.1rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: var(--transition-snappy);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    padding: 0.4rem 1.0rem;
    font-size: 0.7rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-heading);
    margin-bottom: 5px;
    transition: var(--transition-snappy);
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-neutral);
    background: radial-gradient(circle at 75% 30%, rgba(var(--accent-gold-rgb), 0.04) 0%, rgba(9, 10, 14, 0) 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.1rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 1.75rem;
    max-width: 580px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-credentials {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2.25rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-neutral);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.credential-item {
    display: flex;
    flex-direction: column;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

a.credential-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cred-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-body-muted);
    margin-bottom: 0.35rem;
    transition: color 0.5s ease;
}

.cred-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-heading);
    transition: color 0.5s ease;
}

/* Credentials Spotlight loop animations */
.hero-credentials.has-highlight .credential-item {
    opacity: 0.35;
}

.hero-credentials .credential-item.highlighted {
    opacity: 1;
    transform: translateY(-6px) scale(1.03);
    background: rgba(var(--accent-gold-rgb), 0.08);
    border-color: rgba(var(--accent-gold-rgb), 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 
                0 0 16px rgba(var(--accent-gold-rgb), 0.2);
}

.hero-credentials .credential-item.highlighted .cred-value {
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.35);
}

.hero-credentials .credential-item.highlighted .cred-label {
    color: var(--text-heading);
}

/* User manual hover override */
.hero-credentials:hover .credential-item {
    opacity: 0.35 !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.hero-credentials:hover .credential-item:hover {
    opacity: 1 !important;
    transform: translateY(-6px) scale(1.03) !important;
    background: rgba(var(--accent-gold-rgb), 0.08) !important;
    border-color: rgba(var(--accent-gold-rgb), 0.4) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 
                0 0 16px rgba(var(--accent-gold-rgb), 0.2) !important;
}

.hero-credentials:hover .credential-item:hover .cred-value {
    color: var(--accent-gold) !important;
    text-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.35) !important;
}

.hero-credentials:hover .credential-item:hover .cred-label {
    color: var(--text-heading) !important;
}

/* Responsive overrides for hero credentials */
@media (max-width: 1200px) {
    .hero-credentials {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-credentials {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1.25rem;
        margin-top: 2.5rem;
    }
}

/* Media/Visual Card - Hero Right */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

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

.profile-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    overflow: hidden;
    flex-shrink: 0;
    background-color: #0b0c10;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.profile-info p {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.profile-info .profile-bio-snippet {
    font-size: 0.8rem;
    color: var(--text-body);
}

/* Premium Large Visual Profile Card (Video Hidden State) */
.profile-card-large {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 1.15rem;
}

.profile-card-large .profile-img-wrapper {
    width: 100%;
    height: 312px;
    border-radius: 8px;
    border: 1px solid var(--border-neutral);
}

.profile-card-large .profile-info h4 {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}

.profile-card-large .profile-info .profile-role-sub {
    font-size: 0.95rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.profile-card-large .profile-info .profile-bio-snippet {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-body);
}

.video-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-card:hover {
    border-color: var(--accent-gold);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(22, 23, 30, 0.8), rgba(9, 10, 14, 0.95)), 
                radial-gradient(circle at center, rgba(var(--accent-gold-rgb), 0.08) 0%, rgba(0,0,0,0) 80%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

.video-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(var(--accent-gold-rgb), 0.1);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
    background-color: var(--accent-gold);
    color: #090A0E;
}

.video-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-heading);
}

/* Inline Contextual Guide Signup (Option C) */
.tab-guide-download {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.tab-guide-download:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0%, rgba(var(--accent-gold-rgb), 0.02) 100%);
}

.tab-guide-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tab-guide-title span {
    font-family: var(--font-sans);
    color: var(--text-heading);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.25rem;
}

.tab-guide-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 1.25rem !important;
}

.tab-guide-form-inline {
    display: flex;
    gap: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-neutral);
    padding: 0.35rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    align-items: center;
}

.tab-guide-form-inline:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.15);
}

.tab-guide-email {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    min-width: 0;
}

.tab-guide-email::placeholder {
    color: var(--text-body-muted);
}

.tab-guide-submit-btn {
    white-space: nowrap;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.icp-persistent-cta {
    text-align: center;
    margin-top: 4.5rem;
}


/* Ideal Customer Profile (ICP) Segmented Section */
.icp-tabs-container {
    margin-top: 3.5rem;
}

.icp-tabs-subheading {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.icp-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-neutral);
    border-radius: 14px;
    padding: 0.375rem;
    margin-bottom: 3.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    gap: 0.375rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.icp-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-body-muted);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    text-align: center;
    width: 100%;
}

.icp-tab-btn .tab-icon {
    opacity: 0.5;
    transition: opacity 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
    color: var(--text-body-muted);
}

.icp-tab-btn:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.03);
}

.icp-tab-btn:hover .tab-icon {
    opacity: 0.8;
    color: var(--text-heading);
}

.icp-tab-btn.active {
    color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.15) 0%, rgba(var(--accent-gold-rgb), 0.03) 100%);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    box-shadow: 0 4px 15px rgba(var(--accent-gold-rgb), 0.05);
}

.icp-tab-btn.active .tab-icon {
    opacity: 1;
    color: var(--accent-gold);
    transform: scale(1.05);
}

.icp-content-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.icp-content-pane.active {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: start;
}

.icp-pane-left h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.icp-pane-left p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.icp-pane-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.icp-bullet-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    padding: 1.5rem;
    border-radius: 6px;
    display: flex;
    gap: 1.25rem;
    transition: var(--transition-snappy);
}

.icp-bullet-card:hover {
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.icp-bullet-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.icp-bullet-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.icp-bullet-text p {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* Shipped Product Validation Section */
.experience-list {
    margin-top: 3.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    border-top: 1px solid var(--border-neutral);
}

.experience-item {
    display: grid;
    grid-template-columns: 0.5fr 2.5fr 5fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-neutral);
    border-left: 2px solid transparent;
    transition: var(--transition-smooth);
}

.experience-item:hover {
    background-color: rgba(255, 255, 255, 0.015);
    border-left-color: var(--accent-gold);
}

.experience-item-num {
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.experience-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.experience-item-badge {
    font-size: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
}

.experience-item-title {
    font-size: 1.15rem;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
    margin: 0;
}

.experience-item-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}



/* Testimonial Section */
.testimonials {
    background-color: var(--bg-testimonials);
}

.logos-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2.5rem 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    /* Sleek gradient fades for screen edges */
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.logos-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.logos-marquee-track:hover {
    animation-play-state: paused;
}

.logos-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 3.3rem;
    padding: 0 2.5rem;
    min-width: 100%;
}

.logo-item {
    opacity: 0.4;
    transition: var(--transition-snappy);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
}

.logo-item:hover {
    opacity: 0.85;
}

.logo-item svg {
    max-width: 110px;
    max-height: 100%;
    fill: currentColor;
    color: var(--text-heading);
}

.logo-item img {
    max-width: 110px;
    max-height: 100%;
    filter: grayscale(1) brightness(1.8) contrast(0.6);
    transition: var(--transition-snappy);
}

.logo-item:hover img {
    filter: grayscale(1) brightness(2.5) contrast(0.8);
}

.logo-item.logo-microsoft img {
    max-height: none;
    max-width: none;
    height: 84px; /* Scaled to compensate for ~62% transparent vertical padding (actual logo height: 32px) */
}

.logo-item.logo-meta img {
    max-height: none;
    max-width: none;
    height: 82px; /* Scaled to compensate for ~61% transparent vertical padding (actual logo height: 32px) */
}

.logo-item.logo-google img {
    max-height: none;
    max-width: none;
    height: 32px; /* Tightly cropped image (actual logo height: 32px) */
}

.logo-item.logo-stripe img {
    max-height: none;
    max-width: none;
    height: 32px; /* Tightly cropped image (actual logo height: 32px) */
}

.logo-item.logo-paypal img {
    max-height: none;
    max-width: none;
    height: 32px; /* Tightly cropped image (actual logo height: 32px) */
}

.logo-item.logo-adobe img {
    max-height: none;
    max-width: none;
    height: 32px; /* Tightly cropped image (actual logo height: 32px) */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-container {
    max-width: 900px;
    margin: 0;
    position: relative;
    padding: 0;
}

.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    line-height: 1.6;
    color: var(--text-heading);
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-author-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.testimonial-author-title {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.testimonial-author-company {
    font-size: 0.8rem;
    color: var(--text-body-muted);
}

/* Testimonial Controls */
.testimonial-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.testimonial-nav-btn {
    background: none;
    border: 1px solid var(--border-neutral);
    color: var(--text-body);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.testimonial-nav-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.03);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-body-muted);
    cursor: pointer;
    transition: var(--transition-snappy);
}

.testimonial-dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.3);
}

/* Content Hub / Resource Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

.resource-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.resource-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-radius: 100px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    font-weight: 500;
}

.resource-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resource-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.resource-content p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.resource-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--text-body-muted);
}

.resource-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 500;
    transition: var(--transition-snappy);
}

.resource-card:hover .resource-action {
    color: var(--text-heading);
    transform: translateX(3px);
}

/* Double-Engine Conversion Section (Intake & Newsletter) */
.conversion {
    background: radial-gradient(circle at 20% 70%, rgba(var(--accent-gold-rgb), 0.03) 0%, rgba(9, 10, 14, 0) 50%);
}

.conversion-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

.conversion-intro h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.conversion-intro p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Minimal Borderless Newsletter Section */
.newsletter-minimal {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-neutral);
}

.newsletter-minimal h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.newsletter-minimal p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-body-muted);
    line-height: 1.5;
}

/* Side-by-Side Form Grid Row */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-inline {
    display: flex;
    gap: 0.75rem;
}

.form-inline input[type="email"] {
    flex-grow: 1;
    background-color: var(--bg-input);
    border: 1px solid var(--border-neutral);
    padding: 0.75rem 1rem;
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition-snappy);
}

.form-inline input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.15);
}

.form-inline button {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

/* Interactive Coaching Intake Form */
.intake-form-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-neutral);
}

.form-progress-steps {
    display: flex;
    gap: 0.5rem;
}

.step-indicator {
    width: 24px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.step-indicator.active {
    background-color: var(--accent-gold);
}

.step-indicator.completed {
    background-color: var(--accent-gold);
    opacity: 0.5;
}

.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-neutral);
    border-radius: 4px;
    padding: 0.875rem 1.25rem;
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-snappy);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="url"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.15);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-heading);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C5A880'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.form-nav-buttons .btn {
    padding: 0.75rem 1.75rem;
}

/* Elegant Obsidian-Dark Radio Options Cards (Horizontal Row) */
.interest-options-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.25rem;
}

.interest-option-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    background-color: var(--bg-option-card);
    border: 1px solid var(--border-neutral);
    border-radius: 6px;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-snappy);
    position: relative;
    user-select: none;
    height: 100%;
}

.interest-option-card:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.35);
    background-color: rgba(var(--accent-gold-rgb), 0.02);
}

.interest-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Modern focus state */
.interest-option-card:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.15);
}

/* Checked styling using has() for modern browsers */
.interest-option-card:has(input[type="radio"]:checked) {
    border-color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.06);
    box-shadow: 0 0 0 1px var(--accent-gold);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
}

.option-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.2;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.35;
}

/* Success State styling */
.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.4s ease forwards;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(var(--accent-gold-rgb), 0.1);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.form-success-state h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.form-success-state p {
    font-size: 1rem;
    color: var(--text-body);
    max-width: 360px;
    margin-bottom: 2rem;
}

/* Cookie Banner Component */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background-color: var(--bg-cookie-banner);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: var(--transition-snappy);
}

.cookie-btn-accept {
    background-color: var(--accent-gold);
    color: var(--btn-primary-text);
    border: 1px solid var(--accent-gold);
}

.cookie-btn-accept:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-body);
    border: 1px solid var(--border-neutral);
}

.cookie-btn-decline:hover {
    color: var(--text-heading);
    border-color: var(--text-body);
}

/* Footer Section */
footer {
    padding: 5rem 0 3rem;
    background-color: var(--bg-footer);
    border-top: 1px solid var(--border-neutral);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-about p {
    font-size: 0.9rem;
    color: var(--text-body-muted);
    max-width: 320px;
    margin-top: 1rem;
}

.footer-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition-snappy);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact-info {
    font-size: 0.9rem;
}

.footer-contact-info p {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.03);
    font-size: 0.8rem;
    color: var(--text-body-muted);
}

.footer-social-links {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    color: var(--text-body-muted);
    transition: var(--transition-snappy);
}

.footer-social-link:hover {
    color: var(--accent-gold);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1200px) {
    .tab-guide-form-inline {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 0.75rem;
    }
    
    .tab-guide-email {
        background: rgba(9, 10, 14, 0.6);
        border: 1px solid var(--border-neutral);
        border-radius: 6px;
        padding: 0.75rem 1rem;
        width: 100%;
    }
    
    .tab-guide-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        gap: 3rem;
    }

    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-item {
        grid-template-columns: 0.5fr 3fr 4.5fr;
        gap: 1.5rem;
    }
    
    .conversion-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Header & Mobile Nav */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-canvas);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1.1rem;
        transform: none;
        display: block;
        padding: 0.5rem 0;
    }
    
    /* Hero */
    .hero {
        padding-top: calc(var(--header-height) + 2rem);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 2.85rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-credentials {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
        margin-top: 2rem;
    }

    .profile-card-large .profile-img-wrapper {
        height: 390px;
    }

    /* ICP */
    .icp-tabs {
        grid-template-columns: 1fr;
        border-radius: 12px;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .icp-tab-btn {
        justify-content: flex-start;
        text-align: left;
        padding: 0.75rem 1.25rem;
    }
    
    .icp-content-pane.active {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .icp-pane-right {
        grid-template-columns: 1fr;
    }
    
    .experience-list {
        margin-left: 0;
        margin-right: 0;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
        border-left: none;
    }
    
    .experience-item:hover {
        background-color: transparent;
        padding-left: 0;
        padding-right: 0;
    }
    

    
    /* Testimonials */
    .testimonial-container {
        padding: 0;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
    }
    
    .logos-marquee-wrapper {
        padding: 2rem 0;
        margin-bottom: 3.5rem;
    }
    
    .logos-group {
        gap: 2.3rem;
        padding: 0 1.75rem;
    }
    
    /* Resources */
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    /* Conversion */
    .conversion-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .newsletter-minimal {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .form-inline {
        flex-direction: column;
    }
    
    .intake-form-box {
        padding: 2rem;
    }
    
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .interest-options-horizontal {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* iOS Mobile Safari auto-zoom prevention on input fields */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="url"],
    .form-group textarea,
    .form-group select,
    .form-inline input[type="email"],
    .unlock-email-input,
    .reader-unlock-email-input {
        font-size: 16px !important;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   TidyCal Booking Modal Styles
   ========================================================================== */
.intake-direct-booking {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.intake-direct-booking button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.tidycal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 10, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.tidycal-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.tidycal-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 85%;
    max-height: 750px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(22, 23, 30, 0.95) 100%);
    border: 1px solid var(--border-neutral);
    border-radius: 12px;
    box-shadow: var(--shadow-deep);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tidycal-modal-overlay.active .tidycal-modal-container {
    transform: translateY(0);
}

.tidycal-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-neutral);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-snappy);
}

.tidycal-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-heading);
    border-color: var(--accent-gold);
    transform: rotate(90deg);
}

.tidycal-iframe-wrapper {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
}

.tidycal-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* ==========================================================================
   Perspectives Blurred Curtain Styles (CSS Grid Gate)
   ========================================================================== */
.resources-grid {
    position: relative;
}

/* Card-Level Locked/Gated State styling */
.resource-card-gated {
    position: relative;
    cursor: pointer;
}

.resource-card-gated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 10, 14, 0.8) 0%, rgba(22, 23, 30, 0.9) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 5;
    transition: var(--transition-smooth);
}

.resource-card-gated::before {
    content: "🔒 Sign in for access (it's free)";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    color: var(--accent-gold);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(9, 10, 14, 0.85);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.resource-card-gated:hover::after {
    background: linear-gradient(135deg, rgba(9, 10, 14, 0.7) 0%, rgba(22, 23, 30, 0.8) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.resource-card-gated:hover::before {
    border-color: var(--accent-gold);
    background: rgba(9, 10, 14, 0.95);
    transform: translate(-50%, -55%);
}

/* Gold Pulse Focus Animation */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-gold-rgb), 0.4);
        border-color: rgba(var(--accent-gold-rgb), 0.3);
    }
    50% {
        box-shadow: 0 0 20px 8px rgba(var(--accent-gold-rgb), 0.15);
        border-color: var(--accent-gold);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-gold-rgb), 0);
        border-color: rgba(var(--accent-gold-rgb), 0.1);
    }
}

.pulse-gold {
    animation: goldPulse 1.8s ease-in-out 2;
}

/* ==========================================================================
   13. Perspectives Unlock Modal Overlay & Dialog styles
   ========================================================================== */
dialog.unlock-modal-overlay {
    border: none;
    background: transparent;
    padding: 0;
    margin: auto;
    max-width: 500px;
    width: 90%;
    outline: none;
    overflow: visible;
}

/* Backdrops styling */
dialog.unlock-modal-overlay::backdrop {
    background-color: rgba(9, 10, 14, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Animations for dialog and backdrop using modern top-layer CSS */
dialog.unlock-modal-overlay[open] {
    opacity: 1;
    transform: scale(1);
    
    @starting-style {
        opacity: 0;
        transform: scale(0.95);
    }
}

dialog.unlock-modal-overlay {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s allow-discrete, transform 0.3s allow-discrete, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

dialog.unlock-modal-overlay::backdrop {
    opacity: 0;
    transition: opacity 0.3s allow-discrete, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
}

dialog.unlock-modal-overlay[open]::backdrop {
    opacity: 1;
    @starting-style {
        opacity: 0;
    }
}

/* Container inside dialog */
.unlock-modal-container {
    background: linear-gradient(135deg, rgba(22, 23, 30, 0.95) 0%, rgba(9, 10, 14, 0.98) 100%);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
}

.unlock-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-snappy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.unlock-modal-close:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.unlock-lock-icon {
    width: 64px;
    height: 64px;
    background: rgba(var(--accent-gold-rgb), 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.15);
}

.unlock-modal-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.unlock-modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.unlock-email-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    background-color: rgba(9, 10, 14, 0.6);
    border: 1px solid var(--border-neutral);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-snappy);
    text-align: center;
}

.unlock-email-input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.15);
}

.unlock-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    dialog.unlock-modal-overlay {
        transform: none !important;
        transition-duration: 0.1s !important;
    }
    dialog.unlock-modal-overlay[open] {
        @starting-style {
            transform: none !important;
        }
    }
}

/* ==========================================================================
   14. Elegant Obsidian-Dark CMS Workspace (.admin-body & .admin-app)
   ========================================================================== */
.admin-body {
    background-color: #0b0c10;
    color: #c5a880;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-header {
    background-color: #12131a;
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.15);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.admin-logo {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: #f7f4ef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-logo span {
    color: var(--accent-gold);
    font-size: 0.8rem;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.admin-container {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* Sidebar Column */
.admin-sidebar {
    background-color: #12131a;
    border-right: 1px solid rgba(var(--accent-gold-rgb), 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-btn-add {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px dashed var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-btn-add:hover {
    background: rgba(var(--accent-gold-rgb), 0.08);
}

.admin-roster {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-roster-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.admin-roster-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.admin-roster-item.active {
    background-color: rgba(var(--accent-gold-rgb), 0.08);
    border-left: 3px solid var(--accent-gold);
}

.admin-roster-title {
    color: #f7f4ef;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-roster-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.admin-roster-gated-badge {
    color: var(--accent-gold);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.65rem;
}

/* Middle Editor Column */
.admin-editor-pane {
    padding: 2rem;
    overflow-y: auto;
    border-right: 1px solid rgba(var(--accent-gold-rgb), 0.15);
    background-color: #0b0c10;
}

.admin-pane-title {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    color: #f7f4ef;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    padding-bottom: 0.5rem;
}

.admin-form-group {
    margin-bottom: 1.25rem;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.admin-input, .admin-textarea, .admin-select {
    width: 100%;
    padding: 0.75rem;
    background-color: #12131a;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-radius: 6px;
    color: #f7f4ef;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 8px rgba(var(--accent-gold-rgb), 0.15);
}

.admin-textarea {
    resize: vertical;
    min-height: 120px;
}

.admin-textarea-code {
    font-family: 'Courier New', Courier, monospace;
    min-height: 300px;
    line-height: 1.5;
}

.admin-switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.admin-switch-input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.admin-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: all 0.2s ease;
}

.admin-btn-save {
    background-color: var(--accent-gold);
    color: #0b0c10;
}

.admin-btn-save:hover {
    background-color: #dfbe8d;
}

.admin-btn-delete {
    background-color: #cf6679;
    color: #ffffff;
}

.admin-btn-delete:hover {
    background-color: #b05060;
}

/* Right Preview Column */
.admin-preview-pane {
    padding: 2rem;
    overflow-y: auto;
    background-color: #12131a;
}

.admin-preview-canvas {
    background-color: #0b0c10;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    min-height: 100%;
}

@media (max-width: 480px) {
    .tidycal-modal-container {
        height: 95%;
        max-height: 95%;
        width: 95%;
    }
    .curtain-lock-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Perspectives Reader View Overlay Panel (Obsidian Dark-Mode Glassmorphism)
   ========================================================================== */
/* Perspectives Summary Card Cover Thumbnail & Zoom Effects */
.resource-image-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--border-neutral);
    background-color: #0f1015;
}

.resource-card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-card:hover .resource-card-thumbnail {
    transform: scale(1.05);
}

/* ==========================================================================
   Perspectives Reader View Overlay Panel (Obsidian Dark-Mode Glassmorphism)
   ========================================================================== */
.perspectives-reader-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(9, 10, 14, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end; /* Slide out from right */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.perspectives-reader-modal.active {
    opacity: 1;
    visibility: visible;
}

.perspectives-reader-container {
    width: 100%;
    max-width: 1200px; /* Widen for side-by-side split Obsidian layout */
    height: 100%;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-neutral);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: row; /* Side-by-side flex layout */
    position: relative;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.perspectives-reader-modal.active .perspectives-reader-container {
    transform: translateX(0);
}

.perspectives-reader-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-body-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-snappy);
}

.perspectives-reader-close:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    transform: rotate(90deg);
}

/* --- Sidebar Directory Styles --- */
.reader-sidebar {
    width: 350px;
    min-width: 350px;
    height: 100%;
    border-right: 1px solid var(--border-neutral);
    display: flex;
    flex-direction: column;
    background-color: var(--sidebar-bg);
    z-index: 2;
}

.reader-sidebar-header {
    padding: 2rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reader-sidebar-header h3 {
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--text-heading);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.reader-sidebar-header .stories-count {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.reader-sidebar-list {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

@media (hover: hover) {
    .reader-sidebar-list::-webkit-scrollbar {
        width: 4px;
    }
    .reader-sidebar-list::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.08);
        border-radius: 4px;
    }
}

.reader-sidebar-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-neutral);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.reader-sidebar-item:hover {
    background-color: rgba(var(--accent-gold-rgb), 0.04);
}

.reader-sidebar-item.active {
    background-color: rgba(var(--accent-gold-rgb), 0.06);
    border-left: 3px solid var(--accent-gold);
    padding-left: calc(1.25rem - 3px); /* Offset border width */
}

.reader-sidebar-item.active .sidebar-item-title {
    color: var(--accent-gold);
}

.sidebar-item-thumb-frame {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-neutral);
    background-color: var(--bg-canvas);
}

.sidebar-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Flex child text-overflow fix */
}

.sidebar-item-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.sidebar-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-heading);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition-snappy);
}

.sidebar-item-meta {
    font-size: 0.75rem;
    color: var(--text-body-muted);
}

.reader-sidebar-item.sidebar-gated .sidebar-item-title::after {
    content: " 🔒";
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Active Content Prose Pane --- */
.perspectives-reader-body {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding: 5rem 4rem 4rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    position: relative;
    /* Fluid Switches Transition Engine */
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    transform: translateY(0);
}

.perspectives-reader-body.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

@media (hover: hover) {
    .perspectives-reader-body::-webkit-scrollbar {
        width: 6px;
    }
    .perspectives-reader-body::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
}

/* Widescreen Hero and Video Player Facade */
.reader-hero-image-frame {
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.reader-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lite-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.lite-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 10, 14, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lite-video-player:hover .lite-video-overlay {
    background: rgba(9, 10, 14, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.lite-video-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(var(--accent-gold-rgb), 0.15);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.2);
}

.lite-video-player:hover .lite-video-play-btn {
    transform: scale(1.1);
    background: var(--accent-gold);
    color: var(--bg-body);
    box-shadow: 0 0 25px rgba(var(--accent-gold-rgb), 0.5);
}

.lite-video-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-heading);
    opacity: 0.9;
    transition: var(--transition-snappy);
}

.lite-video-player:hover .lite-video-label {
    color: var(--accent-gold);
    opacity: 1;
}

.lite-video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Reader Content Typography */
.reader-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    border-radius: 100px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.reader-title {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    color: var(--text-heading);
}

.reader-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-body-muted);
    margin-bottom: 2rem;
}

.reader-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 2.5rem;
}

.reader-content-prose {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
}

.reader-content-prose p {
    margin-bottom: 1.75rem;
}

.reader-content-prose h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-serif);
    color: var(--text-heading);
}

.reader-content-prose ul, .reader-content-prose ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.reader-content-prose li {
    margin-bottom: 0.75rem;
}

.reader-content-prose strong {
    color: var(--text-heading);
}

.reader-content-prose code {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Glassmorphic Obsidian-Themed Callout Blocks */
.article-callout {
    border-left: 4px solid;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 1.75rem;
    margin: 2.25rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.article-callout-blue {
    background: rgba(59, 130, 246, 0.04);
    border-color: #3b82f6;
}

.article-callout-green {
    background: rgba(34, 197, 94, 0.04);
    border-color: #22c55e;
}

.article-callout-yellow {
    background: rgba(234, 179, 8, 0.04);
    border-color: var(--accent-gold);
}

.article-callout-red {
    background: rgba(239, 68, 68, 0.04);
    border-color: #ef4444;
}

.article-callout-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.article-callout-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-body);
}

/* Comparative Matrices and Tables Styles */
.article-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 2.5rem 0;
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
}

.article-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.article-table-wrapper th, .article-table-wrapper td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-neutral);
}

.article-table-wrapper th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: var(--text-heading);
}

.article-table-wrapper tr:last-child td {
    border-bottom: none;
}

.article-table-wrapper td strong {
    color: var(--accent-gold);
}

/* Bottom CTA segment */
.reader-footer-cta {
    background: radial-gradient(circle at 50% 50%, rgba(var(--accent-gold-rgb), 0.04) 0%, rgba(9, 10, 14, 0) 70%), rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-neutral);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.reader-footer-cta h3 {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.reader-footer-cta p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body-muted);
    margin-bottom: 2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.reader-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CSS Paint Containment for Perspectives Grid */
#content {
    content-visibility: auto;
    contain-intrinsic-size: 0 650px;
}

/* Responsive constraints for reader */
@media (max-width: 992px) {
    .perspectives-reader-container {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
    }
    
    .reader-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        max-height: 280px;
        border-right: none;
        border-top: 1px solid var(--border-neutral);
        order: 2; /* Position directory sidebar at the bottom for easy scrolling on mobile */
    }
    
    .reader-sidebar-header {
        padding: 1.25rem 1.5rem 0.75rem;
    }
    
    .perspectives-reader-body {
        padding: 4rem 2.5rem 3rem;
        height: calc(100% - 280px);
        order: 1; /* Position active reading article content at the top */
    }
    
    .perspectives-reader-close {
        top: 1rem;
        right: 1.5rem;
        width: 38px;
        height: 38px;
        background: rgba(9, 10, 14, 0.7); /* Solid background overlay on stacked layout */
        border-color: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .perspectives-reader-body {
        padding: 4rem 1.5rem 2.5rem;
    }
    .reader-title {
        font-size: 1.75rem;
    }
    .reader-hero-image-frame {
        aspect-ratio: 16 / 9;
        margin-bottom: 1.5rem;
    }
    .lite-video-play-btn {
        width: 56px;
        height: 56px;
    }
    .article-callout {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   15. Elegant Obsidian-Dark FAQ Accordion (.faq-section)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-body);
    border-top: 1px solid var(--border-neutral);
    padding: 6rem 0;
}

.faq-accordion {
    max-width: 780px;
    margin: 3rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: #12131a;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.12);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(var(--accent-gold-rgb), 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-question {
    padding: 1.25rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: #f7f4ef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    list-style: none; /* Hide default arrow */
    outline: none;
}

.faq-question::-webkit-details-marker {
    display: none; /* Hide Webkit default arrow */
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg); /* Plus becomes close 'x' */
}

.faq-answer {
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: #D4CFC9;
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 0;
    padding-top: 1rem;
}

.faq-answer strong {
    color: #f7f4ef;
}

/* ==========================================================================
   16. Perspectives Blurred Reader View for Locked Articles
   ========================================================================== */
.blurred-gated-prose {
    position: relative;
    filter: blur(8px) opacity(0.25);
    user-select: none;
    pointer-events: none;
    transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.blurred-gated-prose.unlocked {
    filter: none;
    opacity: 1;
    user-select: auto;
    pointer-events: auto;
}

.reader-gated-curtain {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reader-gated-curtain.fade-out {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.reader-gated-box {
    width: 100%;
    max-width: 580px;
    background: var(--bg-gated-box);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reader-gated-lock {
    width: 52px;
    height: 52px;
    background: rgba(var(--accent-gold-rgb), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    color: var(--accent-gold);
}

.reader-gated-box h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: #f7f4ef;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.reader-gated-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.reader-unlock-inline-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto;
}

.reader-unlock-email-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    background-color: var(--bg-input);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    color: var(--text-heading);
    font-family: inherit;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition-snappy);
}

.reader-unlock-email-input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.2);
}

.reader-unlock-inline-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--bg-body);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-snappy);
}

.reader-unlock-inline-submit:hover {
    background: #e2c194;
    border-color: #e2c194;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.2);
}

.reader-unlock-inline-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.reader-unlock-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ==========================================================================
   12. Advanced Web Performance & Painting Optimization
   ========================================================================== */
@media (min-width: 769px) {
    /* Bypass rendering heavy offscreen blocks on initial load */
    .experience,
    .testimonials,
    .faq,
    .intake,
    #main-footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 600px;
    }
}




/* Global Accessibility Placeholders */
input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--text-body-muted) !important;
    opacity: 0.85 !important;
}

/* ==========================================================================
   17. Developer Backlog board & Kanban Board Styles
   ========================================================================== */
.backlog-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    height: calc(100vh - 200px);
    align-items: stretch;
}

.backlog-column {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-neutral);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    height: 100%;
    min-height: 400px;
}

.backlog-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-neutral);
    margin-bottom: 1rem;
}

.backlog-column-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-heading);
}

.backlog-column-count {
    background-color: rgba(var(--accent-gold-rgb), 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.backlog-column-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

/* Custom Scrollbar for columns */
@media (hover: hover) {
    .backlog-column-cards::-webkit-scrollbar {
        width: 4px;
    }
    .backlog-column-cards::-webkit-scrollbar-track {
        background: transparent;
    }
    .backlog-column-cards::-webkit-scrollbar-thumb {
        background: var(--border-neutral);
        border-radius: 10px;
    }
}

.backlog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neutral);
    border-radius: 6px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.backlog-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(var(--accent-gold-rgb), 0.08);
}

.backlog-card.selected {
    border-color: var(--accent-gold);
    background-color: rgba(var(--accent-gold-rgb), 0.03);
    box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.12);
}

.backlog-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.35;
}

.backlog-card-desc {
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.backlog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.backlog-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 1px 6px;
    border-radius: 3px;
}

/* Category Badges */
.badge-cat-design { background-color: rgba(147, 51, 234, 0.1); color: #a855f7; border: 1px solid rgba(147, 51, 234, 0.2); }
.badge-cat-feature { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.badge-cat-bug { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-cat-content { background-color: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.badge-cat-setup { background-color: rgba(107, 114, 128, 0.1); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.2); }

/* Priority Badges */
.badge-prio-low { background-color: rgba(107, 114, 128, 0.08); color: var(--text-body-muted); }
.badge-prio-medium { background-color: rgba(var(--accent-gold-rgb), 0.12); color: var(--accent-gold); }
.badge-prio-high { background-color: rgba(239, 68, 68, 0.15); color: #ef4444; font-weight: 700; }

.backlog-card-actions {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.backlog-card-move-btn {
    background: transparent;
    border: 1px solid var(--border-neutral);
    color: var(--text-body);
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.2s;
}

.backlog-card-move-btn:hover {
    background-color: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
}
