/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:root {
  /* Rich dark brown base */
  --bg-0: #1b120d;
  --bg-1: #241810;
  --bg-2: #2e1f16;
  --brown-mid: #4a3223;
  --brown-line: #5c4130;

  /* Blue accents */
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-600: #2563eb;
  --blue-glow: rgba(59, 130, 246, 0.35);

  /* Gold/amber secondary accent (ties brown + blue together) */
  --amber-400: #d9a066;
  --amber-500: #c98a4b;

  --text-0: #f3ece4;
  --text-1: #d8c8ba;
  --text-2: #a8927e;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.35);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; color: var(--text-1); line-height: 1.65; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(59,130,246,0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(201,138,75,0.12), transparent 60%),
    linear-gradient(180deg, #1b120d 0%, #201510 40%, #1b120d 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: 0 8px 24px var(--blue-glow);
}
.btn-primary:hover { box-shadow: 0 12px 30px var(--blue-glow); }

.btn-outline {
  background: rgba(255,255,255,0.02);
  border-color: var(--brown-line);
  color: var(--text-0);
}
.btn-outline:hover { border-color: var(--blue-400); background: rgba(96,165,250,0.08); }

.btn-ghost {
  color: var(--text-1);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--text-0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(27, 18, 13, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--amber-500), var(--blue-500));
  color: #1b120d;
  font-size: 0.85rem;
  font-weight: 800;
}
.brand-name em { font-style: normal; color: var(--blue-400); }

.main-nav { display: flex; gap: 30px; }
.main-nav a { color: var(--text-1); font-size: 0.95rem; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text-0); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-0); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-400);
  background: rgba(217,160,102,0.1);
  border: 1px solid rgba(217,160,102,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: var(--text-0);
  margin-bottom: 20px;
}
.grad-text {
  background: linear-gradient(135deg, var(--blue-400), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.08rem; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 0.9rem; }
.stars { color: var(--amber-400); letter-spacing: 2px; }

/* Hero visual panel */
.panel-stack { position: relative; }
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--brown-line);
}
.panel-back {
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(201,138,75,0.1));
  filter: blur(2px);
  z-index: 0;
}
.panel-main {
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--brown-line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #e5786b; }
.dot.yellow { background: #e3b34d; }
.dot.green { background: #6fbf7a; }
.panel-title { margin-left: 8px; font-size: 0.85rem; color: var(--text-2); }

.panel-body { padding: 22px; }
.mini-stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.mini-label { color: var(--text-2); font-size: 0.85rem; width: 100%; }
.mini-value { font-size: 1.8rem; font-weight: 800; color: var(--text-0); }
.mini-delta.up { color: #7ed99a; font-weight: 700; font-size: 0.9rem; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-bottom: 20px;
}
.mini-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  opacity: 0.9;
}
.mini-chart span:last-child { background: linear-gradient(180deg, var(--amber-400), var(--amber-500)); }

.mini-row { display: flex; flex-direction: column; gap: 10px; }
.mini-pill {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.mini-pill strong { color: var(--text-0); }
.mini-pill .ok { color: #7ed99a; }

/* ---------- Logos ---------- */
.logos { padding: 20px 0 60px; }
.logos-label { text-align: center; color: var(--text-2); font-size: 0.85rem; margin-bottom: 22px; letter-spacing: 0.03em; }
.logos-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* ---------- Section shared ---------- */
section { padding: 90px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--text-0); margin: 14px 0; }
.section-head .eyebrow { margin-bottom: 0; }

/* ---------- Features ---------- */
.features { background: linear-gradient(180deg, transparent, rgba(46,31,22,0.4), transparent); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--brown-line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96,165,250,0.4);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.12);
  color: var(--blue-400);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { color: var(--text-0); font-size: 1.15rem; margin-bottom: 10px; }

/* ---------- Product ---------- */
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--text-0); margin: 14px 0 30px; }
.steps { display: flex; flex-direction: column; gap: 26px; margin-bottom: 34px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217,160,102,0.12);
  color: var(--amber-400);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid rgba(217,160,102,0.3);
}
.steps h4 { color: var(--text-0); margin-bottom: 4px; font-size: 1.05rem; }

