/* Prayojan 2.0 — landing page styles */

:root {
  --bg: #0a0a0f;
  --bg-raised: #111119;
  --bg-card: #15151f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f6;
  --text-dim: #a8a8b8;
  --text-faint: #6d6d80;
  --indigo: #6366f1;
  --indigo-soft: rgba(99, 102, 241, 0.16);
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --violet: #a78bfa;
  --radius: 18px;
  --radius-lg: 26px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, 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);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 1.05rem; font-weight: 650; }

p { color: var(--text-dim); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lede-section { color: var(--text-dim); font-size: 1.05rem; max-width: 560px; margin-bottom: 48px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.02rem;
}
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--indigo);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #5254e0; transform: translateY(-1px); }

/* ---------- Buttons / pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 650;
  font-size: 0.98rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #7c3aed);
  color: #fff;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-light { background: #fff; color: #0a0a0f; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.15); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 650;
  background: var(--indigo-soft);
  color: var(--violet);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -250px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  margin: 22px 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--indigo), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { font-size: 1.13rem; color: var(--text-dim); max-width: 500px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; color: var(--text-faint); }

.phone {
  position: relative;
  width: 280px;
  margin: 0 auto;
}
.phone-frame {
  position: relative;
  border-radius: 40px;
  border: 1px solid var(--border-strong);
  padding: 10px;
  background: linear-gradient(160deg, #1c1c28, #101018);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(99, 102, 241, 0.15);
}
.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 32px;
}
.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 60%);
  z-index: -1;
}

/* ---------- Strip ---------- */

.strip { border-block: 1px solid var(--border); background: var(--bg-raised); }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 24px;
  gap: 16px;
}
.strip-item { text-align: center; }
.strip-item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.strip-item span { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-raised); border-block: 1px solid var(--border); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--indigo-soft);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--violet);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* ---------- Bento features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
}
.tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.25s, transform 0.25s;
}
.tile:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.icon-indigo { background: var(--indigo-soft); color: var(--violet); }
.icon-teal { background: var(--teal-soft); color: var(--teal); }
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 0.92rem; }
.tile-wide { grid-column: span 2; }

/* ---------- Premium ---------- */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.plan-name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-price small { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); }
.plan-desc { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 22px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.plan li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: var(--text-dim);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.plan li.muted { color: var(--text-faint); }
.plan li.muted::before { content: "—"; color: var(--text-faint); }
.plan-featured {
  border: 1px solid rgba(99, 102, 241, 0.55);
  background: linear-gradient(170deg, rgba(99, 102, 241, 0.12), var(--bg-card) 45%);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.18);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--indigo), #7c3aed);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---------- Screenshots ---------- */

.shots-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.shot-card {
  width: 250px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s;
}
.shot-card:hover { transform: translateY(-6px); }
.shot-card img { display: block; width: 100%; }
.shot-card figcaption {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- Clips ---------- */

.clips { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.clip {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.clip iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.clip figcaption { padding: 14px 18px; font-size: 0.88rem; color: var(--text-dim); }

.intro-clips {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  gap: 22px;
  justify-content: center;
}
.intro-clips video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; }
.intro-clips figcaption { text-align: center; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(99, 102, 241, 0.25), rgba(45, 212, 191, 0.12)),
              var(--bg-card);
  border: 1px solid var(--border-strong);
}
.cta h2 { margin-bottom: 10px; }
.cta p { margin-bottom: 30px; font-size: 1.05rem; }
.cta-note { margin-top: 22px; font-size: 0.85rem; color: var(--text-dim); }
.cta-note a { color: var(--teal); }

/* ---------- About ---------- */

.about-inner { max-width: 680px; }
.about-inner p { margin-bottom: 14px; }
.muted { color: var(--text-faint); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  background: var(--bg-raised);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero { padding: 140px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .pill { margin-inline: auto; }
  .steps, .pricing, .bento, .clips { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Parental / split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.split-copy .lede-section { margin-bottom: 26px; }
.split-shot { justify-self: center; }
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
