/* ===========================================================
   TWO-O Hosting — Design System
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colors */
  --bg: #0a0a0a;
  --bg-elev-1: #111111;
  --bg-elev-2: #171717;
  --bg-card: rgba(23, 23, 23, 0.72);
  --border: rgba(163, 163, 163, 0.16);
  --border-strong: rgba(163, 163, 163, 0.28);
  --text: #fafafa;
  --text-muted: #a3a3a3;
  --text-faint: #737373;
  --accent: #f59e0b;
  --accent-hover: #fcd34d;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.25);
  --success: #2db38a;
  --warning: #f0b44d;
  --danger: #e26161;
  --grid: rgba(163, 163, 163, 0.05);

  /* Spacing */
  --container: 1340px;
  --container-narrow: 1100px;
  --container-text: 920px;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 8px 28px rgba(245, 158, 11, 0.28);

  /* Animations */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.15s var(--ease); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--accent-soft); color: var(--accent-hover); }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-muted); line-height: 1.7; }
p strong { color: var(--text); }

/* === Layout === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

section { padding: 80px 0; position: relative; }
section + section { padding-top: 0; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.18s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-strong); }
.btn-link {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 16px;
}
.btn-link:hover { color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* === Navbar === */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

/* CSS-rendered wordmark (Logo G) — scales infinitely, color-controllable */
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand-wordmark .dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 0.05em 0.18em 0.05em;
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}
.brand-wordmark.large { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.brand-wordmark.huge { font-size: clamp(3.5rem, 7vw, 6rem); }
.brand-wordmark.dark { color: #0a0a0a; }
.brand-wordmark.dark .dot { box-shadow: none; }
.primary-nav {
  display: flex;
  gap: 32px;
  margin-left: auto; margin-right: auto;
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a { color: var(--text); transition: color 0.15s; }
.primary-nav a:hover { color: var(--accent); }
.actions { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.lang-switcher a .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
  filter: saturate(0.85);
  transition: filter 0.15s;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.lang-switcher a:hover { color: var(--text-muted); }
.lang-switcher a:hover .flag { filter: saturate(1); }
.lang-switcher a.active {
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.lang-switcher a.active .flag {
  filter: saturate(1.15);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.4);
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.15s;
}
.icon-btn:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.icon-btn .badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle { display: none; }

/* === Hero === */
.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('/brand/images/hero.jpg');
  background-size: cover;
  background-position: center right;
  opacity: 0.55;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,10,0.85) 50%, rgba(10,10,10,0.4) 100%),
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(245, 158, 11, 0.08), transparent 60%);
}
.hero-content { max-width: 720px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.75rem, 6vw, 4.5rem); }
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* === Cards & Grids === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0;
  transition: all 0.2s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}
.card .card-body { padding: 28px 28px 32px; }
.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--r-md);
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { font-size: 0.92rem; margin-bottom: 16px; line-height: 1.6; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
}
.card .card-link:hover { gap: 10px; }

.feature {
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
}
.feature .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature h4 { margin-bottom: 8px; }
.feature p { font-size: 0.92rem; line-height: 1.65; }

/* === Stats / metrics === */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === Datacenter map === */
.dc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dc-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s var(--ease);
}
.dc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.dc-card .dc-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  position: relative;
}
.dc-card .dc-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
}
.dc-card .dc-body {
  padding: 20px 22px 22px;
}
.dc-card .dc-flag { font-size: 1.6rem; margin-bottom: 6px; line-height: 1; }
.dc-card .dc-city { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.dc-card .dc-country { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 12px; }
.dc-card .dc-meta { font-size: 0.78rem; color: var(--text-faint); display: flex; gap: 16px; }
.dc-card .dc-meta span { display: flex; align-items: center; gap: 4px; }

/* === Trust badges === */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-row .trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trust svg { color: var(--text-muted); flex-shrink: 0; }

/* === CTA section === */
.cta {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(99, 91, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 64px;
  text-align: center;
}
.cta h2 { margin-bottom: 16px; }
.cta p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  padding: 64px 32px 28px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 6px 0;
}
.footer-col a:hover { color: var(--accent); }

.footer-trust {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* === Hero variants === */
.hero-compact { padding: 80px 0 60px; }

/* === VPS Plan Cards === */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s var(--ease);
}
.plan-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.plan-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(245,158,11,0.04), var(--bg-card)); }
.plan-badge {
  position: absolute;
  top: -10px; right: 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 6px; }
