/* =========================================================
   AIstan — Design tokens (Dark / "Gece Pasaportu")
   Concept: the same passport-and-customs identity, now read
   at night — dark leather cover, foil-gold emboss, ink-red
   wax seals glowing under low light. The live chat -> calendar
   demo remains the signature moment, now lit like a phone
   screen in a dim room.
========================================================= */

:root {
  /* colour — dark leather surfaces */
  --bg:            #0A0E17;
  --bg-1:          #0F1524;
  --bg-2:          #141B2E;
  --bg-3:          #1B233A;
  --surface:       #131A2B;
  --surface-glass: rgba(24,32,52,0.55);

  /* paper still exists — it's the one warm, physical thing left in a digital-dark world */
  --paper:         #F3EBD7;
  --paper-dim:     #E7DCBE;

  --ink:           #F1ECDD;
  --ink-soft:      #A7AFC4;
  --ink-faint:     #6C7488;
  --ink-on-paper:  #1B2430;

  --stamp-red:     #E15A46;
  --stamp-red-2:   #FF7A61;
  --stamp-red-dark:#B5392C;

  --gold:          #D9B355;
  --gold-soft:     #F1D98A;
  --gold-dim:      #8A733A;

  --confirm:       #4FE0C4;
  --confirm-dim:   #2B8A78;

  --line:          rgba(241,236,221,0.09);
  --line-strong:   rgba(241,236,221,0.18);
  --line-on-paper: rgba(27,36,48,0.12);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", monospace;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --ease: cubic-bezier(.22,.9,.32,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ---------- ambient aurora field ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
body::before {
  width: 620px; height: 620px;
  top: -220px; right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(217,179,85,0.30), transparent 70%);
  animation: auroraDriftA 22s ease-in-out infinite;
}
body::after {
  width: 560px; height: 560px;
  bottom: -200px; left: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(225,90,70,0.22), transparent 70%);
  animation: auroraDriftB 26s ease-in-out infinite;
}
@keyframes auroraDriftA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px, 60px) scale(1.12); }
}
@keyframes auroraDriftB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.08); }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* film-grain overlay, tuned for dark surfaces */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ink); }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stamp-red-2);
  border: 1px solid rgba(225,90,70,0.5);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
  background: rgba(225,90,70,0.06);
}
.eyebrow-light { color: var(--gold-soft); border-color: rgba(217,179,85,0.5); background: rgba(217,179,85,0.06); }

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-stamp {
  position: relative;
  background: linear-gradient(155deg, var(--stamp-red-2), var(--stamp-red-dark) 70%);
  color: var(--bg);
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(225,90,70,0), 0 14px 30px -16px rgba(225,90,70,0.55);
  animation: stampPulse 3.4s ease-in-out infinite;
}
.btn-stamp::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: none;
  animation: shineSweep 3.4s ease-in-out infinite;
}
@keyframes shineSweep {
  0% { left: -60%; }
  35%, 100% { left: 130%; }
}
@keyframes stampPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,90,70,0.0), 0 14px 30px -16px rgba(225,90,70,0.55); }
  50% { box-shadow: 0 0 0 8px rgba(225,90,70,0.08), 0 14px 34px -14px rgba(225,90,70,0.7); }
}
.btn-stamp span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.btn-stamp:hover {
  transform: translateY(-3px) rotate(-0.6deg);
}
.btn-stamp:active { transform: translateY(0) rotate(0deg) scale(0.97); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(241,236,221,0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(217,179,85,0.08); color: var(--gold-soft); }
.btn-small { padding: 9px 18px; font-size: 13px; animation: none; }
.btn-small::before { display: none; }
.btn-wide { width: 100%; justify-content: center; padding: 15px 24px; font-size: 16px; }

/* =========================================================
   Nav
========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,23,0.6);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.nav-scrolled { border-color: var(--line); box-shadow: 0 12px 30px -20px rgba(0,0,0,0.6); background: rgba(10,14,23,0.85); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.nav-logo-mark {
  background: linear-gradient(135deg, var(--gold-soft), var(--stamp-red-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-logo-text { color: var(--ink); }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; }
.nav-links a { position: relative; color: var(--ink-soft); transition: color .2s ease; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -5px;
  height: 1.5px; background: linear-gradient(90deg, var(--stamp-red-2), var(--gold-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 28px 60px;
}
.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, transparent, transparent 39px, var(--line) 40px);
  opacity: 0.6;
  mask-image: radial-gradient(80% 60% at 30% 10%, black, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.stamp-badge {
  position: relative;
  width: 108px; height: 108px;
  margin-bottom: 28px;
  animation: stampIn .8s var(--ease) .15s both, badgeSpin 26s linear infinite;
  filter: drop-shadow(0 0 14px rgba(225,90,70,0.35));
}
@keyframes stampIn {
  from { opacity: 0; transform: scale(0.6) rotate(-18deg); }
  to   { opacity: 1; transform: scale(1) rotate(-8deg); }
}
@keyframes badgeSpin {
  from { transform: rotate(-8deg); }
  to   { transform: rotate(352deg); }
}
.stamp-badge-svg { width: 100%; height: 100%; }
.stamp-badge-svg text { fill: var(--stamp-red-2); font-family: var(--font-mono); }
.stamp-badge-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  background: linear-gradient(160deg, var(--gold-soft), var(--stamp-red-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: counterSpin 26s linear infinite;
}
@keyframes counterSpin {
  from { transform: rotate(8deg); }
  to   { transform: rotate(-352deg); }
}

.hero-title {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--stamp-red-2), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 52ch;
  font-size: 17.5px;
  color: var(--ink-soft);
}

.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 26px;
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.trust-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--confirm);
  box-shadow: 0 0 0 3px rgba(79,224,196,0.16);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---- hero demo (signature element) ---- */
.hero-demo {
  position: relative;
  min-height: 460px;
}
.demo-card {
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(217,179,85,0.05) inset;
}
.demo-phone {
  width: min(100%, 320px);
  padding: 18px 16px 16px;
  position: relative;
  animation: floatY 6s ease-in-out infinite;
}
.demo-phone::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(217,179,85,0.35), transparent 40%, transparent 70%, rgba(225,90,70,0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.demo-phone-notch {
  width: 46px; height: 5px; border-radius: 4px;
  background: rgba(241,236,221,0.14);
  margin: 0 auto 14px;
}
.demo-phone-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.demo-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--stamp-red-2), var(--gold));
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  box-shadow: 0 0 16px rgba(225,90,70,0.4);
}
.demo-head-name { color: var(--ink); font-size: 14px; font-weight: 700; }
.demo-head-status { color: var(--ink-faint); font-size: 11.5px; display: flex; align-items: center; gap: 5px; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--confirm); animation: pulse 1.8s ease-in-out infinite; box-shadow: 0 0 8px rgba(79,224,196,0.7); }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(0.75);} }

