:root {
  --bg: #fffaf2;
  --bg-warm: #fff3e0;
  --bg-mint: #e8fff5;
  --bg-sky: #eaf4ff;
  --bg-pink: #ffe9f1;
  --ink: #1c1f2b;
  --ink-soft: #4a5063;
  --ink-mute: #7a8092;
  --line: #ece6da;
  --brand: #ff6b6b;
  --brand-2: #ffa94d;
  --mint: #2ec4a3;
  --sky: #4d8df6;
  --violet: #8b5cf6;
  --yellow: #ffd166;
  --maxw: 1120px;
  --r: 18px;
  --r-lg: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* sun blob backdrop on hero */
.sunburst {
  position: absolute;
  top: -240px; right: -220px;
  width: 680px; height: 680px;
  background: radial-gradient(circle at center, #ffd166 0%, #ffa94d 35%, transparent 70%);
  opacity: 0.55; z-index: 0; filter: blur(6px);
  pointer-events: none;
}
.sunburst.left {
  top: 360px; left: -260px; right: auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle at center, #ffe1ec 0%, #ffb4cf 40%, transparent 70%);
  opacity: 0.7;
}

/* nav */
.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.35);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px 8px 8px 6px;
  border: 2px solid #fff; border-radius: 4px 4px 4px 1px;
}
.brand-name { font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--brand); transform: translateY(-1px); }
.nav-burger { display: none; background: transparent; border: 0; color: var(--ink); font-size: 28px; cursor: pointer; }

/* generic */
section { position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); padding: 6px 12px; border-radius: 999px; background: #fff1ed; border: 1px solid #ffd6c8;
}
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); }
em { font-style: normal; background: linear-gradient(180deg, transparent 60%, #ffe27a 60%); padding: 0 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  border: 0; cursor: pointer;
}
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 30px rgba(28, 31, 43, 0.25);
}
.btn-primary:hover { background: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 107, 107, 0.35); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-warm); }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* HERO */
.hero { padding: 30px 0 90px; position: relative; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero h1 strong { color: var(--brand); }
.hero p.lead { margin: 22px 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap;
}
.hero-stats .stat strong { font-size: 26px; font-weight: 800; display: block; }
.hero-stats .stat span { font-size: 13px; color: var(--ink-mute); }

/* hero phone mock */
.phone {
  position: relative; margin-left: auto; max-width: 420px;
  background: #fff; border-radius: 36px; padding: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(28, 31, 43, 0.18);
  transform: rotate(2deg);
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #1c1f2b; border-radius: 0 0 14px 14px;
}
.phone-screen { background: var(--bg-mint); border-radius: 24px; padding: 50px 18px 18px; }
.chat-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0 4px; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px;
}
.chat-row .name { font-weight: 600; font-size: 14px; }
.chat-row .name small { display: block; color: var(--mint); font-size: 11px; font-weight: 500; }
.bubble {
  max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45;
}
.bubble + .bubble { margin-top: 8px; }
.bubble .src { display: block; margin-top: 4px; color: var(--ink-mute); font-size: 12px; }
.bubble-them { background: #fff; border-top-left-radius: 4px; border: 1px solid #d8f0e6; }
.bubble-me { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-top-right-radius: 4px; margin-left: auto; }
.bubble-me .src { color: rgba(255,255,255,0.85); }
.hover-word {
  text-decoration: underline dotted var(--mint);
  text-underline-offset: 4px; cursor: help; position: relative;
}
.hover-word:hover::after {
  content: attr(data-tip); position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%);
  background: #1c1f2b; color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 12px;
  white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* logos band */
.logos-band {
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 0; text-align: center;
}
.logos-band p { color: var(--ink-mute); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 14px; }
.flag-strip { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: 30px; }
.flag-strip span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }

/* HOW IT WORKS */
.how { padding: 100px 0; }
.how-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.how-head .lead { margin-top: 14px; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step {
  background: #fff; border-radius: var(--r-lg); padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(28, 31, 43, 0.05);
  position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--bg-warm); color: var(--brand);
  font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step.s2 .num { background: var(--bg-mint); color: var(--mint); }
.step.s3 .num { background: var(--bg-sky); color: var(--sky); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* SOCIAL FEED */
.social { padding: 90px 0; background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%); }
.social-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.social-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.person {
  background: #fff; border-radius: var(--r); padding: 22px 20px;
  border: 1px solid var(--line); position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.person:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28, 31, 43, 0.1); }
.person .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  margin-bottom: 12px; position: relative;
}
.person.a1 .avatar { background: var(--bg-pink); }
.person.a2 .avatar { background: var(--bg-mint); }
.person.a3 .avatar { background: var(--bg-sky); }
.person.a4 .avatar { background: var(--bg-warm); }
.person .online {
  position: absolute; bottom: 4px; right: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: #2ec4a3;
  border: 2px solid #fff;
}
.person h4 { margin: 0 0 2px; font-size: 16px; }
.person .meta { color: var(--ink-mute); font-size: 13px; margin-bottom: 10px; }
.person .pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  background: var(--bg); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--ink-soft);
}
.pill.dot::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); margin-right: 6px; vertical-align: middle;
}

