/* ============ Base ============ */
:root {
  --bg: #0b0b12;
  --bg-alt: #11111c;
  --surface: #171725;
  --border: #262638;
  --text: #f2f2f8;
  --muted: #a4a4bd;
  --accent: #7c5cff;
  --accent-2: #ff4d8d;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --radius: 16px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 40px; }
h3 { font-size: 1.15rem; font-weight: 600; }

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

.kicker {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 560px; margin: -24px 0 32px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-display);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 92, 255, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ============ Hero ============ */
.hero {
  padding: 90px 0 110px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(124, 92, 255, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 77, 141, 0.10), transparent);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.lead { color: var(--muted); font-size: 1.15rem; margin: 20px 0 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-points li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Phone mockups */
.hero-visual {
  position: relative;
  height: 460px;
}
.phone {
  position: absolute;
  width: 180px;
  aspect-ratio: 9 / 19;
  background: #000;
  border-radius: 28px;
  padding: 8px;
  border: 1px solid #333;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.phone-1 { left: 4%; top: 40px; transform: rotate(-7deg); z-index: 1; animation: float 7s ease-in-out infinite; }
.phone-2 { left: 32%; top: 0; z-index: 3; width: 200px; animation: float 8s ease-in-out 0.8s infinite; }
.phone-3 { right: 2%; top: 60px; transform: rotate(7deg); z-index: 2; animation: float 7.5s ease-in-out 1.6s infinite; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28%;
}
.scene-a { background: linear-gradient(160deg, #2a1d5e 0%, #0f0c2e 60%, #251038 100%); }
.scene-b { background: linear-gradient(200deg, #4a1042 0%, #1c0b2e 55%, #0d0d24 100%); }
.scene-c { background: linear-gradient(140deg, #103a4a 0%, #0c1230 60%, #2a1048 100%); }

.phone-screen::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  translate: -50% 0;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 65%);
}

.caption {
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.caption .w { color: rgba(255, 255, 255, 0.55); }
.caption .w.done { color: #fff; }
.caption .w.active {
  color: #0b0b12;
  background: #ffd83d;
  border-radius: 6px;
  padding: 1px 6px;
  display: inline-block;
  transform: rotate(-1.5deg);
}

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============ Cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card-icon { font-size: 1.8rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ============ Pricing ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 48px rgba(124, 92, 255, 0.25);
}
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  margin: 14px 0 22px;
}
.price span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card li {
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 36px;
}

/* ============ FAQ ============ */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.4rem;
  color: var(--accent);
  transition: rotate 0.2s;
}
details[open] summary::after { rotate: 45deg; }
details p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* ============ Form ============ */
.order-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.order-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.order-form input,
.order-form select,
.order-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s;
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.order-form textarea { resize: vertical; }
.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.form-note-error {
  color: #ffb4b4;
}
.form-note-error a {
  color: var(--text);
  font-weight: 600;
}

.form-success {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 0 0 1px var(--accent), 0 16px 48px rgba(124, 92, 255, 0.25);
}
.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--muted);
}

.order-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer strong { color: var(--text); font-family: var(--font-display); }
.footer strong span { color: var(--accent); }
.footer a { color: var(--muted); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; max-width: 480px; margin: 0 auto; width: 100%; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .price-card.featured { order: -1; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .form-row { grid-template-columns: 1fr; }
  .phone { width: 140px; }
  .phone-2 { width: 156px; }
  .hero-visual { height: 360px; }
}
