/* =========================================================
   VARUN PATEL — PORTFOLIO STYLES
   ========================================================= */

:root {
    --bg-dark: #ffffff;
    --bg-surface: #ffffff;
    --bg-elevated: #f1f5f9;
    --bg-input: #f8fafc;
    --bg-deep: #f8fafc;
    --bg-card: #ffffff;
    --bg-band: #f8fafc;
    --accent: #4f46e5;
    --accent-2: #0ea5e9;
    --accent-hover: #4338ca;
    --accent-glow: rgba(79, 70, 229, 0.22);
    --accent-soft: rgba(79, 70, 229, 0.07);
    --border-accent: rgba(79, 70, 229, 0.35);
    --on-accent: #ffffff;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    --green: #16a34a;
    --green-soft: rgba(22, 163, 74, 0.08);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.1);
    --font-display: "Oswald", sans-serif;
    --font-sans: "Inter", -apple-system, sans-serif;
    --font-mono: "Fira Code", monospace;
    --nav-height: 76px;
    --container: 1380px;
    --radius: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.code-window {
    --bg-surface: #0f172a;
    --bg-elevated: #1e293b;
    --bg-deep: #0f172a;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(148, 163, 184, 0.18);
    --green: #4ade80;
    --accent: #818cf8;
    color: var(--text-main);
}

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

html { scroll-padding-top: var(--nav-height); }

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }
strong { color: var(--text-main); font-weight: 600; }

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 52px);
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--text-dim) !important; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; width: 260px; }
.preloader-logo {
    width: 64px; height: 64px; margin: 0 auto 22px;
    display: grid; place-items: center;
    background: var(--gradient); color: var(--on-accent);
    font-family: var(--font-mono); font-weight: 700; font-size: 22px;
    border-radius: 8px;
    animation: pulseGlow 1.4s infinite;
}
.preloader-text { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 14px; }
.preloader-bar { height: 2px; background: rgba(148, 163, 184, .15); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--accent); animation: load 1.3s var(--ease) forwards; }

@keyframes load { to { width: 100%; } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 14px transparent; } }