/* FEATURES */
.features { padding: 100px 0; }
.feat-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.feat-grid.reverse { grid-template-columns: 1fr 1.1fr; }
.feat-grid.reverse .feat-art { order: -1; }
.feat-grid + .feat-grid { margin-top: 100px; }
.feat-text h2 { margin-bottom: 16px; }
.feat-text p { color: var(--ink-soft); font-size: 17px; margin: 0 0 22px; }
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li { display: flex; gap: 10px; padding: 8px 0; color: var(--ink-soft); }
.feat-list li::before {
  content: "✓"; color: var(--mint); font-weight: 800; flex-shrink: 0;
  width: 22px; height: 22px; background: var(--bg-mint); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.feat-art {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: 32px; box-shadow: 0 18px 60px rgba(28, 31, 43, 0.08);
}
.feat-art h4 { margin: 0 0 6px; font-size: 14px; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.feat-art .demo-row { display: flex; gap: 8px; align-items: center; padding: 12px; background: var(--bg-mint); border-radius: 12px; font-size: 15px; }
.feat-art .demo-row + .demo-row { margin-top: 10px; }
.feat-art .demo-flag { font-size: 22px; }
.feat-art .word-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.feat-art .word-card + .word-card { margin-top: 10px; }
.feat-art .word-card .w { font-weight: 700; }
.feat-art .word-card .t { color: var(--brand); font-size: 14px; font-weight: 600; }
.feat-art .country-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px;
}
.feat-art .country-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px;
}

/* TESTIMONIALS */
.quotes { padding: 90px 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-pink) 100%); }
.quote-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.quote-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.quote-card {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(28, 31, 43, 0.05);
}
.quote-card p { color: var(--ink); font-size: 17px; line-height: 1.55; margin: 0 0 22px; font-weight: 500; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-warm); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.quote-author strong { display: block; font-size: 15px; }
.quote-author span { color: var(--ink-mute); font-size: 13px; }

/* FAQ */
.faq { padding: 90px 0; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px;
  margin-bottom: 12px; cursor: pointer;
}
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--ink-mute); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--ink-soft); margin: 14px 0 0; line-height: 1.6; }

/* CTA BAND */
.cta {
  margin: 60px auto 80px; padding: 70px 32px;
  max-width: var(--maxw); border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; text-align: center;
  box-shadow: 0 30px 80px rgba(255, 107, 107, 0.3);
  position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.cta::before { width: 240px; height: 240px; top: -120px; right: -60px; }
.cta::after { width: 180px; height: 180px; bottom: -90px; left: -30px; }
.cta h2 { color: #fff; margin: 0 0 12px; }
.cta p { font-size: 17px; opacity: 0.95; margin: 0 0 24px; position: relative; z-index: 2; }
.cta .btn-primary {
  background: #fff; color: var(--ink);
  position: relative; z-index: 2;
}
.cta .btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,0.25); }

/* footer */
footer { background: #1c1f2b; color: #aab0c0; padding: 60px 0 30px; }
footer .foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.06em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 6px 0; }
footer a { color: #aab0c0; }
footer a:hover { color: #fff; }
footer .brand-name { color: #fff; }
footer .blurb { font-size: 14px; line-height: 1.6; max-width: 280px; margin-top: 12px; }
.copy { text-align: center; color: #6e7488; font-size: 13px; padding-top: 30px; margin-top: 30px; border-top: 1px solid #2a2e3e; }

/* -------- pricing page -------- */
.pricing { padding: 60px 0 80px; }
.pricing-head { text-align: center; margin-bottom: 48px; }
.pricing-head h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.plans {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 820px; margin: 0 auto;
}
.plan {
  background: #fff; border-radius: var(--r-lg); padding: 36px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(28, 31, 43, 0.05);
  display: flex; flex-direction: column;
}
.plan.featured {
  border: 0; color: #fff;
  background: linear-gradient(135deg, #1c1f2b 0%, #3a3f55 100%);
  box-shadow: 0 20px 60px rgba(28, 31, 43, 0.4);
  position: relative;
}
.plan.featured::before {
  content: "Most popular"; position: absolute; top: 18px; right: 18px;
  background: var(--brand); color: #fff; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.plan h3 { font-size: 22px; }
.plan .price { font-size: 44px; font-weight: 800; margin: 14px 0 6px; letter-spacing: -0.03em; }
.plan .price small { font-size: 16px; font-weight: 500; opacity: 0.7; }
.plan .sub { color: var(--ink-mute); font-size: 14px; margin-bottom: 24px; }
.plan.featured .sub { color: rgba(255,255,255,0.7); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--mint); margin-right: 10px; font-weight: 800; }
.plan.featured li::before { color: var(--brand-2); }
.plan .btn { width: 100%; }
.plan.featured .btn-primary { background: var(--brand); color: #fff; }
.plan.featured .btn-primary:hover { background: var(--brand-2); }

/* -------- content pages (about / privacy / terms) -------- */
.content {
  max-width: 760px; margin: 60px auto 90px; padding: 0 24px;
}
.content h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 24px; }
.content h2 { font-size: 22px; margin: 36px 0 12px; }
.content p, .content li { color: var(--ink-soft); font-size: 16.5px; }
.content a { color: var(--brand); border-bottom: 1px solid currentColor; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { margin: 0 auto; transform: rotate(0); max-width: 360px; }
  .steps, .social-grid, .quote-grid { grid-template-columns: 1fr; }
  .feat-grid, .feat-grid.reverse { grid-template-columns: 1fr; gap: 30px; }
  .feat-grid.reverse .feat-art { order: 0; }
  footer .foot-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 70px; right: 16px; z-index: 20;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px;
    box-shadow: 0 18px 40px rgba(28, 31, 43, 0.12);
  }
  .social-grid { grid-template-columns: 1fr 1fr; }
}
