/* ========== DESIGN TOKENS ========== */
:root {
    --bg-primary: #050407;
    --bg-secondary: #0c0a12;
    --bg-tertiary: #15101d;
    --bg-card: rgba(255,255,255,0.035);
    --text-primary: #ffffff;
    --text-secondary: #a59bb9;
    --text-muted: #686071;
    --accent-cyan: #62f3ff;
    --accent-purple: #9b5cff;
    --accent-pink: #ff4d8d;
    --accent-gold: #ffb86b;
    --gradient-main: linear-gradient(135deg, #62f3ff 0%, #9b5cff 52%, #ff4d8d 100%);
    --glass-bg: rgba(255,255,255,0.055);
    --glass-border: rgba(255,255,255,0.11);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 80% 12%, rgba(155,92,255,0.18), transparent 34%),
        radial-gradient(circle at 18% 24%, rgba(98,243,255,0.10), transparent 28%),
        linear-gradient(180deg, #050407 0%, #09070d 44%, #050407 100%);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}
a { text-decoration: none; color: inherit; cursor: none; }
button { border: none; background: none; cursor: none; font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0,240,255,0.3); color: #fff; }
.container { max-width: 1680px; margin: 0 auto; padding: 0 56px; }
.accent { color: var(--accent-cyan); }

/* ========== PRELOADER ========== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s, visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-heading); font-size: 48px; font-weight: 700;
    background: var(--gradient-main); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; margin-bottom: 24px;
}
.preloader-bar {
    width: 200px; height: 3px; background: rgba(255,255,255,0.08);
    border-radius: 4px; overflow: hidden;
}
.preloader-progress {
    height: 100%; width: 0; border-radius: 4px;
    background: var(--gradient-main);
    animation: preload 1.8s ease-in-out forwards;
}
@keyframes preload { to { width: 100%; } }

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
    position: fixed; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-cyan); pointer-events: none; z-index: 10000;
    transform: translate(-50%,-50%); transition: transform .1s, background .3s;
}
.cursor-outline {
    position: fixed; width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(0,240,255,0.4); pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%); transition: all .15s ease-out;
}
.cursor-dot.hover { transform: translate(-50%,-50%) scale(2.5); background: var(--accent-purple); }
.cursor-outline.hover { transform: translate(-50%,-50%) scale(1.8); border-color: rgba(123,47,247,0.4); }

/* ========== MOUSE GLOW ========== */
.mouse-glow {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,240,255,0.06) 0%, transparent 70%);
    pointer-events: none; z-index: 0; transform: translate(-50%,-50%);
    transition: opacity .4s;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all .4s;
}
.nav.scrolled {
    background: rgba(5,4,7,0.84); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border); padding: 14px 0;
}
.nav-container {
    max-width: 1680px; margin: 0 auto; padding: 0 56px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-heading); font-size: 28px; font-weight: 700;
    color: var(--text-primary); display: inline-flex; align-items: center; min-height: 48px;
}
.nav-logo img { max-width: 160px; max-height: 48px; object-fit: contain; display: block; }
.logo-dot { color: var(--accent-cyan); }
.nav-menu { display: flex; gap: 32px; }
.nav-link {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    position: relative; transition: color .3s; letter-spacing: 0.5px;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--gradient-main); transition: width .3s; border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text-primary);
    transition: all .3s; border-radius: 2px;
}
.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); }