/* ---------- Background ---------- */
.bg-grid {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(800px 460px at 0% -10%, rgba(79, 70, 229, 0.08), transparent 65%),
        radial-gradient(700px 440px at 100% 10%, rgba(14, 165, 233, 0.07), transparent 65%),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.03) 0 1px, transparent 1px 180px),
        var(--bg-dark);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-height);
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo-box {
    width: 40px; height: 40px; display: grid; place-items: center;
    background: var(--gradient); color: var(--on-accent);
    font-family: var(--font-mono); font-weight: 700; font-size: 15px;
    border-radius: 3px;
    transition: transform .3s var(--ease);
}
.logo:hover .logo-box { transform: rotate(-8deg) scale(1.05); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: 2px; }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 30px); }
.nav-links a {
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap;
    color: var(--text-muted); position: relative; padding: 6px 0;
    transition: color .25s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-highlight {
    padding: 8px 14px; border: 1px solid var(--border-accent); border-radius: 4px;
    background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 18px var(--accent-soft);
}
.nav-links a.nav-highlight i { font-size: 10px; margin-right: 4px; }
.nav-links a.nav-highlight::after { display: none; }
.nav-links a.nav-highlight:hover, .nav-links a.nav-highlight.active { background: var(--accent); color: var(--on-accent); }
.menu-list a.menu-highlight { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn {
    height: 46px; border: 1px solid var(--border); border-radius: 6px;
    background: var(--bg-surface); transition: border-color .25s, background .25s;
}
.menu-btn:hover { border-color: var(--border-accent); background: var(--bg-elevated); }

.menu-btn { width: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--text-main); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.scroll-progress {
    position: absolute; left: 0; bottom: -1px; height: 3px; width: 0;
    background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Fullscreen Menu ---------- */
.menu-overlay {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-inner { padding-top: var(--nav-height); }
.menu-label { color: var(--text-dim); font-size: 13px; letter-spacing: 2px; margin-bottom: 26px; }
.menu-list { list-style: none; }
.menu-list li {
    overflow: hidden; border-bottom: 1px solid var(--border);
    transform: translateY(30px); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s;
}
.menu-overlay.open .menu-list li { transform: none; opacity: 1; }
.menu-overlay.open .menu-list li:nth-child(2) { transition-delay: .04s; }
.menu-overlay.open .menu-list li:nth-child(3) { transition-delay: .08s; }
.menu-overlay.open .menu-list li:nth-child(4) { transition-delay: .12s; }
.menu-overlay.open .menu-list li:nth-child(5) { transition-delay: .16s; }
.menu-overlay.open .menu-list li:nth-child(6) { transition-delay: .2s; }
.menu-overlay.open .menu-list li:nth-child(7) { transition-delay: .24s; }
.menu-list a {
    display: flex; align-items: baseline; gap: 22px; padding: 10px 0;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1;
    color: var(--text-muted); transition: color .25s, padding-left .35s var(--ease);
}
.menu-list a span { font-family: var(--font-mono); font-size: 14px; color: var(--text-dim); font-weight: 400; }
.menu-list a:hover { color: var(--accent); padding-left: 14px; }
.menu-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; color: var(--text-dim); font-size: 13px; }

/* ---------- Common Section ---------- */
.section { padding: clamp(52px, 6vw, 88px) 0; position: relative; }
main > .section:nth-of-type(even) {
    background: var(--bg-band);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-size: 12px; letter-spacing: 2px; color: var(--text-muted);
    text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.section-desc { max-width: 680px; font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

.outline {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--accent);
    text-stroke: 1.2px var(--accent);
}

.status-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 7px 14px; margin-bottom: 22px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
    color: var(--green); background: var(--green-soft);
    border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 3px;
}

.pulse-dot {
    position: relative; display: inline-block;
    width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}
.pulse-dot::after {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    background: var(--green); opacity: .35; animation: ping 1.8s infinite;
}
.pulse-dot.small { width: 8px; height: 8px; }
@keyframes ping { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 6px;
    font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 1px;
    border: 1px solid transparent;
    transition: all .3s var(--ease);
    position: relative; overflow: hidden;
}
.btn-primary { background: var(--gradient); color: var(--on-accent); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-3px); box-shadow: 0 12px 40px var(--accent-glow); }
.btn-outline { border-color: var(--border-accent); color: var(--text-main); }
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-3px); }
.btn-ghost { color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text-main); border-color: var(--border-accent); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.expertise-card, .contact-info, .contact-form, .service-card, .engage-card, .process, .bring-item,
.project-card, .edu-card, .tl-card, .bench-card, .testimonial-card,
.hero-stats, .hire-path, .hire-tab, .featured-chip, .filter-btn, .typing-box {
    box-shadow: var(--shadow-sm);
}
.service-card:hover, .engage-card:hover, .bring-item:hover, .tl-card:hover, .edu-card:hover {
    box-shadow: var(--shadow-lg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: calc(var(--nav-height) + 50px) 0 36px; min-height: 100vh; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }
.hero-left, .hero-right { min-width: 0; }

.hero-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(42px, 5.4vw, 80px); line-height: 1; letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero-title .line { display: block; }
.hero-title .accent,
.sub-count,
.stat-num {
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.typing-box {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 18px; margin-bottom: 22px;
    background: var(--bg-surface); border: 1px solid var(--border-accent); border-radius: 6px;
    min-height: 52px;
}
.typing-label { color: var(--text-dim); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; }
.typing-text { font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.typing-cursor { color: var(--accent); font-size: 18px; margin-left: -8px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-desc { font-size: 16.5px; color: var(--text-muted); max-width: 620px; margin-bottom: 26px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-location { font-size: 12px; letter-spacing: 2px; color: var(--text-dim); }
.hero-location i { color: var(--accent); margin-right: 6px; }

/* code window */
.code-window {
    background: var(--bg-surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .04);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}
.code-window:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.code-header { display: flex; align-items: center; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--bg-elevated); }
.code-dots { display: flex; gap: 8px; }
.code-dots span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.code-tabs::-webkit-scrollbar { display: none; }
.code-tab {
    padding: 14px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
    border-bottom: 2px solid transparent; white-space: nowrap; transition: color .25s, border-color .25s;
}
.code-tab:hover { color: var(--text-muted); }
.code-tab.active { color: var(--text-main); border-color: var(--accent); }
.code-body {
    display: none; padding: 22px 22px 26px; margin: 0;
    font-family: var(--font-mono); font-size: 13px; line-height: 1.75;
    color: #d4d4d8; overflow-x: auto; min-height: 330px;
}
.code-body.active { display: block; animation: fadeIn .4s var(--ease); }
.code-body .c { color: #6b7280; font-style: italic; }
.code-body .k { color: #c084fc; }
.code-body .t { color: #5eead4; }
.code-body .s { color: #fbbf24; }
.code-body .f { color: #60a5fa; }
.code-footer {
    display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    padding: 12px 20px; border-top: 1px solid var(--border);
    font-size: 11px; letter-spacing: 1.5px; color: var(--text-dim);
}
.code-footer > span:first-child { display: flex; align-items: center; gap: 10px; color: var(--green); }
.hero-right { align-self: stretch; display: flex; flex-direction: column; }
.hero-info {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between;
    margin-top: 26px; padding: 22px 24px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.hero-info-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.hero-info-label { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 1.5px; color: var(--green); }
.hero-info-since { font-size: 11px; letter-spacing: 1.2px; color: var(--text-dim); }
.hero-info-role { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.hero-info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-input);
}
.hero-info-grid > div { padding: 12px 14px; border-right: 1px solid var(--border); }
.hero-info-grid > div:last-child { border-right: none; }
.hero-info-grid small { display: block; font-size: 10px; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 2px; }
.hero-info-grid strong { font-size: 14px; }
.hero-stack { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
.hero-stack-label { font-size: 10.5px; letter-spacing: 1.5px; color: var(--text-dim); }
.hero-stack-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-stack-icons i {
    width: 36px; height: 36px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-surface);
    font-size: 18px; transition: transform .3s var(--ease), border-color .3s;
}
.hero-stack-icons .fa-credit-card { color: #6366f1; }
.hero-stack-icons .fa-aws { color: #ff9900; }
.hero-stack-icons i:hover { transform: translateY(-3px); border-color: var(--border-accent); }

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

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: 56px; border: 1px solid var(--border); border-radius: 4px;
    background: var(--bg-card);
}
.stat { padding: 22px 24px; border-right: 1px solid var(--border); transition: background .3s; }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--accent-soft); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 1.5px; color: var(--text-dim); margin-top: 8px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.about-text { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.about-quote {
    border-left: 3px solid var(--accent); padding: 6px 0 6px 18px; margin: 22px 0;
    font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; color: var(--text-main);
}
.about-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.expertise-card, .contact-info, .contact-form {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(26px, 3vw, 40px);
}
.expertise-head { font-size: 13px; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 10px; }
.expertise-title { font-family: var(--font-display); font-size: 26px; letter-spacing: 1px; margin-bottom: 18px; }
.expertise-item {
    display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border);
    transition: padding-left .3s var(--ease);
}
.expertise-item:hover { padding-left: 8px; }
.expertise-icon {
    width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
    border: 1px solid var(--border-accent); border-radius: 8px; background: var(--accent-soft);
    color: var(--accent); font-size: 19px;
}
.expertise-item h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; margin-bottom: 4px; }
.expertise-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* =========================================================
   HIRE PATHS (HERO) & NAV HIRE BUTTON
   ========================================================= */
.nav-hire { padding: 0 20px; height: 44px; font-size: 12.5px; }

.hire-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; max-width: 680px; }
.hire-path {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px; border: 1px solid var(--border-accent); border-radius: 10px;
    background: var(--bg-card);
    transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .35s;
}
.hire-path:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 12px 40px var(--accent-glow); }
.hire-path-icon {
    width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 8px; background: var(--gradient); color: var(--on-accent); font-size: 16px;
}
.hire-path-text { flex: 1; min-width: 0; }
.hire-path-text small { display: block; font-size: 10.5px; letter-spacing: 1.5px; color: var(--text-dim); }
.hire-path-text strong { font-size: 15px; }
.hire-path-arrow { color: var(--text-dim); transition: transform .3s var(--ease), color .3s; }
.hire-path:hover .hire-path-arrow { transform: translateX(5px); color: var(--accent); }

.hero-location { display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* =========================================================
   SERVICES / HIRE ME
   ========================================================= */
.hire-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.hire-tab {
    display: flex; align-items: center; gap: 18px; text-align: left;
    padding: 18px 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-surface);
    font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: .5px;
    color: var(--text-muted); transition: all .3s var(--ease);
}
.hire-tab i { font-size: 24px; color: var(--text-dim); transition: color .3s; }
.hire-tab small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 1.8px; color: var(--text-dim); margin-bottom: 2px; }
.hire-tab:hover { border-color: var(--border-accent); color: var(--text-main); }
.hire-tab.active { border-color: var(--accent); color: var(--text-main); background: var(--accent-soft); box-shadow: 0 8px 24px var(--accent-glow); }
.hire-tab.active i { color: var(--accent); }

.hire-panel { display: none; }
.hire-panel.active { display: block; animation: fadeIn .5s var(--ease); }

.sub-label { font-size: 12px; letter-spacing: 2px; color: var(--text-dim); margin: 36px 0 16px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-accent); }
.service-icon {
    width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
    border: 1px solid var(--border-accent); border-radius: 10px; background: var(--accent-soft);
    color: var(--accent); font-size: 19px;
}
.service-card h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .3px; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.service-card .tags { margin: auto 0 0; gap: 8px; }
.service-card .tag { font-size: 11.5px; padding: 5px 10px; }

.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    transition: transform .4s var(--ease), border-color .3s;
}
.engage-card:hover { transform: translateY(-6px); border-color: var(--border-accent); }
.engage-card.popular { border-color: var(--accent); box-shadow: 0 12px 30px var(--accent-glow); }
.popular-badge {
    position: absolute; top: -12px; right: 24px; padding: 5px 12px; border-radius: 3px;
    background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
}
.engage-top { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 16px; }
.engage-top span { font-size: 12px; letter-spacing: 1.8px; color: var(--text-dim); }
.engage-card h4 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.engage-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.engage-card ul { list-style: none; border-top: 1px solid var(--border); padding-top: 16px; }
.engage-card li { position: relative; padding-left: 24px; margin-bottom: 6px; font-size: 14px; color: var(--text-muted); }
.engage-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.process-step { padding: 20px 18px; border-right: 1px solid var(--border); position: relative; transition: background .3s; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--accent-soft); }
.process-step span { display: block; font-size: 13px; color: var(--accent); margin-bottom: 12px; letter-spacing: 1.5px; }
.process-step h5 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.process-step p { color: var(--text-muted); font-size: 13.5px; }

.hire-cta {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
    margin-top: 32px; padding: 26px 30px; border-radius: var(--radius);
    border: 1px solid var(--border-accent);
    background: linear-gradient(120deg, rgba(79, 70, 229, .1), rgba(14, 165, 233, .06) 70%);
}
.hire-cta h4 { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); margin-bottom: 4px; }
.hire-cta p { color: var(--text-muted); }
.hire-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.job-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.bring-list { display: grid; gap: 16px; }
.bring-item {
    display: flex; gap: 16px; padding: 20px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.bring-item:hover { border-color: var(--border-accent); transform: translateX(6px); }
.bring-item > i {
    width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-size: 19px;
}
.bring-item h5 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.bring-item p { color: var(--text-muted); font-size: 14px; }

.job-card { background: var(--bg-card); border: 1px solid var(--border-accent); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 12px 30px var(--accent-soft); }
.pref-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.pref-row span { font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); padding-top: 2px; }
.pref-row strong { font-size: 14.5px; font-weight: 500; }
.job-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   SKILLS
   ========================================================= */
.skills-slider {
    display: flex; flex-direction: column; gap: 16px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.skill-lane { overflow: hidden; padding: 6px 0 10px; }
.skill-track { display: flex; gap: 16px; width: max-content; animation: skillSlide 50s linear infinite; }
.skill-lane.reverse .skill-track { animation-direction: reverse; }
.skill-lane:hover .skill-track, .skill-lane:focus-within .skill-track { animation-play-state: paused; }
@keyframes skillSlide { to { transform: translateX(calc(-50% - 8px)); } }

.skill-card {
    flex: 0 0 auto; display: flex; align-items: center; gap: 14px;
    min-width: 250px; padding: 14px 18px 14px 14px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-sm); cursor: pointer;
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.skill-card:hover, .skill-card:focus-visible {
    transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-lg); outline: none;
}
.skill-card-icon {
    position: relative; width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 12px; font-size: 24px; overflow: hidden;
}
.skill-card-icon::before {
    content: ""; position: absolute; inset: 0; background: var(--skill); opacity: .12;
}
.skill-card-icon i { position: relative; }
.skill-card-body { min-width: 0; }
.skill-card-cat { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); }
.skill-card-body strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; margin: 2px 0 6px; white-space: nowrap; }
.skill-card-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); white-space: nowrap; }
.skill-card-meta .skill-badge { font-family: var(--font-sans); font-size: 10.5px; padding: 3px 9px; }

