/* ============================================================
   FUTURE LEADERS — Die Skills der Zukunft
   Awwwards-Level Landing Page Styles
   ============================================================ */

/* ==================== CUSTOM PROPERTIES ==================== */
:root {
    /* Colors */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1f;
    --bg-card: #0f0f2a;
    --text-primary: #f0f0f5;
    --text-secondary: #7a7a9e;
    --text-muted: #4a4a6a;
    --accent-1: #00f0ff;
    --accent-2: #8b5cf6;
    --accent-3: #f43f5e;
    --current-accent: #00f0ff;

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

    /* Sizes */
    --container-max: 1800px;
    --section-pad: clamp(80px, 12vh, 180px);
    --gap: clamp(24px, 4vw, 64px);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-1) var(--bg-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--current-accent, var(--accent-1));
    border-radius: 3px;
}

::selection {
    background: rgba(0, 240, 255, 0.25);
    color: #fff;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
    animation: pageIn 0.6s var(--ease-out-expo) both;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: none;
    color: inherit;
}

img { max-width: 100%; display: block; }

/* ==================== UTILITIES ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ==================== GRAIN OVERLAY ==================== */
.grain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.035;
    pointer-events: none;
    z-index: 9999;
}

/* ==================== PRELOADER ==================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: var(--bg-primary);
    display: grid;
    place-items: center;
}

.loader-inner {
    width: 100%;
    text-align: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    gap: 0.15em;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-bar {
    width: clamp(120px, 40vw, 200px);
    height: 2px;
    background: var(--bg-card);
    margin: 24px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 2px;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease-out-expo),
                height 0.3s var(--ease-out-expo),
                background 0.3s;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out-expo),
                height 0.4s var(--ease-out-expo),
                border-color 0.3s,
                background 0.3s;
}

body.cursor-hover .cursor {
    width: 16px;
    height: 16px;
    background: var(--accent-2);
}

body.cursor-hover .cursor-follower {
    width: 60px;
    height: 60px;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px clamp(20px, 4vw, 60px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.nav-logo-mark {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--accent-1);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(139,92,246,0.1));
    transition: all 0.3s var(--ease-out-expo);
}

.nav-logo:hover .nav-logo-mark {
    background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(139,92,246,0.2));
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    padding: 4px 0;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-1);
    transition: width 0.4s var(--ease-out-expo);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* ==================== SCROLL PROGRESS ==================== */
.progress-track {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    background: transparent;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
    transition: width 0.1s linear;
}

/* ==================== SECTION INDICATOR ==================== */
.section-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.section-indicator.visible {
    opacity: 1;
}

.indicator-line {
    width: 1px;
    height: 30px;
    background: var(--text-muted);
    opacity: 0.3;
}

.indicator-dots {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}

