/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep:   #0d1121;
  --navy-mid:    #131545;
  --navy-card:   #1a1f3a;
  --navy-border: #1e2a4a;
  --cyan:        #4fc3f7;
  --cyan-dim:    #2a8ab8;
  --white:       #f0f4ff;
  --grey:        #8899bb;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 33, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 40px; display: block; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.btn-ghost {
  color: var(--grey);
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); text-decoration: none; }

.btn-primary {
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover {
  background: #7dd8f8;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #131d4a 0%, var(--navy-deep) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 30% at 70% 80%, rgba(79, 195, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 780px; position: relative; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-large {
  font-size: 1.05rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
}

.btn-outline {
  color: var(--cyan);
  border: 1.5px solid var(--cyan-dim);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: #fff;
  text-decoration: none;
}

.hero-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ── Screenshot Hero ── */
.screenshot-hero {
  padding: 0 2rem 5rem;
  display: flex;
  justify-content: center;
}

.screenshot-frame {
  width: 100%;
  max-width: 1100px;
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,195,247,0.08);
  position: relative;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.screenshot-frame:hover img {
  transform: scale(1.02);
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--grey);
  font-size: 0.9rem;
}

.screenshot-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.3;
}

/* ── Section base ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #fff;
}

.section-body {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 640px;
  line-height: 1.75;
}

/* ── Story Section ── */
.story { background: var(--navy-mid); }

.story .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text p { color: var(--grey); line-height: 1.8; margin-bottom: 1.2rem; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--white); }

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.4;
}

/* ── Features ── */
.features { background: var(--navy-deep); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 1.8rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-3px);
}

.feature-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  color: var(--cyan);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ── Screenshot 2 ── */
.screenshot-2 {
  background: var(--navy-mid);
  padding: 5rem 0 5rem;
}

.screenshot-2 .section-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.screenshot-2-text .section-body { max-width: 100%; }

.screenshot-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.screenshot-2-full {
  width: calc(100% - 4rem);
  margin: 3rem 2rem 4rem;
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.4);
  position: relative;
}

.screenshot-2-full img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.screenshot-2-full:hover img {
  transform: scale(1.02);
  transform-origin: top center;
}

.detail-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--grey);
}

.detail-list li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Pricing ── */
.pricing { background: var(--navy-deep); text-align: center; }

.pricing-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  width: 280px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(79, 195, 247, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.muted { color: #4a5568; }
.pricing-features li.muted::before { color: #4a5568; }

.pricing-note {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--grey);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Final CTA ── */
.final-cta {
  background: var(--navy-mid);
  text-align: center;
  padding: 6rem 2rem;
}

.final-cta .section-title { margin-bottom: 1rem; }
.final-cta .section-body { margin: 0 auto 2.5rem; }

/* ── Footer ── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey);
}

footer a { color: var(--grey); }
footer a:hover { color: var(--cyan); text-decoration: none; }

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .story .section-inner,
  .screenshot-2 .section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-stats { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  nav { padding: 0 1rem; }
  .btn-ghost { display: none; }
}