.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.glass-caption {
  padding: 12px 16px 4px;
  color: var(--text-2);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.glass-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
}
.glass-row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.05); }
.glass-row.muted { opacity: 0.5; }
.glass-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--brown-mid);
  flex-shrink: 0;
}
.glass-icon.blue { background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); }
.glass-icon.amber { background: linear-gradient(135deg, var(--amber-400), var(--amber-500)); }
.glass-row div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.glass-row strong { color: var(--text-0); font-size: 0.95rem; }
.glass-row span { color: var(--text-2); font-size: 0.8rem; }

.toggle {
  width: 40px; height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  position: relative;
  flex-shrink: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--text-2);
  transition: transform 0.2s ease, background 0.2s ease;
}
.toggle.on { background: rgba(59,130,246,0.35); }
.toggle.on::after { transform: translateX(18px); background: var(--blue-400); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  margin: 0;
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--brown-line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testimonial-card p { color: var(--text-1); font-style: italic; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.testimonial-card footer div { display: flex; flex-direction: column; }
.testimonial-card strong { color: var(--text-0); font-size: 0.92rem; }
.testimonial-card footer span { color: var(--text-2); font-size: 0.8rem; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-500), var(--amber-500));
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.hosting-explainer {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(46,31,22,0.4));
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 40px;
}
.hosting-explainer-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.15);
  color: var(--blue-400);
}
.hosting-explainer-icon svg { width: 24px; height: 24px; }
.hosting-explainer h4 { color: var(--text-0); font-size: 1.05rem; margin-bottom: 8px; }
.hosting-explainer p { margin: 0; font-size: 0.95rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--brown-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card h3 { color: var(--text-0); font-size: 1.3rem; margin-bottom: 8px; }
.price-desc { min-height: 44px; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.price .amount { font-size: 2.6rem; font-weight: 800; color: var(--text-0); }
.price .period { color: var(--text-2); }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-features li { color: var(--text-1); padding-left: 26px; position: relative; font-size: 0.93rem; }
.price-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--blue-400);
  font-weight: 800;
}
.price-card.featured {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 1px var(--blue-500), var(--shadow-lg);
  transform: scale(1.03);
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px var(--blue-glow);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-0);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--blue-400);
  margin-left: 12px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(1000px 400px at 50% 0%, rgba(59,130,246,0.18), transparent 70%), var(--bg-1);
  border-top: 1px solid var(--brown-line);
  border-bottom: 1px solid var(--brown-line);
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--text-0); margin-bottom: 12px; }
.cta-inner p { margin-bottom: 30px; }
.cta-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--brown-line);
  background: var(--bg-2);
  color: var(--text-0);
  font-size: 0.95rem;
}
.cta-form input:focus { outline: none; border-color: var(--blue-400); }
.form-note { margin-top: 16px; font-size: 0.82rem; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--brown-line); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand p { max-width: 260px; font-size: 0.88rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { color: var(--text-0); font-size: 0.9rem; margin-bottom: 16px; }
.footer-cols a { display: block; color: var(--text-2); font-size: 0.9rem; padding: 6px 0; transition: color 0.15s ease; }
.footer-cols a:hover { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid var(--brown-line);
  padding: 22px 24px;
  color: var(--text-2);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .product-inner { grid-template-columns: 1fr; }
  .product-visual { order: -1; }
  .feature-grid, .testimonial-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .hosting-explainer { flex-direction: column; }
}

@media (max-width: 720px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-1);
    border-bottom: 1px solid var(--brown-line);
    padding: 18px 24px;
    gap: 16px;
  }
  .site-header.nav-open .header-actions {
    display: flex;
    position: absolute;
    top: calc(100% + 190px);
    left: 0; right: 0;
    background: var(--bg-1);
    padding: 0 24px 18px;
    justify-content: center;
  }
  .feature-grid, .testimonial-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .logos-row { justify-content: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
