/* =========================================
   VIKASH SHALOT — PORTFOLIO CSS
   Dark luxury editorial aesthetic
   ========================================= */

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

:root {
    --bg:         #0b0e17;
    --bg-2:       #0f1322;
    --bg-3:       #141828;
    --surface:    #1a1f35;
    --surface-2:  #1f2540;
    --border:     rgba(255,255,255,0.07);
    --border-2:   rgba(255,255,255,0.12);

    --text:       #e8eaf2;
    --text-2:     #9ba3c0;
    --text-3:     #6b7494;

    --accent:     #6c8fff;
    --accent-2:   #a78bfa;
    --accent-glow: rgba(108,143,255,0.25);
    --gold:       #f0c060;

    --ff-serif:   'DM Serif Display', Georgia, serif;
    --ff-sans:    'DM Sans', system-ui, sans-serif;

    --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  30px;
    --r-full: 999px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--ff-sans);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection { background: var(--accent); color: #fff; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }

/* ── CUSTOM CURSOR ── */
.cursor {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .15s, height .15s, background .2s;
    mix-blend-mode: screen;
}
.cursor-follower {
    width: 28px; height: 28px;
    border: 1.5px solid rgba(108,143,255,0.5);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all .35s var(--ease-out);
}
body:has(a:hover) .cursor, body:has(button:hover) .cursor { width: 14px; height: 14px; background: var(--gold); }
body:has(a:hover) .cursor-follower, body:has(button:hover) .cursor-follower { width: 40px; height: 40px; border-color: rgba(240,192,96,0.4); }

/* ── LOADER ── */
.loader {
    position: fixed; inset: 0;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 9000;
    transition: opacity .6s var(--ease-out), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-name {
    display: block;
    font-family: var(--ff-serif);
    font-size: 3rem;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .5s .2s var(--ease-out) forwards;
}
.loader-bar {
    width: 160px; height: 2px;
    background: var(--surface);
    border-radius: var(--r-full);
    overflow: hidden;
    margin: 0 auto;
}
.loader-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: var(--r-full);
    animation: loadFill 1.8s .3s var(--ease-in-out) forwards;
}
@keyframes loadFill { to { width: 100%; } }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

/* ── NAV ── */
#nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 800;
    padding: 0;
    transition: all .4s var(--ease-out);
}
#nav.scrolled {
    background: rgba(11,14,23,0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 24px 40px;
    display: flex; align-items: center; justify-content: space-between;
    transition: padding .4s;
}
#nav.scrolled .nav-inner { padding: 16px 40px; }

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
}
.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-serif);
    font-size: .9rem;
    color: #fff;
    flex-shrink: 0;
}
.logo-text { font-weight: 500; font-size: .95rem; letter-spacing: .5px; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 8px; }
.nav-links li a {
    text-decoration: none;
    color: var(--text-2);
    font-size: .875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--r-full);
    transition: all .25s;
    position: relative;
}
.nav-links li a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
    color: #fff !important;
    padding: 9px 20px !important;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(11,14,23,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mob-link {
    display: block; padding: 12px 16px;
    color: var(--text-2); text-decoration: none;
    font-size: 1rem; font-weight: 500;
    border-radius: var(--r-md);
    transition: all .2s;
}
.mob-link:hover { color: var(--text); background: var(--surface); }

/* ── REVEAL ANIMATIONS ── */
.reveal-up, .reveal-right {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-right { transform: translateX(40px); }
.reveal-up.in, .reveal-right.in { opacity: 1; transform: none; }

/* Stagger */
.reveal-up:nth-child(2) { transition-delay: .1s; }
.reveal-up:nth-child(3) { transition-delay: .2s; }
.reveal-up:nth-child(4) { transition-delay: .3s; }

/* ── SHARED LAYOUT ── */
section { padding: 110px 24px; }
.section-wrap { max-width: 1160px; margin: 0 auto; }
.section-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--ff-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}
.section-title em { font-style: italic; color: var(--accent-2); }
.section-desc { color: var(--text-2); max-width: 600px; line-height: 1.75; margin-bottom: 60px; }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 40px 80px;
    position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.25;
    animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -100px; left: -50px; animation-delay: -4s; }
