/* ══════════════════════════════════════════════════
   PORTFOLIO FULL DARK — style.css
   ══════════════════════════════════════════════════ */

/* ══ VARIABLES ══ */
:root {
    --bg:        #030508;
    --bg2:       #070b10;
    --surface:   #0d1117;
    --surface2:  #111820;
    --border:    rgba(255,255,255,0.07);
    --c1:        #00f5ff;
    --c2:        #bf00ff;
    --c3:        #ff006e;
    --c4:        #00ff88;
    --text:      #e8edf3;
    --text-dim:  #5a6a7a;
    --text-muted:#2a3a4a;
    --font-title: 'Bebas Neue', cursive;
    --font-mono:  'Space Mono', monospace;
    --font-body:  'Outfit', sans-serif;
    --glow-c1:   0 0 20px rgba(0,245,255,0.4), 0 0 60px rgba(0,245,255,0.15);
    --glow-c2:   0 0 20px rgba(191,0,255,0.4), 0 0 60px rgba(191,0,255,0.15);
}

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--c1); color: var(--bg); }

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--c1), var(--c2)); border-radius: 4px; }

/* ══ NOISE OVERLAY ══ */
#noise-canvas {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    mix-blend-mode: overlay;
}

/* ══ PARTICLES ══ */
#particles-js {
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ══ CUSTOM CURSOR ══ */
#cursor-outer {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid var(--c1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
}
#cursor-inner {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--c1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s, height 0.2s, background 0.2s;
    transform: translate(-50%, -50%);
}
#cursor-outer.hover {
    width: 60px; height: 60px;
    border-color: var(--c2);
    background: rgba(191,0,255,0.08);
}
#cursor-inner.hover { width: 4px; height: 4px; background: var(--c2); }
#cursor-inner.click { width: 14px; height: 14px; }

/* ══ LOADER ══ */
#loader {
    position: fixed; inset: 0;
    z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.loader-bg {
    position: absolute; inset: 0;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0,245,255,0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(191,0,255,0.05) 0%, transparent 60%);
}
.loader-content {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
    z-index: 1;
}
.loader-logo {
    font-family: var(--font-title);
    font-size: 6rem;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%,100% { filter: drop-shadow(0 0 20px rgba(0,245,255,0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(191,0,255,0.8)); }
}
.loader-glitch {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    color: var(--text-dim);
    position: relative;
}
.loader-glitch::before,
.loader-glitch::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    width: 100%;
}
.loader-glitch::before {
    color: var(--c1); opacity: 0.7;
    animation: glitch1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.loader-glitch::after {
    color: var(--c3); opacity: 0.7;
    animation: glitch2 2.5s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch1 {
    0%,100%{transform:none} 20%{transform:translate(-2px,-1px)} 40%{transform:translate(2px,1px)} 60%{transform:none}
}
@keyframes glitch2 {
    0%,100%{transform:none} 25%{transform:translate(2px,2px)} 50%{transform:translate(-2px,0)} 75%{transform:none}
}
.loader-bar-wrap {
    width: 300px;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.loader-bar {
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
    border-radius: 2px;
    box-shadow: 0 0 12px var(--c1);
    transition: width 0.15s ease;
    position: relative;
}
.loader-bar::after {
    content: '';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 12px white;
}
.loader-percent {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: right;
}
.loader-code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex; flex-direction: column; gap: 0.3rem;
    width: 300px;
}
.loader-line {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.loader-line.show {
    opacity: 1;
    transform: translateX(0);
    color: var(--c4);
}

/* ══ LAYOUT ══ */
section {
    position: relative;
    z-index: 1;
    padding: 7rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* ══ NAV ══ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex; align-items: center;
    gap: 2rem;
    opacity: 0;
    transition: background 0.3s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
    background: rgba(3,5,8,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
#navbar.hidden { transform: translateY(-100%); }
#navbar.visible { transform: translateY(0); }
.nav-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: white;
    margin-right: auto;
}
.nav-logo .dot { color: var(--c1); }
.nav-links {
    display: flex; list-style: none; gap: 2.5rem;
}
.nav-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    transition: color 0.2s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--c1);
    transition: width 0.3s ease;
}
.nav-link:hover { color: var(--c1); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--c1);
    color: var(--c1);
    border-radius: 2px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { background: rgba(0,245,255,0.1); box-shadow: var(--glow-c1); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ SECTION HEADER ══ */
.section-header {
    display: flex; align-items: center; gap: 1.5rem;
    margin-bottom: 4rem;
}
.section-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--c1);
    letter-spacing: 0.1em;
    opacity: 0.6;
}
.section-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.05em;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}
.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