.indicator-dots button {
    width: 32px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.indicator-dots button::before {
    content: '';
    position: absolute;
    right: -12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s var(--ease-out-expo);
}

.indicator-dots button.active {
    color: var(--current-accent);
}

.indicator-dots button.active::before {
    background: var(--current-accent);
    width: 8px;
    height: 8px;
    right: -14px;
    box-shadow: 0 0 12px var(--current-accent);
}

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

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-eyebrow {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 24px;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 11vw, 10rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-line > span,
.hero-title-line > em {
    display: inline-block;
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1.5px solid rgba(0, 240, 255, 0.4);
    border-radius: 60px;
    background: rgba(0, 240, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
}

.hero-cta:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 240, 255, 0.15);
}

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

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ==================== MARQUEE ==================== */
.marquee {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

.marquee-track span {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    flex-shrink: 0;
    padding: 0 8px;
}

.marquee-dot {
    width: 6px !important;
    height: 6px;
    background: var(--accent-1) !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 20px;
    align-self: center;
    opacity: 0.5;
    flex-shrink: 0;
}

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

/* ==================== INTRO ==================== */
.intro {
    padding: var(--section-pad) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.intro-text {
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    font-weight: 300;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-secondary);
}

.intro-text .word {
    display: inline-block;
    opacity: 0.15;
    transition: opacity 0.1s;
    margin-right: 0.25em;
}

.intro-text .word.active {
    opacity: 1;
}

.intro-highlight {
    text-align: center;
    margin-top: 56px;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.gradient-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    max-width: 800px;
}

.gradient-label-text {
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    color: var(--accent-1);
    animation: bounce-down 2s ease-in-out infinite;
    transition: all 0.3s var(--ease-out-expo);
}

.intro-arrow:hover {
    border-color: var(--accent-1);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(4px);
}

/* ==================== SKILL SECTIONS ==================== */
.skill-section {
    min-height: 100vh;
    padding: var(--section-pad) 0;
    display: flex;
    align-items: center;
    position: relative;
    /* Dot grid overlay on each section */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Alternate sections get slightly lighter bg */
.skill-section.reverse {
    background-color: rgba(255, 255, 255, 0.008);
}

/* Large gradient orb per section */
.skill-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -15%;
    width: 70%;
    height: 80%;
    background: radial-gradient(ellipse at center, var(--section-accent, rgba(0,240,255,0.06)), transparent 65%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

/* Second gradient orb (smaller, offset) */
.skill-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 10%;
    width: 35%;
    height: 40%;
    background: radial-gradient(circle at center, var(--section-accent, rgba(0,240,255,0.03)), transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.skill-section.reverse::before {
    right: auto;
    left: -15%;
}

.skill-section.reverse::after {
    left: auto;
    right: 10%;
}

/* Subtle top/bottom border lines for section separation */
.skill-section + .skill-section {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.skill-bg-number {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(15rem, 30vw, 35rem);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    will-change: transform;
}

.skill-section.reverse .skill-bg-number {
    right: auto;
    left: -5%;
}

/* Section illustration — large, overlapping right column */
.skill-illustration {
    position: absolute;
    top: 20%;
    right: 7%;
    transform: translateY(-55%);
    width: 55%;
    max-width: 900px;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.skill-section.reverse .skill-illustration {
    right: auto;
    left: 7%;
}

#skill-06 .skill-illustration {
    width: 40%;
    top: 10%;
}

.skill-illustration img {
    width: 100%;
    height: auto;
}

.skill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: end;
    position: relative;
    z-index: 2;
}

.skill-grid.reverse .skill-content {
    order: 2;
}

.skill-grid.reverse .skill-tags {
    order: 1;
}

.skill-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--current-accent);
    padding: 6px 16px;
    border: 1px solid currentColor;
    border-radius: 40px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.skill-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.skill-desc {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 32px;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.skill-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    transition: all 0.4s var(--ease-out-expo);
}

.skill-cta:hover {
    border-color: var(--current-accent);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    transform: translateX(4px);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.skill-tag {
    padding: 14px 24px;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(20px);
}

.skill-tag:hover {
    border-color: var(--current-accent);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
                0 0 0 1px var(--current-accent);
}

/* ==================== QUIZ SECTION ==================== */
.quiz-section {
    padding: var(--section-pad) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.quiz-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 20px;
}

.quiz-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.quiz-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.quiz-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quiz-intro .quiz-desc {
    margin: 0 auto 36px;
}

.quiz-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 42px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    border-radius: 60px;
    color: #fff;
    transition: all 0.4s var(--ease-out-expo);
}

.quiz-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.35);
}

/* Quiz Active State */
.quiz-active {
    max-width: 680px;
    margin: 0 auto;
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.quiz-progress-bar {
    flex: 1;
    height: 4px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 10%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
    border-radius: 4px;
    transition: width 0.5s var(--ease-out-expo);
}

.quiz-progress-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 50px;
    text-align: right;
}

.quiz-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 48px);
    position: relative;
    overflow: hidden;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    opacity: 0.6;
}

.quiz-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    padding: 5px 14px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    margin-bottom: 20px;
}

