/* ==========================================
   EVALMO - Dynamic Scroll-Driven Landing Page
   Inspired by jeton.com
   ========================================== */

:root {
    --bg: #0a0b0f;
    --bg-secondary: #0f1115;
    --card: #151821;
    --text: #f0f2f7;
    --text-secondary: #d6d9e3;
    --muted: #7a7f8f;
    --accent: #7be0b1;
    --accent-glow: rgba(123, 224, 177, 0.4);
    --accent-2: #6ea8ff;
    --accent-2-glow: rgba(110, 168, 255, 0.4);
    --gradient-start: #7be0b1;
    --gradient-end: #6ea8ff;
    --border: #1e2230;
    --max-width: 1000px;
    
    /* Timing */
    --transition-fast: 0.2s;
    --transition-medium: 0.4s;
    --transition-slow: 0.8s;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* ==========================================
   DOT NAVIGATION
   ========================================== */
.dot-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
}

.dot-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 8px;
    background: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.dot-nav-item {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast) var(--ease-out-expo);
    opacity: 0.5;
    padding: 0;
}

.dot-nav-item:hover {
    opacity: 1;
    transform: scale(1.3);
    background: var(--text-secondary);
}

.dot-nav-item.active {
    opacity: 1;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transform: scale(1.2);
}

/* Hide on mobile - too small for touch */
@media (max-width: 768px) {
    .dot-nav {
        right: 12px;
    }
    
    .dot-nav-inner {
        gap: 10px;
        padding: 10px 6px;
    }
    
    .dot-nav-item {
        width: 8px;
        height: 8px;
    }
}

/* ==========================================
   BACKGROUND EFFECTS
   ========================================== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    transition: transform 0.3s ease-out;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: -200px;
    left: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-2-glow), transparent 70%);
    top: 30%;
    right: -150px;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(123, 224, 177, 0.2), transparent 70%);
    bottom: 20%;
    left: 10%;
}

/* ==========================================
   MAIN PAGE CONTAINER
   ========================================== */
.page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 1;
}

.page::-webkit-scrollbar {
    display: none;
}

/* ==========================================
   STORY SECTIONS
   ========================================== */
.story-section {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 160px;
    text-align: center;
    position: relative;
}

