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

:root {
  --bg:       #0d1117;
  --surface:  #161b22;
  --border:   #30363d;
  --text:     #e6edf3;
  --muted:    #8b949e;
  --accent:   #58a6ff;
  --accent2:  #3fb950;
  --danger:   #f85149;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo span { color: var(--accent); }

nav .cta-btn {
  background: var(--accent);
  color: #0d1117;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

nav .cta-btn:hover { text-decoration: none; opacity: 0.88; }

/* ── Sections ── */
section { padding: 5rem 2rem; max-width: 960px; margin: 0 auto; }

/* ── Hero ── */
.hero { text-align: center; padding-top: 6rem; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero h1 em { color: var(--accent); font-style: normal; }

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #0d1117;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-primary:hover { text-decoration: none; opacity: 0.88; }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-secondary:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

/* ── How it works ── */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; }

.tab {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  background: transparent;
  color: var(--muted);
}

.tab.active { background: var(--surface); color: var(--text); border-color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.step-num {
  display: inline-block;
  background: var(--accent);
  color: #0d1117;
  font-weight: 700;
  font-size: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.price-card.featured { border-color: var(--accent); }

.price-card .gpu { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.price-card .price { font-size: 2rem; font-weight: 800; color: var(--accent2); }
.price-card .price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card .note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* ── Contact ── */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
}

.contact-box p { color: var(--muted); margin-bottom: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.contact-box input:focus,
.contact-box textarea:focus { border-color: var(--accent); }

.contact-box textarea { resize: vertical; margin-bottom: 0.75rem; }

.contact-box button { width: 100%; justify-content: center; }

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

footer a { color: var(--muted); margin: 0 0.5rem; }
footer a:hover { color: var(--text); text-decoration: none; }

/* ── Legal pages ── */
.legal { max-width: 720px; margin: 0 auto; padding: 4rem 2rem; }
.legal h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 3rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2.5rem; margin-bottom: 0.5rem; color: var(--accent); }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.5rem; }
.legal a { color: var(--accent); }

@media (max-width: 600px) {
  nav { padding: 1rem; }
  section { padding: 3rem 1rem; }
  .hero { padding-top: 3rem; }
}