/* ══ HERO ══ */
#hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1300px;
    margin: 0 auto;
    gap: 4rem;
}
.hero-content {
    flex: 1;
    display: flex; flex-direction: column; gap: 2rem;
    max-width: 600px;
}
.hero-eyebrow {
    display: flex; align-items: center; gap: 1rem;
    opacity: 0;
}
.eyebrow-line {
    display: block; width: 40px; height: 1px;
    background: var(--c4);
}
.eyebrow-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--c4);
}
.eyebrow-dot {
    width: 7px; height: 7px;
    background: var(--c4);
    border-radius: 50%;
}
.eyebrow-dot.blink { animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-title {
    display: flex; flex-direction: column;
    line-height: 0.95;
}
.hero-line {
    font-family: var(--font-title);
    font-size: clamp(4rem, 9vw, 8rem);
    letter-spacing: 0.02em;
    opacity: 0;
    display: block;
}
.hero-line.accent {
    background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0,245,255,0.3));
}
.hero-line.thin { font-size: clamp(2rem, 4vw, 3rem); color: var(--text-dim); }
.hero-sub {
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    border-left: 2px solid var(--c2);
    padding-left: 1rem;
    opacity: 0;
}
.hero-cta-group {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0;
}
.hero-stats {
    display: flex; align-items: center; gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-title);
    font-size: 2.2rem;
    line-height: 1;
    color: white;
}
.stat-unit { font-family: var(--font-mono); font-size: 0.7rem; color: var(--c1); }
.stat-label { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-visual {
    flex: 1;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 400px;
    opacity: 0;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.orb-1 { width: 300px; height: 300px; background: rgba(0,245,255,0.12); top: 50%; left: 50%; transform: translate(-60%,-50%); }
.orb-2 { width: 200px; height: 200px; background: rgba(191,0,255,0.12); top: 30%; right: 15%; }
.orb-3 { width: 150px; height: 150px; background: rgba(255,0,110,0.08); bottom: 20%; left: 20%; }
.hero-ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.ring-1 { width: 260px; height: 260px; border-width: 1px; border-color: rgba(0,245,255,0.2); border-top-color: var(--c1); }
.ring-2 { width: 320px; height: 320px; border-width: 1px; border-color: rgba(191,0,255,0.15); border-right-color: var(--c2); border-style: dashed; }
.ring-3 { width: 380px; height: 380px; border-width: 1px; border-color: rgba(255,0,110,0.1); border-bottom-color: var(--c3); }
.hero-avatar {
    position: relative;
    width: 180px; height: 180px;
    border-radius: 50%;
    z-index: 2;
}
.avatar-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--surface2);
    border: 2px solid rgba(0,245,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-title);
    font-size: 3.5rem;
    color: white;
    position: relative;
    z-index: 1;
}
.avatar-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(circle, rgba(0,245,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}
.floating-badge {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.4rem 0.9rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--c1);
    opacity: 0;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.b1 { top: 10%; left: 0; }
.b2 { top: 20%; right: 0; }
.b3 { bottom: 20%; left: 5%; }
.b4 { bottom: 10%; right: 5%; }
.scroll-indicator {
    position: absolute; bottom: 2rem;
    left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    animation: bounce 2s ease-in-out infinite;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(var(--c1), transparent);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ══ BUTTONS ══ */
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-radius: 3px;
    border: none;
    font-weight: 700;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(0,245,255,0.4), 0 0 0 1px rgba(0,245,255,0.3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary.full-width { width: 100%; justify-content: center; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-radius: 3px;
    cursor: none;
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn-ghost:hover { border-color: var(--c1); color: var(--c1); box-shadow: 0 0 20px rgba(0,245,255,0.1); }

/* ══ ABOUT ══ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.about-text { display: flex; flex-direction: column; gap: 1.5rem; opacity: 0; }
.about-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: white;
}
.about-lead em { font-style: normal; color: var(--c1); }
.about-text p { color: var(--text-dim); line-height: 1.8; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-dim);
    background: var(--surface);
    transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--c1); color: var(--c1); }
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    opacity: 0;
}
.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: none;
}
.about-card:hover {
    border-color: rgba(0,245,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,245,255,0.05);
}
.card-icon { font-size: 1.5rem; margin-bottom: 0.7rem; }
.about-card h3 { font-size: 0.9rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.about-card p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }

/* ══ SKILLS ══ */
#skills { overflow: hidden; }
.skills-marquee {
    overflow: hidden;
    margin: 0 -2rem 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.marquee-track {
    display: flex; gap: 0;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-33.33%)} }
.marquee-item {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    padding: 0 1rem;
}
.marquee-sep { color: var(--c1); margin-left: 1rem; opacity: 0.5; }
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 4rem;
    opacity: 0;
}
.skill-item { cursor: none; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 0.6rem; }
.skill-name { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.05em; }
.skill-level { font-family: var(--font-mono); font-size: 0.75rem; color: var(--c1); }
.skill-bar {
    height: 3px;
    background: var(--surface2);
    border-radius: 3px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    border-radius: 3px;
    position: relative;
    transition: box-shadow 0.3s ease;
}
.skill-item:hover .skill-fill { box-shadow: 0 0 12px var(--c1); }

/* ══ PROJECTS ══ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.project-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    cursor: none;
    transition: border-color 0.3s ease;
    overflow: hidden;
    transform-style: preserve-3d;
    opacity: 0;
}
.project-card:hover { border-color: var(--accent); }
.project-glow { position: absolute; inset: 0; pointer-events: none; border-radius: 8px; }
.project-border {
    position: absolute; inset: 0;
    border-radius: 8px;
    border: 1px solid var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.project-card:hover .project-border { opacity: 0.4; }
.project-number {
    font-family: var(--font-title);
    font-size: 5rem;
    line-height: 1;
    color: var(--surface2);
    position: absolute;
    top: 1rem; right: 1.5rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.project-card:hover .project-number { color: rgba(var(--accent), 0.1); }
.project-content { position: relative; z-index: 1; }
.project-name {
    font-family: var(--font-title);
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.7rem;
    transition: color 0.3s ease;
}
.project-card:hover .project-name { color: var(--accent); }
.project-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.project-tech {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.project-arrow {
    position: absolute;
    bottom: 1.8rem; right: 1.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}
.project-card:hover .project-arrow {
    color: var(--accent);
    transform: translate(3px, -3px);
}

/* ══ CONTACT ══ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact-text { display: flex; flex-direction: column; gap: 2rem; opacity: 0; }
.contact-big {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: 0.03em;
}
.glitch-text {
    display: inline-block;
    color: var(--c1);
    position: relative;
    cursor: none;
}
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
    display: flex; align-items: center; gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}
.contact-link:hover { color: var(--c1); }
.contact-icon { font-size: 1.1rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.social-btn {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-dim);
    transition: all 0.2s ease;
    cursor: none;
}
.social-btn:hover { border-color: var(--c2); color: var(--c2); box-shadow: 0 0 15px rgba(191,0,255,0.2); }

/* ══ FORM ══ */
.contact-form {
    display: flex; flex-direction: column; gap: 2rem;
    opacity: 0;
}
.form-group {
    position: relative;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    resize: none;
    transition: border-color 0.3s ease;
    cursor: none;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c1);
    box-shadow: 0 0 20px rgba(0,245,255,0.05);
}
.form-group label {
    position: absolute;
    top: 1rem; left: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    pointer-events: none;
    transition: all 0.2s ease;
}
.form-group input:not(:placeholder-shown) ~ label,
.form-group input:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label {
    top: -0.6rem; left: 0.8rem;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    color: var(--c1);
    background: var(--surface);
    padding: 0 0.3rem;
}
.form-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    transition: width 0.4s ease;
    border-radius: 0 0 4px 4px;
}
.form-group:focus-within .form-line { width: 100%; }