.story-content {
    max-width: var(--max-width);
    width: 100%;
    position: relative;
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal-container {
    overflow: hidden;
    position: relative;
}

.reveal-item {
    opacity: 0;
    transform: translateY(60px);
    transition: 
        opacity var(--transition-slow) var(--ease-out-expo),
        transform var(--transition-slow) var(--ease-out-expo);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section enters view */
.story-section.in-view .story-content {
    animation: sectionEnter 0.6s var(--ease-out-expo) forwards;
}

@keyframes sectionEnter {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.eyebrow {
    margin-bottom: 24px;
}

.eyebrow-text {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding: 8px 20px;
    border: 1px solid rgba(123, 224, 177, 0.3);
    border-radius: 100px;
    background: rgba(123, 224, 177, 0.05);
}

.eyebrow-img {
    height: 1.4em;
    width: auto;
    vertical-align: middle;
    margin-top: -5px;
}

.eyebrow-large .eyebrow-text {
    font-size: 24px;
    padding: 16px 40px;
    letter-spacing: 0.6em;
}

.hero-title {
    font-size: clamp(36px, 10vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

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

.hero-title .accent-line {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(28px, 6vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-title-part {
    font-size: clamp(28px, 6vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 8px 0;
}

.section-title-part:first-child {
    margin-bottom: 56px;
}

.section-title-part.highlight-word {
    color: var(--accent);
    margin-top: 28px;
}

.highlight-word {
    color: var(--accent);
    position: relative;
}

.highlight-word.strike {
    text-decoration: line-through;
    text-decoration-color: rgba(123, 224, 177, 0.6);
    text-decoration-thickness: 3px;
}

.lede {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--muted);
    font-weight: 400;
    line-height: 1.5;
}

.big-text {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.big-text.emphasis {
    color: var(--text);
}

.medium-text {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.medium-text.muted {
    color: var(--muted);
    font-weight: 400;
}

.giant-text {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

.giant-text.emphasis {
    font-size: clamp(32px, 8vw, 64px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Strike Through Animation */
.strike-through {
    position: relative;
    display: inline-block;
}

.strike-through::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo) 0.3s;
}

.in-view .strike-through::after {
    transform: scaleX(1);
}

/* ==========================================
   TOKEN WALL
   ========================================== */
.token-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.token {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: rgba(123, 224, 177, 0.08);
    border: 1px solid rgba(123, 224, 177, 0.25);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s var(--ease-out-back);
}

.token.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.token:hover {
    background: rgba(123, 224, 177, 0.15);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 40px rgba(123, 224, 177, 0.2);
}

/* ==========================================
   PROCESS LIST
   ========================================== */
.process-list {
    list-style: none;
    margin-top: 40px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s var(--ease-out-expo);
}

.process-list li.revealed {
    opacity: 1;
    transform: translateX(0);
}

.process-list li:last-child {
    border-bottom: none;
}

.list-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(123, 224, 177, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    min-width: 44px;
    text-align: center;
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hero: keep the scroll hint inside the flow, under the eyebrow/logo, centered */
.hero .scroll-indicator {
    position: static;
    bottom: auto;
    top: auto;
    left: auto;
    transform: none;
    margin: 28px auto 0;
    z-index: auto;
}

/* Hero spacing so text stays visible and centered */
.story-section.hero {
    align-items: center;
    padding-top: 80px;
    padding-bottom: 140px;
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* ==========================================
   CTA BUTTONS
   ========================================== */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all var(--transition-medium) var(--ease-out-expo);
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent), #5dd69a);
    color: #0a0b0f;
    box-shadow: 0 4px 30px rgba(123, 224, 177, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(123, 224, 177, 0.5);
}

.cta-button.primary svg {
    transition: transform var(--transition-fast) ease;
}

.cta-button.primary:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   BRAND LOGO
   ========================================== */
.brand-logo {
    font-size: clamp(48px, 15vw, 120px);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-shadow: 0 0 80px var(--accent-glow);
}

/* ==========================================
   FEATURED SECTIONS
   ========================================== */
.story-section.featured {
    background: radial-gradient(ellipse at center, rgba(123, 224, 177, 0.05), transparent 70%);
}

.story-section.dark {
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3), transparent);
}

.story-section.finale {
    background: radial-gradient(ellipse at center bottom, rgba(110, 168, 255, 0.08), transparent 60%);
}

/* ==========================================
   PERSISTENT FOOTER
   ========================================== */
.persistent-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 24px 24px;
    background: linear-gradient(to top, 
        var(--bg) 0%,
        var(--bg) 40%,
        rgba(10, 11, 15, 0.95) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 100;
}

.footer-inner {
    max-width: 340px;
    margin: 0 auto;
    pointer-events: auto;
}

.footer-content {
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px 24px;
    text-align: center;
}

.footer-line {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-line.muted {
    color: var(--muted);
    font-size: 13px;
}

.mail {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: all var(--transition-fast) ease;
}

.mail::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-medium) var(--ease-out-expo);
}

.mail:hover::after {
    width: 100%;
}

/* ==========================================
   HERO SPECIFIC
   ========================================== */
.hero .story-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

.hero.loaded .story-content {
    opacity: 1;
    transform: translateY(0);
}

.hero.loaded .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .story-section {
        padding: 40px 20px 160px;
    }
    
    .scroll-indicator {
        bottom: 80px;
    }
    
    .token-wall {
        gap: 10px;
    }
    
    .token {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .process-list li {
        padding: 16px 0;
        font-size: 18px;
    }
    
    .footer-content {
        padding: 20px 24px;
    }
    
    .footer-line {
        font-size: 12px;
    }
    
    .cta-button {
        padding: 16px 28px;
        font-size: 14px;
    }
    
    .bg-glow-1 {
        width: 400px;
        height: 400px;
    }
    
    .bg-glow-2 {
        width: 300px;
        height: 300px;
    }
    
    .bg-glow-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .story-section {
        padding: 30px 16px 150px;
    }
    
    .eyebrow-text {
        font-size: 11px;
        letter-spacing: 0.3em;
        padding: 6px 14px;
    }
    
    .footer-content {
        padding: 16px 20px;
        border-radius: 12px;
    }
    
    .footer-line {
        font-size: 11px;
    }
    
    .persistent-footer {
        padding: 0 16px 16px;
    }
    
    .top-nav {
        padding: 16px 16px;
    }
    
    .top-nav-inner {
        gap: 12px;
    }
    
    .lang-toggle {
        gap: 4px;
    }
    
    .lang-btn {
        font-size: 11px;
    }
    
    .nav-about-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .nav-logo img {
        height: 24px;
    }
    
    .about-modal-content {
        padding: 36px 28px;
        max-width: 90%;
        border-radius: 20px;
    }
    
    .about-modal-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .about-modal-body {
        font-size: 15px;
    }
}

/* ==========================================
   TOP NAVIGATION BAR
   ========================================== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 28px 32px;
    pointer-events: none;
}

.top-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    pointer-events: auto;
}

/* Logo */
.nav-logo {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
}

.nav-logo img {
    height: 32px;
    width: auto;
    opacity: 0.9;
    transition: opacity var(--transition-fast) ease;
}

.nav-logo:hover img {
    opacity: 1;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-about-btn {
    position: absolute;
    right: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 4px 2px;
    transition: color var(--transition-fast) ease;
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--accent);
}

.lang-separator {
    color: var(--muted);
    font-size: 12px;
    user-select: none;
}

/* Nav About Button */
.nav-about-btn {
    background: rgba(21, 24, 33, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all var(--transition-medium) var(--ease-out-expo);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-about-btn:hover {
    background: rgba(21, 24, 33, 1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 224, 177, 0.15);
}

.nav-about-btn:active {
    transform: translateY(0);
}

/* ==========================================
   ABOUT MODAL
   ========================================== */
.about-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-medium) var(--ease-out-expo);
}

.about-modal.active {
    pointer-events: all;
    opacity: 1;
}

.about-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 15, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.about-modal-content {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 56px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-medium) var(--ease-out-expo);
}

.about-modal.active .about-modal-content {
    transform: scale(1) translateY(0);
}

.about-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.about-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.about-modal-body {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.about-modal-body p {
    margin-bottom: 20px;
}

.about-modal-body p:last-child {
    margin-bottom: 0;
}

.about-modal-cta {
    color: var(--accent) !important;
    font-weight: 500;
    margin-top: 32px !important;
}

/* ==========================================
   MODAL TABS
   ========================================== */
.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.modal-tab {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-medium) var(--ease-out-expo);
    font-family: inherit;
}

.modal-tab:hover {
    color: var(--text-secondary);
}

.modal-tab.active {
    color: var(--text);
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transition: transform var(--transition-medium) var(--ease-out-expo);
}

.modal-tab.active::after {
    transform: scaleX(1);
}

.modal-tab-content {
    display: none;
    animation: fadeIn 0.4s var(--ease-out-expo);
}

.modal-tab-content.active {
    display: block;
}

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

.about-modal-body strong {
    color: var(--text);
    font-weight: 600;
}

/* ==========================================
   WORK OPTIONS STYLING
   ========================================== */
.work-option {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid transparent;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 24px;
    transition: all var(--transition-medium) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity var(--transition-medium) var(--ease-out-expo);
}

.work-option:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

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

.work-option:last-child {
    margin-bottom: 0;
}

.work-option-label {
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.work-option-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   TEMPLATE MODAL
   ========================================== */
.template-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-medium) var(--ease-out-expo);
}

.template-modal.active {
    pointer-events: all;
    opacity: 1;
}

.template-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.template-modal-content {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 48px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-medium) var(--ease-out-expo);
}

.template-modal.active .template-modal-content {
    transform: scale(1) translateY(0);
}

.template-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.template-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.template-modal-instruction {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.template-email-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.template-email-link:hover {
    text-decoration: underline;
}

.template-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.template-text {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.template-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.template-copy-btn:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 224, 177, 0.3);
}

.template-copy-btn:active {
    transform: translateY(0);
}

/* ==========================================
   SMOOTH SCROLL BEHAVIOR
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page {
        scroll-snap-type: none;
    }
}
