/* ==========================================================================
   CodingBeres — Solusi Tugas & Edukasi
   Design tokens derived from the brand logo:
   deep ocean blue → vibrant neon blue gradient, ice-blue accents.
   ========================================================================== */

:root {
  /* Palette (extracted from logo) */
  --abyss:      #030b1a;   /* page base — deepest ocean */
  --ocean-900:  #051c3e;
  --ocean-800:  #07295c;
  --ocean-700:  #0a3d8f;   /* logo deep blue */
  --pulse-600:  #1567d2;
  --pulse-500:  #1e7ff2;   /* logo vibrant blue */
  --pulse-400:  #38a0ff;   /* neon edge */
  --ice-300:    #7cc4ff;
  --ice-200:    #a8d8ff;   /* logo ice blue */
  --ice-050:    #eaf5ff;   /* foreground */

  --text:       var(--ice-050);
  --text-dim:   #b8d2ec;
  --text-faint: #7f9dbf;

  --grad-brand: linear-gradient(135deg, var(--ocean-700) 0%, var(--pulse-500) 55%, var(--pulse-400) 100%);
  --grad-text:  linear-gradient(100deg, var(--ice-200) 0%, var(--pulse-400) 60%, var(--pulse-500) 100%);

  /* Glass */
  --glass-bg:     rgba(13, 36, 71, 0.38);
  --glass-stroke: rgba(124, 196, 255, 0.16);
  --glass-hi:     rgba(168, 216, 255, 0.35);

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Spacing — spacious scale */
  --space-section: clamp(7rem, 14vh, 11rem);
  --space-lg: clamp(2.5rem, 5vw, 4rem);
  --space-md: 1.5rem;
  --space-sm: 0.75rem;

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

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.45, 0, 0.15, 1);

  --container: 1200px;
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[hidden] { display: none !important; }

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

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

::selection { background: rgba(30, 127, 242, 0.45); color: var(--ice-050); }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ==========================================================================
   3D background scene (fixed, behind everything)
   ========================================================================== */

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(10, 61, 143, 0.55) 0%, transparent 55%),
    radial-gradient(100% 80% at 8% 110%, rgba(7, 41, 92, 0.6) 0%, transparent 55%),
    var(--abyss);
}

#circuit-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.scene__orb--a {
  width: 44vw; height: 44vw;
  min-width: 420px; min-height: 420px;
  top: -12%; right: -10%;
  background: radial-gradient(circle, rgba(30, 127, 242, 0.34) 0%, transparent 65%);
}
.scene__orb--b {
  width: 36vw; height: 36vw;
  min-width: 340px; min-height: 340px;
  top: 58%; left: -12%;
  background: radial-gradient(circle, rgba(10, 61, 143, 0.5) 0%, transparent 65%);
}
.scene__orb--c {
  width: 24vw; height: 24vw;
  min-width: 240px; min-height: 240px;
  top: 34%; left: 46%;
  background: radial-gradient(circle, rgba(56, 160, 255, 0.16) 0%, transparent 65%);
}

/* Receding perspective grid — the "floor" of the scene */
.scene__grid {
  position: absolute;
  left: -20%; right: -20%; bottom: -6%;
  height: 42vh;
  background-image:
    linear-gradient(rgba(124, 196, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 196, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
  will-change: transform;
}

.scene__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(3, 11, 26, 0.75) 100%);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft),
              backdrop-filter 0.35s var(--ease-soft);
}
.nav.is-scrolled {
  background: rgba(4, 15, 33, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(124, 196, 255, 0.12), 0 18px 40px -22px rgba(0, 0, 0, 0.7);
}

.nav__inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-block: 1.1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.nav__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(168, 216, 255, 0.25) inset, 0 8px 24px -8px rgba(30, 127, 242, 0.8);
}
.nav__mark svg { width: 26px; height: 26px; }
.mark-check { stroke: var(--ice-200); }

.nav__wordmark em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  gap: 2.25rem;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 0.6rem 0.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.25s var(--ease-soft);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.2rem; right: 100%;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: right 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--ice-050); }
.nav__links a:hover::after { right: 0.2rem; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav__toggle span {
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ice-050);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem 1.5rem;
  background: rgba(4, 15, 33, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-stroke);
}
.nav__mobile a {
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
}
.nav__mobile a:hover { color: var(--ice-050); background: rgba(30, 127, 242, 0.12); }
.nav__mobile .btn { margin-top: 0.75rem; justify-content: center; color: #fff; }
.nav.is-open .nav__mobile { display: flex; }

/* ==========================================================================
   Shared primitives
   ========================================================================== */

.section { padding-block: var(--space-section); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  margin-bottom: 1.4rem;
}
.eyebrow__prompt { color: var(--pulse-400); }
.eyebrow__ok {
  color: var(--ice-200);
  background: rgba(30, 127, 242, 0.14);
  border: 1px solid rgba(124, 196, 255, 0.22);
  border-radius: 999px;
  padding: 0.2em 0.75em;
  margin-left: 0.5em;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 21ch;
  margin-bottom: 1.4rem;
}

.section__lede {
  max-width: 56ch;
  font-size: 1.1rem;
  color: var(--text-dim);
}
.section__lede strong { color: var(--ice-050); }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease-soft), background 0.3s var(--ease-soft),
              color 0.3s var(--ease-soft);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(168, 216, 255, 0.28) inset,
              0 12px 32px -10px rgba(30, 127, 242, 0.75);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(168, 216, 255, 0.45) inset,
              0 16px 44px -10px rgba(56, 160, 255, 0.9);
}