@keyframes orbFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(20px,30px) scale(1.05); } }

.hero-inner {
    max-width: 1160px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr auto;
    gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(108,143,255,0.1);
    border: 1px solid rgba(108,143,255,0.25);
    border-radius: var(--r-full);
    padding: 7px 16px;
    font-size: .8rem; font-weight: 500; color: var(--accent);
    margin-bottom: 24px;
    width: fit-content;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

.hero-title {
    font-family: var(--ff-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 16px;
    display: flex; flex-direction: column;
}
.title-line { display: block; }
.title-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-role {
    font-size: 1.15rem; color: var(--text-2);
    font-weight: 400; margin-bottom: 20px;
}
.amp { color: var(--accent); font-style: italic; }
.hero-desc { color: var(--text-2); max-width: 520px; line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; text-decoration: none;
    border-radius: var(--r-full); font-weight: 600; font-size: .9rem;
    transition: all .3s var(--ease-out);
    box-shadow: 0 0 0 rgba(108,143,255,0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }

.btn-ghost {
    display: inline-flex; align-items: center;
    padding: 13px 28px;
    border: 1px solid var(--border-2);
    color: var(--text); text-decoration: none;
    border-radius: var(--r-full); font-weight: 500; font-size: .9rem;
    transition: all .3s;
    background: transparent;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }

.hero-stats { display: flex; align-items: center; gap: 28px; }
.stat-divider { width: 1px; height: 36px; background: var(--border-2); }
.stat-num {
    display: block;
    font-family: var(--ff-serif);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .75rem; color: var(--text-3); font-weight: 500; }

/* Profile */
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.profile-frame {
    position: relative; width: 280px; height: 280px;
    flex-shrink: 0;
}
.profile-ring {
    position: absolute; inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
                linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
    animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.profile-img-wrap {
    width: 100%; height: 100%;
    border-radius: 50%; overflow: hidden;
    position: relative; z-index: 1;
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
}
.profile-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.profile-initials {
    font-family: var(--ff-serif);
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    display: none;
}
.profile-img-wrap.no-img .profile-img { display: none; }
.profile-img-wrap.no-img .profile-initials { display: block; }

.profile-badge {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r-full);
    padding: 7px 14px;
    font-size: .75rem; font-weight: 600; color: var(--text);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    z-index: 2;
}
.pb-1 { top: 10%; right: -20%; }
.pb-2 { bottom: 15%; left: -25%; }

.social-pill {
    display: flex; gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 10px 18px;
}
.social-btn {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: var(--bg-2);
    border-radius: 50%;
    color: var(--text-2); text-decoration: none;
    transition: all .25s;
}
.social-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.scroll-hint {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-3); font-size: .75rem; letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--text-3), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ── EXPERIENCE ── */
#experience { background: var(--bg-2); }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    position: relative;
}
.tl-item::before {
    content: '';
    position: absolute;
    left: 180px;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
}
.tl-item:last-child::before { bottom: 40px; }

.tl-meta {
    padding: 40px 40px 40px 0;
    display: flex; flex-direction: column; gap: 6px;
    text-align: right;
}
.tl-date { font-size: .8rem; color: var(--accent); font-weight: 600; letter-spacing: .5px; }
.tl-company { font-size: .85rem; color: var(--text-3); font-weight: 500; }

.tl-body {
    padding: 32px 0 32px 40px;
    position: relative;
}
.tl-dot {
    position: absolute; left: -1px; top: 42px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg-2);
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--accent-glow);
}