.skill-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.skill-legend-hint { font-size: 11px; letter-spacing: 1px; color: var(--text-dim); margin-left: 8px; }

@media (prefers-reduced-motion: reduce) {
    .skill-track { animation: none; }
    .skill-lane { overflow-x: auto; }
}

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; }
.filter-label { font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); margin-right: 6px; }
.filter-btn {
    padding: 9px 16px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-surface);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-muted);
    transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--text-main); border-color: var(--border-accent); }
.filter-btn.active { color: var(--on-accent); border-color: var(--accent); box-shadow: 0 6px 18px var(--accent-glow); background: var(--accent); }
.filter-btn .count { color: inherit; opacity: .7; margin-left: 4px; }

@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.skill-badge {
    flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: .3px; line-height: 1.4; white-space: nowrap;
}
.skill-badge--expert     { background: rgba(79,70,229,.1);  color: #4338ca; }
.skill-badge--advanced   { background: rgba(14,165,233,.12); color: #0369a1; }
.skill-badge--proficient { background: rgba(22,163,74,.1);  color: #15803d; }
.skill-badge--familiar   { background: #f1f5f9;             color: #475569; }

.skill-icon {
    width: 54px; height: 54px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated);
    font-size: 28px; color: var(--text-main);
}
.skill-level-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 14px; margin-bottom: 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-input);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.2px; color: var(--text-dim);
}
.skill-level-row .skill-badge { font-family: var(--font-sans); letter-spacing: .3px; }
/* =========================================================
   PROJECTS
   ========================================================= */
.projects-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card {
    position: relative; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(22px, 2.6vw, 36px);
    display: flex; flex-direction: column;
    transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
    animation: cardIn .6s var(--ease) both;
}
.project-card.featured,
.project-card.featured ~ .project-card:last-child:nth-child(even) { grid-column: 1 / -1; }
.project-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-lg); }
.project-card::after {
    content: attr(data-num); position: absolute; right: 24px; top: 6px;
    font-family: var(--font-display); font-size: 90px; font-weight: 700; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(79, 70, 229, .1); pointer-events: none;
}
.project-cat { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 12px; }
.project-title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin-bottom: 12px; max-width: 900px; }
.project-desc { font-size: 15px; color: var(--text-muted); max-width: 820px; margin-bottom: 22px; }

