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

:root {
    --dark: #141413;
    --light: #FAF9F5;
    --mid: #B0AEA5;
    --light-gray: #E8E6DC;
    --accent: #D97757;
    --accent-hover: #c4613f;
    --card-bg: rgba(244, 243, 238, 0.6);
    --card-border: rgba(176, 174, 165, 0.2);
    --text-primary: #141413;
    --text-secondary: #5a5850;
    --text-muted: #8a8880;
    --shadow-sm: 0 1px 3px rgba(20,20,19,0.04);
    --shadow-md: 0 8px 32px rgba(20,20,19,0.06);
    --shadow-lg: 0 16px 48px rgba(20,20,19,0.08);
    --radius: 20px;
    --radius-sm: 12px;
}

:root[data-theme="dark"] {
    --card-bg: rgba(20, 20, 19, 0.7);
    --card-border: rgba(176, 174, 165, 0.08);
    --text-primary: #FAF9F5;
    --text-secondary: #B0AEA5;
    --text-muted: #7a7870;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }

/* Lenis buttery smooth scroll overrides */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

:root[data-theme="dark"] body { background: var(--dark); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 10px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}
nav.scrolled {
    background: rgba(250,249,245,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 14px 0;
}
:root[data-theme="dark"] nav.scrolled {
    background: rgba(20,20,19,0.85);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 20px; color: var(--text-primary);
    text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    text-decoration: none; letter-spacing: 0.3px;
    transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.theme-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--card-border);
    background: var(--card-bg); color: var(--text-primary); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    transition: all 0.2s;
}
.theme-btn:hover { border-color: var(--accent); }
.hamburger { display: none; background: none; border: none; color: var(--text-primary); font-size: 20px; cursor: pointer; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 24px 80px; position: relative;
}
.hero-grid {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-left { z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 100px;
    background: var(--card-bg); border: 1px solid var(--card-border);
    font-size: 12px; font-weight: 500; color: var(--text-muted);
    margin-bottom: 28px; backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700; line-height: 1.05;
    letter-spacing: -2px; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero-desc {
    font-size: 16px; color: var(--text-secondary);
    max-width: 480px; margin-bottom: 36px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    padding: 14px 28px; border-radius: 100px; font-size: 13px;
    font-weight: 600; text-decoration: none; display: inline-flex;
    align-items: center; gap: 8px; cursor: pointer; border: none;
    transition: all 0.3s ease; font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}
.btn-fill {
    background: var(--dark); color: var(--light);
}
:root[data-theme="dark"] .btn-fill { background: var(--light); color: var(--dark); }
.btn-fill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--card-border);
}
.btn-outline:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ─── TERMINAL WIDGET ─── */
.terminal {
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(176,174,165,0.1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    max-width: 520px;
}
:root[data-theme="dark"] .terminal {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(176,174,165,0.05);
}
.terminal-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dots .red { background: #ff5f56; }
.terminal-dots .yellow { background: #ffbd2e; }
.terminal-dots .green { background: #27c93f; }
.terminal-title {
    flex: 1; text-align: center;
    color: rgba(255,255,255,0.3); font-size: 12px;
}
.terminal-body {
    padding: 20px;
    color: #E8E6DC;
    line-height: 1.9;
    min-height: 260px;
}
.terminal-line { margin-bottom: 2px; }
.terminal-line .prompt { color: var(--accent); }
.terminal-line .cmd { color: #FAF9F5; }
.terminal-line .output { color: var(--mid); }
.terminal-line .highlight { color: #facc15; }
.terminal-line .link { color: #60a5fa; text-decoration: underline; cursor: pointer; }
.terminal-line .cursor {
    display: inline-block; width: 8px; height: 15px;
    background: var(--accent); animation: blink 1s step-end infinite;
    vertical-align: text-bottom; margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ─── SECTIONS ─── */
section { padding: 100px 0; }
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--mid); margin-bottom: 12px; display: block;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700; letter-spacing: -1px;
    margin-bottom: 16px;
}
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 500px; }
.accent-text { color: var(--accent); }

/* ─── ABOUT ─── */
.about-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 80px; align-items: center;
}
.about-img-wrap {
    position: relative; border-radius: var(--radius);
    overflow: hidden; aspect-ratio: 3/4;
}
.about-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
}
.about-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(176,174,165,0.1), transparent);
}
.about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 15px; line-height: 1.8; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.about-tag {
    padding: 8px 16px; border-radius: 100px;
    background: var(--card-bg); border: 1px solid var(--card-border);
    font-size: 12px; font-weight: 500; color: var(--text-secondary);
    transition: all 0.2s;
}
.about-tag:hover { border-color: var(--accent); color: var(--text-primary); }

/* ─── SKILLS ─── */
.skills-section {
    background: linear-gradient(180deg, rgba(217,119,87,0.04) 0%, rgba(217,119,87,0.08) 100%);
}
:root[data-theme="dark"] .skills-section {
    background: linear-gradient(180deg, rgba(217,119,87,0.03) 0%, rgba(217,119,87,0.06) 100%);
}
.skills-wrap { margin-top: 48px; }
.skills-group { margin-bottom: 40px; }
.skills-group-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--mid); text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 16px; text-align: center;
}
.skills-row {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.skill-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 100px;
    background: var(--light); border: 1px solid var(--card-border);
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    transition: all 0.25s ease;
}
:root[data-theme="dark"] .skill-pill { background: rgba(255,255,255,0.04); }
.skill-pill:hover {
    border-color: var(--accent); color: var(--text-primary);
    transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.skill-pill i { font-size: 16px; }

/* ─── PROJECTS ─── */
.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px; margin-top: 48px;
}
.project-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius-sm); overflow: hidden;
    transition: all 0.35s ease; position: relative;
}
.project-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.project-img {
    width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
    background: var(--light-gray);
}
:root[data-theme="dark"] .project-img { background: rgba(255,255,255,0.04); }
.project-img img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: top center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img img {
    transform: scale(1.04) translateY(-8%);
}
.project-body { padding: 16px; }
.project-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px; font-weight: 600; margin-bottom: 5px;
}
.project-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.project-link {
    font-size: 11px; font-weight: 600; color: var(--text-primary);
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
    transition: gap 0.2s;
}
.project-link:hover { gap: 8px; color: var(--accent); }
.project-link i { transition: transform 0.2s ease; }
.project-link:hover i { transform: translate(1px, -1px); }