.quiz-card-question {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 28px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(244, 63, 94, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.quiz-option:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

.quiz-option:hover::before {
    opacity: 1;
}

.quiz-option-marker {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.quiz-option:hover .quiz-option-marker {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.quiz-option-text {
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.quiz-option.selected {
    border-color: var(--accent-2);
    background: rgba(139, 92, 246, 0.1);
}

.quiz-option.selected .quiz-option-marker {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
}

/* Quiz Results */
.quiz-results {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quiz-results-header {
    margin-bottom: 40px;
}

.quiz-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.quiz-score-number {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.quiz-score-max {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-muted);
    font-weight: 500;
}

.quiz-score-label {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.quiz-score-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}

.quiz-radar-wrap {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

#quiz-radar {
    max-width: 100%;
    height: auto;
}

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

.quiz-retry-btn,
.quiz-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s var(--ease-out-expo);
}

.quiz-retry-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.quiz-retry-btn:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.quiz-share-btn {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    color: #fff;
}

.quiz-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

/* ==================== NAVIGATOR ==================== */
.navigator-section {
    padding: var(--section-pad) 0;
}

.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.navigator-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.navigator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.nav-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--card-accent);
    transition: height 0.5s var(--ease-out-expo);
    border-radius: 0 0 3px 0;
}

.nav-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-card:hover::before {
    height: 100%;
}

.nav-card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--card-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    transition: opacity 0.3s;
}

.nav-card:hover .nav-card-num {
    opacity: 0.5;
}

.nav-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.nav-card:hover h3 {
    color: var(--card-accent);
}

.nav-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: var(--section-pad) 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center bottom,
        rgba(0, 240, 255, 0.06) 0%,
        rgba(139, 92, 246, 0.04) 40%,
        transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 48px;
    font-size: 1.05rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-radius: 60px;
    color: var(--bg-primary);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    opacity: 0;
    transition: opacity 0.4s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(0, 240, 255, 0.25);
}

.cta-btn:hover::before {
    opacity: 1;
}

.cta-btn span,
.cta-btn svg {
    position: relative;
    z-index: 1;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 60px 0 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
    opacity: 0.4;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-brand .nav-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-text {
    opacity: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .section-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(5, 5, 16, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out-expo);
        z-index: 100;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 700;
    }

    /* Stack sections vertically, no min-height */
    .skill-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: clamp(60px, 10vh, 100px) 0;
        min-height: auto;
    }

    /* Break grid wrapper so children become flex items of the section */
    .skill-section > .container.skill-grid,
    .skill-section > .container.skill-grid.reverse {
        display: contents;
    }

    /* Order: text(1) → image(2) → tags(3) */
    .skill-content {
        order: 1;
        padding: 0 clamp(20px, 4vw, 40px);
        margin-bottom: 40px;
    }

    .skill-actions {
        margin-top: 36px;
    }

    .skill-illustration {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        order: 2;
        width: 100%;
        max-width: none;
        padding: 0 clamp(12px, 3vw, 32px);
        margin-bottom: 40px;
        opacity: 1;
        z-index: 1;
    }

    .skill-illustration img {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .skill-section.reverse .skill-illustration {
        right: auto;
        left: auto;
    }

    #skill-06 .skill-illustration {
        width: 60%;
        top: auto;
        margin: 0 auto;
        padding: 0;
    }

    #skill-06 .skill-illustration img {
        display: block;
        margin: 0 auto;
    }

    .skill-tags {
        order: 3;
        padding: 0 clamp(20px, 4vw, 40px);
    }

    .skill-grid.reverse .skill-content,
    .skill-grid.reverse .skill-tags {
        order: unset;
    }

    .skill-grid.reverse .skill-content {
        order: 1;
    }

    .skill-grid.reverse .skill-tags {
        order: 3;
    }

    .skill-bg-number {
        font-size: clamp(6rem, 25vw, 12rem);
        right: -5%;
        opacity: 0.4;
    }

    .skill-section.reverse .skill-bg-number {
        left: -5%;
    }

    /* Full-width tags row */
    .skill-tags {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
    }

    .hero-sub {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    }

    .skill-title {
        font-size: clamp(1.8rem, 6.5vw, 2.8rem);
    }

    .skill-desc {
        font-size: clamp(0.95rem, 3.2vw, 1.05rem);
        max-width: none;
    }

    .skill-cta {
        width: 100%;
        justify-content: center;
    }

    .skill-tag {
        padding: 8px 14px;
        font-size: 0.78rem;
        border-radius: 12px;
    }

    .skill-tags {
        gap: 6px;
    }

    .intro {
        min-height: auto;
        padding: clamp(48px, 8vh, 80px) 0;
    }

    .intro-text {
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    }

    .intro-highlight {
        margin-top: 32px;
    }

    .marquee-track span {
        font-size: 0.8rem;
    }

    .quiz-card {
        padding: 24px;
    }

    .navigator-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .cta-title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .cta-desc {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    .cta-btn {
        padding: 16px 36px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .skill-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .skill-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .quiz-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .quiz-option {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .cta-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .nav-logo-text {
        font-size: 0.8rem;
    }

    .gradient-label {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: none;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }

    .reveal-text {
        opacity: 1;
    }

    html {
        scroll-behavior: auto;
    }
}
