:root {
  --accent: #00a884;
  --accent-dark: #008f6f;
  --bg: #f7faf9;
  --panel: #ffffff;
  --border: #e9edef;
  --text: #0b1f1b;
  --text-muted: #5b6b68;
  --bubble-out: #d9fdd3;
  --bubble-in: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 250, 249, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-weight: 700; font-size: 1.05rem; }
.btn-nav {
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 0.5rem 1rem; border-radius: 20px; border: 1px solid var(--accent);
  color: var(--accent-dark);
}
.btn-nav:hover { background: var(--accent); color: white; }

/* Hero */
.hero { background: linear-gradient(160deg, #e9f9f4, var(--bg) 60%); }
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 4rem 1.25rem 3rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em;
}
.hero-sub { color: var(--text-muted); font-size: 1.05rem; margin: 1.1rem 0 1.6rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: white; font-weight: 700;
  padding: 0.85rem 1.6rem; border-radius: 10px; font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 168, 132, 0.3);
}
.btn-primary:hover { background: var(--accent-dark); }
.hero-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 100%; max-width: 300px; background: var(--panel);
  border-radius: 20px; border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.phone-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1rem; background: var(--accent); color: white;
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.phone-name { font-weight: 700; font-size: 0.9rem; }
.phone-status { font-size: 0.72rem; opacity: 0.85; }
.phone-messages { background: #efeae2; padding: 1rem 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 260px; }
.phone-bubble {
  max-width: 78%; padding: 0.5rem 0.7rem; border-radius: 8px; font-size: 0.82rem;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.phone-bubble.in { background: var(--bubble-in); align-self: flex-start; border-top-left-radius: 2px; }
.phone-bubble.out { background: var(--bubble-out); align-self: flex-end; border-top-right-radius: 2px; }
.phone-call {
  align-self: center; background: #fff3cd; color: #7a5c00;
  font-size: 0.72rem; padding: 0.3rem 0.7rem; border-radius: 10px; margin-top: 0.3rem;
}

/* Features */
.features { max-width: 1080px; margin: 0 auto; padding: 4rem 1.25rem; text-align: center; }
.features h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 2.2rem; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem; text-align: left;
}
.feature-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.4rem 1.3rem;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* How it works */
.how { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 1.25rem; }
.how h2 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 1080px; margin: 0 auto 2.4rem; }
.steps {
  max-width: 1080px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  margin: 0 auto 0.9rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.88rem; max-width: 30ch; margin: 0 auto; }
.how-cta { text-align: center; margin-top: 2.6rem; }

.footer { text-align: center; padding: 2.2rem 1.25rem; color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
}