.tl-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    transition: border-color .3s, box-shadow .3s;
}
.tl-card:hover { border-color: var(--border-2); box-shadow: 0 8px 40px rgba(0,0,0,.3); }
.tl-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tl-card-head h3 { font-family: var(--ff-serif); font-size: 1.25rem; color: var(--text); }
.tl-location { font-size: .8rem; color: var(--text-3); white-space: nowrap; padding-top: 4px; }
.tl-card p { color: var(--text-2); font-size: .9rem; line-height: 1.75; margin-bottom: 18px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tags span {
    padding: 4px 12px;
    background: rgba(108,143,255,.08);
    border: 1px solid rgba(108,143,255,.15);
    border-radius: var(--r-full);
    font-size: .75rem; font-weight: 600; color: var(--accent);
}

/* ── EDUCATION ── */
.edu-section { background: var(--bg); }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.edu-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    position: relative; overflow: hidden;
    transition: all .35s var(--ease-out);
}
.edu-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(108,143,255,.05), transparent);
    opacity: 0; transition: opacity .3s;
}
.edu-card:hover { border-color: rgba(108,143,255,.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.edu-card:hover::after { opacity: 1; }
.edu-year { font-size: .8rem; color: var(--accent); font-weight: 600; letter-spacing: .5px; margin-bottom: 16px; }
.edu-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.edu-card h3 { font-family: var(--ff-serif); font-size: 1.2rem; margin-bottom: 4px; }
.edu-card h4 { font-size: .85rem; color: var(--text-3); font-weight: 500; margin-bottom: 12px; }
.edu-card p { font-size: .875rem; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.edu-badge {
    display: inline-flex;
    padding: 5px 14px;
    background: rgba(167,139,250,.1);
    border: 1px solid rgba(167,139,250,.2);
    border-radius: var(--r-full);
    font-size: .75rem; font-weight: 600; color: var(--accent-2);
}

/* ── PRODUCTS ── */
#products { background: var(--bg-2); }
.product-showcase {
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 60px; align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 56px 64px;
    transition: border-color .3s;
    position: relative; overflow: hidden;
}
.product-showcase::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(108,143,255,.1) 0%, transparent 70%);
    pointer-events: none;
}
.product-showcase:hover { border-color: var(--border-2); }

.product-visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.product-icon-wrap {
    width: 120px; height: 120px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.product-icon-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(108,143,255,.2), rgba(167,139,250,.2));
    border-radius: var(--r-lg);
    border: 1px solid rgba(108,143,255,.2);
}
.product-emoji { font-size: 3.5rem; position: relative; z-index: 1; }
.product-chrome-badge {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 7px 16px;
    font-size: .78rem; font-weight: 500; color: var(--text-2);
}

.product-info h3 { font-family: var(--ff-serif); font-size: 1.8rem; margin-bottom: 6px; }
.product-tagline { color: var(--accent); font-size: .85rem; font-weight: 600; margin-bottom: 18px; letter-spacing: .5px; }
.product-desc { color: var(--text-2); line-height: 1.75; margin-bottom: 24px; font-size: .93rem; }
.product-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.product-tech span {
    padding: 5px 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: .75rem; font-weight: 600; color: var(--text-2);
}
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.product-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; text-decoration: none;
    border-radius: var(--r-full);
    font-size: .875rem; font-weight: 600;
    transition: all .3s;
}
.product-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.product-btn-ghost {
    display: inline-flex; align-items: center;
    padding: 12px 24px;
    border: 1px solid var(--border-2);
    color: var(--text); text-decoration: none;
    border-radius: var(--r-full);
    font-size: .875rem; font-weight: 500;
    transition: all .3s;
}
.product-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── SKILLS ── */
.skills-section { background: var(--bg); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.skill-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    transition: border-color .3s, box-shadow .3s;
}
.skill-block:hover { border-color: var(--border-2); box-shadow: 0 8px 40px rgba(0,0,0,.25); }
.skill-block-header { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.skill-block-icon { font-size: 1.4rem; }
.skill-block h3 { font-family: var(--ff-serif); font-size: 1.15rem; }

.skill-block ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.skill-block li { display: flex; flex-direction: column; gap: 6px; }
.skill-name { font-size: .83rem; font-weight: 500; color: var(--text-2); }
.skill-bar {
    height: 4px; background: var(--bg);
    border-radius: var(--r-full); overflow: hidden;
}
.skill-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: var(--r-full);
    transition: width 1s var(--ease-out);
}