.project-dash { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-deep); padding: 20px 24px; margin-bottom: 22px; }
.dash-head {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.2px;
}
.dash-head span:first-child { display: flex; align-items: center; gap: 10px; }
.dash-head span:last-child { color: var(--text-dim); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dash-stats small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 4px; }
.dash-stats strong { font-family: var(--font-mono); font-size: clamp(17px, 1.5vw, 20px); }
.dash-stats strong.good { color: var(--green); }

.project-highlight {
    display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
    padding: 9px 14px; margin-bottom: 20px;
    border: 1px dashed var(--border-accent); border-radius: 4px; background: var(--accent-soft);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--accent);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
    padding: 5px 11px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-elevated);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .5px; color: var(--text-muted);
}
.project-link {
    margin-top: auto; align-self: flex-start;
    font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    border-bottom: 1px solid var(--border-accent); padding-bottom: 4px; transition: color .25s, border-color .25s;
}
.project-link:hover { color: var(--accent); border-color: var(--accent); }

.project-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; position: relative; z-index: 1; }
.project-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-radius: 30px;
    background: var(--gradient); color: var(--on-accent);
    font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    box-shadow: 0 6px 16px var(--accent-glow);
}
.project-badge i { font-size: 11px; }
.project-role { font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); }
.project-card::before {
    content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.project-card.featured { border-color: var(--border-accent); box-shadow: 0 16px 40px var(--accent-soft); }

.featured-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 26px; }
.featured-label { font-size: 12px; letter-spacing: 2px; color: var(--accent); }
.featured-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.featured-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-card);
    font-size: 13px; font-weight: 500; color: var(--text-main);
    transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.featured-chip i { color: var(--accent); font-size: 13px; }
