/* ================================================================
   Robert Khameev — landing
   Design system: dark navy + electric blue + violet glow
   Typography: Manrope (display) / Inter (body)
   ================================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:           #0a0f1e;
  --bg-elevated:  #0f1628;
  --bg-card:      #121a2e;
  --bg-card-hi:   #16203a;
  --border:       rgba(255, 255, 255, 0.08);
  --border-hi:    rgba(255, 255, 255, 0.14);

  --text:         #f5f7fb;
  --text-muted:   #8a93a8;
  --text-dim:     #5e6883;

  --accent:       #2563eb;       /* electric blue */
  --accent-hi:    #3b82f6;
  --violet:       #7c3aed;
  --violet-hi:    #9b5cff;
  --grad:         linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  --grad-soft:    linear-gradient(135deg, rgba(59,130,246,.18), rgba(124,58,237,.18));

  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --container:    1240px;
  --pad-x:        20px;
  --section-y:    96px;
  --radius:       18px;
  --radius-sm:    12px;
  --ease:         cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 768px) {
  :root { --pad-x: 32px; --section-y: 120px; }
}
@media (min-width: 1280px) {
  :root { --pad-x: 48px; --section-y: 160px; }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--alt { background: var(--bg-elevated); }
.section--contact {
  background: radial-gradient(ellipse at top, rgba(124,58,237,.10), transparent 60%), var(--bg);
}

.section__head {
  max-width: 760px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .section__head { margin-bottom: 72px; }
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section__lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl {
  color: var(--accent-hi);
  font-weight: 600;
}

/* ---------- Eyebrow chip ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
  50%      { box-shadow: 0 0 0 8px rgba(34,197,94,.05); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 18px 32px; font-size: 16px; border-radius: 14px; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.6), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(124,58,237,.6), inset 0 1px 0 rgba(255,255,255,.2);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 15, 30, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px -4px rgba(59,130,246,.55);
}
.nav__logo-text { display: none; }
@media (min-width: 480px) { .nav__logo-text { display: inline; } }

.nav__links {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav__links a {
  transition: color .2s var(--ease);
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  animation: drift 18s var(--ease) infinite alternate;
}
.hero__glow--blue {
  width: 520px; height: 520px;
  background: #2563eb;
  top: -120px; left: -80px;
}
.hero__glow--violet {
  width: 460px; height: 460px;
  background: #7c3aed;
  bottom: -160px; right: -100px;
  animation-delay: -6s;
}
@keyframes drift {
  0%   { transform: translate(0, 0)      scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero__hook {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero__contacts a { transition: color .2s var(--ease); }
.hero__contacts a:hover { color: var(--text); }
.dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
  display: inline-block;
}
.dot--live {
  background: #22c55e;
  width: 8px; height: 8px;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}

/* photo frame */
.hero__photo {
  display: flex;
  justify-content: center;
}
.photo-frame {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  transition: transform .5s var(--ease);
}
.photo-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,.5), transparent 50%, rgba(124,58,237,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.photo-frame:hover { transform: translateY(-4px); }
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.photo-frame__initials {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 12vw, 140px);
  letter-spacing: -0.04em;
  background: var(--grad-soft);
  color: var(--text);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.photo-frame--fallback .photo-frame__initials { display: flex; }
.photo-frame--square { aspect-ratio: 1 / 1; max-width: 380px; }

.photo-frame__badge {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--border-hi);
  border-radius: 13px;
  display: none;
}
@media (min-width: 768px) { .scroll-hint { display: block; } }
.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text);
  border-radius: 2px;
  animation: scroll 1.8s var(--ease) infinite;
}
@keyframes scroll {
  0%   { transform: translate(-50%, 0);    opacity: 1; }
  60%  { transform: translate(-50%, 14px); opacity: 0; }
  61%  { transform: translate(-50%, 0);    opacity: 0; }
  100% { transform: translate(-50%, 0);    opacity: 1; }
}

/* ================================================================
   STATS
   ================================================================ */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.stat {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}
.stat:hover::before { transform: scaleX(1); }

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.stat__unit, .stat__prefix {
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat__prefix { font-size: 0.45em; opacity: .85; }

.stat__label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ================================================================
   SERVICES
   ================================================================ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px)  { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.service::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(59,130,246,.10), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  background: var(--bg-card-hi);
}
.service:hover::after { opacity: 1; }

