/* ===== DESIGN TOKENS ===== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #0a0e17;
  --bg2: #0d1320;
  --panel: #111b2b;
  --panel2: #15243a;
  --line: rgba(255, 255, 255, 0.07);
  --line-hover: rgba(116, 168, 255, 0.3);
  --text: #edf3fb;
  --text-secondary: #c4d4e8;
  --muted: #8a9bb5;
  --muted2: #627590;
  --blue: #6ea8ff;
  --cyan: #5ce0d0;
  --violet: #a78bfa;
  --green: #6ee7a0;
  --yellow: #fbbf24;
  --orange: #fb923c;
  --gradient-primary: linear-gradient(135deg, #6ea8ff, #5ce0d0);
  --gradient-accent: linear-gradient(135deg, #a78bfa, #6ea8ff);
  --gradient-warm: linear-gradient(135deg, #fb923c, #fbbf24);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(110, 168, 255, 0.15);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --max: 1280px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 10%, rgba(110, 168, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 45% at 90% 5%, rgba(92, 224, 208, 0.08), transparent),
    radial-gradient(ellipse 55% 40% at 15% 85%, rgba(167, 139, 250, 0.07), transparent),
    radial-gradient(ellipse 40% 35% at 85% 80%, rgba(110, 168, 255, 0.05), transparent);
  animation: bgShift 30s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% {
    opacity: 0.75;
    transform: scale(1);
  }
  33% {
    opacity: 1;
    transform: scale(1.03);
  }
  66% {
    opacity: 0.85;
    transform: scale(1.06);
  }
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
}

/* Subtle grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 224, 208, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(92, 224, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 224, 208, 0);
  }
}
@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.stagger-children .reveal:nth-child(2) {
  transition-delay: 80ms;
}
.stagger-children .reveal:nth-child(3) {
  transition-delay: 160ms;
}
.stagger-children .reveal:nth-child(4) {
  transition-delay: 240ms;
}
.stagger-children .reveal:nth-child(5) {
  transition-delay: 320ms;
}
.stagger-children .reveal:nth-child(6) {
  transition-delay: 400ms;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 23, 0.75);
  border-bottom: 1px solid var(--line);
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(10, 14, 23, 0.92);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 18px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gradient-primary);
  color: var(--bg);
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(110, 168, 255, 0.3);
  transition: transform var(--transition);
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.nav-cta {
  padding: 10px 20px !important;
  border: 1px solid rgba(110, 168, 255, 0.4) !important;
  background: rgba(110, 168, 255, 0.1) !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: rgba(110, 168, 255, 0.2) !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 24px rgba(110, 168, 255, 0.2);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-xs);
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ===== HERO ===== */
.hero {
  padding: 116px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.hero-content {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content .hero-sub,
.hero-content .hero-pain {
  margin-left: auto;
  margin-right: auto;
}
.hero-content .hero-actions,
.hero-content .hero-socials,
.hero-content .hero-pills {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(92, 224, 208, 0.2);
  background: rgba(92, 224, 208, 0.06);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: pulse-ring 2s ease-out infinite;
}

.hero-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(46px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  font-weight: 700;
}
.accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role-line {
  color: var(--text-secondary);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-role-line .typing-text {
  display: inline-block;
  min-width: 250px;
  background: linear-gradient(90deg, #6ea8ff, #5ce0d0, #a78bfa, #6ea8ff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 18px;
  line-height: 1.65;
}
.hero-pain {
  font-size: 15px;
  color: var(--muted2);
  margin-bottom: 28px;
  line-height: 1.6;
  font-style: italic;
}

.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}
.hero-proof-strip span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-confidence {
  color: var(--muted2);
  font-size: 14px;
  line-height: 1.55;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}
.btn:hover::after {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--bg);
  border: none;
  background: var(--gradient-primary);
  box-shadow: 0 8px 32px rgba(110, 168, 255, 0.3);
  font-weight: 800;
}
.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(110, 168, 255, 0.45);
  transform: translateY(-3px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-hover);
}

/* Hero social icon buttons (inline with CTAs) */
.hero-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all var(--transition);
}
.social-icon-btn i,
.social-icon-btn svg {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.social-icon-btn:hover {
  transform: translateY(-2px);
}
.social-icon-btn.linkedin:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.4);
  background: rgba(10, 102, 194, 0.1);
  box-shadow: 0 0 20px rgba(10, 102, 194, 0.2);
}
.social-icon-btn.youtube:hover {
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.4);
  background: rgba(255, 0, 0, 0.08);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.15);
}
.social-icon-btn.github:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-visual-card {
  position: relative;
  min-height: 0;
  border: 1px solid rgba(110, 168, 255, 0.16);
  border-radius: 28px;
  padding: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.8fr) minmax(220px, 0.9fr);
  align-items: stretch;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(17, 27, 43, 0.88), rgba(10, 14, 23, 0.92)),
    linear-gradient(135deg, rgba(110, 168, 255, 0.08), rgba(92, 224, 208, 0.04));
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: slideInRight 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  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;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}
.hero-profile-card,
.platform-blueprint,
.hero-deliverables {
  position: relative;
  z-index: 1;
}
.hero-profile-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.hero-profile-card img {
  width: 142px;
  height: 142px;
  border-radius: 28px;
  object-fit: cover;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(110, 168, 255, 0.07);
}
.hero-profile-card strong,
.hero-profile-card span {
  display: block;
}
.hero-profile-card strong {
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.hero-profile-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.hero-profile-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}
.hero-profile-proof span {
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(92, 224, 208, 0.16);
  background: rgba(92, 224, 208, 0.055);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.platform-blueprint {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  position: relative;
}
.platform-blueprint::before {
  content: "";
  position: absolute;
  inset: 58px 24px 24px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(92, 224, 208, 0.16) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(110, 168, 255, 0.14) 50%, transparent 50.5%);
  pointer-events: none;
}
.blueprint-core,
.blueprint-tile {
  position: relative;
  z-index: 1;
}
.blueprint-core {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid rgba(92, 224, 208, 0.22);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 15% 10%, rgba(92, 224, 208, 0.18), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(167, 139, 250, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(110, 168, 255, 0.12), rgba(10, 14, 23, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.22);
}
.blueprint-core span,
.blueprint-core strong,
.blueprint-core small {
  display: block;
}
.blueprint-core span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blueprint-core strong {
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.blueprint-core small {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}
.blueprint-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10, 14, 23, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.blueprint-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 224, 208, 0.26);
  background: rgba(17, 27, 43, 0.82);
}
.blueprint-tile strong,
.blueprint-tile small {
  display: block;
}
.blueprint-tile strong {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
.blueprint-tile small {
  color: var(--muted2);
  font-size: 11px;
  line-height: 1.25;
}
.blueprint-glyph {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  flex: 0 0 38px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(110, 168, 255, 0.24);
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.18), rgba(92, 224, 208, 0.08)), rgba(255, 255, 255, 0.03);
}
.blueprint-glyph::before,
.blueprint-glyph::after {
  content: "";
  position: absolute;
}
.glyph-strategy::before {
  width: 16px;
  height: 16px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}
