/* 10xyourposts - Stripe-Inspired Design System */

:root {
    /* Backgrounds - Deep, rich darks (not pure black) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f14;
    --bg-tertiary: #16161d;
    --bg-card: #12121a;
    --bg-elevated: #1a1a24;

    /* Text - High contrast with subtle hierarchy */
    --text-primary: #f6f6f9;
    --text-secondary: #9494a5;
    --text-muted: #5e5e70;

    /* Brand - Refined teal/cyan as primary */
    --accent-primary: #00d4aa;
    --accent-primary-hover: #00e6b8;
    --accent-primary-muted: rgba(0, 212, 170, 0.15);

    /* Supporting colors */
    --accent-blue: #635bff;
    --accent-purple: #9c8cff;
    --accent-green: #00d4aa;
    --accent-yellow: #ffbb00;
    --accent-red: #ff5c5c;
    --accent-cyan: #00c8ff;

    /* Borders - Subtle, refined */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    /* Gradients - Subtle, professional */
    --gradient-1: linear-gradient(135deg, #635bff 0%, #9c8cff 100%);
    --gradient-2: linear-gradient(135deg, #00d4aa 0%, #00c8ff 100%);
    --gradient-3: linear-gradient(135deg, #ffbb00 0%, #ff5c5c 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.15);

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation - Modern Minimal */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: 0 2rem;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.03em;
    color: var(--accent-primary);
    transition: var(--transition-base);
}

.nav-logo:hover {
    color: var(--accent-primary-hover);
}

.nav-logo span {
    color: var(--text-primary);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

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

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.nav-cta {
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
}

.nav-links a.nav-cta:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 0.875rem 1rem;
    }
}

/* Main Content */
.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px var(--space-xl) var(--space-xl);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: var(--space-3xl) 0;
    margin-bottom: var(--space-2xl);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child {
    border-bottom: none;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Framework Blocks */
.framework-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.framework-letter-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.big-letter {
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.framework-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

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

.block-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Content Sections */
.content-section {
    margin-bottom: 2.5rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.content-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.content-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.value-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.value-example {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Formula Box */
.formula-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.formula-equation {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.formula-display {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.formula-display.large .formula-equation {
    font-size: 1.5rem;
}

/* Comparison Box */
.comparison-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-item {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.comparison-item.good {
    border-left: 3px solid var(--accent-green);
}

.comparison-item.bad {
    border-left: 3px solid var(--accent-red);
}

.comparison-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Tips List */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-secondary);
    padding: 1rem 1.25rem;
    border-radius: 10px;
}

.tip-number {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tip-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.tip-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Checklist */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.check-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
}

.check-box {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-blue);
}

/* Spectrum Visual */
.spectrum-visual {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

.spectrum-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.spectrum-labels span {
    text-align: center;
    color: var(--text-muted);
}

.spectrum-labels span:nth-child(2) {
    color: var(--accent-green);
    font-weight: 600;
}

.spectrum-bar {
    position: relative;
    height: 60px;
    background: linear-gradient(to right, var(--accent-red) 0%, var(--accent-green) 50%, var(--accent-red) 100%);
    border-radius: 8px;
    opacity: 0.3;
}

.spectrum-marker {
    position: absolute;
    top: 70px;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.spectrum-marker.optimal {
    color: var(--accent-green);
    font-weight: 600;
}

/* Technique Cards */
.technique-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.technique-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.technique-number {
    width: 24px;
    height: 24px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.technique-header h5 {
    font-size: 1rem;
    font-weight: 700;
}

.technique-simple {
    margin-bottom: 1.5rem;
}

.technique-simple h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.technique-full {
    margin-bottom: 2rem;
}

.technique-full h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Before/After */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.before-after.vertical {
    grid-template-columns: 1fr;
}

.before, .after {
    padding: 1rem;
    border-radius: 8px;
}

.before {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.after {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.before .label, .after .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.before .label {
    color: var(--accent-red);
}

.after .label {
    color: var(--accent-green);
}

.before p, .after p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Example Box */
.example-box {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-cyan);
}

.example-breakdown {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

.example-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.breakdown-parts {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.part {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.part.unexpected {
    color: var(--accent-yellow);
}

.part.resolution {
    color: var(--accent-green);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Principle List */
.principle-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.principle {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
}

.principle-num {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.principle strong {
    display: block;
    margin-bottom: 0.25rem;
}

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

/* Hierarchy Visual */
.hierarchy-visual {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hierarchy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.hierarchy-item.top {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid var(--accent-green);
}

.hierarchy-item.bottom {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.2));
    border: 1px solid var(--accent-red);
}

.hierarchy-label {
    font-weight: 600;
}

.hierarchy-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

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

.data-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: var(--bg-secondary);
}

.data-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Placement Cards */
.placement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.placement-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
}

.placement-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.placement-effect {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* Double CTA */
.double-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    min-width: 200px;
}

.cta-box.primary {
    border: 1px solid var(--accent-blue);
}

.cta-box.secondary {
    border: 1px solid var(--accent-green);
}

.cta-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.cta-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cta-plus {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Test Box */
.test-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.test-question {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.test-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.test-answers {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.test-answers p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Goal Cards */
.goal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.goal-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.goal-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.goal-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.goal-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Decision Box */
.decision-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

.decision-question {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.decision-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.decision-result {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.decision-result p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Emotion Spectrum */
.emotion-spectrum {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.spectrum-side {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.spectrum-side h5 {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.emotion-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.emotion {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.emotion.excitement { background: rgba(16, 185, 129, 0.2); color: var(--accent-green); }
.emotion.anger { background: rgba(239, 68, 68, 0.2); color: var(--accent-red); }
.emotion.fear { background: rgba(245, 158, 11, 0.2); color: var(--accent-yellow); }
.emotion.contentment { background: rgba(107, 107, 123, 0.2); color: var(--text-muted); }
.emotion.sadness { background: rgba(107, 107, 123, 0.2); color: var(--text-muted); }
.emotion.depression { background: rgba(107, 107, 123, 0.2); color: var(--text-muted); }

.spectrum-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.spectrum-divider {
    font-size: 1.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

/* Emotion Combos */
.emotion-combos {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.combo {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
}

.combo-emotions {
    font-weight: 600;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.combo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Utility Pyramid */
.utility-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pyramid-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: var(--bg-secondary);
}

.pyramid-level.top {
    width: 60%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
}

.pyramid-level:nth-child(2) { width: 70%; }
.pyramid-level:nth-child(3) { width: 80%; }
.pyramid-level:nth-child(4) { width: 90%; }
.pyramid-level.bottom {
    width: 100%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
}

.level-name {
    font-weight: 700;
    font-size: 0.85rem;
}

.level-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Utility Categories */
.utility-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.utility-cat {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.cat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.utility-cat h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.utility-cat p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Timing Patterns */
.timing-patterns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.timing-block {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
}

.timing-block h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-cyan);
}

.timing-block ul {
    list-style: none;
}

.timing-block li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.timing-block li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Strategy Cards */
.strategy-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strategy-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

.strategy-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.strategy-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.strategy-card ul {
    list-style: none;
}

.strategy-card li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.strategy-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Formatted Example */
.formatted-example {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.formatted-example p {
    margin-bottom: 0.25rem;
}

/* Ladder Visual */
.ladder-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ladder-step {
    background: var(--bg-tertiary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 0.5rem;
}

.step-label {
    font-weight: 600;
    color: var(--accent-cyan);
}

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

/* Nav Cards */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.nav-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.nav-card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.nav-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.nav-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: var(--space-2xl) var(--space-xl);
    margin-top: var(--space-3xl);
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
}

/* ====================================
   VISUAL POLISH - Animations & Effects
   ==================================== */

/* Smooth page transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Apply animations to page elements */
.page-header {
    animation: fadeInUp 0.6s ease-out;
}

.section-label {
    animation: fadeIn 0.4s ease-out 0.2s both;
}

.page-title {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.page-subtitle {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Card hover effects */
.framework-block,
.nav-card,
.value-card,
.technique-card,
.strategy-card,
.goal-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.framework-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.value-card:hover,
.technique-card:hover,
.strategy-card:hover,
.goal-card:hover {
    transform: translateY(-2px);
    background: var(--bg-tertiary);
}

/* Footer logo styling */
.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--accent-primary);
}

/* Button hover effects */
button,
.cta-box,
.tip-item,
.check-item,
.placement-card {
    transition: all 0.2s ease;
}

.tip-item:hover,
.check-item:hover,
.placement-card:hover {
    transform: translateX(4px);
    border-left: 3px solid var(--accent-blue);
}

/* Section reveal on scroll (using CSS only) */
.section,
.content-section {
    animation: fadeInUp 0.5s ease-out both;
}

/* Interactive focus states */
input:focus,
textarea:focus,
select:focus,
button:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Nav link subtle underline */
.nav-links a:not(.nav-cta) {
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 60%;
}

/* Tag hover effect */
.tag:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    cursor: default;
}

/* Table row hover */
.data-table tr:hover td {
    background: var(--bg-tertiary);
}

/* Comparison item hover */
.comparison-item:hover {
    transform: translateX(4px);
}

/* Hierarchy item animations */
.hierarchy-item {
    transition: all 0.2s ease;
}

.hierarchy-item:hover {
    transform: scale(1.02);
}

/* Pyramid level hover */
.pyramid-level:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Spectrum bar animation */
.spectrum-bar {
    transition: opacity 0.3s ease;
}

.spectrum-visual:hover .spectrum-bar {
    opacity: 0.5;
}

/* Formula box glow on hover */
.formula-box:hover,
.formula-display:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Big letter pop */
.big-letter {
    transition: transform 0.3s ease;
}

.framework-letter-header:hover .big-letter {
    transform: scale(1.1);
}

/* Before/After hover reveal */
.before:hover,
.after:hover {
    transform: scale(1.02);
}

/* Emotion pills pop */
.emotion:hover {
    transform: scale(1.05);
}

/* Combo cards */
.combo:hover {
    transform: translateX(4px);
    border-left: 3px solid var(--accent-cyan);
}

/* CTA box pulse on hover */
.cta-box:hover {
    animation: pulse 1s ease-in-out infinite;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection colors */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Loading skeleton (utility class) */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .main {
        padding: 80px 1rem 1rem;
    }

    .framework-block {
        padding: 1.5rem;
    }

    .big-letter {
        font-size: 3.5rem;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
}
