@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f0f4f3;
  --surface: #ffffff;
  --surface2: #f7faf9;
  --border: #e2eae8;
  --teal: #2A9D8F;
  --teal-dark: #1E7A6E;
  --teal-light: #e8f5f3;
  --text: #1a2e2b;
  --muted: #6b7f7c;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.2px;
  color: var(--text); flex-shrink: 0;
}
.brand-logo {
  width: 38px; height: 38px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--teal-light); }
.nav-links a.active { color: var(--teal); font-weight: 600; background: var(--teal-light); }

.nav-cta {
  padding: 9px 18px; border-radius: 10px;
  background: var(--teal); color: #fff;
  font-size: 14px; font-weight: 600;
  transition: background .15s, transform .1s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: auto; padding: 0 28px 80px; }

/* ── PHONE MOCKUP ── */
/* Screenshots are 1179x1995 — ratio ~1:1.692 (tall portrait iPhone) */
.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1179 / 1995;
  border-radius: 14% / 8%;
  background: #0d1a18;
  box-shadow:
    0 0 0 8px #1a2e2b,
    0 0 0 10px #0a1210,
    0 32px 80px rgba(0,0,0,.28),
    0 8px 24px rgba(0,0,0,.16);
  overflow: hidden;
}
.phone-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}


/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; border: none;
  cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal); color: #fff;
  box-shadow: 0 4px 16px rgba(42,157,143,.3);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

.appstore-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff;
  padding: 11px 20px; border-radius: 12px;
  transition: transform .15s, opacity .15s;
}
.appstore-btn:hover { transform: translateY(-1px); opacity: .9; }
.appstore-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.appstore-small { font-size: 10px; font-weight: 400; opacity: .75; display: block; }
.appstore-big   { font-size: 16px; font-weight: 700; display: block; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--teal-light); color: var(--teal);
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ── SECTION HEADINGS ── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15; letter-spacing: -.5px;
  color: var(--text); margin-bottom: 14px;
}
.section-body { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 540px; }

/* ── FEAT CARDS ── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:900px){ .feat-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feat-card:hover { box-shadow: 0 8px 32px rgba(42,157,143,.1); transform: translateY(-2px); border-color: rgba(42,157,143,.3); }
.feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--teal-light); display: grid; place-items: center;
  color: var(--teal); margin-bottom: 14px;
}
.feat-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feat-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--teal); border-radius: 24px; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-banner h2 { font-family: 'Instrument Serif', serif; font-size: clamp(24px,3.5vw,36px); color:#fff; line-height:1.2; max-width:440px; }
.cta-banner p  { color: rgba(255,255,255,.75); font-size:15px; margin-top:8px; }
.btn-white {
  background:#fff; color:var(--teal); padding:13px 26px; border-radius:12px;
  font-weight:700; font-size:15px; white-space:nowrap; flex-shrink:0; display:inline-block;
  transition:transform .15s, box-shadow .15s;
}
.btn-white:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,0,0,.15); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border); padding: 28px 0 0; margin-top: 60px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted);
}
.footer a { color: var(--teal); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp .55s ease both; }
.fade-up-d1 { animation-delay:.1s; }
.fade-up-d2 { animation-delay:.2s; }
.fade-up-d3 { animation-delay:.3s; }
.fade-up-d4 { animation-delay:.4s; }

@media(max-width:640px){
  .nav-links { display:none; }
  .container { padding:0 18px 60px; }
}
