/* =============================================
   DESIGN SYSTEM — Overlens Bootcamp
   ============================================= */

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

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f18;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;

    --accent-primary: #7c5cfc;
    --accent-secondary: #a78bfa;
    --accent-glow: rgba(124, 92, 252, 0.3);

    --gradient-main: linear-gradient(135deg, #7c5cfc 0%, #c084fc 50%, #f472b6 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(124, 92, 252, 0.15) 0%, rgba(192, 132, 252, 0.08) 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #7c5cfc 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(124, 92, 252, 0.2);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.15);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.4rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -15%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #f472b6;
    bottom: -10%;
    left: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 40%;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--accent-secondary);
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.meta-icon {
    font-size: 1.1rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(124, 92, 252, 0.3);
}

.hero-cta svg {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =============================================
   SECTIONS — General
   ============================================= */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

/* =============================================
   CONTEXT SECTION
   ============================================= */
.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

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

.context-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.context-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

/* Callout */
.callout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.callout-content strong {
    color: var(--text-primary);
}

/* =============================================
   PRINCIPLES SECTION
   ============================================= */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.principle-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition-smooth);
}

.principle-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.principle-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

/* Reality Box */
.reality-box {
    padding: 48px;
}

.reality-box h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 28px;
}

.reality-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.reality-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.reality-bullet {
    color: var(--accent-primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.reality-exercise {
    background: rgba(124, 92, 252, 0.08);
    border: 1px solid rgba(124, 92, 252, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
}

.reality-exercise p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   RESOURCES SECTION
   ============================================= */
.resources-tower {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 64px;
}

.resource-card {
    display: flex;
    align-items: stretch;
    gap: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.resource-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateX(8px);
}

.resource-rank {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    opacity: 0.1;
    line-height: 1;
    flex-shrink: 0;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-time .resource-rank { color: #f97316; opacity: 0.2; }
.resource-energy .resource-rank { color: #eab308; opacity: 0.2; }
.resource-clarity .resource-rank { color: #06b6d4; opacity: 0.2; }
.resource-money .resource-rank { color: #10b981; opacity: 0.2; }

.resource-content {
    flex: 1;
}

.resource-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.resource-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.resource-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.resource-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.resource-details ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.resource-details ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.resource-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.resource-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(124, 92, 252, 0.15);
}

/* Equation Box */
.equation-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(124, 92, 252, 0.08);
    border: 1px solid rgba(124, 92, 252, 0.12);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin: 12px 0;
}

.equation-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.equation-box code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Comparison */
.comparison-section {
    margin-top: 48px;
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 32px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.comparison-card {
    padding: 32px;
}

.comparison-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 24px;
    text-align: center;
}

.system-diagram {
    margin-bottom: 24px;
}

.sys-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sys-node {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 90px;
}

.sys-node small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 4px;
}

.sys-input { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.sys-storage { background: rgba(124, 92, 252, 0.15); color: var(--accent-secondary); border: 1px solid rgba(124, 92, 252, 0.2); }
.sys-output { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.sys-blocked { background: rgba(100, 100, 120, 0.15); color: var(--text-muted); border: 1px solid rgba(100, 100, 120, 0.2); }
.sys-storage-time { background: rgba(249, 115, 22, 0.15); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.2); }
.sys-output-time { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }

.sys-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
}

.comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comparison-card ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

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

/* =============================================
   DISCERNIMENTO SECTION
   ============================================= */
.digging-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.digging-scenario {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.digging-scenario:hover {
    transform: translateY(-4px);
}

.digging-scenario.wrong {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.digging-scenario.right {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.digging-header {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scenario-icon {
    font-size: 1.5rem;
}

.digging-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.digging-body {
    padding: 0 28px 28px;
}

.digging-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.digging-result {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.wrong .digging-result {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.right .digging-result {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Meritocracy Box */
.meritocracy-box {
    padding: 48px;
}

.meritocracy-box h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.meritocracy-box > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.meritocracy-box blockquote {
    border-left: 3px solid var(--accent-primary);
    padding: 20px 24px;
    margin: 24px 0;
    background: rgba(124, 92, 252, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

.extremes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.extreme-item {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.extreme-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f87171;
    margin-bottom: 8px;
}

.extreme-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.meritocracy-conclusion {
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: var(--radius-md);
    text-align: center;
}

/* =============================================
   ENTROPY SECTION
   ============================================= */
.section-entropy {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #0d0816 100%);
}

.entropy-definition {
    text-align: center;
    padding: 56px 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.entropy-definition::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(124, 92, 252, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.entropy-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.entropy-definition h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.entropy-def-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.entropy-law {
    display: inline-block;
    background: rgba(124, 92, 252, 0.08);
    border: 1px solid rgba(124, 92, 252, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 32px;
}

.entropy-law span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-secondary);
    margin-bottom: 8px;
}

.entropy-law p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Examples Grid */
.entropy-examples {
    margin-bottom: 48px;
}

.entropy-examples h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 32px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.example-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    transition: var(--transition-smooth);
}

.example-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.example-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.example-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 8px;
}

.example-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Key Insight */
.entropy-key-insight {
    padding: 48px;
}

.entropy-key-insight h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 28px;
    text-align: center;
}

.insight-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.insight-block {
    text-align: center;
    padding: 20px;
}

.insight-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.insight-block p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   LEVELS SECTION
   ============================================= */
.levels-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.levels-timeline::before {
    content: '';
    position: absolute;
    left: 48px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        #ef4444 0%,
        #eab308 25%,
        #10b981 50%,
        #3b82f6 75%,
        #8b5cf6 100%
    );
    opacity: 0.3;
}

.level-card {
    display: flex;
    gap: 24px;
    position: relative;
}

.level-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 96px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.level-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.level-name {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-align: center;
}

.level-minus1 .level-number { color: #ef4444; }
.level-zero .level-number { color: #eab308; }
.level-one .level-number { color: #10b981; }
.level-two .level-number { color: #3b82f6; }
.level-three .level-number { color: #8b5cf6; }

.level-content {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.level-card:hover .level-content {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.level-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.level-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.level-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.trait {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(124, 92, 252, 0.08);
    color: var(--accent-secondary);
    border: 1px solid rgba(124, 92, 252, 0.12);
}

.level-desc {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
}

.level-callout {
    padding: 40px;
    text-align: center;
}

.level-callout h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.level-callout p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 12px;
}

/* =============================================
   SYNTROPY SECTION
   ============================================= */
.section-syntropy {
    background: linear-gradient(180deg, #0d0816 0%, var(--bg-secondary) 100%);
}

.syntropy-visual {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.syntropy-side {
    flex: 1;
    padding: 40px;
    text-align: center;
}

.entropy-side {
    background: rgba(239, 68, 68, 0.04);
}

.syntropy-side-right {
    background: rgba(16, 185, 129, 0.04);
}

.syntropy-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.syntropy-side h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.entropy-side h3 { color: #f87171; }
.syntropy-side-right h3 { color: #34d399; }

.syntropy-side > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.syntropy-side ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.syntropy-side ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.entropy-side ul li::before {
    content: '↓';
    position: absolute;
    left: 0;
    color: #f87171;
}

.syntropy-side-right ul li::before {
    content: '↑';
    position: absolute;
    left: 0;
    color: #34d399;
}

.syntropy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: var(--bg-primary);
}

.vs-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 12px 8px;
    letter-spacing: 2px;
}

/* Syntropy Steps */
.syntropy-explanation {
    padding: 48px;
    margin-bottom: 48px;
}

.syntropy-explanation h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 32px;
    text-align: center;
}

.syntropy-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.syntropy-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

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

/* Autonomy Definition */
.autonomy-definition {
    padding: 48px;
}

.autonomy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.autonomy-icon {
    font-size: 2rem;
}

.autonomy-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.autonomy-quote {
    border-left: 3px solid var(--accent-primary);
    padding: 20px 24px;
    margin: 0 0 28px 0;
    background: rgba(124, 92, 252, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

.autonomy-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auto-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auto-icon {
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.auto-point p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   EXERCISE SECTION
   ============================================= */
.section-exercise {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0a16 100%);
}

.exercise-main {
    padding: 0;
    overflow: hidden;
    margin-bottom: 48px;
}

.exercise-header {
    background: var(--gradient-main);
    padding: 32px 40px;
}

.exercise-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.exercise-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

.exercise-body {
    padding: 40px;
}

.exercise-body > p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.exercise-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.ex-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ex-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.ex-step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.ex-step-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ex-step-content ul li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.ex-step-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Exercise Final */
.exercise-final {
    background: rgba(124, 92, 252, 0.05);
    border: 1px solid rgba(124, 92, 252, 0.1);
    border-radius: var(--radius-md);
    padding: 28px;
}

.exercise-final h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

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

.exercise-final ol {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
}

.exercise-final ol li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Next Class */
.next-class {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 36px;
}

.next-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.next-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.next-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.bootcamp-schedule {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.schedule-item.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.schedule-item.next {
    background: rgba(124, 92, 252, 0.1);
    border-color: rgba(124, 92, 252, 0.2);
    color: var(--accent-secondary);
}

.schedule-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0;
}

.footer-quote blockquote {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 400px;
    text-align: right;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

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

/* =============================================
   ANIMATIONS — Scroll Reveal
   ============================================= */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .principles-grid,
    .context-grid,
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .nav-toggle {
        z-index: 1000;
    }

    /* Hero */
    .hero-meta {
        gap: 16px;
    }

    /* Grids */
    .principles-grid,
    .context-grid,
    .comparison-grid,
    .digging-visual,
    .extremes-grid,
    .examples-grid {
        grid-template-columns: 1fr;
    }

    /* Resource Cards */
    .resource-card {
        flex-direction: column;
    }

    .resource-rank {
        min-width: unset;
        font-size: 2.5rem;
    }

    .resource-badge {
        position: static;
        display: inline-block;
        margin-top: 12px;
    }

    /* Levels */
    .levels-timeline::before {
        left: 24px;
    }

    .level-indicator {
        min-width: 48px;
    }

    .level-number {
        font-size: 1.6rem;
    }

    .level-name {
        font-size: 0.6rem;
    }

    .level-content {
        padding: 24px;
    }

    /* Syntropy */
    .syntropy-visual {
        flex-direction: column;
    }

    .syntropy-divider {
        padding: 8px 0;
    }

    /* Glass cards */
    .glass-card {
        padding: 28px;
    }

    /* Exercise */
    .exercise-header {
        padding: 24px 28px;
    }

    .exercise-body {
        padding: 28px;
    }

    .bootcamp-schedule {
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-quote blockquote {
        text-align: left;
    }

    /* Next class */
    .next-class {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .ex-step {
        flex-direction: column;
        gap: 12px;
    }

    .syntropy-step {
        flex-direction: column;
        gap: 12px;
    }

    .level-card {
        flex-direction: column;
        gap: 12px;
    }

    .level-indicator {
        flex-direction: row;
        gap: 12px;
    }

    .levels-timeline::before {
        display: none;
    }
}
