/* ============================================================
   ОБЩИЕ СТИЛИ — CorpLink
   (index.html · privacy.html · delete-account.html)
   ============================================================ */

/* ── ПЕРЕМЕННЫЕ ── */
:root {
  --bg:             #080c14;
  --surface:        #0e1521;
  --surface2:       #141e2e;
  --border:         rgba(255,255,255,0.07);
  --accent:         #2563ff;
  --accent2:        #00d4aa;
  --danger:         #ef4444;
  --danger-bg:      rgba(239,68,68,0.08);
  --danger-border:  rgba(239,68,68,0.25);
  --success:        #22c55e;
  --text:           #e8ecf4;
  --muted:          #6b7a96;
  --radius:         16px;
}

/* ── СБРОС ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BODY ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── GRID TEXTURE ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(37,99,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── GLOW ORBS ── */
.orb {
  position: fixed; border-radius: 50%; filter: blur(120px);
  opacity: 0.18; pointer-events: none; z-index: 0;
}
.orb1 { width: 600px; height: 600px; background: #2563ff; top: -200px; right: -150px; }
.orb2 { width: 400px; height: 400px; background: #00d4aa; bottom: 100px; left: -100px; }

.orb-danger {
  position: fixed; border-radius: 50%; filter: blur(150px);
  opacity: 0.08; pointer-events: none; z-index: 0;
  width: 500px; height: 500px; background: var(--danger);
  bottom: -100px; right: -100px;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav a { text-decoration: none; }
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px; background: var(--accent);
  border-radius: 10px; display: grid; place-items: center;
}
.logo-icon svg { width: 18px; height: 18px; fill: white; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--muted); font-size: 14px; text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 18px;
  color: var(--muted); font-size: 13px; text-decoration: none;
  transition: all .2s;
}
.back-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }

/* ============================================================
   ОБЩИЕ КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: all .2s; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 0 30px rgba(37,99,255,0.4);
}
.btn-primary:hover {
  background: #1d4ed8; transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(37,99,255,0.5);
}
.btn-secondary {
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-1px); }

/* ============================================================
   INDEX — HERO
   ============================================================ */
.hero {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 100px 48px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,255,0.12); border: 1px solid rgba(37,99,255,0.3);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: #7aa8ff; margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent2); animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: 58px; font-weight: 800;
  line-height: 1.08; letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease 0.1s both;
}
h1 span { color: var(--accent); }

.hero-desc {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  max-width: 460px; margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp 0.7s ease 0.2s both;
}
.phone-wrap {
  position: relative;
  filter: drop-shadow(0 40px 80px rgba(37,99,255,0.25));
}
.phone {
  width: 220px; height: 440px;
  background: var(--surface);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden; position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone img {
  object-fit: contain;
  max-width: 100%;
  width: 100%;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px;
  background: var(--bg); border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0e1a30 0%, #0a1020 60%, #050c18 100%);
  display: flex; flex-direction: column;
  padding: 36px 16px 16px;
}
.phone-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.phone-topbar span { font-size: 11px; font-weight: 700; color: var(--text); }
.phone-dots { display: flex; gap: 4px; }
.phone-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.phone-dots span:nth-child(2) { opacity: 0.5; }
.phone-dots span:nth-child(3) { opacity: 0.2; }
.phone-card {
  background: linear-gradient(135deg, rgba(37,99,255,0.15), rgba(0,212,170,0.08));
  border: 1px solid rgba(37,99,255,0.2);
  border-radius: 12px; padding: 12px; margin-bottom: 10px;
}
.phone-card-label { font-size: 8px; color: var(--muted); margin-bottom: 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.phone-card-val { font-size: 13px; font-weight: 700; color: var(--text); }
.phone-items { display: flex; flex-direction: column; gap: 6px; }
.phone-item {
  background: rgba(255,255,255,0.04); border-radius: 8px;
  padding: 8px 10px; display: flex; align-items: center; gap: 8px;
}
.phone-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); flex-shrink: 0; }
.phone-item-text { display: flex; flex-direction: column; gap: 2px; }
.phone-item-text span:first-child { font-size: 8px; font-weight: 500; color: var(--text); }
.phone-item-text span:last-child  { font-size: 7px; color: var(--muted); }

