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

:root {
  --blue:      #007AFF;
  --blue-dark: #0056CC;
  --green:     #34C759;
  --green-dark:#228B22;
  --bg:        #F5F9FF;
  --surface:   #FFFFFF;
  --text:      #1A1A2E;
  --text-muted:#6B7280;
  --border:    #E5EAF5;
  --radius:    20px;
  --shadow:    0 4px 24px rgba(0,122,255,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,249,255,0.85);
  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;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,122,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF5FF;
  color: var(--blue);
  border: 1px solid rgba(0,122,255,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--blue); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,122,255,0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 32px rgba(0,122,255,0.35);
  transform: translateY(-2px);
}

/* ─── Phone Mockup ───────────────────────────────────────────── */
.hero-phone {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.phone-frame {
  position: relative;
  width: 300px;
  height: 580px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 2px #333;
}

.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.msg-header {
  background: #EFEFEF;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ddd;
}

.msg-header-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}

.msg-header-name { font-weight: 600; font-size: 0.85rem; color: #333; }
.msg-header-sub { font-size: 0.7rem; color: #999; }

.msg-bubbles {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8F8F8;
}

.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.bubble-blue {
  background: var(--blue);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.bubble-green {
  background: var(--green);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

/* ─── How It Works ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }

.section-label {
  display: inline-block;
  background: rgba(0,122,255,0.1);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section h2 { margin-bottom: 12px; }
.section-intro { font-size: 1.05rem; max-width: 520px; margin-bottom: 48px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step-card h3 { margin-bottom: 8px; }
.step-card p  { font-size: 0.9rem; }

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* ─── Features ──────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { font-size: 0.92rem; }

/* ─── Pricing ────────────────────────────────────────────────── */
.pricing-center { text-align: center; }

.pricing-card {
  display: inline-block;
  background: var(--surface);
  border: 2px solid var(--blue);
  border-radius: 28px;
  padding: 48px 56px;
  box-shadow: 0 8px 40px rgba(0,122,255,0.15);
  margin-top: 36px;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }

.price-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  background: var(--blue);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}

.pricing-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ─── Vibe / Philosophy ──────────────────────────────────────── */
.vibe-quote {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.3;
}

.vibe-sub {
  max-width: 500px;
  margin: 0 auto 48px;
  font-size: 1rem;
}

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #3B82F6 100%);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 0;
}

.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p   { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-legal {
  font-size: 0.78rem;
  color: #aaa;
  max-width: 600px;
  line-height: 1.6;
}

.footer-crisis {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF3CD;
  color: #856404;
  border: 1px solid #FFEAA7;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .pricing-card { padding: 36px 28px; }
  .cta-banner { padding: 40px 24px; }
  .phone-frame { width: 260px; height: 500px; }
}

@media (max-width: 480px) {
  .steps, .features-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 12px; }
}