.featured-chip:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

.education { margin-top: clamp(44px, 5vw, 70px); }
.edu-list { display: grid; gap: 18px; margin-top: 30px; }
.edu-card {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
    padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card);
    transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.edu-card:hover { border-color: var(--border-accent); transform: translateX(6px); }
.edu-icon {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
    background: var(--gradient); color: var(--on-accent); font-size: 20px; box-shadow: 0 8px 20px var(--accent-glow);
}
.edu-degree { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; }

.project-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.project-actions .project-link { margin-top: 0; }
.project-modules {
    font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; color: var(--text-dim);
    transition: color .25s;
}
.project-modules:hover { color: var(--accent); }

/* ---------- Sub-projects ---------- */
.sub-projects { margin-top: clamp(44px, 5vw, 70px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--border); }
.sub-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.sub-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.sub-desc { color: var(--text-muted); font-size: 15px; }

.module-explorer { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }

.module-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--nav-height) + 20px); }
.module-tab {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card);
    color: var(--text-main); box-shadow: var(--shadow-sm);
    transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s;
}
.module-tab:hover { border-color: var(--border-accent); transform: translateX(3px); }
.module-tab-icon {
    width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 15px;
    transition: background .25s, color .25s;
}
.module-tab-text { flex: 1; min-width: 0; }
.module-tab-text strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.module-tab-text small { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.module-tab-count {
    min-width: 28px; padding: 3px 8px; border-radius: 999px; text-align: center;
    font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); background: var(--bg-elevated);
}
.module-tab.active {
    border-color: var(--accent); background: linear-gradient(120deg, rgba(79, 70, 229, .08), rgba(14, 165, 233, .05));
    box-shadow: 0 10px 24px rgba(79, 70, 229, .12);
}
.module-tab.active .module-tab-icon { background: var(--gradient); color: var(--on-accent); }
.module-tab.active .module-tab-count { background: var(--accent); color: var(--on-accent); }

