/* ===========================
   Kipr Marketing — Stellar Theme
   =========================== */

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

:root {
  --bg-void: #040815;
  --bg-deep: #080f24;
  --bg-panel: rgba(15, 24, 49, 0.72);
  --bg-panel-strong: rgba(12, 18, 38, 0.88);
  --line-soft: rgba(137, 169, 255, 0.24);
  --line-strong: rgba(157, 188, 255, 0.45);
  --text-main: #eef3ff;
  --text-muted: #b2bfdc;
  --text-subtle: #8595bc;
  --accent-1: #5d8cff;
  --accent-2: #9b6dff;
  --accent-3: #39d0ff;
  --radius: 14px;
  --shadow-sm: 0 8px 30px rgba(2, 6, 20, 0.35);
  --shadow-md: 0 22px 65px rgba(2, 6, 20, 0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 15%, rgba(71, 88, 200, 0.35), transparent 36%),
    radial-gradient(circle at 85% 8%, rgba(143, 82, 255, 0.24), transparent 30%),
    radial-gradient(circle at 52% 80%, rgba(48, 176, 255, 0.16), transparent 40%),
    linear-gradient(165deg, var(--bg-void) 0%, var(--bg-deep) 55%, #050913 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.5;
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 255, 255, 0.65) 20%, transparent 60%),
    radial-gradient(1px 1px at 30% 55%, rgba(255, 255, 255, 0.55) 40%, transparent 70%),
    radial-gradient(1px 1px at 64% 30%, rgba(255, 255, 255, 0.6) 40%, transparent 70%),
    radial-gradient(2px 2px at 78% 70%, rgba(255, 255, 255, 0.5) 20%, transparent 65%),
    radial-gradient(1px 1px at 88% 22%, rgba(255, 255, 255, 0.6) 30%, transparent 70%);
}

body::after {
  background:
    radial-gradient(circle at 50% -25%, rgba(96, 126, 255, 0.25), transparent 38%),
    radial-gradient(circle at 50% 120%, rgba(88, 33, 190, 0.24), transparent 40%);
}

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

.hidden { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-sm {
  font-size: 14px;
  padding: 9px 18px;
  background: rgba(123, 149, 236, 0.14);
  color: var(--text-main);
  border-color: rgba(158, 185, 255, 0.35);
}
.btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(20, 36, 84, 0.5);
  border-color: rgba(175, 199, 255, 0.5);
}

.btn-lg { font-size: 17px; padding: 15px 34px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2) 62%, var(--accent-3));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(87, 91, 255, 0.36);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(87, 91, 255, 0.45);
  filter: brightness(1.05);
}

.btn-full { width: 100%; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 26, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #93aeff 0%, #c08fff 45%, #5de7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 112px 0 88px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -14% 20% auto;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(96, 126, 255, 0.28), transparent 68%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.hero-inner { position: relative; z-index: 2; }

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(126, 146, 255, 0.16);
  color: #dbe6ff;
  border: 1px solid rgba(171, 192, 255, 0.35);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5df6c7;
  box-shadow: 0 0 14px rgba(93, 246, 199, 0.8);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5f8ff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.72;
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-subtle);
}

/* ---- Proof bar ---- */
.proof-bar {
  background: rgba(6, 12, 30, 0.75);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
  padding: 18px 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.proof-pill {
  background: rgba(122, 140, 221, 0.16);
  color: #dbe6ff;
  border: 1px solid rgba(170, 188, 255, 0.32);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---- Section shared ---- */
.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #f4f8ff;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  text-align: center;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ---- Benefits ---- */
.benefits {
  padding: 100px 0;
}

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

.benefit-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f2f6ff;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- How it works ---- */
.how-it-works {
  position: relative;
  padding: 100px 0;
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(93, 140, 255, 0.17), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(142, 84, 255, 0.15), transparent 36%);
  pointer-events: none;
}

.how-it-works .container { position: relative; }
.how-it-works .section-title { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 940px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(90, 106, 255, 0.34);
}

.step-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f2f6ff;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Product demo ---- */
.demo-section {
  padding: 100px 0;
}

.demo-section .section-sub {
  margin-bottom: 40px;
}

.video-embed {
  max-width: 920px;
  margin: 0 auto;
}

.video-embed-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  background: var(--bg-panel-strong);
}

.video-embed-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Waitlist ---- */
.waitlist-section {
  padding: 100px 0;
}

.waitlist-inner {
  max-width: 620px;
  text-align: center;
}

.waitlist-inner h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: #f3f8ff;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.waitlist-inner > p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.waitlist-form {
  background: var(--bg-panel-strong);
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 2px);
  padding: 40px 36px;
  text-align: left;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #dce6ff;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(146, 168, 230, 0.4);
  border-radius: 10px;
  background: rgba(16, 27, 58, 0.72);
  color: #eff5ff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder { color: #8796b8; }

.form-group input:focus,
.form-group select:focus {
  border-color: #8eb2ff;
  box-shadow: 0 0 0 3px rgba(92, 133, 255, 0.22);
  background: rgba(18, 31, 64, 0.86);
}

.form-note {
  font-size: 13px;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 14px;
}

/* ---- Footer ---- */
.footer {
  background: rgba(4, 8, 20, 0.86);
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
  padding: 48px 0;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.footer .logo { font-size: 22px; margin-bottom: 4px; }

.footer-tagline { font-size: 15px; }

.footer-tagline a {
  color: #dbe7ff;
  text-decoration: none;
}

.footer-tagline a:hover { text-decoration: underline; }

.footer-copy { font-size: 13px; color: var(--text-subtle); }

.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-subtle);
  max-width: 42rem;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .waitlist-form { padding: 28px 20px; }
  .proof-inner { flex-direction: column; align-items: center; }
  .hero { padding: 76px 0 56px; }
  .btn-lg { width: 100%; }
}
