:root {
  --bg: #050505;
  --bg-elevated: #0c0c0f;
  --bg-card: #121216;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --text-muted: #8b8b95;
  --purple: #9b59ff;
  --purple-dim: #7e5cee;
  --purple-glow: rgba(155, 89, 255, 0.35);
  --canvas: #eeeeee;
  --action: #f4313e;
  --action-bg: #fef2f2;
  --waiting: #fd8a03;
  --waiting-bg: #fff9f2;
  --reminders: #327af9;
  --reminders-bg: #f1f7fe;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: min(1180px, calc(100% - 3rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 15% 0%, rgba(155, 89, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(126, 92, 238, 0.1), transparent 50%);
  z-index: 0;
}

.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-icon {
  border-radius: 8px;
}

.nav-links {
  display: none;
  gap: 2.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(155, 89, 255, 0.45);
  background: rgba(155, 89, 255, 0.08);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.8125rem;
}

/* Hero — split layout */
.hero {
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(2rem, 6vh, 4rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: calc(100vh - 68px - 4rem);
    max-height: 820px;
  }
}

.hero-copy {
  text-align: left;
  max-width: 34rem;
}

@media (min-width: 960px) {
  .hero-copy {
    padding-right: 1rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.eyebrow img {
  border-radius: 6px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.gradient-text {
  background: linear-gradient(135deg, #d4c4ff 0%, var(--purple) 50%, #6a4fe0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 1.35rem 0 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: #5c5c66;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}

.hero-stats li {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

/* Play Store badge */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem 0.65rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(155, 89, 255, 0.25);
}

.play-badge--large {
  padding: 0.85rem 1.5rem 0.85rem 1.15rem;
  flex-shrink: 0;
}

.play-icon {
  width: 28px;
  height: 28px;
  color: #111;
  flex-shrink: 0;
}

.play-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.play-badge-text small {
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #444;
}

/* Hero visual — screenshot in minimal frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

@media (min-width: 960px) {
  .hero-visual {
    justify-content: flex-end;
    align-items: center;
    min-height: 620px;
  }
}

.device-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 90%);
  height: 420px;
  background: radial-gradient(circle, var(--purple-glow), transparent 68%);
  filter: blur(60px);
  pointer-events: none;
}

.phone {
  display: none;
}

.app-shot {
  position: relative;
  z-index: 1;
  width: min(320px, 84vw);
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 56px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(155, 89, 255, 0.15);
}

/* Value band */
.value-band {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.value-band-inner {
  padding: 2.5rem 0;
}

.value-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #c8c8d0;
  max-width: 52rem;
}

/* Features — alternating rows */
.features {
  padding: clamp(4rem, 8vh, 6rem) 0;
}

.features-header {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  max-width: 20rem;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vh, 5rem);
}

.feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: clamp(3rem, 6vh, 5rem);
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .feature-row--reverse .feature-copy {
    order: 2;
  }

  .feature-row--reverse .feature-panel {
    order: 1;
  }
}

.feature-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  opacity: 0.7;
}

.feature-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.feature-copy p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 28rem;
}

.feature-panel {
  position: relative;
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 80% 20%, rgba(155, 89, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.panel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.panel-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.panel-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.panel-card--action strong { color: #ff8a90; }
.panel-card--waiting strong { color: #ffb04d; }

.ai-summary-card {
  position: relative;
  padding: 1.35rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(126, 92, 238, 0.25), rgba(106, 79, 224, 0.12));
  border: 1px solid rgba(155, 89, 255, 0.25);
}

.ai-summary-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
}

.ai-summary-head img {
  filter: brightness(0) invert(1);
}

.ai-summary-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #d4d4dc;
  line-height: 1.6;
}

.shield-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(50, 122, 249, 0.25);
}

.shield-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #7eb8ff;
  margin-bottom: 0.15rem;
}

.shield-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.shield-badge {
  margin-left: auto;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7eb8ff;
  background: rgba(50, 122, 249, 0.15);
  border: 1px solid rgba(50, 122, 249, 0.25);
  white-space: nowrap;
}

/* Marquee */
.marquee-band {
  padding: 1.25rem 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: var(--purple);
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Privacy */
.privacy {
  padding: clamp(4rem, 8vh, 6rem) 0;
}

.privacy-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .privacy-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 4rem;
  }
}

.privacy-lead {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 28rem;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.privacy-list li:first-child {
  padding-top: 0;
}

.privacy-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check {
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
}

/* Final CTA — horizontal band */
.final-cta {
  padding: 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(155, 89, 255, 0.06), transparent);
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(3rem, 6vh, 4.5rem) 0;
}

@media (min-width: 768px) {
  .final-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

.final-cta-copy {
  text-align: left;
}

.final-logo {
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.final-cta p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  max-width: 26rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #5c5c66;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-brand img {
  border-radius: 6px;
}

.site-footer a:hover {
  color: var(--text);
}