.module-panel {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.module-panel-top {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(79, 70, 229, .06), rgba(14, 165, 233, .03) 70%, transparent);
}
.module-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 26px 18px; }
.module-panel-label { display: block; font-size: 10.5px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 8px; }
.module-panel-head h4 { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .4px; line-height: 1.15; margin-bottom: 8px; }
.module-panel-head p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 620px; }
.module-panel-count { flex-shrink: 0; text-align: center; padding: 10px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); }
.module-panel-count strong {
    display: block; font-family: var(--font-display); font-size: 32px; line-height: 1;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.module-panel-count span { font-size: 10px; letter-spacing: 1.5px; color: var(--text-dim); }

.module-stack { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 26px 20px; }
.module-stack span {
    padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card);
    font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}

.module-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.module-item {
    display: flex; gap: 14px; padding: 18px 26px;
    border-bottom: 1px solid var(--border);
    animation: cardIn .45s var(--ease) both;
    transition: background .25s;
}
.module-item:nth-child(odd) { border-right: 1px solid var(--border); }
.module-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
.module-item:last-child, .module-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.module-item:hover { background: var(--bg-input); }
.module-num {
    flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: 9px; background: var(--accent-soft);
    font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent);
}
.module-body { min-width: 0; }
.module-body h5 { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.module-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 6px; }
.module-tags { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
    content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--border) 40%, var(--border));
}
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; margin-bottom: 22px; }
.tl-num {
    position: relative; z-index: 1;
    width: 56px; height: 56px; display: grid; place-items: center;
    border: 1px solid var(--border-accent); border-radius: 50%; background: var(--bg-surface);
    font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--accent);
}
.tl-item.current .tl-num { background: var(--gradient); color: var(--on-accent); box-shadow: 0 8px 20px var(--accent-glow); }
.tl-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(20px, 2.4vw, 30px);
    transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.tl-card:hover { border-color: var(--border-accent); transform: translateX(6px); }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.tl-role { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.15; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tl-present {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--green);
    border: 1px solid rgba(22, 163, 74, .35); background: var(--green-soft); padding: 3px 9px; border-radius: 30px;
}
.tl-company { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
.tl-company span { color: var(--text-dim); margin: 0 6px; }
.tl-period { text-align: right; font-family: var(--font-mono); }
.tl-period strong { display: block; font-size: 13px; letter-spacing: 1.2px; }
.tl-period small { font-size: 11.5px; letter-spacing: 1.2px; color: var(--text-dim); }
.tl-highlight { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.2px; color: var(--accent); margin: 8px 0 12px; }
.tl-points { list-style: none; margin-bottom: 18px; }
.tl-points li { position: relative; padding-left: 22px; color: var(--text-muted); margin-bottom: 7px; font-size: 14.5px; }
.tl-points li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }
.tl-tech { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-tech > span:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); margin-right: 4px; }
.tl-tech .tag { font-size: 11px; padding: 4px 10px; }

/* =========================================================
   BENCHMARK
   ========================================================= */