.plan-tagline { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; min-height: 36px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-price .price-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.plan-price .price-period { color: var(--text-muted); font-size: 0.9rem; }
.plan-specs { list-style: none; padding: 0; margin: 0 0 24px; }
.plan-specs li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft, rgba(163,163,163,0.06));
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.plan-specs li:last-child { border-bottom: none; }
.plan-specs strong { color: var(--text); font-weight: 600; min-width: 60px; }
.plan-specs .spec-note { color: var(--text-faint); font-size: 0.78rem; }
.plan-specs .check { color: var(--accent); font-weight: 700; }
.plan-card .btn { margin-top: auto; width: 100%; }

/* === Configurator === */
.config-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.config-options {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.config-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 26px;
}
.config-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 14px;
  color: var(--text);
}

/* Segmented buttons */
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 18px;
  min-width: 90px;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.seg-btn:hover { border-color: var(--border-strong); color: var(--text); }
.seg-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
}
.seg-btn .seg-num { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1; }
.seg-btn .seg-unit { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.04em; text-transform: uppercase; }
.seg-btn.active .seg-unit { color: var(--accent); }
.seg-btn .seg-flag { font-size: 1.4rem; line-height: 1; }
.seg-btn .seg-label { font-size: 0.85rem; }
.segmented.billing .seg-btn { flex: 1; flex-direction: row; gap: 8px; }
.segmented.billing .save-badge {
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
}

/* OS select */
.config-select,
select.field-input,
.field-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.config-select:focus,
select.field-input:focus,
.field-select:focus { outline: none; border-color: var(--accent); }
.config-select option,
select.field-input option,
.field-select option {
  background: #0a0a0a;
  color: #fafafa;
  padding: 8px 12px;
}

/* Add-ons */
.addon-list { display: flex; flex-direction: column; gap: 10px; }
.addon-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  align-items: flex-start;
}
.addon-item:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.addon-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}
.addon-item input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.addon-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
}
.addon-content { flex: 1; }
.addon-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.addon-name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.addon-price { color: var(--accent); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.addon-desc { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* Summary panel */
.config-summary {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.summary-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  gap: 12px;
}
.summary-row strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.summary-price-block {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-currency { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); font-weight: 600; }
.price-num-big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--accent); line-height: 1; }
.price-period-big { color: var(--text-muted); font-size: 0.9rem; }
.price-yearly-note { margin-top: 8px; font-size: 0.85rem; color: var(--success); }
.config-cta { width: 100%; margin-bottom: 14px; }
.summary-fineprint { font-size: 0.78rem; color: var(--text-faint); line-height: 1.5; margin: 0; }

@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .config-layout { grid-template-columns: 1fr; }
  .config-summary { position: static; }
}
@media (max-width: 640px) {
  .plan-grid { grid-template-columns: 1fr; }
  .seg-btn { min-width: 70px; padding: 10px 12px; }
  .seg-btn .seg-num { font-size: 1rem; }
}