/* ========== HERO SECTION ========== */
.hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; justify-content: center; overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at center, rgba(155,92,255,0.12), transparent 45%),
        linear-gradient(180deg, rgba(5,4,7,0.52) 0%, rgba(5,4,7,0.18) 36%, rgba(5,4,7,0.70) 100%);
    pointer-events: none;
}
.hero-spline {
    position: absolute; inset: 0; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; pointer-events: auto;
}
.hero-spline::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(5,4,7,0.78) 0%, rgba(5,4,7,0.10) 34%, rgba(5,4,7,0.28) 60%, rgba(5,4,7,0.94) 100%),
        radial-gradient(ellipse at center, rgba(5,4,7,0.08) 0%, rgba(5,4,7,0.20) 58%, rgba(5,4,7,0.90) 100%);
    pointer-events: none;
}
.hero-spline-glow {
    position: absolute; left: 50%; top: 58%; width: min(980px, 86vw); aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, rgba(155,92,255,0.24) 0%, rgba(98,243,255,0.08) 34%, transparent 70%),
        radial-gradient(circle, rgba(255,77,141,0.10) 0%, transparent 52%);
    filter: blur(44px); opacity: 0.72; pointer-events: none;
}
.hero-spline spline-viewer {
    position: relative; z-index: 2; width: 100vw; height: 100svh;
    transform: scale(1.08) translateY(4%);
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        radial-gradient(ellipse at center, rgba(5,4,7,0.12) 0%, rgba(5,4,7,0.10) 38%, rgba(5,4,7,0.72) 100%),
        linear-gradient(180deg, rgba(5,4,7,0.76), transparent 32%, rgba(5,4,7,0.82));
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 3; text-align: center;
    width: min(860px, calc(100vw - 48px));
    margin: 0 auto; padding: 12vh 24px 0; pointer-events: none;
}
.hero-content .btn { pointer-events: auto; }
.hero-label {
    font-size: 14px; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--accent-cyan);
    margin-bottom: 24px; opacity: 0;
}
.hero-title { margin-bottom: 24px; }
.title-line {
    display: block; font-family: var(--font-heading);
    font-size: clamp(64px, 9vw, 142px); font-weight: 700;
    line-height: 1.02; color: var(--text-primary); opacity: 0;
    text-shadow: 0 18px 80px rgba(0,0,0,0.75);
}
.title-line.accent {
    background: var(--gradient-main); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 19px; color: var(--text-secondary); max-width: 600px;
    margin: 0 auto 40px; line-height: 1.8; opacity: 0;
    text-shadow: 0 8px 34px rgba(0,0,0,0.78);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px; font-size: 15px;
    font-weight: 600; transition: all .4s; position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--gradient-main); color: #000;
    box-shadow: 0 0 30px rgba(0,240,255,0.2);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,240,255,0.4);
}
.btn-outline {
    border: 1.5px solid var(--glass-border); color: var(--text-primary);
    background: var(--glass-bg); backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--accent-cyan); background: rgba(0,240,255,0.06);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span {
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--text-muted);
}
.scroll-line {
    width: 1px; height: 60px; background: rgba(255,255,255,0.1);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 100%; background: var(--accent-cyan);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0%{top:-100%} 50%{top:0} 100%{top:100%} }

/* ========== SECTIONS COMMON ========== */
.section { padding: 120px 0; position: relative; }
.section-header { margin-bottom: 64px; }
.section-tag {
    font-size: 13px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 16px;
    display: block;
}
.section-title {
    font-family: var(--font-heading); font-size: clamp(36px, 5vw, 56px);
    font-weight: 700; color: var(--text-primary); line-height: 1.15;
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); backdrop-filter: blur(12px);
    transition: all .4s;
}
.glass-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0,240,255,0.15);
    box-shadow: 0 8px 40px rgba(0,240,255,0.06);
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px;
    align-items: start;
}
.about-lead {
    font-size: 22px; color: var(--text-primary); font-weight: 500;
    line-height: 1.6; margin-bottom: 20px;
}
.about-text p { margin-bottom: 16px; font-size: 16px; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
    padding: 28px; border-radius: var(--radius-md);
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    text-align: center; transition: all .4s;
}
.stat-card:hover {
    border-color: rgba(0,240,255,0.2);
    box-shadow: 0 0 30px rgba(0,240,255,0.08);
    transform: translateY(-4px);
}
.stat-number {
    font-family: var(--font-heading); font-size: 48px; font-weight: 700;
    background: var(--gradient-main); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-suffix {
    font-family: var(--font-heading); font-size: 32px; font-weight: 700;
    color: var(--accent-cyan);
}
.stat-label {
    display: block; font-size: 14px; color: var(--text-muted);
    margin-top: 4px; letter-spacing: 1px;
}

/* ========== EXPERIENCE TIMELINE ========== */
.experience {
    background:
        linear-gradient(180deg, transparent, rgba(155,92,255,0.055) 28%, rgba(98,243,255,0.035) 70%, transparent),
        radial-gradient(circle at 15% 35%, rgba(255,184,107,0.08), transparent 28%);
}
.timeline {
    position: relative; max-width: none; margin: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.timeline-line {
    display: none;
}
.timeline-item {
    position: relative; padding-left: 0; margin-bottom: 0; min-height: 100%;
}
.timeline-dot {
    position: absolute; left: 28px; top: 28px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--accent-gold);
    border: 2px solid rgba(255,255,255,0.45); z-index: 2;
    box-shadow: 0 0 24px rgba(255,184,107,0.45);
}
.timeline-card {
    min-height: 100%; padding: 64px 32px 32px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025)),
        radial-gradient(circle at top right, rgba(155,92,255,0.16), transparent 42%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}
