/* =========================================================
   FastestVPN.store — Design System
   Dark cybersecurity aesthetic: Deep Slate / Obsidian + Neon Cyan / Electric Blue
   ========================================================= */

:root {
  --bg-obsidian: #05070a;
  --bg-primary: #0a0e14;
  --bg-slate: #10151d;
  --bg-card: #141b25;
  --bg-card-hover: #182231;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --accent-cyan: #00f0ff;
  --accent-blue: #2f8fff;
  --accent-gradient: linear-gradient(120deg, var(--accent-cyan), var(--accent-blue));

  --text-primary: #eaf1f7;
  --text-secondary: #a8b6c5;
  --text-muted: #6d7c8d;

  --success: #34e6a8;
  --error: #ff5c7a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-glow: 0 0 0 1px rgba(0, 240, 255, 0.15), 0 20px 60px -20px rgba(0, 240, 255, 0.25);
  --shadow-card: 0 10px 30px -15px rgba(0, 0, 0, 0.6);

  --header-h: 76px;
  --max-width: 1180px;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; color: inherit; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-cyan);
  color: #04141a;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus { left: 0; }

code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
.eyebrow-glow { text-shadow: 0 0 18px rgba(0, 240, 255, 0.5); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.15rem; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-slate); border-block: 1px solid var(--border-subtle); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-sub { color: var(--text-secondary); font-size: 1.05rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #04141a;
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(0, 240, 255, 0.55); }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 10px 16px; }
.btn-ghost:hover { color: var(--accent-cyan); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(0, 240, 255, 0.35); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand-dot { color: var(--accent-cyan); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text-secondary); font-size: 0.94rem; font-weight: 500; position: relative; padding: 6px 0; transition: color 0.15s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text-primary); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent-gradient); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 40%, transparent 80%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(closest-side, rgba(0, 240, 255, 0.18), transparent 70%);
  z-index: -1;
}
.hero-inner { max-width: 780px; text-align: center; margin-inline: auto; }
.vpn-emblem { margin: 28px auto 0; text-align: center; }
.vpn-letters {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.vpn-letters span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(0, 240, 255, 0.35);
}
.vpn-fullform {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.vpn-decode-sub { display: block; margin-top: 4px; color: var(--text-muted); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: none; }
.hero-sub { color: var(--text-secondary); font-size: 1.15rem; margin-top: 22px; max-width: 640px; margin-inline: auto; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border-subtle);
  color: var(--text-muted); font-size: 0.85rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--accent-cyan); }

.page-hero {
  padding: 90px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% -10%, rgba(0, 240, 255, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero h1 { max-width: 760px; margin-inline: auto; }
.page-hero .hero-sub { max-width: 640px; margin-inline: auto; }

/* ---------- Value cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(0, 240, 255, 0.3); background: var(--bg-card-hover); }
.value-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(0, 240, 255, 0.08); margin-bottom: 20px;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--text-secondary); font-size: 0.96rem; }

/* ---------- Architecture teaser ---------- */
.architecture-teaser { padding: 90px 0; background: var(--bg-slate); border-block: 1px solid var(--border-subtle); }
.arch-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.arch-copy p { color: var(--text-secondary); margin: 18px 0 26px; font-size: 1.02rem; }
.arch-visual { display: flex; flex-direction: column; gap: 14px; }
.node {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  font-weight: 600; font-size: 0.95rem; color: var(--text-secondary);
}
.node-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.node-you { border-color: rgba(0, 240, 255, 0.4); color: var(--text-primary); box-shadow: var(--shadow-glow); }
.node-you .node-dot { background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan); }
.node-locked { margin-left: 24px; }
.node-locked .node-dot { background: var(--accent-blue); }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bg-card); }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; font-size: 0.95rem; }
.compare-table thead th {
  background: var(--bg-slate); color: var(--text-primary); font-weight: 700;
  border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0;
}
.th-sub { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; margin-top: 3px; }
.compare-table tbody tr { border-bottom: 1px solid var(--border-subtle); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table td { color: var(--text-secondary); }
.compare-table td:first-child { color: var(--text-primary); font-weight: 600; }
.col-highlight { background: rgba(0, 240, 255, 0.05); color: var(--text-primary) !important; }
.compare-table thead th.col-highlight { background: rgba(0, 240, 255, 0.1); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(47, 143, 255, 0.1));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-band-inner { text-align: center; }
.cta-band-inner p { color: var(--text-secondary); margin: 14px 0 30px; font-size: 1.05rem; }

/* ---------- Steps / feature rows (security page) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 30px 26px;
}
.step-num { font-family: 'JetBrains Mono', monospace; color: var(--accent-cyan); font-weight: 600; font-size: 0.9rem; }
.step-card h3 { margin: 14px 0 10px; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }

.feature-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.feature-row { display: flex; gap: 18px; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(0, 240, 255, 0.08);
}
.feature-row h3 { margin-bottom: 8px; }
.feature-row p { color: var(--text-secondary); font-size: 0.95rem; }

.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.policy-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 26px; }
.policy-card h3 { margin-bottom: 10px; color: var(--accent-cyan); font-size: 1.05rem; }
.policy-card p { color: var(--text-secondary); font-size: 0.95rem; }
.policy-card a { color: var(--accent-cyan); }

.policy-text { max-width: 780px; }
.policy-text h2 { margin-bottom: 16px; }
.policy-text p { color: var(--text-secondary); }
.policy-text a { color: var(--accent-cyan); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 36px 30px; display: flex; flex-direction: column; position: relative;
}
.price-featured { border-color: rgba(0, 240, 255, 0.45); box-shadow: var(--shadow-glow); background: var(--bg-card-hover); }
.price-ribbon {
  position: absolute; top: -13px; left: 30px; background: var(--accent-gradient);
  color: #04141a; font-size: 0.75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.price-desc { color: var(--text-secondary); font-size: 0.92rem; margin: 10px 0 22px; min-height: 44px; }
.price-tag { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.price-amount { font-size: 2.4rem; font-weight: 800; }
.price-period { color: var(--text-muted); font-size: 0.85rem; }
.price-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex-grow: 1; }
.price-features li {
  position: relative; padding-left: 26px; color: var(--text-secondary); font-size: 0.92rem;
}
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  background: var(--accent-gradient); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 36px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 26px 22px; }
.contact-card p { color: var(--text-secondary); font-size: 0.9rem; margin: 8px 0 14px; }
.contact-link { color: var(--accent-cyan); font-weight: 600; font-size: 0.92rem; word-break: break-all; }
.contact-note { background: var(--bg-slate); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 30px; }
.contact-note h2 { font-size: 1.4rem; margin-bottom: 12px; }
.contact-note p { color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- Order form ---------- */
.order-section { padding: 100px 0; background: var(--bg-slate); border-top: 1px solid var(--border-subtle); }
.order-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.order-intro p { color: var(--text-secondary); margin: 16px 0 28px; font-size: 1.02rem; }
.order-points { display: flex; flex-direction: column; gap: 14px; }
.order-points li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.95rem; }

