:root {
  --bg: #070707;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f8fafc;
  --muted: #a1a1aa;
  --line: #2a2a2a;
  --primary: #fe2c55;
  --secondary: #25f4ee;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(37, 244, 238, .08), transparent 32%),
    radial-gradient(circle at top left, rgba(254, 44, 85, .10), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 7, .82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), #7c3aed 58%, var(--secondary));
  box-shadow: 0 10px 30px rgba(254, 44, 85, .2);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d4d4d8;
  font-size: 14px;
}

.nav-links a:hover,
.footer-links a:hover {
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff5f7d);
  color: white;
  box-shadow: 0 12px 35px rgba(254, 44, 85, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #d4d4d8;
  background: rgba(255,255,255,.035);
  font-size: 13px;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.visual-card {
  min-height: 450px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    #0d0d0d;
  box-shadow: 0 25px 80px rgba(0,0,0,.38);
}

.preview {
  height: 100%;
  min-height: 400px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(254,44,85,.20), transparent 45%),
    linear-gradient(320deg, rgba(37,244,238,.14), transparent 45%),
    #151515;
  position: relative;
  overflow: hidden;
}

.play {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: rgba(255,255,255,.94);
  color: #111;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.floating-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}

.section {
  padding: 72px 0;
}

.section-title {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
}

.section-title p,
.card p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(254,44,85,.14);
  color: #ff7791;
  font-weight: 900;
}

.card h3 {
  margin: 18px 0 8px;
}

.cta {
  padding: 38px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at top right, rgba(37,244,238,.12), transparent 35%),
    radial-gradient(circle at bottom left, rgba(254,44,85,.16), transparent 40%),
    #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  margin: 0 0 8px;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 72px 0 30px;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.page-hero p {
  color: var(--muted);
}

.legal-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding-bottom: 80px;
}

.legal-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.legal-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}

.legal-nav a:hover {
  background: rgba(255,255,255,.05);
  color: white;
}

.legal-content {
  padding: 34px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
}

.legal-content h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 25px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  padding-left: 22px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--secondary);
  border-radius: 12px;
  background: rgba(37,244,238,.06);
  color: #dffefd;
}

.contact-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: #101010;
}

@media (max-width: 900px) {
  .hero-grid,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 64px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 62px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .visual-card {
    min-height: 360px;
  }

  .preview {
    min-height: 312px;
  }

  .cta {
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-content {
    padding: 24px;
  }
}

.alert {
  padding: 15px 18px;
  margin: 18px 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
}
.alert-success { background: rgba(34,197,94,.10); color: #bbf7d0; }
.alert-error { background: rgba(239,68,68,.10); color: #fecaca; }
.form-card {
  max-width: 520px;
  margin: 56px auto 90px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}
.form-group { margin-bottom: 18px; }
label { display:block; margin-bottom:8px; font-weight:700; }
input[type=password] {
  width:100%; min-height:48px; padding:0 14px; color:white;
  background:#111; border:1px solid #333; border-radius:11px;
}
button { cursor:pointer; font:inherit; }
.profile-box {
  display:flex; align-items:center; gap:18px; padding:22px;
  border:1px solid rgba(255,255,255,.10); border-radius:18px;
  background:rgba(255,255,255,.035);
}
.profile-box img { width:72px; height:72px; border-radius:50%; object-fit:cover; }
.inline-form { display:inline; }
.btn-danger { background:#991b1b; color:#fff; border:0; }
.btn-muted { background:#27272a; color:#fff; border:0; }
.code-note {
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  overflow-wrap:anywhere; padding:13px; border-radius:10px; background:#111; color:#d4d4d8;
}