.glyph-strategy::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.glyph-api::before {
  width: 22px;
  height: 12px;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}
.glyph-api::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    -10px 0 0 var(--blue),
    10px 0 0 var(--blue);
}
.glyph-data::before {
  width: 24px;
  height: 26px;
  border: 2px solid var(--blue);
  border-radius: 50% / 22%;
}
.glyph-data::after {
  width: 24px;
  height: 8px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  top: 8px;
}
.glyph-ai::before {
  width: 20px;
  height: 20px;
  border: 2px solid var(--violet);
  border-radius: 8px;
}
.glyph-ai::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    -7px -7px 0 var(--violet),
    7px -7px 0 var(--blue),
    -7px 7px 0 var(--blue),
    7px 7px 0 var(--violet);
}
.glyph-events::before {
  width: 24px;
  height: 2px;
  background: var(--blue);
  box-shadow:
    0 -8px 0 rgba(110, 168, 255, 0.55),
    0 8px 0 rgba(92, 224, 208, 0.7);
}
.glyph-events::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
  right: 10px;
}
.glyph-reliability::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  border-left-color: transparent;
}
.glyph-reliability::after {
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  top: 15px;
}

.hero-deliverables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.hero-deliverables div {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}
.hero-deliverables span {
  color: var(--cyan);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.hero-deliverables strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}