.bench-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bench-head {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    padding: 22px 30px; border-bottom: 1px solid var(--border);
}
.bench-head > span { font-size: 13px; letter-spacing: 2px; color: var(--text-muted); }
.bench-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.bench-tab {
    padding: 10px 16px; border: 1px solid var(--border); border-radius: 4px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-muted);
    transition: all .25s;
}
.bench-tab:hover { color: var(--text-main); }
.bench-tab.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.bench-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bench-item { padding: 26px 24px; border-right: 1px solid var(--border); animation: fadeIn .5s var(--ease) both; }
.bench-item:last-child { border-right: none; }
.bench-value { font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); font-weight: 700; line-height: 1; margin-bottom: 10px; color: var(--accent); }
.bench-value small { font-size: .4em; color: var(--text-dim); margin-left: 4px; }
.bench-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.2px; color: var(--text-main); margin-bottom: 8px; }
.bench-desc { color: var(--text-muted); font-size: 14px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(24px, 3.5vw, 44px); overflow: hidden;
}
.quote-icon { position: absolute; right: 40px; top: 30px; font-size: 90px; color: var(--accent-soft); }
.testimonial-slides { position: relative; min-height: 190px; }
.t-slide { display: none; }
.t-slide.active { display: block; animation: fadeIn .6s var(--ease); }
.t-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 16px; }
.t-quote { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; font-weight: 400; color: var(--text-main); margin-bottom: 24px; max-width: 900px; }
.t-author { display: flex; align-items: center; gap: 16px; }
.t-avatar {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-size: 20px;
}
.t-author strong { display: block; font-size: 17px; }
.t-author small { color: var(--text-dim); font-size: 14px; }
.testimonial-nav { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.t-btn {
    width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%;
    transition: all .25s;
}
.t-btn:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.t-count { font-size: 14px; letter-spacing: 2px; color: var(--text-muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.form-head { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 2px; color: var(--green); margin-bottom: 12px; }
.form-sub { color: var(--text-muted); margin-bottom: 30px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 10px; }
.form-group label small { color: var(--text-dim); letter-spacing: .5px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 16px;
    background: var(--bg-input); border: 1px solid var(--border); border-radius: 4px;
    color: var(--text-main); font-family: var(--font-sans); font-size: 15px;
    transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-group select {
    width: 100%; padding: 13px 44px 13px 16px; appearance: none; -webkit-appearance: none; cursor: pointer;
    background: var(--bg-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center;
    border: 1px solid var(--border); border-radius: 4px;
    color: var(--text-main); font-family: var(--font-sans); font-size: 15px;
    transition: border-color .25s, box-shadow .25s;
}
.form-group select option { background: var(--bg-elevated); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.inquiry-types { display: flex; flex-wrap: wrap; gap: 10px; }
.inquiry-pill { position: relative; cursor: pointer; }
.form-group .inquiry-pill input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.inquiry-pill span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-input);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-muted);
    transition: all .25s;
}
.inquiry-pill:hover span { border-color: var(--border-accent); color: var(--text-main); }
.inquiry-pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text-main); box-shadow: 0 0 16px var(--accent-glow); }
.inquiry-pill input:checked + span i { color: var(--accent); }
.inquiry-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.avail-list { list-style: none; }
.avail-list li { color: var(--text-muted); font-size: 15px; margin-bottom: 6px; }
.avail-list i { color: var(--green); margin-right: 8px; font-size: 13px; }
.form-group.error input, .form-group.error textarea { border-color: #f87171; }
.form-error { display: block; min-height: 18px; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; color: #f87171; }

.info-item { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s var(--ease); }
a.info-item:hover { padding-left: 8px; }
a.info-item:hover strong { color: var(--accent); }
.info-icon {
    width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elevated); color: var(--accent); font-size: 18px;
}
.info-item span.mono { display: block; font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 2px; }
.info-item strong { font-size: 16px; word-break: break-word; transition: color .25s; }
.available-box { margin-top: 26px; padding: 22px; border: 1px solid rgba(34,197,94,.3); background: var(--green-soft); border-radius: 8px; }
.available-box .mono { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 1.5px; color: var(--green); margin-bottom: 8px; }
.available-box p { color: var(--text-muted); font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; letter-spacing: 2px; color: var(--text-muted); }
.footer-status { display: flex; align-items: center; gap: 10px; color: var(--green); }
.back-top:hover { color: var(--accent); }

/* ---------- WhatsApp ---------- */
.whatsapp-btn {
    position: fixed; left: 24px; bottom: 28px; z-index: 80;
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; font-size: 32px;
    box-shadow: 0 0 30px rgba(37, 211, 102, .45);
    transition: transform .3s var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.1) rotate(-8deg); }
.wa-dot { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid var(--bg-dark); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); backdrop-filter: blur(6px); }
.modal-box {
    position: relative; width: 100%; max-width: 760px; max-height: 88vh; overflow-y: auto;
    background: var(--bg-surface); border: 1px solid var(--border-accent); border-radius: var(--radius);
    padding: clamp(28px, 4vw, 48px);
    transform: translateY(30px) scale(.97); transition: transform .45s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-close {
    position: absolute; right: 18px; top: 18px; width: 42px; height: 42px;
    border: 1px solid var(--border); border-radius: 50%; font-size: 18px; transition: all .25s;
}
.modal-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.modal-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 14px; }
.modal-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; margin-bottom: 18px; padding-right: 40px; }
.modal-text { color: var(--text-muted); margin-bottom: 22px; font-size: 16px; }
.modal-sub { font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--accent); margin: 24px 0 12px; }
.modal-list { list-style: none; }
.modal-list li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--text-muted); }
.modal-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.modal-skill-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.modal-skill-head .skill-icon { flex-shrink: 0; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; right: 24px; bottom: 28px; z-index: 300;
    padding: 16px 22px; border-radius: 6px; max-width: 360px;
    background: var(--bg-elevated); border: 1px solid var(--border-accent); color: var(--text-main);
    font-size: 13px; letter-spacing: 1px;
    transform: translateY(120px); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.toast.show { transform: none; opacity: 1; }
.toast.success { border-color: rgba(34,197,94,.5); }
.toast.error { border-color: rgba(248,113,113,.6); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1200px) {
    .menu-btn { display: none; }
}

@media (min-width: 1200px) and (max-width: 1480px) {
    .logo-text { font-size: 21px; letter-spacing: 1.5px; }
    .logo { gap: 10px; }
    .nav-links a { font-size: 12px; letter-spacing: .4px; }
    .nav-links a.nav-highlight { padding: 7px 10px; }
    .nav-actions { gap: 10px; }
    .nav-hire { padding: 0 16px; }
}

@media (max-width: 1199px) {
    .nav-links { display: none; }
}

@media (max-width: 1200px) {
    .process { grid-template-columns: repeat(3, 1fr); }
    .process-step:nth-child(3) { border-right: none; }
    .process-step:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
    .bench-grid { grid-template-columns: repeat(2, 1fr); }
    .bench-item:nth-child(2) { border-right: none; }
    .bench-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: clamp(40px, 9vw, 72px); }
    .hero-right { max-width: 720px; }
    .code-window { transform: none; }
    .projects-list { grid-template-columns: 1fr; }
    .sub-head { grid-template-columns: 1fr; gap: 16px; }
    .module-explorer { grid-template-columns: 1fr; gap: 16px; }
    .module-tabs {
        position: static; flex-direction: row; overflow-x: auto; padding: 2px 2px 8px;
        scrollbar-width: none;
    }
    .module-tabs::-webkit-scrollbar { display: none; }
    .module-tab { width: auto; flex-shrink: 0; }
    .module-tab:hover { transform: translateY(-2px); }
    .services-grid, .engage-grid { grid-template-columns: repeat(2, 1fr); }
    .engage-grid .engage-card:last-child { grid-column: 1 / -1; }
    .job-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 680px) {
    :root { --nav-height: 68px; }
    .module-list { grid-template-columns: 1fr; }
    .module-item { padding: 16px 18px; }
    .module-item:nth-child(odd) { border-right: none; }
    .module-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--border); }
    .module-panel-head { padding: 20px 18px 14px; gap: 14px; }
    .module-panel-head h4 { font-size: 22px; }
    .module-panel-count { padding: 8px 12px; }
    .module-panel-count strong { font-size: 26px; }
    .module-stack { padding: 0 18px 16px; }
    .logo-text { font-size: 21px; }
    .logo-box { width: 36px; height: 36px; font-size: 13px; }
    .menu-btn { width: 46px; height: 44px; }
    .section-label { font-size: 12px; letter-spacing: 1.5px; }
    .status-badge { font-size: 12px; }
    .hero { padding-top: calc(var(--nav-height) + 40px); }
    .hero-buttons .btn { flex: 1 1 100%; }
    .nav-hire { display: none; }
    .edu-card { grid-template-columns: 1fr; gap: 14px; }
    .edu-icon { width: 52px; height: 52px; font-size: 20px; }
    .hire-paths, .hire-tabs, .form-row { grid-template-columns: 1fr; }
    .hire-tab { padding: 18px 20px; }
    .services-grid, .engage-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; }
    .process-step { border-right: none !important; border-bottom: 1px solid var(--border); }
    .process-step:last-child { border-bottom: none; }
    .pref-row { grid-template-columns: 1fr; gap: 4px; }
    .hire-cta { padding: 26px 22px; }
    .hire-cta-actions .btn, .job-actions .btn { flex: 1 1 100%; }
    .hero-stats { margin-top: 50px; }
    .stat { padding: 22px 18px; }
    .code-body { font-size: 12px; min-height: 0; }
    .hero-info-grid { grid-template-columns: 1fr; }
    .hero-info-grid > div { border-right: none; border-bottom: 1px solid var(--border); }
    .hero-info-grid > div:last-child { border-bottom: none; }
    .dash-stats { grid-template-columns: 1fr; }
    .project-card::after { font-size: 80px; }
    .timeline::before { left: 21px; }
    .tl-item { grid-template-columns: 44px 1fr; gap: 16px; }
    .tl-num { width: 44px; height: 44px; font-size: 13px; }
    .tl-period { text-align: left; }
    .bench-grid { grid-template-columns: 1fr; }
    .bench-item { border-right: none !important; border-bottom: 1px solid var(--border); }
    .bench-item:last-child { border-bottom: none; }
    .whatsapp-btn { width: 56px; height: 56px; font-size: 28px; left: 16px; bottom: 18px; }
    .toast { left: 16px; right: 16px; max-width: none; }
    .skills-slider { gap: 10px; }
    .skill-card { min-width: 220px; padding: 12px 14px 12px 12px; gap: 12px; }
    .skill-card-icon { width: 42px; height: 42px; font-size: 20px; }
    .skill-card-body strong { font-size: 14px; }
    .skill-legend-hint { width: 100%; text-align: center; margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