/* ── SECTIONS ── */
.section {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 80px 48px;
}
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: 40px; font-weight: 800; letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--muted); max-width: 520px; margin-bottom: 56px; }

/* ── SCREENSHOTS ── */
.screenshots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.screenshot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; transition: all .3s; cursor: pointer;
}
.screenshot:hover {
  transform: translateY(-6px);
  border-color: rgba(37,99,255,0.4);
  box-shadow: 0 20px 40px rgba(37,99,255,0.15);
}
.screenshot-img {
  aspect-ratio: 9/16; background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.screenshot-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(37,99,255,0.08), transparent 60%, rgba(0,212,170,0.05));
}
.ss-num {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: white;
  width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 800; z-index: 99;
}
.ss-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 0; gap: 8px;
}
.ss-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.07); }
.ss-bar.accent { background: rgba(37,99,255,0.35); width: 60%; }
.ss-bar.short  { width: 40%; }
.ss-block {
  height: 48px; border-radius: 8px;
  background: rgba(37,99,255,0.08);
  border: 1px solid rgba(37,99,255,0.15);
}
.screenshot-meta   { padding: 14px 16px; }
.screenshot-title  { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.screenshot-sub    { font-size: 11px; color: var(--muted); }

/* ── FEATURES ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px; transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(37,99,255,0.3); }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(37,99,255,0.12);
  border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 18px; font-size: 20px;
}
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── DIVIDER ── */
.divider { max-width: 1200px; margin: 0 auto; height: 1px; background: var(--border); }

/* ── FOOTER (index) ── */
.footer {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 60px 48px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.footer-brand .logo  { margin-bottom: 16px; }
.footer-brand p      { font-size: 14px; color: var(--muted); max-width: 320px; line-height: 1.7; }
.footer-links        { display: flex; gap: 48px; }
.footer-col h4       { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 16px; color: var(--text); }
.footer-col a        { display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover  { color: var(--text); }
.support-email {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,255,0.1); border: 1px solid rgba(37,99,255,0.25);
  border-radius: 8px; padding: 10px 16px;
  color: #7aa8ff; font-size: 14px; text-decoration: none;
  margin-top: 8px; transition: all .2s;
}
.support-email:hover { background: rgba(37,99,255,0.18); }
.footer-bottom {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 20px 48px 40px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}

/* ── STORE BADGES ── */
.stores-row { display: flex; gap: 12px; margin-top: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 500; transition: all .2s;
}
.store-badge:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.store-badge svg { width: 18px; height: 18px; }

/* ============================================================
   PRIVACY — PAGE LAYOUT
   ============================================================ */
.page-wrap {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto;
  padding: 64px 48px 100px;
}

/* ── PAGE HEADER ── */
.page-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.page-header-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,255,0.1); border: 1px solid rgba(37,99,255,0.25);
  border-radius: 100px; padding: 5px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: #7aa8ff; margin-bottom: 22px;
}
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 44px; font-weight: 800; letter-spacing: -1.5px;
  margin-bottom: 16px; line-height: 1.1;
}
.page-header-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.meta-item   { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.meta-dot    { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 56px;
}
.toc-title {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase;
  margin-bottom: 16px;
}
.toc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.toc-list li a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s;
}
.toc-list li a:hover { color: var(--accent); }
.toc-num {
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  background: rgba(37,99,255,0.12); color: var(--accent);
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; flex-shrink: 0;
}

/* ── ARTICLE ── */
.article section { margin-bottom: 52px; }
.article h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  scroll-margin-top: 90px;
}
.article h2 .sec-num {
  font-size: 11px; font-weight: 700;
  background: rgba(37,99,255,0.12); color: var(--accent);
  padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px;
}
.article p { font-size: 15.5px; color: rgba(232,236,244,0.82); margin-bottom: 14px; line-height: 1.75; }
.article ul, .article ol { padding-left: 0; list-style: none; margin-bottom: 16px; }
.article ul li,
.article ol li {
  font-size: 15px; color: rgba(232,236,244,0.8);
  padding: 10px 14px 10px 44px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.6;
}
.article ul li::before {
  content: '→';
  position: absolute; left: 14px;
  color: var(--accent); font-size: 13px;
}
.article ol { counter-reset: list; }
.article ol li { counter-increment: list; }
.article ol li::before {
  content: counter(list);
  position: absolute; left: 12px; top: 10px;
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  background: rgba(37,99,255,0.15); color: var(--accent);
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}