.hero-deliverables small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Hero metrics row - horizontal */
.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}
.hero-metric {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.85), rgba(13, 19, 30, 0.9));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.hero-metric:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.hero-metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(110, 168, 255, 0.08);
  border: 1px solid rgba(110, 168, 255, 0.15);
  color: var(--blue);
  flex-shrink: 0;
}
.hero-metric-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.hero-metric-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ===== SECTIONS (shared) ===== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-head {
  margin-bottom: 48px;
}
.kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  font-weight: 700;
}
.section-subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: none;
}

/* ===== STATS ===== */
.stats-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.7), rgba(13, 19, 30, 0.8));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  background: radial-gradient(circle at 50% 0%, rgba(110, 168, 255, 0.08), transparent 60%);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: rgba(110, 168, 255, 0.08);
  border: 1px solid rgba(110, 168, 255, 0.15);
  color: var(--blue);
}
.stat-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.8), rgba(13, 19, 30, 0.85));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-slow);
  background: radial-gradient(circle at 50% 0%, rgba(110, 168, 255, 0.06), transparent 50%);
}
.card:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(110, 168, 255, 0.15);
  background: rgba(110, 168, 255, 0.08);
  color: var(--blue);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.card:hover .card-icon {
  background: rgba(110, 168, 255, 0.14);
  box-shadow: 0 0 24px rgba(110, 168, 255, 0.15);
}

.card h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 700;
}
.card-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.card-title-row .card-icon {
  margin-bottom: 0;
}
.card-title-row h3 {
  margin-bottom: 0;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-hook {
  color: var(--text-secondary);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mini-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.mini-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mini-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 8px;
  flex: 0 0 6px;
  box-shadow: 0 0 8px rgba(92, 224, 208, 0.4);
}

/* ===== ARCHITECTURE WORK ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.work-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted2);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.work-visual {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.mini-tile {
  min-height: 70px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  transition: all var(--transition);
  line-height: 1.2;
}
.mini-tile:hover {
  border-color: var(--line-hover);
  background: rgba(110, 168, 255, 0.04);
}
.mini-tile strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--text);
}
.mini-tile span {
  color: var(--muted2);
  font-size: 11px;
  line-height: 1.4;
}

/* ===== PROCESS / HOW I WORK — connected flow ===== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 36px 20px 28px;
  position: relative;
  border: 1px solid var(--line);
  border-right: none;
  border-top: 3px solid var(--step-color);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.6), rgba(13, 19, 30, 0.7));
  transition: all var(--transition);
}
.process-step:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.process-step:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.process-step:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  z-index: 1;
}

/* Arrow between steps */
.process-step::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--bg);
  border: 2px solid var(--muted2);
  border-left: none;
  border-bottom: none;
  border-radius: 0 3px 0 0;
  rotate: 45deg;
  z-index: 2;
}
.process-step:last-child::after {
  display: none;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--bg);
  background: var(--step-color);
  margin-bottom: 16px;
  box-shadow: 0 0 24px color-mix(in srgb, var(--step-color) 30%, transparent);
  transition: transform var(--transition);
}
.process-step:hover .step-badge {
  transform: scale(1.08);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Loop indicator */
.process-loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 20px;
  color: var(--muted2);
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.015);
}

/* ===== ABOUT INTRO (Photo + Text) ===== */
.about-intro {
  margin-bottom: 48px;
}
.about-intro-text .kicker {
  margin-bottom: 12px;
}
.about-intro-text .section-subtitle {
  margin-top: 12px;
  max-width: none;
}

