:root {
  --bg:          #0d0b1a;
  --card:        rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.08);
  --text:        #f0f2f8;
  --muted:       #8d94a8;
  --line:        rgba(255, 255, 255, 0.085);
  --accent:      #7c5cfc;
  --accent-2:    #ff7a59;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 18% 8%,  rgba(124, 92, 252, 0.22), transparent 32%),
    radial-gradient(circle at 82% 2%,  rgba(255, 122, 89, 0.11), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
  background: rgba(13, 11, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: rgba(240, 242, 248, 0.65);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  color: var(--text);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark { flex-shrink: 0; }

.logo-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ─── Layout ──────────────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 100px;
}

/* ─── Glass cards ─────────────────────────────────────────────────── */
.hero,
.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.hero {
  padding: 72px 52px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(124, 92, 252, 0.07), transparent 50%);
  pointer-events: none;
}

/* ─── Typography ──────────────────────────────────────────────────── */
h1 {
  font-size: 68px;
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 22px;
  max-width: 780px;
  color: #f4f6fc;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  color: var(--text);
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}

p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
  color: var(--muted);
}

p:last-child { margin-bottom: 0; }

p strong {
  color: var(--text);
  font-weight: 600;
}

.sub {
  font-size: 19px;
  color: #b8bfd2;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 680px;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 252, 0.3);
  color: rgba(185, 168, 255, 0.9);
  background: rgba(124, 92, 252, 0.1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight {
  color: var(--accent);
  font-weight: 800;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 30px rgba(124, 92, 252, 0.45);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 44px rgba(124, 92, 252, 0.65);
}

.btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(240, 242, 248, 0.7);
  box-shadow: none;
  font-weight: 600;
}

.btn.secondary:hover {
  border-color: rgba(124, 92, 252, 0.4);
  color: var(--text);
  background: rgba(124, 92, 252, 0.08);
  box-shadow: none;
  transform: translateY(-1px) scale(1.01);
}

/* ─── Sections ────────────────────────────────────────────────────── */
.section {
  padding: 38px 40px;
  margin-bottom: 16px;
}

/* ─── Grid / Cards ────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.card {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 252, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* ─── Lists ───────────────────────────────────────────────────────── */
ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.6;
  color: #c0c6d6;
}

li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(124, 92, 252, 0.65);
  font-size: 13px;
  top: 1px;
  font-weight: 600;
}

li:last-child { margin-bottom: 0; }

/* ─── Phone mockup ────────────────────────────────────────────────── */
.phone-mockup {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.phone-shell {
  width: 320px;
  background: #1a1a1e;
  border-radius: 44px;
  padding: 18px 13px 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 48px 100px rgba(0, 0, 0, 0.65),
    0 20px 40px rgba(124, 92, 252, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Power button */
.phone-shell::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 110px;
  width: 3px;
  height: 52px;
  background: #2a2a2e;
  border-radius: 0 2px 2px 0;
}

/* Volume buttons */
.phone-shell::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 90px;
  width: 3px;
  height: 32px;
  background: #2a2a2e;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #2a2a2e, 0 80px 0 #2a2a2e;
}

.phone-island {
  width: 90px;
  height: 26px;
  background: #0a0a0c;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #0d0b1a;
  aspect-ratio: 9 / 19.5; /* mobile: height derived from width */
  position: relative;
}

.phone-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.phone-home {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin: 12px auto 0;
}

/* ─── Footer CTA ──────────────────────────────────────────────────── */
.footer-cta {
  text-align: center;
  margin-bottom: 0;
}

.footer-cta p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.small-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  opacity: 0.65;
}

/* ─── Site footer ─────────────────────────────────────────────────── */
.footer {
  padding: 0 20px 48px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.footer-logo-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-tagline {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  opacity: 0.7;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer-link:hover {
  color: var(--text);
}

.footer-link svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.footer-link:hover svg {
  opacity: 1;
}

/* ─── Desktop phone size ──────────────────────────────────────────── */
@media (min-width: 769px) {
  .phone-shell  { height: 640px; }
  .phone-screen { aspect-ratio: unset; flex: 1; min-height: 0; }
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container  { padding: 20px 14px 40px; }
  .hero       { padding: 40px 24px; border-radius: 22px; }
  .section    { padding: 28px 22px; border-radius: 22px; }
  h1          { font-size: 42px; letter-spacing: -0.03em; }
  h2          { font-size: 26px; }
  .sub        { font-size: 17px; }
  .grid       { grid-template-columns: 1fr; }
  .btn        { width: 100%; text-align: center; justify-content: center; }
  .cta-row    { flex-direction: column; }
  .nav-inner  { padding: 14px 0; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-tagline { order: 3; }
}