.highlight-box {
  background: rgba(0,212,170,0.06);
  border: 1px solid rgba(0,212,170,0.18);
  border-left: 3px solid var(--accent2);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 20px 0;
  font-size: 14.5px; color: rgba(232,236,244,0.85); line-height: 1.7;
}
.warning-box {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.18);
  border-left: 3px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 20px 0;
  font-size: 14.5px; color: rgba(232,236,244,0.85); line-height: 1.7;
}

.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.data-table th {
  text-align: left; padding: 10px 16px;
  background: var(--surface2);
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(232,236,244,0.8); vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── ARTICLE FOOTER ── */
.article-footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.article-footer-text h3 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.article-footer-text p  { font-size: 14px; color: var(--muted); }
.contact-email {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,255,0.12); border: 1px solid rgba(37,99,255,0.28);
  border-radius: 10px; padding: 12px 20px;
  color: #7aa8ff; font-size: 14px; text-decoration: none; font-weight: 500;
  transition: all .2s; white-space: nowrap;
}
.contact-email:hover { background: rgba(37,99,255,0.2); }

/* ── PAGE FOOTER (privacy) ── */
.page-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap; gap: 10px;
}
.page-footer a { color: var(--muted); text-decoration: none; }
.page-footer a:hover { color: var(--text); }

/* ============================================================
   DELETE ACCOUNT — CARD
   ============================================================ */
.page {
  position: relative; z-index: 1;
  min-height: calc(100vh - 73px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%; max-width: 480px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* ── BANNER ── */
.card-banner {
  background: linear-gradient(135deg, rgba(239,68,68,0.12), rgba(239,68,68,0.04));
  border-bottom: 1px solid var(--danger-border);
  padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 16px;
}
.banner-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(239,68,68,0.12);
  border: 1px solid var(--danger-border);
  border-radius: 12px; display: grid; place-items: center;
  font-size: 22px;
}
.banner-text h1 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.banner-text p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── STEPS ── */
.steps {
  display: flex; align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}
.step  { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; flex: 1; }
.step-circle {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 800;
  flex-shrink: 0; transition: all .3s;
}
.step.active   .step-circle { background: var(--accent); color: white; }
.step.done     .step-circle { background: var(--success); color: white; }
.step.inactive .step-circle { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }
.step-label           { color: var(--muted); font-size: 12px; }
.step.active  .step-label { color: var(--text); }
.step.done    .step-label { color: var(--success); }
.step-line      { flex: 1; height: 1px; background: var(--border); margin: 0 8px; max-width: 40px; }
.step-line.done { background: var(--success); opacity: 0.5; }

/* ── FORM BODY ── */
.card-body { padding: 32px; }

.screen       { display: none; }
.screen.active { display: block; animation: fadeIn .3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.field       { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--muted); margin-bottom: 8px; letter-spacing: 0.2px;
}

.input-wrap { position: relative; }
.input-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
input[type="email"],
input[type="text"] {
  width: 100%;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px 13px 42px;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--text); outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
input:focus       { border-color: rgba(37,99,255,0.5); box-shadow: 0 0 0 3px rgba(37,99,255,0.08); }
input.error       { border-color: var(--danger); }
input::placeholder { color: var(--muted); opacity: 0.6; }

/* ── CODE INPUT ── */
.code-inputs { display: flex; gap: 10px; justify-content: center; margin: 8px 0; }
.code-digit {
  width: 54px; height: 62px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700;
  color: var(--text); text-align: center; outline: none;
  transition: all .2s; -webkit-appearance: none; padding: 0 !important;
}
.code-digit:focus  { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,255,0.1); }
.code-digit.filled { border-color: rgba(37,99,255,0.4); background: rgba(37,99,255,0.08); }
.code-digit.error  { border-color: var(--danger); background: var(--danger-bg); }