/* ===== VALUE PROPOSITIONS (Why Work With Me) ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.7), rgba(13, 19, 30, 0.8));
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-2px);
}
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(110, 168, 255, 0.15);
  background: rgba(110, 168, 255, 0.08);
  color: var(--blue);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.value-card:hover .value-icon {
  background: rgba(110, 168, 255, 0.14);
  box-shadow: 0 0 24px rgba(110, 168, 255, 0.15);
  transform: scale(1.05);
}
.value-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}
.value-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Career Timeline */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--violet));
  border-radius: 2px;
  opacity: 0.4;
}
.timeline-item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 12px;
  position: relative;
  transition: all var(--transition);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.3);
}
.timeline-item:hover {
  border-color: var(--line-hover);
  background: rgba(110, 168, 255, 0.03);
}
.timeline-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}
.timeline-item .role-period {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.timeline-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== BLOG / INSIGHTS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-card {
  position: relative;
}
.blog-card .blog-image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.1), rgba(167, 139, 250, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.blog-card .blog-image i {
  font-size: 40px;
  color: var(--muted2);
}
.blog-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted2);
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card h3 {
  font-size: 18px;
}
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  transition: gap var(--transition);
}
.blog-card:hover .read-more {
  gap: 10px;
}

/* YouTube section */
.youtube-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 59, 59, 0.15);
  background: linear-gradient(135deg, rgba(251, 59, 59, 0.04), rgba(17, 27, 43, 0.8));
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  transition: all var(--transition);
}
.youtube-card:hover {
  border-color: rgba(251, 59, 59, 0.3);
  transform: translateY(-2px);
}
.youtube-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(251, 59, 59, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.youtube-icon svg {
  color: #fb3b3b;
}
.youtube-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}
.youtube-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}
.yt-link {
  color: #fb3b3b;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== TECH STACK ===== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stack-group {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 27, 43, 0.6), rgba(13, 19, 30, 0.7));
  transition: all var(--transition);
}
.stack-group:hover {
  border-color: var(--line-hover);
  transform: translateY(-2px);
}
.stack-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.stack-pill:hover {
  border-color: var(--line-hover);
  background: rgba(110, 168, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

/* ===== CTA / CONTACT ===== */
.cta-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}
.cta-box {
  padding: 48px;
  border-radius: 28px;
  border: 1px solid rgba(110, 168, 255, 0.15);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(110, 168, 255, 0.12), transparent 40%),
    radial-gradient(ellipse at 0% 100%, rgba(92, 224, 208, 0.08), transparent 40%),
    linear-gradient(135deg, rgba(17, 27, 43, 0.95), rgba(10, 14, 23, 0.95));
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.cta-box h2 {
  margin-bottom: 8px;
}
.cta-box p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
}
.contact-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row .contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(110, 168, 255, 0.08);
  border: 1px solid rgba(110, 168, 255, 0.12);
  color: var(--blue);
  flex-shrink: 0;
}
.contact-row .contact-info small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted2);
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
}
.contact-row .contact-info div,
.contact-row .contact-info a {
  color: var(--text);
  font-size: 15px;
}
.contact-row .contact-info a:hover {
  color: var(--blue);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-label em {
  color: var(--cyan);
  font-style: normal;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted2);
}
.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23627590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-field select option {
  background: var(--bg2);
  color: var(--text);
}
.form-field textarea {
  resize: vertical;
  min-height: 80px;
}
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-note {
  font-size: 13px;
  color: var(--muted2);
}
.form-field .field-error {
  font-size: 12px;
  color: var(--orange);
  display: none;
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--orange);
}
.form-field.has-error .field-error {
  display: block;
}
.form-success {
  text-align: center;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success-icon {
  color: var(--green);
}
.form-success strong {
  font-size: 18px;
  font-weight: 700;
}
.form-success small {
  color: var(--muted);
  font-size: 14px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: all var(--transition);
}
.social-link i {
  font-size: 18px;
  line-height: 1;
}
.social-link:hover {
  color: var(--blue);
  border-color: var(--line-hover);
  background: rgba(110, 168, 255, 0.08);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left {
  color: var(--muted2);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--muted2);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links .footer-cta {
  background: none;
  border: 1px solid rgba(110, 168, 255, 0.4);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: all var(--transition);
  line-height: 1;
}
.footer-links .footer-cta:hover {
  background: rgba(110, 168, 255, 0.1);
  box-shadow: 0 0 20px rgba(110, 168, 255, 0.15);
}
.footer-links .footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted2);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-links .footer-social:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.4);
  background: rgba(10, 102, 194, 0.1);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(110, 168, 255, 0.4);
}