/* ══ FOOTER ══ */
footer {
    position: relative;
    z-index: 1;
    padding: 2rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
}
.footer-line { height: 1px; background: var(--border); margin-bottom: 2rem; }
.footer-content { display: flex; align-items: center; gap: 2rem; }
.footer-logo { font-family: var(--font-title); font-size: 1.5rem; }
.footer-logo .dot { color: var(--c1); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); flex: 1; text-align: center; }
.footer-scroll-top {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--text-dim);
    cursor: none;
    transition: all 0.3s ease;
}
.footer-scroll-top:hover { border-color: var(--c1); color: var(--c1); box-shadow: var(--glow-c1); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
    #hero { flex-direction: column; text-align: center; padding-top: 10rem; }
    .hero-visual { order: -1; min-height: 300px; }
    .hero-cta-group { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    #navbar { padding: 1.2rem 1.5rem; }
    .nav-links.mobile-open {
        display: flex; flex-direction: column;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(3,5,8,0.97);
        backdrop-filter: blur(20px);
        align-items: center; justify-content: center;
        gap: 2rem; z-index: -1;
    }
    .nav-links.mobile-open .nav-link { font-size: 1.2rem; }
    .about-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    section { padding: 5rem 1.2rem; }
    .hero-line { font-size: clamp(3rem, 12vw, 5rem); }
    .hero-ring { transform: translate(-50%,-50%) scale(0.7); }
    .ring-2 { transform: translate(-50%,-50%) scale(0.7); }
    .ring-3 { transform: translate(-50%,-50%) scale(0.7); }
    #cursor-outer, #cursor-inner { display: none; }
}
