/* ── TOKENS ─────────────────────────────────────── */
:root {
  --blue:    #3BBFE6;
  --blue-dk: #1E9DBF;
  --gray:    #6B6B6B;
  --dark:    #2D2D2D;
  --white:   #FFFFFF;
  --bg:      #F7FAFB;
  --border:  #E8E8E8;
  --font:    'Inter', system-ui, -apple-system, sans-serif;
  --max-w:   1100px;
  --r:       12px;
  --t:       0.22s ease;
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── LAYOUT ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }

section { padding: 72px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }

/* ── BUTTON ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,191,230,0.3);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-primary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ── SECTION HEADER HELPERS ─────────────────────── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.sec-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ── FADE ANIMATIONS ────────────────────────────── */
.fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ── NAV ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: box-shadow var(--t);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dark);
}
.logo .n { color: var(--blue); }
.nav-btn { padding: 10px 20px; font-size: 0.9rem; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 120px 0 100px; } }

.hero-geo {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 480px;
  height: 480px;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 639px) {
  .hero-geo { width: 240px; height: 240px; right: -24px; top: -16px; }
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 520px;
}
.hero-btn { font-size: 1.05rem; padding: 15px 32px; }

/* ── VALUE PROPOSITION ──────────────────────────── */
.value { background: var(--bg); }

.val-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 600px) { .val-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .val-grid { grid-template-columns: repeat(3, 1fr); } }

.val-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.val-card:hover {
  box-shadow: 0 8px 32px rgba(59,191,230,0.12);
  transform: translateY(-3px);
}
.val-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(59,191,230,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.val-icon svg { width: 24px; height: 24px; }
.val-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.val-card p { font-size: 0.93rem; line-height: 1.65; }

/* ── HOW WE WORK ────────────────────────────────── */
.steps-grid {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .step { position: relative; }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -24px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(59,191,230,0.4);
    border-top: 2px solid rgba(59,191,230,0.4);
    transform: rotate(45deg);
  }
}
.step-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(59,191,230,0.16);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step p { font-size: 0.93rem; line-height: 1.65; }

/* ── FOR WHOM ───────────────────────────────────── */
.for-whom { background: var(--bg); }

.for-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .for-grid { grid-template-columns: repeat(2, 1fr); } }

.for-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
}
.for-card-hd {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.for-badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(59,191,230,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.for-badge svg { width: 18px; height: 18px; }
.for-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.38;
}
.for-list { display: flex; flex-direction: column; gap: 12px; }
.for-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.55;
}
.chk { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }

/* ── CONTACT FORM ───────────────────────────────── */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.form-hd { text-align: center; margin-bottom: 38px; }
.form-hd .sec-title { margin-bottom: 8px; }
.form-hd .sec-sub { margin: 0 auto; text-align: center; }

.f-row { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 480px) { .f-row-2 { grid-template-columns: 1fr 1fr; } }

.f-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.f-group label .req { color: var(--blue); margin-left: 2px; }

.f-group input,
.f-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #D8D8D8;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.97rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.f-group input::placeholder,
.f-group textarea::placeholder { color: #B4B4B4; }
.f-group input:focus,
.f-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,191,230,0.14);
}
.f-group textarea { resize: vertical; min-height: 112px; }

.f-group.err input,
.f-group.err textarea { border-color: #D94F4F; }
.f-group.err input:focus,
.f-group.err textarea:focus {
  border-color: #D94F4F;
  box-shadow: 0 0 0 3px rgba(217,79,79,0.12);
}

.f-err {
  font-size: 0.78rem;
  color: #D94F4F;
  margin-top: 4px;
  display: none;
}
.f-group.err .f-err { display: block; }

.btn-submit { width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 8px; }

.form-ok {
  display: none;
  text-align: center;
  padding: 52px 20px;
}
.form-ok.show { display: block; }
.ok-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(59,191,230,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ok-icon svg { width: 28px; height: 28px; }
.form-ok h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.form-ok p { color: var(--gray); line-height: 1.65; max-width: 380px; margin: 0 auto; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 40px 0;
  text-align: center;
}
footer .logo { color: rgba(255,255,255,0.85); display: inline-block; margin-bottom: 8px; }
footer .logo .n { color: var(--blue); }
.foot-tag { font-size: 0.875rem; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.foot-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