/* ===== ICON ===== */
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm {
  width: 14px;
  height: 14px;
}
.icon-lg {
  width: 28px;
  height: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
  .cta-box {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 108px 0 48px;
  }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .hero-content .hero-sub,
  .hero-content .hero-pain,
  .hero-confidence {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content .hero-actions,
  .hero-content .hero-socials,
  .hero-content .hero-pills,
  .hero-proof-strip {
    justify-content: center;
  }
  .hero-visual-card {
    width: min(100%, 860px);
    grid-template-columns: 1fr;
    min-height: auto;
    margin: 0 auto;
  }
  .hero-profile-card {
    flex-direction: row;
    align-items: center;
  }
  .hero-profile-card img {
    width: 112px;
    height: 112px;
    border-radius: 24px;
    align-self: center;
  }
  .hero-metrics-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-flow {
    grid-template-columns: repeat(4, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .youtube-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 84px 32px 32px;
    gap: 4px;
    z-index: 101;
    animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  .nav-links.mobile-open a {
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .nav-links.mobile-open a.nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 16px 20px !important;
    font-size: 16px !important;
  }
  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a.active {
    background: rgba(110, 168, 255, 0.08);
    color: var(--text);
  }
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 100;
  }

  .hero {
    padding: 96px 0 40px;
  }
  .hero-stage {
    gap: 24px;
  }
  h1 {
    font-size: clamp(38px, 10vw, 52px);
    letter-spacing: -0.035em;
  }
  .hero-role-line .typing-text {
    min-width: 230px;
  }
  .hero-visual-card {
    padding: 18px;
    border-radius: 22px;
  }
  .platform-blueprint {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0;
  }
  .blueprint-core {
    grid-column: 1 / -1;
  }
  .blueprint-tile {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .hero-deliverables div {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .work-grid,
  .blog-grid,
  .stats-grid,
  .values-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .process-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    border-top: 3px solid var(--step-color);
    text-align: left;
    padding: 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .process-step:first-child,
  .process-step:last-child {
    border-radius: var(--radius-md);
  }
  .process-step::after {
    display: none;
  }
  .step-badge {
    width: 40px;
    height: 40px;
    font-size: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .process-step h3 {
    width: calc(100% - 56px);
    margin-bottom: 0;
  }
  .process-step p {
    width: 100%;
  }

  .hero-metrics-row {
    grid-template-columns: 1fr;
  }
  .about-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-social-icons {
    margin-left: 0;
    margin-top: 8px;
  }
  .work-visual {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 60px 0;
  }
  .cta-box {
    padding: 28px;
  }
  .cta-section {
    padding: 40px 0 60px;
  }
}

@media (max-width: 480px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .work-visual {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-proof-strip {
    align-items: center;
  }
  .hero-role-line {
    min-height: 2.4em;
  }
  .hero-role-line .typing-text {
    display: block;
    min-width: 0;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
  }
  .platform-blueprint {
    grid-template-columns: 1fr;
  }
  .platform-blueprint::before {
    display: none;
  }
  .blueprint-core {
    padding: 18px;
  }
  .blueprint-tile {
    min-height: auto;
  }
  .hero-deliverables {
    grid-template-columns: 1fr;
  }
  .hero-profile-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
  .hero-profile-card img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    align-self: flex-start;
  }
  .hero-profile-card > div:not(.hero-profile-proof) {
    flex: 1;
    min-width: 140px;
  }
  .hero-profile-proof {
    flex: 0 0 100%;
    margin-top: 0;
  }
  .btn {
    width: 100%;
  }
}