.timeline-date {
    font-size: 12px; font-weight: 700; color: var(--accent-gold);
    letter-spacing: 1.8px; margin-bottom: 14px; display: block; text-transform: uppercase;
}
.timeline-role {
    font-family: var(--font-heading); font-size: clamp(22px, 2vw, 30px); font-weight: 700;
    color: var(--text-primary); margin-bottom: 8px; line-height: 1.15;
}
.timeline-company {
    font-size: 15px; color: var(--accent-cyan); font-weight: 700;
    margin-bottom: 18px;
}
.timeline-desc { font-size: 15px; line-height: 1.75; color: var(--text-secondary); }

/* ========== PROJECTS ========== */
.projects-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.project-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/3; transform-style: preserve-3d;
    transition: transform .5s, box-shadow .5s;
}
.project-card:hover {
    box-shadow: 0 20px 60px rgba(0,240,255,0.12);
}
.project-image {
    position: absolute; inset: 0; transition: transform .6s;
}
.project-card:hover .project-image { transform: scale(1.08); }
.project-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(5,5,8,0.97) 30%, rgba(5,5,8,0.3) 70%, transparent);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 32px; opacity: 1; transition: background .4s;
}
.project-category {
    font-size: 12px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 8px;
}
.project-title {
    font-family: var(--font-heading); font-size: 24px; font-weight: 700;
    color: var(--text-primary); margin-bottom: 8px;
}
.project-short { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.project-btn {
    align-self: flex-start; padding: 10px 24px; border-radius: 50px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: var(--text-primary); font-size: 13px; font-weight: 600;
    transition: all .3s; cursor: none;
}
.project-btn:hover {
    background: rgba(0,240,255,0.1); border-color: var(--accent-cyan);
}

/* ========== PROJECT MODAL ========== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 5000;
    background: rgba(5,5,8,0.9); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .4s; padding: 24px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto;
    padding: 0; transform: translateY(40px) scale(0.95);
    transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute; top: 16px; right: 20px; font-size: 28px;
    color: var(--text-secondary); z-index: 2; transition: color .3s;
}
.modal-close:hover { color: var(--accent-cyan); }
.modal-image {
    width: 100%; height: 220px; border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.modal-body { padding: 32px; }
.modal-category {
    font-size: 12px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 8px;
    display: block;
}
.modal-title {
    font-family: var(--font-heading); font-size: 28px; font-weight: 700;
    color: var(--text-primary); margin-bottom: 16px;
}
.modal-desc { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.modal-tech { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-tech span {
    padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
    background: rgba(0,240,255,0.08); border: 1px solid rgba(0,240,255,0.15);
    color: var(--accent-cyan);
}

/* ========== SKILLS ========== */
.skills-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.skill-card {
    padding: 32px 20px; border-radius: var(--radius-md); text-align: center;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: all .5s; transform-style: preserve-3d; perspective: 600px;
}
.skill-card:hover {
    border-color: rgba(0,240,255,0.25);
    box-shadow: 0 0 40px rgba(0,240,255,0.1), inset 0 0 30px rgba(0,240,255,0.03);
    transform: translateY(-8px);
}
.skill-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-family: var(--font-heading);
    font-size: 22px; font-weight: 700; color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.skill-name {
    font-family: var(--font-heading); font-size: 15px; font-weight: 600;
    color: var(--text-primary); margin-bottom: 16px;
}
.skill-bar {
    width: 100%; height: 4px; background: rgba(255,255,255,0.06);
    border-radius: 4px; overflow: hidden; margin-bottom: 8px;
}
.skill-progress {
    height: 100%; width: 0; border-radius: 4px;
    background: var(--gradient-main); transition: width 1.5s ease-out;
}
.skill-level {
    font-size: 12px; color: var(--text-muted); letter-spacing: 1px;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: start;
}
.contact-lead {
    font-size: 22px; color: var(--text-primary); font-weight: 500;
    line-height: 1.6; margin-bottom: 32px;
}
.contact-details { margin-bottom: 32px; }
.contact-item {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; color: var(--text-secondary);
}
.contact-item svg { color: var(--accent-cyan); flex-shrink: 0; }
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all .3s;
}
.social-link:hover {
    color: var(--accent-cyan); border-color: rgba(0,240,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,240,255,0.15);
}