.demo-thread {
  height: 250px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 2px 4px;
}
.bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity .45s var(--ease-spring), transform .45s var(--ease-spring);
}
.bubble-in { opacity: 1; transform: translateY(0) scale(1); }
.bubble-user {
  align-self: flex-end;
  background: linear-gradient(155deg, var(--gold-soft), var(--gold));
  color: var(--ink-on-paper);
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 16px -8px rgba(217,179,85,0.5);
}
.bubble-ai {
  align-self: flex-start;
  background: rgba(241,236,221,0.06);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-bottom-left-radius: 4px;
  backdrop-filter: blur(6px);
}
.demo-input {
  margin-top: 10px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(241,236,221,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  min-height: 18px;
}
.demo-input-placeholder { color: var(--ink-faint); font-size: 12.5px; }
.demo-input-typing { display: inline-flex; gap: 4px; align-items: center; }
.demo-input-typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-soft);
  animation: typingDots 1.1s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(241,217,138,0.7);
}
.demo-input-typing span:nth-child(2){ animation-delay: .15s; }
.demo-input-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes typingDots { 0%,60%,100%{ transform: translateY(0); opacity:.5;} 30%{ transform: translateY(-4px); opacity:1;} }

.demo-calendar {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: min(78%, 250px);
  padding: 18px;
  background: linear-gradient(180deg, var(--paper), var(--paper-dim));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.6), 0 0 0 1px rgba(217,179,85,0.15);
  animation: floatY 6s ease-in-out infinite 1.2s;
}
.demo-cal-head {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--ink-on-paper);
  opacity: 0.6;
  margin-bottom: 12px;
}
.demo-cal-icon { color: var(--stamp-red-dark); display: inline-flex; }
.demo-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 12px;
}
.demo-cal-day {
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  color: var(--ink-on-paper);
  opacity: 0.55;
  background: rgba(27,36,48,0.06);
  border-radius: 5px;
  padding: 5px 0;
}
.demo-cal-day.is-target { background: var(--stamp-red-dark); color: var(--paper); opacity: 1; font-weight: 700; }