.btn--ghost {
  background: rgba(13, 36, 71, 0.3);
  color: var(--ice-200);
  box-shadow: 0 0 0 1px rgba(124, 196, 255, 0.28) inset;
}
.btn--ghost:hover {
  background: rgba(30, 127, 242, 0.16);
  color: var(--ice-050);
  box-shadow: 0 0 0 1px rgba(124, 196, 255, 0.5) inset;
}

.btn--lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1.05rem; }

/* Scroll-reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Animated checkmark (draws on reveal) */

.draw-check {
  stroke: var(--pulse-400);
  stroke-width: 2.6;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
}
.is-visible .draw-check,
.draw-check--go {
  animation: draw-check 0.55s var(--ease-out) 0.35s forwards;
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Section 1 · Hero
   ========================================================================== */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 16vh, 10rem);
  padding-bottom: 4rem;
  position: relative;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: var(--space-lg);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8.5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__title-line { display: block; }
.hero__title-line--glow {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(56, 160, 255, 0.45));
}
.hero__title-check {
  width: 0.5em; height: 0.42em;
  align-self: center;
}
.hero__title-check .draw-check { stroke: var(--pulse-400); stroke-width: 6; stroke-dasharray: 62; stroke-dashoffset: 62; }
.is-visible .hero__title-check .draw-check { animation: draw-hero-check 0.7s var(--ease-out) 0.7s forwards; }
@keyframes draw-hero-check { to { stroke-dashoffset: 0; } }

.hero__tagline {
  margin-top: 1.3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-200);
}

.hero__lede {
  margin-top: 1.2rem;
  max-width: 50ch;
  font-size: 1.12rem;
  color: var(--text-dim);
}
.hero__lede strong { color: var(--ice-050); }
.hero__lede em { color: var(--ice-200); font-style: italic; }

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__stats {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 2.5rem;
}
.hero__stat dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ice-050);
  order: -1;
}
.hero__stat dt {
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 14ch;
}
.hero__stat { display: flex; flex-direction: column; gap: 0.2rem; }

/* Holographic logo disc */

.hero__visual {
  display: flex;
  justify-content: center;
  perspective: 1100px;
}

.holo {
  position: relative;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  will-change: transform;
}

.holo__disc {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(168, 216, 255, 0.35),
    0 0 60px rgba(30, 127, 242, 0.45),
    0 40px 90px -30px rgba(3, 11, 26, 0.9);
}
.holo__disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);   /* crops the square asset to its circular badge */
}
.holo__disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(234, 245, 255, 0.18) 0%, transparent 38%);
  pointer-events: none;
}

.holo__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 196, 255, 0.25);
}
.holo__ring--outer {
  inset: -4%;
  border-style: dashed;
  animation: spin 60s linear infinite;
}
.holo__ring--inner {
  inset: 3%;
  border-color: rgba(56, 160, 255, 0.35);
  box-shadow: 0 0 30px -6px rgba(56, 160, 255, 0.35);
}

.holo__orbit {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.holo__node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pulse-400);
  box-shadow: 0 0 14px 3px rgba(56, 160, 255, 0.7);
}
.holo__node--1 { top: -5px; left: 50%; }
.holo__node--2 { top: 66%; left: -4px; width: 7px; height: 7px; }
.holo__node--3 { top: 78%; right: -2px; width: 8px; height: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }

.holo__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(7, 30, 62, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-stroke);
  box-shadow: 0 14px 34px -14px rgba(3, 11, 26, 0.9);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ice-200);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.holo__chip svg { width: 17px; height: 17px; color: var(--pulse-400); }
.holo__chip--edu  { top: 4%; left: -6%; animation-delay: 0s; }
.holo__chip--code { bottom: 22%; right: -10%; animation-delay: -2.4s; }
.holo__chip--done { bottom: -2%; left: 8%; animation-delay: -4.6s; }

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

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s;
}
.hero__scroll-cue:hover { color: var(--ice-200); }
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--pulse-400));
  animation: cue 2.2s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ==========================================================================
   Section 2 · Elite expertise
   ========================================================================== */

.expertise { overflow: hidden; }

.expertise__numeral {
  position: absolute;
  top: 6%;
  right: -2%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14rem, 30vw, 26rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(56, 160, 255, 0.3);
  text-shadow: 0 0 80px rgba(30, 127, 242, 0.18);
  user-select: none;
  pointer-events: none;
  will-change: transform;
}

.expertise__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-lg);
  align-items: start;
}

.expertise__list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  padding-top: 0.5rem;
}