/* ── CONTACT ── */
#contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; margin-top: 20px; }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 20px;
}
.contact-row {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px;
    text-decoration: none; color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
    cursor: default;
}
a.contact-row { cursor: pointer; }
a.contact-row:hover { background: var(--surface-2); }
.contact-row:last-child { border-bottom: none; }
.contact-row-icon { font-size: 1.2rem; width: 36px; text-align: center; }
.contact-row-label { display: block; font-size: .75rem; color: var(--text-3); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.contact-row-val { display: block; font-size: .9rem; color: var(--text); margin-top: 2px; }
.contact-row-arrow { margin-left: auto; color: var(--text-3); font-size: 1.1rem; }
a.contact-row:hover .contact-row-arrow { color: var(--accent); transform: translateX(3px); transition: all .2s; }

.contact-socials { display: flex; gap: 12px; }
.csocial-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-2); text-decoration: none;
    font-size: .85rem; font-weight: 500;
    transition: all .25s;
    flex: 1; justify-content: center;
}
.csocial-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(108,143,255,.05); }

/* Contact Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field:last-of-type { margin-bottom: 28px; }
.form-field label { font-size: .8rem; font-weight: 600; color: var(--text-2); letter-spacing: .4px; text-transform: uppercase; }
.form-field input, .form-field textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 13px 16px;
    color: var(--text);
    font-family: var(--ff-sans);
    font-size: .9rem;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    resize: none;
    width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus, .form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108,143,255,.12);
}
.form-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; border: none;
    border-radius: var(--r-full);
    font-family: var(--ff-sans);
    font-size: .95rem; font-weight: 600;
    cursor: pointer;
    transition: all .3s var(--ease-out);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.form-submit:active { transform: translateY(0); }

/* ── FOOTER ── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px 40px;
}
.footer-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--text-3); }
.footer-logo {
    font-family: var(--ff-serif);
    font-size: 1.2rem; color: var(--accent);
    font-weight: 700; letter-spacing: 2px;
}
.footer-links { display: flex; gap: 6px; }
.footer-links a {
    text-decoration: none; color: var(--text-3);
    font-size: .8rem; padding: 6px 12px;
    border-radius: var(--r-full);
    transition: all .2s;
}
.footer-links a:hover { color: var(--text); background: var(--surface); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-3); text-decoration: none;
    transition: all .25s;
}
.footer-socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-left { display: flex; flex-direction: column; align-items: center; }
    .hero-right { order: -1; }
    .profile-frame { width: 220px; height: 220px; }
    .pb-1 { right: -15%; }
    .pb-2 { left: -20%; }
    .hero-stats { justify-content: center; }
    .hero-desc { text-align: center; }

    .tl-item { grid-template-columns: 140px 1fr; }
    .edu-grid { grid-template-columns: 1fr 1fr; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .product-showcase { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .product-visual { flex-direction: row; justify-content: center; }
    .product-actions { justify-content: center; }
    .product-tech { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 80px 20px; }
    .hero { padding: 100px 20px 60px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-inner { padding: 20px 24px; }
    #nav.scrolled .nav-inner { padding: 14px 24px; }

    .tl-item { grid-template-columns: 1fr; }
    .tl-item::before { left: 0; top: 0; bottom: 0; }
    .tl-meta { text-align: left; padding: 0 0 8px 20px; }
    .tl-body { padding: 0 0 32px 20px; }
    .tl-dot { left: 0; top: 8px; }

    .edu-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .product-showcase { padding: 36px 28px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 24px; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links, .footer-socials { justify-content: center; }
    .scroll-hint { display: none; }
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.8rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
    .profile-frame { width: 180px; height: 180px; }
    .pb-1, .pb-2 { display: none; }
    .product-showcase { padding: 28px 20px; }
    .section-title { font-size: 1.9rem; }
    .contact-socials { flex-direction: column; }
}
