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

:root {
  --primary:        #0F6E56;
  --primary-dark:   #0A4F3E;
  --primary-light:  #E8F5F1;
  --accent:         #D4A843;
  --accent-light:   #FDF3DC;
  --bg:             #F8F4EE;
  --surface:        #FFFFFF;
  --text:           #1A1A1A;
  --text-secondary: #6B6B6B;
  --border:         #E8E0D5;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.06);
  --shadow-md:      0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:      0 24px 64px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout helpers ──────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── Nav ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 244, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background .2s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid #EDD88A;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(15,110,86,.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone {
  width: 280px;
  height: 560px;
  background: #1A1A1A;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1) inset;
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status {
  height: 44px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}

.phone-notch {
  width: 120px;
  height: 32px;
  background: #1A1A1A;
  border-radius: 0 0 20px 20px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-hero-section {
  background: var(--primary);
  padding: 20px 16px 24px;
  color: #fff;
}

.phone-day-label {
  font-size: 11px;
  opacity: .7;
  margin-bottom: 4px;
}

.phone-day-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.phone-streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11px;
  margin-top: 8px;
}

.phone-lesson-card {
  background: #fff;
  margin: 12px;
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.phone-lesson-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.phone-lesson-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.phone-lesson-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.phone-lesson-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

.phone-community-row {
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-community-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  padding: 0 2px;
}

.phone-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.phone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.phone-bubble {
  background: #fff;
  border-radius: 12px 12px 12px 4px;
  padding: 8px 10px;
  font-size: 10px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.phone-bubble .sender {
  font-weight: 700;
  font-size: 9px;
  color: var(--primary);
  margin-bottom: 2px;
}

/* Floating badges */
.phone-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.phone-float-left {
  left: -60px;
  top: 120px;
}

.phone-float-right {
  right: -60px;
  bottom: 160px;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.float-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.float-text span {
  font-size: 11px;
  color: var(--text-secondary);
}

.hero-bg-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--primary-light);
  right: -100px;
  top: -100px;
  z-index: 0;
  opacity: .6;
  filter: blur(80px);
}

/* ── Stats bar ───────────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid rgba(255,255,255,.15);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  opacity: .8;
  font-weight: 500;
}

/* ── Features ────────────────────────────────────────── */
.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* ── How it works ────────────────────────────────────── */
.how-bg {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(15,110,86,.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* ── Phases ──────────────────────────────────────────── */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.phase-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.phase-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

.phase-1 { background: var(--primary); color: #fff; }
.phase-2 { background: var(--primary-dark); color: #fff; }
.phase-3 { background: #0A3D2E; color: #fff; }

.phase-label {
  font-size: 12px;
  font-weight: 600;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.phase-days {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.phase-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  opacity: .95;
}

.phase-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phase-topics li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: .85;
}

.phase-topics li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── Nura section ────────────────────────────────────── */
.nura-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 0 24px;
  overflow: hidden;
  position: relative;
}

.nura-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 64px;
}

.nura-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px),
                    radial-gradient(circle at 60% 80%, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}

.nura-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}

.nura-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.nura-content p {
  font-size: 17px;
  opacity: .85;
  line-height: 1.7;
  margin-bottom: 32px;
}

.nura-questions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nura-q {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
}

.nura-q::before { content: '💬'; }

/* Chat preview */
.nura-chat {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.15);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.chat-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.chat-name { font-weight: 700; font-size: 16px; }
.chat-role { font-size: 12px; opacity: .6; }

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-msg.user { flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13px;
  line-height: 1.6;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.1);
}

.chat-msg.user .chat-bubble {
  background: var(--accent);
  color: #1A1A1A;
  border-radius: 16px 16px 4px 16px;
  border-color: transparent;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* ── CTA ─────────────────────────────────────────────── */
.cta-section {
  text-align: center;
}

.cta-inner {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '🌙';
  position: absolute;
  font-size: 200px;
  opacity: .04;
  right: -20px;
  bottom: -40px;
  line-height: 1;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-inner p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s, transform .15s;
}

.app-store-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.app-store-btn svg { flex-shrink: 0; }

.app-store-btn-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: .7;
  margin-bottom: 1px;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .2s;
}

.footer-links a:hover { color: var(--primary); }

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

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:last-child { border-bottom: none; }

  .features-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  .phases-grid { grid-template-columns: 1fr; }

  .nura-inner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 40px;
  }

  .nura-section { margin: 0 0; border-radius: 0; }

  .cta-inner { padding: 56px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section { padding: 64px 0; }
}