.check-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-stroke);
  transition: border-color 0.3s var(--ease-soft), transform 0.3s var(--ease-soft),
              box-shadow 0.3s var(--ease-soft);
}
.check-item:hover {
  border-color: rgba(124, 196, 255, 0.38);
  transform: translateX(6px);
  box-shadow: 0 20px 44px -24px rgba(30, 127, 242, 0.5);
}

.check-item__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-top: 0.15rem;
  border-radius: 10px;
  background: rgba(30, 127, 242, 0.16);
  border: 1px solid rgba(124, 196, 255, 0.3);
}
.check-item__box svg { width: 19px; height: 19px; }
.check-item__box--sm { width: 27px; height: 27px; margin-top: 0; border-radius: 8px; }
.check-item__box--sm svg { width: 15px; height: 15px; }

.check-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  margin-bottom: 0.25rem;
}
.check-item p { font-size: 0.96rem; color: var(--text-dim); }

/* ==========================================================================
   Section 3 · Core services
   ========================================================================== */

.services__head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  align-items: start;
  max-width: 1040px;
}

.card {
  position: relative;
  padding: 2.4rem 2.1rem 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-stroke);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
  will-change: transform;
}
.card:hover {
  border-color: rgba(124, 196, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(56, 160, 255, 0.12),
    0 30px 70px -30px rgba(30, 127, 242, 0.55);
}

/* pointer-tracked sheen, driven by --mx / --my from JS */
.card__glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(124, 196, 255, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
  pointer-events: none;
}
.card:hover .card__glare { opacity: 1; }

/* second column lifted — asymmetric balance */
.card--lift { margin-top: -2.2rem; }
.card--feature { background: rgba(13, 40, 82, 0.5); }

.card__badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-200);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: rgba(30, 127, 242, 0.2);
  border: 1px solid rgba(124, 196, 255, 0.3);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(168, 216, 255, 0.25) inset,
              0 14px 30px -12px rgba(30, 127, 242, 0.8);
  margin-bottom: 1.6rem;
}
.card__icon svg { width: 32px; height: 32px; }

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}

.card__text { color: var(--text-dim); font-size: 0.99rem; margin-bottom: 1.4rem; }

.card__list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}
.card__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.94rem;
  color: var(--text-dim);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.36em;
  width: 0.95em; height: 0.55em;
  border-left: 2px solid var(--pulse-400);
  border-bottom: 2px solid var(--pulse-400);
  transform: rotate(-45deg) scale(0.9);
  border-radius: 1px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ice-200);
  transition: color 0.25s;
}
.card__link svg { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--ease-out); }
.card__link:hover { color: var(--ice-050); }
.card__link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Section 4 · Contact
   ========================================================================== */

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--space-lg);
  align-items: center;
}

.contact__points {
  list-style: none;
  margin-top: 2.2rem;
  display: grid;
  gap: 1rem;
}
.contact__points li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -40px rgba(3, 11, 26, 0.9);
}

.contact-card { padding: clamp(1.8rem, 4vw, 2.6rem); }

.contact-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.contact-card__hint {
  font-size: 0.93rem;
  color: var(--text-faint);
  margin-bottom: 1.7rem;
}

.contact-card__row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 72px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 196, 255, 0.15);
  background: rgba(3, 11, 26, 0.35);
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft),
              transform 0.3s var(--ease-out);
}
.contact-card__row + .contact-card__row { margin-top: 0.9rem; }
.contact-card__row:hover {
  border-color: rgba(124, 196, 255, 0.45);
  background: rgba(30, 127, 242, 0.12);
  transform: translateX(6px);
}

.contact-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(168, 216, 255, 0.25) inset,
              0 10px 24px -10px rgba(30, 127, 242, 0.8);
}
.contact-card__icon svg { width: 24px; height: 24px; }

.contact-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-card__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ice-050);
  overflow-wrap: anywhere;
}

.contact-card__arrow {
  flex: none;
  margin-left: auto;
  width: 20px; height: 20px;
  color: var(--text-faint);
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.contact-card__row:hover .contact-card__arrow {
  transform: translateX(4px);
  color: var(--ice-200);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid rgba(124, 196, 255, 0.12);
  background: rgba(3, 11, 26, 0.6);
  padding-block: 3.5rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer__legal { font-size: 0.85rem; color: var(--text-faint); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; gap: 4.5rem; }
  .hero__visual { order: -1; margin-top: 1rem; }
  .holo { width: min(340px, 70vw); }
  .expertise__layout { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .card--lift { margin-top: 0; }
  .contact__layout { grid-template-columns: 1fr; }
  .expertise__numeral { font-size: clamp(10rem, 34vw, 16rem); top: 2%; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding-top: 7rem; }
  .hero__scroll-cue { display: none; }
  .hero__stats { gap: 1.8rem 2.4rem; }
  .holo__chip--code { right: -2%; }
  .holo__chip--edu { left: -2%; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .check-item { padding: 1.2rem 1.1rem; }
}

/* ==========================================================================
   Reduced motion — kill all decorative movement
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .draw-check { stroke-dashoffset: 0; }
  .hero__title-check .draw-check { stroke-dashoffset: 0; }
}
