/* =========================================================
   Annadata — Digital Marketing Portfolio
   style.css
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #f7f8fc;
  --bg-alt: #eef1f8;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --brand: #6366f1;
  --brand-2: #06b6d4;
  --brand-3: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --danger: #ef4444;

  --grad: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.12), rgba(6,182,212,.12));

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .28);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --container: 1140px;
  --nav-h: 72px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', var(--font-sans);
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="dark"] {
  --bg: #0b1020;
  --bg-alt: #0e1426;
  --surface: #121a30;
  --surface-2: #161f3a;
  --text: #e8edf7;
  --text-soft: #b4c0d6;
  --text-mute: #8595b3;
  --border: #223052;
  --border-strong: #2d3f69;

  --glass-bg: rgba(18, 26, 48, 0.66);
  --glass-border: rgba(99, 102, 241, 0.22);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, .7);
}

/* Respect OS preference if user hasn't chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020;
    --bg-alt: #0e1426;
    --surface: #121a30;
    --surface-2: #161f3a;
    --text: #e8edf7;
    --text-soft: #b4c0d6;
    --text-mute: #8595b3;
    --border: #223052;
    --border-strong: #2d3f69;
    --glass-bg: rgba(18, 26, 48, 0.66);
    --glass-border: rgba(99, 102, 241, 0.22);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, .7);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; font-size: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { transition: transform .25s var(--ease); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(99,102,241,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(99,102,241,.8); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 1200; transition: width .1s linear;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .85rem; font-weight: 800; letter-spacing: .5px;
  box-shadow: 0 8px 18px -8px rgba(99,102,241,.8);
}
.brand-dot { color: var(--brand-2); }

.main-nav ul { display: flex; gap: 4px; }
.nav-link {
  position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem;
  color: var(--text-soft); transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--brand); background: var(--grad-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-soft);
  transition: transform .25s var(--ease), color .25s, border-color .25s;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: rotate(15deg); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: .8rem; letter-spacing: 1px;
  color: var(--brand); background: var(--grad-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; }
.section-intro { margin-top: 16px; color: var(--text-soft); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #6366f1, transparent 70%); top: -120px; right: -80px; animation: float1 14s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, #06b6d4, transparent 70%); bottom: -140px; left: -90px; animation: float2 16s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 54px 54px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
@keyframes float1 { 50% { transform: translate(-30px, 40px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(40px, -30px) scale(1.05); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); padding: 7px 15px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

.hero-title { font-family: var(--font-display); font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.type-target { color: var(--brand); border-right: 3px solid var(--brand-2); padding-right: 3px; }
.hero-sub { margin-top: 22px; font-size: 1.15rem; color: var(--text-soft); max-width: 560px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-socials { margin-top: 30px; display: flex; gap: 12px; }
.social-link { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); transition: transform .25s var(--ease), color .25s, border-color .25s; }
.social-link:hover { transform: translateY(-3px); color: var(--brand); border-color: var(--brand); }

/* Hero visual */
.hero-visual { position: relative; }
.dashboard-card { border-radius: var(--radius-lg); padding: 20px; }
.dash-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.dash-dots span:nth-child(1){ background:#ef4444;} .dash-dots span:nth-child(2){ background:#f59e0b;} .dash-dots span:nth-child(3){ background:#10b981;}
.dash-title { font-family: var(--font-mono); font-size: .8rem; color: var(--text-mute); }
.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.kpi { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: var(--radius-sm); background: var(--grad-soft); }
.kpi-label { font-size: .72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .5px; }
.kpi-value { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.kpi-delta { font-size: .72rem; font-weight: 600; }
.kpi-delta.up { color: var(--success); } .kpi-delta.down { color: var(--danger); }
.dash-chart { display: flex; align-items: flex-end; gap: 9px; height: 120px; padding-top: 10px; }
.dash-chart .bar { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 0 0; opacity: .9; transform-origin: bottom; animation: growBar 1s var(--ease) both; }
.dash-chart .bar:nth-child(odd){ opacity: .65; }
@keyframes growBar { from { transform: scaleY(0); } }

.floating-chip { position: absolute; font-family: var(--font-mono); font-size: .78rem; padding: 10px 14px; border-radius: 12px; color: var(--brand); font-weight: 500; }
.chip-1 { top: -18px; left: -24px; animation: bob 5s ease-in-out infinite; }
.chip-2 { bottom: -18px; right: -14px; animation: bob 6s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; z-index: 1; }
.scroll-cue span { width: 5px; height: 9px; border-radius: 3px; background: var(--brand); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0; transform:translateY(0);} 40%{opacity:1;} 80%{opacity:0; transform:translateY(12px);} }

.hide-mobile { display: inline; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--surface); border-block: 1px solid var(--border); padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.trust-item { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-label { font-size: .9rem; color: var(--text-mute); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.avatar-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); position: relative; }
.avatar-frame::after { content:""; position:absolute; inset:0; background: var(--grad-soft); pointer-events:none; }
.avatar-svg { width: 100%; height: auto; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge { font-size: .85rem; font-weight: 500; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; }
.about-body .lead { font-size: 1.22rem; color: var(--text); font-weight: 500; margin-bottom: 16px; }
.about-body p { color: var(--text-soft); margin-bottom: 14px; }
.about-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 24px; }
.about-facts li { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.about-facts span { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-mute); font-weight: 600; margin-bottom: 2px; }

/* ---------- Skills ---------- */
.skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.skills-subtitle { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 18px; color: var(--text); }
.skill-bar { margin-bottom: 20px; }
.skill-bar-top { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 600; margin-bottom: 8px; }
.skill-bar-top span:last-child { color: var(--brand); font-family: var(--font-mono); }
.meter { height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width 1.2s var(--ease); }
.meter.animate i { width: var(--v); }
.skill-cards { display: flex; flex-direction: column; gap: 24px; }
.skill-card { border-radius: var(--radius); padding: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-tag { font-size: .86rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--grad-soft); color: var(--brand); border: 1px solid var(--glass-border); transition: transform .2s var(--ease); }
.chip-tag:hover { transform: translateY(-2px); }
.strength-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text-soft); font-weight: 500; }
.strength-list svg { color: var(--success); flex-shrink: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-left: 10px; padding-left: 34px; }
.timeline::before { content:""; position:absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2)); opacity: .4; }
.tl-item { position: relative; margin-bottom: 26px; }
.tl-marker { position: absolute; left: -34px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); border: 3px solid var(--bg); box-shadow: 0 0 0 3px var(--glass-border); }
.section-alt .tl-marker { border-color: var(--bg-alt); }
.tl-card { border-radius: var(--radius); padding: 24px 26px; }
.tl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tl-top h3 { font-family: var(--font-display); font-size: 1.18rem; }
.tl-date { font-family: var(--font-mono); font-size: .8rem; color: var(--brand); background: var(--grad-soft); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.tl-company { display: block; color: var(--text-mute); font-weight: 600; font-size: .92rem; margin: 4px 0 12px; }
.tl-card ul { display: flex; flex-direction: column; gap: 7px; }
.tl-card li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: .96rem; }
.tl-card li::before { content:"▹"; position:absolute; left:0; color: var(--brand-2); }

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.edu-card { border-radius: var(--radius); padding: 26px; }
.edu-title { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 12px; }
.edu-main { font-weight: 600; }
.edu-meta { color: var(--text-mute); font-size: .9rem; margin-top: 2px; }
.cert-list li { position: relative; padding-left: 20px; color: var(--text-soft); margin-bottom: 6px; }
.cert-list li::before { content:"✓"; position:absolute; left:0; color: var(--success); font-weight: 700; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); transition: color .25s, background .25s, border-color .25s, transform .2s; }
.filter-btn:hover { transform: translateY(-2px); color: var(--brand); }
.filter-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; }

.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.hide { display: none; }
.project-thumb { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; }
.project-thumb svg { width: 100%; height: 100%; }
.thumb-a { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.thumb-b { background: linear-gradient(135deg,#06b6d4,#3b82f6); }
.thumb-c { background: linear-gradient(135deg,#8b5cf6,#ec4899); }
.thumb-d { background: linear-gradient(135deg,#10b981,#06b6d4); }
.thumb-e { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.thumb-f { background: linear-gradient(135deg,#6366f1,#06b6d4); }
.project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.project-tags span { font-family: var(--font-mono); font-size: .72rem; color: var(--brand); background: var(--grad-soft); padding: 3px 9px; border-radius: 6px; }
.project-body h3 { font-family: var(--font-display); font-size: 1.22rem; }
.project-body p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.project-links { display: flex; gap: 16px; margin-top: 6px; }
.project-link { font-weight: 600; font-size: .9rem; color: var(--brand); transition: gap .2s; }
.project-link:hover { text-decoration: underline; }
.project-link.muted { color: var(--text-mute); }

/* ---------- Resume ---------- */
.resume-cta { border-radius: var(--radius-lg); padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background-image: var(--grad-soft); }
.resume-cta-text h3 { font-family: var(--font-display); font-size: 1.4rem; }
.resume-cta-text p { color: var(--text-soft); font-family: var(--font-mono); font-size: .9rem; margin-top: 4px; }
.resume-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.resume-highlights { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 28px; }
.rh-card { border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.rh-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rh-card p { color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 15px; padding: 18px 20px; border-radius: var(--radius); transition: transform .25s var(--ease); }
a.contact-item:hover { transform: translateX(5px); }
.ci-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; flex-shrink: 0; }
.contact-item span:last-child { display: flex; flex-direction: column; color: var(--text-soft); font-size: .92rem; }
.contact-item strong { color: var(--text); font-size: 1rem; }

.contact-form { border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }
.form-note { font-size: .9rem; font-weight: 600; min-height: 1em; }
.form-note.ok { color: var(--success); } .form-note.err { color: var(--danger); }
.form-hint { font-size: .82rem; color: var(--text-mute); }
.form-hint code { font-family: var(--font-mono); background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; color: var(--brand); }
.form-hint a { color: var(--brand); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 48px; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; font-family: var(--font-display); }
.footer-brand span { font-size: .85rem; color: var(--text-mute); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-soft); font-weight: 500; font-size: .92rem; transition: color .2s; }
.footer-nav a:hover { color: var(--brand); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--border); font-weight: 700; font-size: .8rem; color: var(--text-soft); transition: color .2s, border-color .2s, transform .2s; }
.footer-socials a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-mute); font-size: .88rem; }
.to-top { font-weight: 600; font-size: .88rem; color: var(--brand); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); transition: background .2s, transform .2s; }
.to-top:hover { background: var(--grad-soft); transform: translateY(-2px); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .skills-layout { grid-template-columns: 1fr; gap: 28px; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: var(--glass-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .4s var(--ease); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; padding: 16px; gap: 4px; }
  .nav-link { display: block; padding: 13px 16px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .trust-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .edu-grid, .resume-highlights { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hide-mobile { display: none; }
  .resume-cta { flex-direction: column; align-items: flex-start; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .floating-chip { display: none; }
  .brand-text { font-size: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .scroll-progress, .scroll-cue, .nav-toggle, .theme-toggle, .floating-chip, .to-top { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================
   Additions — dual positioning (Data + Web + Marketing)
   ========================================================= */

/* ---------- Nav fit (8 items) ---------- */
@media (min-width: 821px) {
  .main-nav ul { gap: 2px; }
  .nav-link { padding: 9px 11px; font-size: .9rem; }
}

/* ---------- Hero role line ---------- */
.hero-role {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .9rem; font-weight: 500; letter-spacing: .3px;
  color: var(--brand); margin-bottom: 14px;
}
.hero-role span { color: var(--text-mute); }
.hero-title-sub { font-size: .78em; color: var(--text-soft); font-weight: 700; }
.dash-note { margin-top: 12px; font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute); text-align: center; }

/* ---------- Service pillars band (replaces fake stats) ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { display: flex; align-items: center; gap: 14px; padding: 6px 4px; }
.pillar-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; background: var(--grad-soft); flex-shrink: 0; }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.pillar span { color: var(--text-mute); font-size: .88rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.service-cat { border-radius: var(--radius-lg); padding: 28px 26px; height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.service-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--grad); }
.service-head h3 { font-family: var(--font-display); font-size: 1.22rem; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li { position: relative; padding-left: 26px; color: var(--text-soft); font-weight: 500; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 5px;
  background: var(--grad-soft); border: 1.5px solid var(--brand);
}
.service-list li::after { content: "✓"; position: absolute; left: 2px; top: 1px; font-size: .72rem; color: var(--brand); font-weight: 800; }
.services-cta { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.services-cta p { color: var(--text-soft); font-size: 1.02rem; }

/* ---------- Project badge + button sizing in cards ---------- */
.project-thumb { overflow: hidden; }
.project-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .3px;
  background: rgba(15, 23, 42, .62); color: #fff;
  padding: 5px 11px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
}
.project-links .btn { flex: 1; justify-content: center; }
.project-links { gap: 10px; }

/* ---------- Big buttons ---------- */
.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* ---------- Skills & Tools grid (no proficiency bars) ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.skills-grid .skill-card { height: 100%; }
.skills-grid .skills-subtitle { display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .skills-grid { grid-template-columns: 1fr; } }

/* ---------- Hire / client section ---------- */
.hire-inner {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: center;
  background: var(--grad-soft); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 44px 46px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hire-inner::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.25), transparent 70%);
  top: -140px; right: -100px; pointer-events: none;
}
.hire-content { position: relative; z-index: 1; }
.hire-text { color: var(--text-soft); font-size: 1.1rem; margin: 14px 0 22px; max-width: 540px; }
.hire-services { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.hire-chip { font-size: .86rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.hire-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hire-points { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.hire-points li { display: flex; align-items: flex-start; gap: 11px; color: var(--text-soft); font-weight: 500; font-size: .95rem; }
.hire-points li span { font-size: 1.1rem; line-height: 1.3; }

/* ---------- Placeholder tags ---------- */
.placeholder-tag {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  color: var(--accent); background: rgba(6,182,212,.12); border: 1px dashed var(--accent);
  padding: 2px 7px; border-radius: 6px; vertical-align: middle; margin-left: 6px;
}
.contact-item .ph { font-style: normal; font-size: .76rem; color: var(--text-mute); }

/* ---------- Form select ---------- */
.field select {
  padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1rem; cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.field select.invalid { border-color: var(--danger); }

/* ---------- Responsive additions ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .hire-inner { grid-template-columns: 1fr; gap: 30px; padding: 36px 30px; }
}
@media (max-width: 820px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 18px; }
  .pillar { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .project-links { flex-direction: column; }
  .hire-actions .btn, .services-cta .btn { width: 100%; justify-content: center; }
  .hire-inner { padding: 30px 22px; }
}

/* =========================================================
   PREMIUM ENHANCEMENT LAYER
   Elegant dark, subtle motion & micro-interactions.
   Additive only — no content or behavior removed.
   ========================================================= */

/* ---- Deeper, atmospheric background ---- */
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 100% -6%, rgba(99,102,241,.12), transparent 60%),
    radial-gradient(760px 460px at -6% 16%, rgba(6,182,212,.09), transparent 60%),
    radial-gradient(700px 500px at 50% 112%, rgba(139,92,246,.08), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(135% 90% at 50% -5%, transparent 55%, rgba(2,6,20,.45) 100%);
  opacity: 0; transition: opacity .5s;
}
:root[data-theme="dark"] body::after { opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { opacity: 1; } }

/* ---- Typography polish ---- */
.section-title { letter-spacing: -.03em; }
.hero-title { letter-spacing: -.035em; }
.hero-sub, .lead { text-wrap: balance; }
.section-intro { text-wrap: pretty; }

/* ---- Animated gradient brand text ---- */
.gradient-text {
  background-image: linear-gradient(100deg, #818cf8 0%, #22d3ee 45%, #a78bfa 72%, #818cf8 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: adShimmer 9s linear infinite;
}
@keyframes adShimmer { to { background-position: 220% center; } }

/* ---- Glow accents ---- */
.brand-mark { box-shadow: 0 8px 22px -8px rgba(99,102,241,.9), inset 0 0 0 1px rgba(255,255,255,.08); }
.section-kicker { box-shadow: inset 0 0 0 1px rgba(99,102,241,.2); }
.service-icon, .ci-icon { box-shadow: 0 10px 24px -12px rgba(99,102,241,.9); }

/* ---- Header refinement ---- */
.site-header.scrolled { box-shadow: 0 1px 0 0 var(--border), 0 8px 30px -18px rgba(2,6,20,.6); }
.nav-link { transition: color .25s, background .25s, box-shadow .25s; }
.nav-link.active { box-shadow: inset 0 0 0 1px rgba(99,102,241,.28), 0 8px 18px -12px rgba(99,102,241,.9); }

/* ---- Premium buttons: sheen sweep + ghost gradient border ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0 auto 0 -130%; width: 55%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease); z-index: 2;
}
.btn-primary:hover::after { left: 150%; }
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; opacity: 0;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s; z-index: 1;
}
.btn-ghost:hover::before { opacity: 1; }

/* ---- Interactive cards: gradient-glow border + cursor spotlight ---- */
.service-cat, .project-card, .skill-card { position: relative; isolation: isolate; }
.service-cat::after, .project-card::after, .skill-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0;
  background: linear-gradient(135deg, rgba(129,140,248,.75), rgba(34,211,238,.65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .4s var(--ease); pointer-events: none; z-index: 3;
}
.service-cat:hover::after, .project-card:hover::after, .skill-card:hover::after { opacity: 1; }
.service-cat::before, .project-card::before, .skill-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(99,102,241,.16), transparent 42%);
  transition: opacity .45s var(--ease); pointer-events: none; z-index: 0;
}
.service-cat:hover::before, .project-card:hover::before, .skill-card:hover::before { opacity: 1; }
.service-cat > *, .project-card > *, .skill-card > * { position: relative; z-index: 1; }
.skill-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---- Project thumb: zoom + fade overlay ---- */
.project-thumb svg { transition: transform .6s var(--ease); }
.project-card:hover .project-thumb svg { transform: scale(1.06); }
.project-thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(2,6,20,.4), transparent 55%);
  opacity: .5; transition: opacity .4s;
}
.project-card:hover .project-thumb::after { opacity: .15; }

/* ---- Pillars: lifted cards instead of a flat strip ---- */
.pillar { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 16px 34px -22px rgba(99,102,241,.8); }

/* ---- Hero visual halo + card depth ---- */
.hero-visual::before {
  content: ""; position: absolute; inset: -26px; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 62% 34%, rgba(99,102,241,.38), transparent 70%);
  filter: blur(34px); opacity: .7;
}
.dashboard-card { box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.05); }
.floating-chip { box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.05); }

/* ---- Contact: premium feel ---- */
.contact-item.glass { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.contact-item.glass:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 16px 34px -22px rgba(99,102,241,.8); }
.contact-form { position: relative; overflow: hidden; }
.contact-form::before {
  content: ""; position: absolute; top: -60%; right: -30%; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.18), transparent 70%); pointer-events: none;
}

/* ---- Premium footer ---- */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.6), rgba(6,182,212,.6), transparent);
}
.footer-socials a { transition: transform .25s var(--ease), color .25s, border-color .25s, box-shadow .25s; }
.footer-socials a:hover { box-shadow: 0 8px 20px -10px rgba(99,102,241,.9); }

/* ---- Section rhythm: subtle divider glow between alternating sections ---- */
.section-alt { position: relative; }
.section-alt::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ---- Reveal refinement (slight scale-in) ---- */
[data-reveal] { transform: translateY(28px) scale(.985); }
[data-reveal].in { transform: none; }

/* ---- Mobile polish ---- */
@media (max-width: 820px) {
  .section { padding: 68px 0; }
  .hero-visual::before { inset: -10px; filter: blur(26px); }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .dashboard-card { padding: 16px; }
  .contact-form::before { display: none; }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .gradient-text { animation: none; }
  .btn-primary::after { display: none; }
  .project-card:hover .project-thumb svg { transform: none; }
  [data-reveal] { transform: none; }
}

/* ---- Hero landing-page mock (replaces data dashboard) ---- */
.lp-mock { display: flex; flex-direction: column; gap: 11px; padding: 20px 6px 8px; }
.lp-badge { align-self: flex-start; font-size: .72rem; font-weight: 600; color: var(--brand); background: var(--grad-soft); padding: 5px 12px; border-radius: 999px; }
.lp-headline { height: 20px; width: 82%; border-radius: 7px; background: var(--grad); opacity: .92; }
.lp-line { height: 11px; width: 100%; border-radius: 6px; background: var(--border-strong); opacity: .7; }
.lp-line.short { width: 58%; }
.lp-cta { align-self: flex-start; margin-top: 6px; font-size: .85rem; font-weight: 700; color: #fff; background: var(--grad); padding: 11px 20px; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(99,102,241,.8); }
.lp-form { display: flex; gap: 10px; margin-top: 10px; }
.lp-input { flex: 1; height: 40px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); }
.lp-btn { flex: 0 0 40%; height: 40px; border-radius: 9px; background: var(--grad-soft); border: 1px solid var(--glass-border); }

/* ---- Project spec list ---- */
.proj-spec { list-style: none; padding: 0; margin: 2px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.proj-spec li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: .88rem; }
.proj-spec li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent, var(--brand)); font-weight: 800; font-size: .8rem; }

/* =========================================================
   CREATIVE PASS — distinct accents, richer surfaces,
   section variety & micro-interactions (design only).
   ========================================================= */

/* ---- Per-service accent system (Landing / Google / Meta distinct) ---- */
.svc-lp     { --accent: #8b5cf6; --accent-grad: linear-gradient(135deg, #7c3aed, #a855f7); }
.svc-google { --accent: #2563eb; --accent-grad: linear-gradient(135deg, #2563eb, #16a34a); }
.svc-meta   { --accent: #0ea5e9; --accent-grad: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.svc-web    { --accent: #6366f1; --accent-grad: linear-gradient(135deg, #6366f1, #8b5cf6); }
.svc-dm     { --accent: #f59e0b; --accent-grad: linear-gradient(135deg, #f59e0b, #fb923c); }

.service-cat { overflow: hidden; }
.service-cat .service-icon { background: var(--accent-grad, var(--grad)); color: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.service-cat:hover .service-icon { transform: translateY(-3px) rotate(-5deg) scale(1.06); box-shadow: 0 14px 30px -12px var(--accent); }
/* accent corner wash unique to each card */
.service-cat .service-head { position: relative; }
.service-cat::after { background: var(--accent-grad, linear-gradient(135deg, rgba(129,140,248,.75), rgba(34,211,238,.65))); }
.service-cat::before { background: radial-gradient(440px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--accent, #6366f1) 20%, transparent), transparent 42%); }
.service-cat .service-list li::before { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.service-cat .service-list li::after { color: var(--accent); }
/* thin accent bar peeking from the top-right corner */
.service-cat .service-head::after {
  content: ""; position: absolute; top: -14px; right: -14px; width: 70px; height: 70px; border-radius: 50%;
  background: var(--accent-grad); opacity: .14; filter: blur(2px);
}

/* ---- Project cards: category accents matched to services ---- */
.project-card[data-cat="landing"]  { --accent: #8b5cf6; }
.project-card[data-cat="google"]   { --accent: #2563eb; }
.project-card[data-cat="facebook"] { --accent: #0ea5e9; }
.project-card::before { background: radial-gradient(440px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--accent, #6366f1) 18%, transparent), transparent 42%); }
.project-card .project-tags span { color: var(--accent, var(--brand)); background: color-mix(in srgb, var(--accent, #6366f1) 13%, transparent); }
.project-card .project-link { color: var(--accent, var(--brand)); }
.project-badge { background: color-mix(in srgb, var(--accent, #0f172a) 34%, rgba(2,6,20,.6)); }
/* colour-coded thumbnails (landing / google / meta) */
.thumb-a { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.thumb-b { background: linear-gradient(135deg, #2563eb, #16a34a); }
.thumb-c { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }

/* ---- Typography accent: gradient underline under section headings ---- */
.section-head .section-title { position: relative; }
.section-head .section-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 18px; border-radius: 4px;
  background: var(--grad); box-shadow: 0 6px 16px -6px rgba(99,102,241,.8);
}

/* ---- Section variety (so sections don't all look identical) ---- */
/* About: soft corner glow */
#about { background:
  radial-gradient(640px 320px at 92% 6%, rgba(99,102,241,.06), transparent 60%),
  radial-gradient(520px 300px at 0% 90%, rgba(6,182,212,.05), transparent 60%); }
/* Services: faint digital dot-grid texture */
#services { background-color: var(--bg-alt);
  background-image: radial-gradient(var(--border) 1.1px, transparent 1.1px);
  background-size: 28px 28px; background-position: center top; }
#services > .container { position: relative; z-index: 1; }
/* Skills: subtle diagonal wash */
#skills { background:
  linear-gradient(160deg, color-mix(in srgb, var(--brand) 4%, transparent), transparent 40%); }
/* Projects: gentle cyan corner wash */
#projects { background-color: var(--bg-alt);
  background-image: radial-gradient(600px 340px at 100% 0%, rgba(6,182,212,.07), transparent 60%); }
/* Contact: dedicated CTA glow zone */
#contact { background-color: var(--bg-alt);
  background-image: radial-gradient(760px 420px at 50% -8%, rgba(99,102,241,.1), transparent 62%); }

/* ---- Nav micro-interaction ---- */
.nav-link { position: relative; }
.nav-link:hover { background: var(--grad-soft); }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.nav-link:hover::after { transform: scaleX(.7); }
.nav-link.active::after { transform: scaleX(0); }

/* ---- Hero: animated CTA pulse on the landing-page mock ---- */
.lp-cta { position: relative; }
.lp-cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255,255,255,.55);
  opacity: 0; animation: ctaPulse 3.4s ease-out infinite;
}
@keyframes ctaPulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.16); opacity: 0; } 100% { opacity: 0; } }
/* hero: a soft animated conic glow behind the mock for depth */
.hero-visual::after {
  content: ""; position: absolute; inset: -40px; z-index: -2; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(99,102,241,.0), rgba(99,102,241,.14), rgba(6,182,212,.12), rgba(99,102,241,0));
  filter: blur(40px); opacity: .6; animation: slowSpin 28s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

/* ---- Contact: premium panel + stronger CTA ---- */
.contact-item.glass:hover .ci-icon { transform: scale(1.08) rotate(-4deg); }
.ci-icon { transition: transform .35s var(--ease); }
.contact-form .btn-block { font-size: 1.02rem; padding: 15px 22px; letter-spacing: .2px; }

/* ---- Footer polish ---- */
.site-footer { background:
  linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--bg) 55%, var(--surface))); }
.footer-brand .brand-mark { width: 44px; height: 44px; font-size: .95rem; }
.to-top { transition: background .25s, transform .25s, box-shadow .25s; }
.to-top:hover { box-shadow: 0 10px 24px -12px rgba(99,102,241,.9); }

/* ---- Pillars: accent icons ---- */
.pillar:nth-child(1) .pillar-icon { background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(168,85,247,.18)); }
.pillar:nth-child(2) .pillar-icon { background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(6,182,212,.18)); }
.pillar:nth-child(3) .pillar-icon { background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(139,92,246,.16)); }

/* ---- Tablet / mobile polish ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  #services { background-size: 24px 24px; }
}
@media (max-width: 560px) {
  .section-head .section-title::after { margin-top: 14px; width: 46px; height: 3px; }
  .hero-visual::after { inset: -16px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .lp-cta::after, .hero-visual::after { animation: none; }
  .service-cat:hover .service-icon { transform: none; }
}

/* ---- Real-campaign screenshot projects ---- */
.project-shot { display: block; padding: 0; overflow: hidden; }
.project-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.project-card:hover .project-shot img { transform: scale(1.05); }
.shot-google img { object-position: 45% center; }
.shot-meta img { object-position: right center; }
.shot-gaming img { object-position: top center; }

.project-badge.badge-real {
  background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff;
  border-color: rgba(255,255,255,.4); box-shadow: 0 6px 16px -6px rgba(16,185,129,.85);
  display: inline-flex; align-items: center; gap: 6px;
}
.project-badge.badge-real::before { content: "●"; font-size: .6em; color: #d1fae5; }

.proj-stats { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.proj-stats li { display: flex; flex-direction: column; line-height: 1.1; }
.proj-stats b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--accent, var(--brand)); letter-spacing: -.01em; }
.proj-stats span { font-size: .66rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-mute); font-weight: 600; margin-top: 1px; }

/* ---- Brand logo image ---- */
.brand-logo { height: 34px; width: auto; display: block; }
.footer-brand .brand-logo { height: 42px; }
@media (max-width: 560px) { .brand-logo { height: 30px; } }

/* ---- Skills: wide working-style card + Telegram project accent ---- */
.skill-card-wide { grid-column: 1 / -1; }
.strength-row { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.strength-row li { padding: 6px 0; }
.project-card[data-cat="telegram"] { --accent: #229ed9; }
.shot-telegram img { object-position: top center; }
@media (max-width: 760px) { .skill-card-wide { grid-column: auto; } .strength-row { gap: 6px 0; } }

/* ---- Content copy protection (deterrent) ---- */
body {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* keep form fields fully usable */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;
}
/* stop images being dragged out */
img { -webkit-user-drag: none; user-select: none; }

/* ---- Glowing picture frames + image lightbox ---- */
.project-shot { cursor: zoom-in; }
.project-shot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow:
    inset 0 0 0 1.5px color-mix(in srgb, var(--accent, #6366f1) 80%, transparent),
    inset 0 0 22px -4px color-mix(in srgb, var(--accent, #6366f1) 60%, transparent);
  transition: box-shadow .35s var(--ease);
}
.project-card:hover .project-shot::before {
  box-shadow:
    inset 0 0 0 2px var(--accent, #6366f1),
    inset 0 0 34px -4px color-mix(in srgb, var(--accent, #6366f1) 82%, transparent);
}

.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 28px;
  background: rgba(2, 6, 20, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } }
.lightbox-img {
  max-width: min(1100px, 94vw); max-height: 88vh; width: auto; height: auto; border-radius: 14px;
  box-shadow: 0 0 0 1.5px rgba(129,140,248,.7), 0 0 46px -4px rgba(99,102,241,.75), 0 30px 80px -20px rgba(0,0,0,.85);
  animation: lbZoom .3s var(--ease);
}
@keyframes lbZoom { from { transform: scale(.92); opacity: .3; } }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 1.9rem; line-height: 1;
  border: 1px solid rgba(255,255,255,.28); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, transform .3s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
body.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .lightbox.open, .lightbox-img { animation: none; } }