/* ── FORM BUTTONS ── */
.btn-danger {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px;
  background: var(--danger); color: white;
  border: none; border-radius: 11px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  transition: all .2s;
}
.btn-danger:hover    { background: #dc2626; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(239,68,68,0.3); }
.btn-danger:disabled { opacity: 0.5; pointer-events: none; }

.btn-primary-full {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px;
  background: var(--accent); color: white;
  border: none; border-radius: 11px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  transition: all .2s;
}
.btn-primary-full:hover    { background: #1d4ed8; transform: translateY(-1px); }
.btn-primary-full:disabled { opacity: 0.5; pointer-events: none; }

.btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  transition: all .2s; margin-top: 10px;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }

/* ── RESEND TIMER ── */
.resend-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; font-size: 13px;
}
.resend-info { color: var(--muted); }
.resend-btn  {
  color: var(--accent); background: none; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  cursor: pointer; padding: 0; transition: opacity .2s;
}
.resend-btn:disabled { opacity: 0.4; cursor: default; }
#timer { color: var(--muted); font-size: 13px; }

/* ── DANGER WARNING ── */
.warning-block {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 22px;
  font-size: 13.5px; color: rgba(252,165,165,0.9); line-height: 1.6;
}
.warning-block strong { color: #fca5a5; }

/* ── DATA LIST ── */
.data-list       { margin-bottom: 22px; }
.data-list-title {
  font-size: 12px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px;
}
.data-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  background: rgba(239,68,68,0.04);
  margin-bottom: 4px; font-size: 13.5px; color: var(--text);
}
.data-item::before { content: '✗'; color: var(--danger); font-size: 12px; font-weight: 700; }

/* ── SUCCESS ── */
.success-wrap { text-align: center; padding: 16px 0; }
.success-icon {
  width: 72px; height: 72px;
  background: rgba(34,197,94,0.1);
  border: 2px solid rgba(34,197,94,0.25);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 32px; margin: 0 auto 24px;
}
.success-wrap h2  { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.success-wrap p   { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 320px; margin: 0 auto 28px; }

/* ── MISC ── */
.field-error          { font-size: 12px; color: var(--danger); margin-top: 6px; display: none; }
.field-error.visible  { display: block; }

.email-display {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,255,0.1); border: 1px solid rgba(37,99,255,0.2);
  border-radius: 8px; padding: 6px 12px;
  font-size: 14px; color: #7aa8ff; font-weight: 500; margin-bottom: 20px;
}

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white; border-radius: 50%;
  animation: spin .7s linear infinite; display: none;
}
.spinner.active { display: block; }

/* ============================================================
   АНИМАЦИИ
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   МЕДИАЗАПРОСЫ
   ============================================================ */
@media (max-width: 900px) {
  nav                  { padding: 16px 24px; }
  .nav-links           { display: none; }
  .hero                { grid-template-columns: 1fr; padding: 60px 24px 40px; }
  h1                   { font-size: 38px; }
  .hero-visual         { display: none; }
  .screenshots         { grid-template-columns: repeat(2, 1fr); }
  .features            { grid-template-columns: 1fr; }
  .footer              { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-bottom       { flex-direction: column; gap: 10px; text-align: center; padding: 20px 24px 32px; }
  .section             { padding: 60px 24px; }
  h2                   { font-size: 28px; }
}

@media (max-width: 768px) {
  .page-wrap           { padding: 40px 20px 60px; }
  .page-header h1      { font-size: 30px; }
  .toc-list            { grid-template-columns: 1fr; }
  .article-footer      { flex-direction: column; }
  .page-footer         { padding: 20px; }
}

@media (max-width: 600px) {
  .card-body           { padding: 24px 20px; }
  .card-banner         { padding: 22px 20px; }
  .steps               { padding: 16px 20px; }
  .code-digit          { width: 46px; height: 54px; font-size: 20px; }
}