/* === Plan grid 3-column variant (hosting/storage) === */
.plan-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.plan-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  gap: 8px;
  align-items: baseline;
  line-height: 1.5;
}
.plan-features .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* === Dedicated cards (large rows) === */
.ded-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ded-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  transition: all 0.2s var(--ease);
}
.ded-card:hover { border-color: var(--accent); }
.ded-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(245,158,11,0.04), var(--bg-card)); }
.ded-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.ded-head .plan-name { margin-bottom: 4px; }
.ded-head .plan-tagline { margin-bottom: 0; }
.ded-price { text-align: right; flex-shrink: 0; }
.ded-price .price-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--accent); line-height: 1; }
.ded-price .price-period { color: var(--text-muted); font-size: 0.9rem; }
.ded-price .setup-fee { font-size: 0.78rem; color: var(--text-faint); margin-top: 4px; }
.ded-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.ded-spec-label { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.ded-spec-val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.ded-spec-meta { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* === Domain search === */
.domain-search {
  display: flex;
  gap: 8px;
  background: rgba(23, 23, 23, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px;
  max-width: 720px;
  margin: 32px 0 16px;
  backdrop-filter: blur(8px);
}
.domain-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  padding: 12px 16px;
  outline: none;
  font-family: inherit;
}
.domain-search input::placeholder { color: var(--text-faint); }
.domain-search select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  padding: 0 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
.popular-tlds {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.popular-label { color: var(--text-faint); font-size: 0.85rem; }
.popular-tld {
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.15s;
}
.popular-tld:hover { border-color: var(--accent); color: var(--accent); }
.popular-tld span { color: var(--accent); font-weight: 600; }

/* === TLD pricing table === */
.tld-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tld-table {
  width: 100%;
  border-collapse: collapse;
}
.tld-table th, .tld-table td {
  padding: 14px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tld-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.02);
}
.tld-table tbody tr:last-child td { border-bottom: none; }
.tld-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.tld-table .tld-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.tld-table .tld-popular {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 2px 6px;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 158, 11, 0.22);
}
.tld-table strong { color: var(--accent); font-weight: 700; }
.tld-table td:last-child { text-align: right; }

/* === Pay-as-you-go meters === */
.payg-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.payg-meter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: left;
}
.payg-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1;
}
.payg-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .plan-grid-3 { grid-template-columns: 1fr; }
  .ded-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .payg-meters { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ded-head { flex-direction: column; }
  .ded-price { text-align: left; }
  .domain-search { flex-direction: column; padding: 12px; }
  .domain-search select { padding: 12px 16px; }
  .tld-table th:nth-child(3), .tld-table td:nth-child(3),
  .tld-table th:nth-child(4), .tld-table td:nth-child(4) { display: none; }
}

/* === About: story grid === */
.story-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.story-content h2 { margin-bottom: 18px; }
.story-content p { font-size: 1rem; margin-bottom: 16px; line-height: 1.75; }
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  text-align: left;
}
.stat-block .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-block .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.info-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.info-value { color: var(--text); font-weight: 500; line-height: 1.5; }

/* === Datacenter detail rows === */
.dc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.dc-detail.reverse { grid-template-columns: 1fr 1fr; }
.dc-detail.reverse .dc-detail-img { order: 2; }
.dc-detail.reverse .dc-detail-body { order: 1; }
.dc-detail-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.dc-detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.dc-detail-flag { font-size: 2.4rem; line-height: 1; }
.dc-detail-city { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--text); margin: 0; }
.dc-detail-country { color: var(--text-muted); font-size: 0.92rem; }
.dc-meta-grid {
  display: flex;
  gap: 24px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dc-meta-item { flex: 1; }
.dc-meta-label { display: block; font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.dc-meta-val { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1rem; }
.dc-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-bullets li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.dc-bullets li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 0.3em;
}

/* === Status page === */
.status-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(45, 179, 138, 0.08), var(--bg-card));
  border: 1px solid rgba(45, 179, 138, 0.3);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}