.order-form {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-card);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.field .optional { font-weight: 400; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  background: var(--bg-slate); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text-primary); font-size: 0.95rem; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 90px; }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.valid input, .field.valid select { border-color: var(--success); }
.field-error { display: none; color: var(--error); font-size: 0.8rem; }
.field.invalid .field-error { display: block; }

.input-suffix { display: flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-slate); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.input-suffix input { border: none; background: transparent; border-radius: 0; }
.input-suffix input:focus { box-shadow: none; }
.input-suffix:focus-within { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15); }
.input-suffix span { display: flex; align-items: center; padding: 0 14px; color: var(--text-muted); font-size: 0.88rem; background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.field.invalid .input-suffix { border-color: var(--error); }

select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236d7c8d' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-alert {
  display: none; padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem;
  border: 1px solid transparent;
}
.form-alert.show { display: block; }
.form-alert.success { background: rgba(52, 230, 168, 0.1); border-color: rgba(52, 230, 168, 0.35); color: var(--success); }
.form-alert.error { background: rgba(255, 92, 122, 0.1); border-color: rgba(255, 92, 122, 0.35); color: var(--error); }
.form-alert a { text-decoration: underline; color: inherit; }

.form-fine { color: var(--text-muted); font-size: 0.8rem; margin-top: 16px; text-align: center; }

.btn-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(4, 20, 26, 0.35); border-top-color: #04141a; animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-label { opacity: 0.7; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Webmail ---------- */
.webmail-section { padding: 100px 0; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.webmail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.webmail-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-card); text-align: center;
}
.webmail-lock { width: 60px; height: 60px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background: rgba(0, 240, 255, 0.08); border-radius: 16px; }
.webmail-sub { color: var(--text-secondary); margin: 8px 0 26px; }
.webmail-form { text-align: left; display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.webmail-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.checkbox { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent-cyan); }
.link-muted { color: var(--text-muted); }
.link-muted:hover { color: var(--accent-cyan); }
.webmail-footnote { margin-top: 22px; color: var(--text-muted); font-size: 0.88rem; }
.webmail-footnote a { color: var(--accent-cyan); font-weight: 600; }
.webmail-side h2 { margin-bottom: 14px; }
.webmail-side p { color: var(--text-secondary); margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-obsidian); border-top: 1px solid var(--border-subtle); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-tagline { color: var(--text-secondary); font-size: 0.9rem; margin: 16px 0 20px; max-width: 280px; }
.footer-badges { display: flex; flex-direction: column; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.82rem; }
.badge svg { color: var(--accent-cyan); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--text-primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent-cyan); }
.footer-muted { color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding: 22px 0; color: var(--text-muted); font-size: 0.82rem; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 1; }
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.pre-reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .value-grid, .steps-grid, .pricing-grid, .contact-cards { grid-template-columns: 1fr; }
  .feature-list-grid, .policy-grid { grid-template-columns: 1fr; }
  .arch-inner, .order-wrap, .contact-grid, .webmail-wrap { grid-template-columns: 1fr; }
  .arch-visual { margin-top: 20px; }
  .node-locked { margin-left: 0; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg-primary);
    flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 24px; transform: translateX(100%);
    transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm, .header-actions .btn-ghost.btn-sm { display: none; }
  .site-header.menu-open .header-inner { position: relative; z-index: 101; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 90px 0 70px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
}