.demo-cal-event {
  display: flex; align-items: center; gap: 10px;
  border: 1px dashed var(--gold-dim);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity .5s var(--ease-spring), transform .5s var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.demo-cal-event.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.demo-cal-event-time { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--stamp-red-dark); }
.demo-cal-event-title { font-size: 12px; font-weight: 700; color: var(--ink-on-paper); }
.demo-cal-event-sub { font-size: 11px; color: var(--ink-on-paper); opacity: 0.6; }
.demo-cal-stamp {
  position: absolute; right: -6px; top: -4px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--confirm-dim);
  border: 1.5px solid var(--confirm-dim);
  border-radius: 5px;
  padding: 2px 5px;
  transform: rotate(9deg) scale(0.85);
  opacity: 0;
  transition: opacity .4s ease .3s, transform .4s var(--ease-spring) .3s;
}
.demo-cal-event.is-visible .demo-cal-stamp { opacity: 1; transform: rotate(9deg) scale(1); }

.demo-thread-line {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: .9;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-demo { min-height: 0; display: flex; flex-direction: column; gap: 40px; }
  .demo-calendar { position: static; width: 100%; margin-top: 8px; }
  .demo-thread-line { display: none; }
}

/* =========================================================
   Strip
========================================================= */
.strip {
  background: var(--bg-1);
  padding: 20px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.strip-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.strip-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--gold-soft); text-transform: uppercase;
  padding-right: 16px; border-right: 1px solid var(--line-strong);
}
.strip-items {
  color: var(--ink-soft);
  font-size: 13.5px; font-weight: 600;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.strip-sep { color: var(--ink-faint); }

/* =========================================================
   Section shared
========================================================= */
section { padding: 96px 28px; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.section-lead { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.section-head-left { text-align: left; margin: 0 0 40px; }

/* generic scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Process (Gümrük Hattı)
========================================================= */
.process { max-width: 1180px; margin: 0 auto; }
.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-track {
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
  background-size: 16px 1px;
}
.process-stop { position: relative; text-align: center; padding: 0 6px; }
.process-stop:nth-child(2) { transition-delay: .08s; }
.process-stop:nth-child(3) { transition-delay: .16s; }
.process-stop:nth-child(4) { transition-delay: .24s; }

.process-stamp {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border: 2.5px solid var(--stamp-red-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--stamp-red-2);
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
  background: var(--bg-1);
  position: relative;
  transform: rotate(-4deg);
  box-shadow: 0 0 0 0 rgba(225,90,70,0.35);
  transition: transform .4s var(--ease-spring), box-shadow .4s ease;
  animation: ringPulse 4s ease-in-out infinite;
}
.process-stop:nth-child(2) .process-stamp { animation-delay: .3s; }
.process-stop:nth-child(3) .process-stamp { animation-delay: .6s; }
.process-stop:nth-child(4) .process-stamp { animation-delay: .9s; }
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,90,70,0.28); }
  50% { box-shadow: 0 0 0 8px rgba(225,90,70,0); }
}
.process-stop:hover .process-stamp { transform: rotate(2deg) scale(1.08); }
.process-stamp::after {
  content: "";
  position: absolute; inset: -6px;
  border: 1px dashed rgba(225,90,70,0.4);
  border-radius: 50%;
}
.process-stamp-final { border-color: var(--confirm); color: var(--confirm); }
.process-stamp-final::after { border-color: rgba(79,224,196,0.4); }
.process-stamp-final { animation: ringPulseGreen 4s ease-in-out infinite 1.2s; }
@keyframes ringPulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,224,196,0.32); }
  50% { box-shadow: 0 0 0 8px rgba(79,224,196,0); }
}

.process-stop h3 { font-size: 18px; margin-bottom: 8px; }
.process-stop p { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 860px) {
  .process-line { grid-template-columns: 1fr; gap: 40px; }
  .process-track { display: none; }
}