/* Contact Form */
.contact-form { padding: 40px; }
.form-group { position: relative; margin-bottom: 28px; }
.form-input {
    width: 100%; padding: 14px 0; font-size: 16px;
    background: transparent; border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary); font-family: var(--font-body);
    outline: none; transition: border-color .3s; cursor: none;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-label {
    position: absolute; left: 0; top: 14px; font-size: 15px;
    color: var(--text-muted); transition: all .3s; pointer-events: none;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -10px; font-size: 12px; color: var(--accent-cyan);
}
.form-line {
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gradient-main); transition: width .4s;
}
.form-input:focus ~ .form-line { width: 100%; }
.form-success {
    display: none; text-align: center; padding: 24px;
    flex-direction: column; align-items: center; gap: 12px;
}
.form-success.show { display: flex; }
.form-success p { color: var(--accent-cyan); font-weight: 500; }

/* ========== FOOTER ========== */
.footer {
    padding: 32px 0; border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
    font-family: var(--font-heading); font-size: 24px; font-weight: 700;
    color: var(--text-primary); display: inline-flex; align-items: center; min-height: 54px;
}
.footer-logo img { max-width: 180px; max-height: 54px; object-fit: contain; display: block; }
.footer p { font-size: 14px; color: var(--text-muted); }

/* ========== SCROLL ANIMATIONS ========== */
[data-animate] { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(0.16,1,0.3,1); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].visible { opacity: 1; transform: translate(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline { grid-template-columns: 1fr; }
    .hero-content { width: min(760px, calc(100vw - 48px)); }
    .hero-spline spline-viewer {
        width: 120vw; transform: scale(1.04) translateY(4%);
    }
}
@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline, .mouse-glow { display: none; }
    a, button { cursor: auto; }
    .container, .nav-container { padding-left: 24px; padding-right: 24px; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(10,10,18,0.97); backdrop-filter: blur(20px);
        flex-direction: column; padding: 100px 40px; gap: 24px;
        transition: right .4s cubic-bezier(0.16,1,0.3,1);
        border-left: 1px solid var(--glass-border);
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; }
    .nav-link { font-size: 18px; }
    .hero { justify-content: center; min-height: 100svh; padding-top: 76px; }
    .hero-spline {
        inset: 0; opacity: 0.58; pointer-events: none;
    }
    .hero-spline-glow {
        width: min(700px, 140vw); left: 50%; top: 62%; filter: blur(42px);
    }
    .hero-spline spline-viewer {
        width: 160vw; height: 100svh; transform: scale(1.02) translateY(7%);
    }
    .hero-content {
        width: auto; max-width: 620px; margin: 0; padding: 8vh 24px 0; text-align: center;
    }
    .hero-label { font-size: 12px; letter-spacing: 3px; }
    .title-line { font-size: clamp(54px, 17vw, 92px); }
    .hero-desc { font-size: 16px; max-width: 460px; }
    .hero-desc { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .scroll-indicator { bottom: 22px; }
    .scroll-indicator span { display: none; }
    .scroll-line { height: 42px; }
    .hero-desc br { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { flex-direction: row; flex-wrap: wrap; }
    .stat-card { flex: 1; min-width: 140px; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 80px 0; }
    .footer-content { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; }
    .stat-card { min-width: unset; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .hero-content { padding-top: 5vh; }
    .title-line { font-size: clamp(48px, 18vw, 74px); }
    .hero-spline spline-viewer {
        width: 190vw; transform: scale(1.04) translateY(8%);
    }
}