.status-icon-big {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(45, 179, 138, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.status-pulse {
  width: 14px; height: 14px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(45, 179, 138, 0.7);
  animation: status-pulse 2s infinite;
}
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 179, 138, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(45, 179, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 179, 138, 0); }
}
.status-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.status-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.status-row:last-child { border-bottom: none; }
.status-label {
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-uptime {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.status-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-tag.operational { background: rgba(45, 179, 138, 0.12); color: var(--success); }

/* === FAQ accordion === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 30px;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.faq-item p a { color: var(--accent); border-bottom: 1px solid transparent; }
.faq-item p a:hover { border-bottom-color: var(--accent); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .dc-detail { grid-template-columns: 1fr; gap: 24px; }
  .dc-detail.reverse .dc-detail-img { order: -1; }
  .dc-detail.reverse .dc-detail-body { order: 0; }
  .dc-meta-grid { flex-wrap: wrap; }
  .company-info-grid { grid-template-columns: 1fr; }
}

/* === Legal pages layout === */
.legal-page-wrap {
  padding: 80px 0 100px;
}
.legal-hero-block {
  text-align: left;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.legal-hero-block h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-top: 12px;
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 18px;
}
.legal-body-block {
  max-width: 760px;
}
.legal-body-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 48px 0 16px;
}
.legal-body-block h2:first-child { margin-top: 0; }
.legal-body-block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
}
.legal-body-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.78;
}
.legal-body-block ul, .legal-body-block ol {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 12px 0 20px 24px;
  line-height: 1.85;
}
.legal-body-block li { margin-bottom: 6px; padding-left: 4px; }
.legal-body-block strong { color: var(--text); font-weight: 600; }
.legal-body-block a { color: var(--accent); border-bottom: 1px solid transparent; }
.legal-body-block a:hover { border-bottom-color: var(--accent); }
.legal-callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 20px 0 28px;
}
.legal-callout p { margin-bottom: 0; color: #f5f5f5; }
.legal-signature {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.legal-signature p { margin: 0; line-height: 1.7; }
.legal-signature strong { color: var(--text); font-size: 0.95rem; }

/* === Pill / Tag === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--r-full);
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* === Responsive === */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .lang-switcher { display: none; }
  .navbar-inner { padding: 14px 20px; gap: 12px; }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 60px 0 80px; }
  .cta { padding: 40px 24px; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-trust { gap: 24px; }
  section { padding: 60px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .stats { padding: 28px; }
}

/* ───────────────────────── Trust badges ───────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.trust-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.3);
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}
.trust-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.trust-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-badge { padding: 22px 16px; }
  .trust-icon { width: 52px; height: 52px; }
}

/* ───────────────────────── Auth (login/register) ───────────────────────── */
.auth-shell {
  max-width: 480px;
  margin: 60px auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.auth-shell h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.auth-shell .subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 28px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.field-label.required::after {
  content: " *";
  color: var(--accent);
  font-weight: 700;
}
input.field-input,
textarea.field-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
input.field-input::placeholder,
textarea.field-input::placeholder {
  color: var(--text-faint);
}
input.field-input:focus,
textarea.field-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}
input.field-input:-webkit-autofill,
input.field-input:-webkit-autofill:hover,
input.field-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px rgba(20, 20, 20, 1) inset;
  caret-color: var(--text);
}
.field-help {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 2px;
}
.auth-form .btn-lg {
  width: 100%;
  margin-top: 6px;
}
.auth-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.auth-foot a {
  color: var(--accent);
  font-weight: 500;
}

/* Flash messages (used on auth + dashboard) */
.flash {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  margin-bottom: 14px;
  border: 1px solid transparent;
}
.flash-error   { background: rgba(226, 97, 97, 0.08);  border-color: rgba(226, 97, 97, 0.3);  color: #f1a8a8; }
.flash-success { background: rgba(45, 179, 138, 0.08); border-color: rgba(45, 179, 138, 0.3); color: #8fdcc0; }
.flash-info    { background: rgba(120, 160, 255, 0.06); border-color: rgba(120, 160, 255, 0.25); color: #b9c8ee; }

@media (max-width: 520px) {
  .auth-shell { margin: 24px 16px; padding: 28px 22px; }
  .auth-form .row { grid-template-columns: 1fr; }
}