/* =========================================================
   Sectors
========================================================= */
.sectors { max-width: 1180px; margin: 0 auto; }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector-card {
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease), border-color .3s ease;
}
.sector-card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px dashed rgba(241,236,221,0.08);
  border-radius: calc(var(--radius-m) - 6px);
  pointer-events: none;
}
.sector-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent, rgba(217,179,85,0.5), transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s ease;
  animation: rotateConic 5s linear infinite;
  pointer-events: none;
}
.sector-card:hover::after { opacity: 1; }
@keyframes rotateConic {
  from { --a: 0deg; }
  to   { --a: 360deg; }
}
.sector-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 50px -26px rgba(0,0,0,0.65);
  border-color: rgba(225,90,70,0.35);
}
.sector-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sector-icon { color: var(--stamp-red-2); }
.sector-code { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.05em; }
.sector-card h3 { font-size: 19px; margin-bottom: 8px; }
.sector-card p { font-size: 14.5px; color: var(--ink-soft); }
.sector-card-more { background: var(--bg-1); border-style: dashed; }

@media (max-width: 860px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Features
========================================================= */
.features { background: var(--bg-1); }
.features-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px;
}
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.feature-row:hover { padding-left: 6px; }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row-num { font-family: var(--font-mono); color: var(--stamp-red-2); font-weight: 700; font-size: 15px; }
.feature-row-body h3 { font-size: 18.5px; margin-bottom: 6px; }
.feature-row-body p { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 860px) { .features-inner { grid-template-columns: 1fr; } }

/* =========================================================
   Why
========================================================= */
.why {
  background: radial-gradient(900px 500px at 15% 0%, rgba(217,179,85,0.08), transparent 60%), var(--bg);
  color: var(--ink);
}
.why-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.why-copy h2 { color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 10px 0 18px; }
.why-copy p { color: var(--ink-soft); font-size: 16px; max-width: 46ch; }
.why-cards { display: flex; flex-direction: column; gap: 16px; }
.why-card {
  background: rgba(241,236,221,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  transition: transform .4s var(--ease-spring), background .3s ease, border-color .3s ease;
}
.why-card:hover { transform: translateX(6px); background: rgba(241,236,221,0.06); border-color: rgba(217,179,85,0.3); }
.why-card-icon { color: var(--gold-soft); margin-bottom: 10px; }
.why-card h4 { color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.why-card p { color: var(--ink-soft); font-size: 14px; }

@media (max-width: 860px) { .why-inner { grid-template-columns: 1fr; } }

/* =========================================================
   Apply
========================================================= */
.apply { background: var(--bg); }
.apply-inner { max-width: 720px; margin: 0 auto; }
.apply-card {
  background: linear-gradient(170deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: 48px 40px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7);
}
.apply-card::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: calc(var(--radius-l) - 10px);
  pointer-events: none;
}
.apply-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-soft);
}
.apply-card-head h2 { color: var(--ink); font-size: clamp(24px, 3vw, 32px); margin: 12px 0 10px; }
.apply-card-head p { color: var(--ink-soft); margin-bottom: 32px; }

.apply-form { display: grid; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 12.5px; font-family: var(--font-mono); color: var(--ink-faint); letter-spacing: 0.04em; }
.form-row input, .form-row select {
  background: rgba(241,236,221,0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.form-row input::placeholder { color: var(--ink-faint); }
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(217,179,85,0.06);
  box-shadow: 0 0 0 3px rgba(217,179,85,0.12);
}
.form-row select option { background: var(--bg-1); color: var(--ink); }
.apply-form .btn-stamp { margin-top: 8px; }

.apply-success { text-align: center; padding: 20px 0 4px; }
.apply-success-stamp {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.08em;
  color: var(--confirm); border: 2px solid var(--confirm);
  border-radius: 8px; padding: 8px 18px; margin-bottom: 14px;
  transform: rotate(-4deg);
  box-shadow: 0 0 20px rgba(79,224,196,0.35);
  animation: stampIn .5s var(--ease-spring) both;
}
.apply-success p { color: var(--ink-soft); }

/* focus visibility across interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .apply-card { padding: 36px 22px; }
}

/* =========================================================
   Footer
========================================================= */
.footer { background: #060911; color: var(--ink-soft); padding: 56px 28px 24px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand p { margin-top: 12px; max-width: 30ch; font-size: 13.5px; color: var(--ink-faint); }
.footer-cols { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: 1180px; margin: 40px auto 0;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-faint);
  font-family: var(--font-mono);
}

/* =========================================================
   Reduced motion
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, body::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}