/* Project tags — subtle, low visual weight */
.project-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.project-tag {
    font-size: 9.5px;
    font-weight: 500;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    letter-spacing: 0.2px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.project-card:hover .project-tag {
    border-color: var(--accent);
    color: var(--text-secondary);
}

/* ─── APPS ─── */
.apps-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 20px; margin-top: 48px;
}
.app-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 32px;
    display: flex; gap: 24px; align-items: flex-start;
    transition: all 0.35s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.app-icon {
    width: 72px; height: 72px; border-radius: 18px;
    overflow: hidden; flex-shrink: 0;
    border: 1px solid var(--card-border); background: var(--light-gray);
}
:root[data-theme="dark"] .app-icon { background: rgba(255,255,255,0.04); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-info { flex: 1; }
.app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.app-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; }
.app-badge {
    padding: 3px 10px; border-radius: 100px;
    font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-live { background: rgba(217,119,87,0.12); color: var(--accent); }
.badge-beta { background: rgba(168,139,250,0.12); color: #8b5cf6; }
.app-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }

/* ─── EXPERIENCE ─── */
.exp-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 48px;
}
.exp-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.35s ease;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.exp-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--light-gray); }
:root[data-theme="dark"] .exp-img { background: rgba(255,255,255,0.04); }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.exp-card:hover .exp-img img { transform: scale(1.05); }
.exp-body { padding: 20px; }
.exp-title { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.exp-org { font-size: 13px; color: var(--accent); font-weight: 500; }

/* ─── CONTACT ─── */
.contact-section {
    text-align: center;
    background: linear-gradient(135deg, #D97757 0%, #c4613f 50%, #b34e2e 100%);
    color: #FAF9F5;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}
.contact-section .section-label { color: rgba(250,249,245,0.6); }
.contact-section .section-title { color: #FAF9F5; }
.contact-section .section-desc { color: rgba(250,249,245,0.7); }
.contact-links { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.contact-link {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #FAF9F5; text-decoration: none;
    font-size: 18px; transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.contact-link:hover {
    background: #FAF9F5; color: #D97757;
    border-color: transparent; transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ─── FOOTER ─── */
footer {
    padding: 40px 0; text-align: center;
    border-top: 1px solid rgba(217,119,87,0.15);
    background: linear-gradient(180deg, rgba(217,119,87,0.03) 0%, transparent 100%);
}
.footer-email a { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-copy { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ─── MOBILE MENU ─── */
.mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.4); z-index: 998;
}
.mobile-overlay.active { display: block; }
.mobile-menu {
    display: none; position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh; z-index: 999;
    background: var(--light); border-left: 1px solid var(--card-border);
    padding: 80px 32px 32px; flex-direction: column; gap: 24px;
}
:root[data-theme="dark"] .mobile-menu { background: var(--dark); }
.mobile-menu.active { display: flex; }
.mobile-menu a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 600; color: var(--text-primary);
    text-decoration: none; transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-close {
    position: absolute; top: 24px; right: 24px;
    background: none; border: none; color: var(--text-primary);
    font-size: 20px; cursor: pointer;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .terminal { margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .about-img-wrap { max-width: 320px; margin: 0 auto; }
    .about-tags { justify-content: center; }
    .projects-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .apps-grid { grid-template-columns: 1fr; }
    .exp-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: block; }
}
@media (max-width: 600px) {
    section { padding: 60px 0; }
    .hero { padding: 100px 20px 60px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 260px; justify-content: center; }
    .app-card { flex-direction: column; align-items: center; text-align: center; }
    .terminal { font-size: 11px; }
    .projects-grid { grid-template-columns: 1fr; }
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--accent); z-index: 9999;
    width: 0%; transition: width 0.1s linear;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); display: flex;
    flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 2px; text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}
.scroll-indicator .arrow {
    width: 20px; height: 32px; border: 1.5px solid var(--mid);
    border-radius: 10px; position: relative;
}
.scroll-indicator .arrow::after {
    content: ''; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%); width: 3px; height: 6px;
    background: var(--accent); border-radius: 2px;
    animation: scroll-dot 1.5s ease-in-out infinite;
}
@keyframes scroll-dot {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0.3; }
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── GRAIN OVERLAY ─── */
.grain {
    position: fixed; inset: 0; z-index: 9998;
    pointer-events: none; opacity: 0.20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 128px 128px;
}

/* ─── CUSTOM CURSOR ─── */
.cursor-dot {
    position: fixed; width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s ease;
}
.cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1.5px solid var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}
.cursor-ring.hover {
    width: 56px; height: 56px;
    border-color: var(--accent); opacity: 0.8;
}
.cursor-dot.hover {
    transform: translate(-50%, -50%) scale(2);
    background: var(--accent);
}

/* ─── MARQUEE ─── */
.marquee-wrap {
    overflow: hidden; padding: 20px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: var(--card-bg);
}
.marquee-track {
    display: flex; width: max-content;
    animation: marquee 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 600;
    color: var(--text-muted); white-space: nowrap;
    padding: 0 32px; letter-spacing: 1px;
    text-transform: uppercase;
}
.marquee-item .dot {
    display: inline-block; width: 5px; height: 5px;
    background: var(--accent); border-radius: 50%;
    margin: 0 24px; vertical-align: middle;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── SCRAMBLE TEXT ─── */
.scramble { display: inline-block; }

/* ─── PAGE LOAD INTRO ─── */
.intro-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: #141413; display: flex;
    align-items: center; justify-content: center;
}
.intro-overlay.hide {
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s ease;
}
.intro-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700; color: #FAF9F5;
    letter-spacing: -1px; overflow: hidden;
}
.intro-text span {
    display: inline-block;
    transform: translateY(110%);
    animation: introReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-text span:nth-child(2) { animation-delay: 0.1s; }
.intro-text span:nth-child(3) { animation-delay: 0.2s; }
.intro-line {
    position: absolute; bottom: 0; left: 0;
    height: 3px; background: #D97757;
    width: 0%; animation: introLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
@keyframes introReveal {
    to { transform: translateY(0); }
}
@keyframes introLine {
    to { width: 100%; }
}

/* ─── STAT COUNTERS ─── */
.stats-row {
    display: flex; justify-content: center; gap: 48px;
    margin-top: 40px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700; color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 2px;
    margin-top: 6px; font-weight: 500;
}

/* ─── MAGNETIC BUTTON ─── */
.magnetic { position: relative; display: inline-flex; }

/* ─── PARALLAX ─── */
.hero-left { will-change: transform; }

/* ─── ANIMATIONS ─── */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0; transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }