/* =========================================================
   ARSHDEEP SINGH — DIGITAL MARKETER PORTFOLIO
   Design tokens + layout + animation
   ========================================================= */

:root {
  /* Colors */
  --bg: #050816;
  --bg-secondary: #0A1024;
  --blue: #1483FF;
  --cyan: #51D7FF;
  --text: #F5F7FF;
  --text-muted: #95A3BD;
  --border: rgba(148, 173, 219, 0.14);
  --border-strong: rgba(81, 215, 255, 0.35);
  --glass: rgba(255, 255, 255, 0.03);

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1240px;
  --side-pad: 32px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   SHARED
   ========================================================= */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
  display: inline-block;
}

.text-accent {
  color: var(--cyan);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
  display: inline-block;
}

.btn:hover .arrow { transform: translate(3px, -2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04101F;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px -6px rgba(20, 131, 255, 0.55);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(81, 215, 255, 0.06);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 32px; font-size: 16px; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-dot { color: var(--cyan); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(10px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: #04101F;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.header-cta:hover {
  border-color: var(--border-strong);
  background: rgba(81, 215, 255, 0.08);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-shrink: 0;
}

.hamburger span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), border-color 0.45s var(--ease);
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid transparent;
}

.mobile-menu.open {
  max-height: 560px;
  border-top-color: var(--border);
  overflow-y: auto;
}

.mobile-menu ul {
  padding: 18px var(--side-pad) 6px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-cta {
  margin: 18px var(--side-pad) 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04101F;
  font-family: var(--font-display);
  font-weight: 600;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px var(--side-pad) 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(81, 215, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 215, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black, transparent);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.glow-1 {
  width: 560px;
  height: 560px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}

.glow-2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.28;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-heading {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 500px;
  color: var(--text-muted);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 26px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero dashboard visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.dashboard-scene {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 380px;
}

.dash-panel {
  position: absolute;
  border-radius: var(--radius-md);
  background: rgba(10, 16, 36, 0.7);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px -18px rgba(0,0,0,0.6);
}

.main-panel {
  top: 6%;
  left: 4%;
  right: 8%;
  padding: 20px;
  animation: float-y 7s ease-in-out infinite;
}

.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(81,215,255,0.7);
}

.dash-graph { width: 100%; height: 90px; overflow: visible; }

.graph-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(81,215,255,0.6));
}

.graph-fill {
  fill: url(#none);
  fill: rgba(20, 131, 255, 0.14);
  stroke: none;
}

.float-card {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  animation: float-y 6s ease-in-out infinite;
}

.float-card strong { color: var(--cyan); }

.card-seo {
  top: 44%;
  left: -6%;
  animation-delay: -1.5s;
}

.card-ads {
  bottom: 16%;
  right: -6%;
  animation-delay: -3.5s;
}

.card-meta {
  bottom: -4%;
  left: 10%;
  animation-delay: -2s;
  display: flex;
  align-items: center;
}

.float-index {
  display: block;
  color: var(--cyan);
  font-size: 10px;
  margin-bottom: 3px;
  letter-spacing: 0.04em;
}

.dot-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 6px;
  box-shadow: 0 0 8px 2px rgba(81,215,255,0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.network-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.network-lines span {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(81,215,255,0.3), transparent);
  height: 1px;
}

.network-lines span:nth-child(1) { top: 30%; left: 0; width: 60%; }
.network-lines span:nth-child(2) { top: 60%; right: 0; width: 45%; }
.network-lines span:nth-child(3) { bottom: 10%; left: 10%; width: 35%; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
  padding: 18px 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
  will-change: transform;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 18px;
}

.ticker-sep { color: var(--cyan) !important; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 540px;
}

.about-visual { display: flex; justify-content: center; }

.profile-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-secondary);
  overflow: hidden;
}

.profile-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,131,255,0.35), transparent 70%);
  filter: blur(20px);
}

.profile-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.profile-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #04101F;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 30px rgba(20,131,255,0.45);
  flex-shrink: 0;
}

.profile-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

.profile-role {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.profile-location {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.profile-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  font-family: var(--font-display);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* =========================================================
   SKILLS
   ========================================================= */
.skills-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skill-card {
  padding: 24px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--glass);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}

.skill-card:hover {
  border-color: var(--border-strong);
  background: rgba(81, 215, 255, 0.05);
  transform: translateY(-4px);
}

.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(81, 215, 255, 0.08);
  color: var(--cyan);
  font-size: 17px;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.services-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(20,131,255,0.35);
}

.service-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 17.5px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* =========================================================
   PORTFOLIO / PROJECTS
   ========================================================= */
.portfolio {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.project-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(20, 131, 255, 0.35);
}

.project-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.project-visual > * { position: relative; z-index: 1; }

.visual-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}

.visual-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  margin-bottom: auto;
}

.visual-big-type {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
}

.visual-agm {
  background: radial-gradient(circle at 20% 90%, rgba(20,131,255,0.5), transparent 55%), linear-gradient(200deg, #0A1024 0%, #050816 65%);
}

.agm-lines {
  position: absolute;
  right: 22px;
  top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.agm-lines span {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 10px rgba(81,215,255,0.6);
}

.agm-lines span:nth-child(1) { width: 60px; }
.agm-lines span:nth-child(2) { width: 40px; }
.agm-lines span:nth-child(3) { width: 26px; }

.visual-seo {
  background: radial-gradient(circle at 80% 15%, rgba(81,215,255,0.5), transparent 55%), linear-gradient(160deg, #0A1024 0%, #050816 60%);
}

.visual-mini-graph {
  width: 100%;
  height: 64px;
}

.visual-mini-graph polyline {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(81,215,255,0.6));
}

.visual-meta {
  background: radial-gradient(circle at 15% 20%, rgba(20,131,255,0.5), transparent 55%), linear-gradient(200deg, #0A1024 0%, #050816 65%);
}

.ad-card-mini {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-size: 12.5px;
  color: #fff;
  align-self: flex-start;
  margin-top: auto;
}

.ad-mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  box-shadow: 0 0 8px 2px rgba(81,215,255,0.7);
}

.visual-social {
  background: radial-gradient(circle at 75% 85%, rgba(81,215,255,0.45), transparent 55%), linear-gradient(160deg, #0A1024 0%, #050816 60%);
}

.project-info {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-title {
  font-size: 19px;
  margin-bottom: 4px;
}

.project-cat {
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.project-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-services span {
  font-size: 11.5px;
  font-family: var(--font-display);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.project-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cyan);
  transition: gap 0.3s var(--ease);
}

.project-link:hover { gap: 10px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.process-track {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.process-line {
  position: absolute;
  top: 17px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 12%, var(--border-strong) 88%, transparent);
}

.process-step {
  position: relative;
  padding-top: 6px;
}

.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* =========================================================
   TOOLS
   ========================================================= */
.tools {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.tools-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--glass);
  text-align: center;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.tool-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.tool-card span {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 130px 0 100px;
  position: relative;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(20,131,255,0.22), transparent 65%);
  filter: blur(60px);
  z-index: 0;
}

.contact-top { text-align: center; margin-bottom: 56px; }

.contact-heading { margin-bottom: 18px; }

.contact-sub {
  max-width: 500px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 16px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  min-width: 180px;
  text-align: left;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}

.contact-link:not(.contact-link-static):hover {
  border-color: var(--border-strong);
  background: rgba(81,215,255,0.06);
  transform: translateY(-3px);
}

.contact-link-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link-value {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
}

/* Contact form */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  background: rgba(81,215,255,0.04);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-field textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(81, 215, 255, 0.08);
  color: var(--cyan);
  font-size: 13.5px;
  text-align: center;
}

.form-success.visible { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover { color: var(--cyan); }

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.footer-social:hover { color: var(--cyan); }

.back-top {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s var(--ease);
}

.back-top:hover { color: var(--cyan); }

.footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  color: var(--text-muted);
  font-size: 12.5px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root { --side-pad: 26px; }

  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 320px; order: -1; }
  .dashboard-scene { max-width: 340px; height: 320px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }

  .process-track { grid-template-columns: repeat(1, 1fr); gap: 30px; }
  .process-line { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --side-pad: 20px; }

  html { scroll-padding-top: 76px; }

  .header-inner { padding: 14px var(--side-pad); }

  .hero { padding: 120px var(--side-pad) 70px; }
  .hero-heading { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; row-gap: 18px; }

  .dashboard-scene { max-width: 280px; height: 300px; }

  .about, .skills-section, .services, .portfolio, .process, .tools { padding: 80px 0; }
  .contact { padding: 100px 0 60px; }

  .skills-grid, .services-grid, .tools-grid { grid-template-columns: 1fr; }

  .contact-links { flex-direction: column; }
  .contact-link { width: 100%; }
  .contact-form { padding: 24px 18px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