.service__icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--accent-hi);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(59,130,246,.2);
}
.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.service__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.service__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.service__features li {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}
.service__price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.service__price span { color: var(--text-muted); font-size: 12px; font-weight: 500; display: block; margin-bottom: 2px; }

/* ================================================================
   LEAD MAGNET
   ================================================================ */
.section--magnet {
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(124,58,237,.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.magnet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .magnet { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
}

/* --- 3D book cover --- */
.magnet__cover {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.magnet__cover-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,.35), transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: drift 14s var(--ease) infinite alternate;
}
.magnet__book {
  position: relative;
  width: min(280px, 70%);
  aspect-ratio: 3 / 4;
  z-index: 1;
  transform: rotateY(-14deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.magnet__book:hover { transform: rotateY(-6deg) rotateX(2deg) translateY(-6px); }

.magnet__book-spine {
  position: absolute;
  top: 0; left: 0;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, #1a2440 0%, #0c1326 100%);
  transform: translateX(-12px) rotateY(80deg);
  transform-origin: right;
  border-radius: 2px 0 0 2px;
}
.magnet__book-cover {
  position: absolute;
  inset: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px 14px 14px 4px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05) 0%, transparent 50%),
    linear-gradient(160deg, #16203a 0%, #0c1326 100%);
  border: 1px solid var(--border-hi);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.04) inset,
    -8px 0 20px -10px rgba(0,0,0,.5);
  overflow: hidden;
}
.magnet__book-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59,130,246,.25), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(124,58,237,.2), transparent 60%);
  pointer-events: none;
}
.magnet__book-cover::after {
  /* glossy reflection */
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  transform: skewX(-12deg);
  pointer-events: none;
}
.magnet__book-tag {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  align-self: flex-start;
}
.magnet__book-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
.magnet__book-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.magnet__book-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  color: #fff;
}

/* --- magnet content --- */
.magnet__content { max-width: 640px; }
.magnet__bullets {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
}
.magnet__bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.magnet__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background:
    linear-gradient(135deg, rgba(59,130,246,.18), rgba(124,58,237,.18));
  border: 1px solid rgba(59,130,246,.35);
  border-radius: 6px;
}
.magnet__bullets li::after {
  content: '';
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 1.8px solid var(--accent-hi);
  border-bottom: 1.8px solid var(--accent-hi);
  transform: rotate(-45deg);
}

/* --- magnet form --- */
.magnet-form {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
@media (min-width: 600px) { .magnet-form { padding: 28px; } }

.magnet-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 560px) { .magnet-form__row { grid-template-columns: 1fr 1fr; } }

.magnet-form__field { margin-bottom: 0; }

.magnet-form__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .magnet-form__bottom { flex-direction: row; align-items: center; gap: 22px; }
}
.magnet-form__direct {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-hi);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.magnet-form__direct:hover { color: var(--text); border-color: var(--accent-hi); }

.magnet-form__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ================================================================
   TIMELINE
   ================================================================ */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  counter-reset: step;
}
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .timeline { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

.timeline__step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.timeline__step:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
}
.timeline__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.timeline__step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.timeline__step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ================================================================
   TOOLS
   ================================================================ */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.tool:hover {
  transform: translateY(-2px);
  border-color: var(--border-hi);
  background: var(--bg-card-hi);
}
.tool--accent {
  background: var(--grad-soft);
  border-color: rgba(59,130,246,.25);
  color: #c7d6ff;
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
}
.about__list {
  display: grid;
  gap: 18px;
  margin: 24px 0 36px;
}
.about__list li {
  padding-left: 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}
.about__list strong { color: var(--text); font-weight: 600; }
.about__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}
.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
@media (min-width: 768px) { .form { padding: 36px; } }

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  font-family: var(--font-body);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-hi);
  background: var(--bg-card-hi);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(239, 68, 68, 0.45);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .form__bottom { flex-direction: row; align-items: center; }
  .form__bottom .btn { flex-shrink: 0; }
}
.form__note {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.form__status {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  min-height: 0;
  transition: all .3s var(--ease);
}
.form__status.is-success {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.form__status.is-error {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-elevated);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.footer__role {
  font-size: 13px;
  color: var(--text-muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--text); }
.footer__copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
