/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  background: #f9f8f6;
  color: #1c1c1e;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ── Typography ── */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.15; font-weight: 700; }
p { color: rgba(0,0,0,0.55); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 50px;
  font-size: 15px; font-weight: 590; text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: #1c1c1e; color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.btn--primary:hover { opacity: 0.88; }
.btn--outline {
  background: transparent; color: #1c1c1e;
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn--outline:hover { background: rgba(0,0,0,0.04); }
.btn--pro {
  background: linear-gradient(135deg, #F5A623, #FF6B35);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.btn--pro:hover { opacity: 0.9; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,248,246,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  font-size: 17px; font-weight: 700; color: #1c1c1e;
  text-decoration: none; letter-spacing: -0.03em;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: rgba(0,0,0,0.55);
  text-decoration: none; padding: 6px 10px; border-radius: 8px;
  transition: color 0.15s;
}
.nav-link:hover { color: #1c1c1e; }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(0,0,0,0.4);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  color: #1c1c1e; margin-bottom: 20px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #F5A623 0%, #FF6B35 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: rgba(0,0,0,0.5); max-width: 540px;
  margin: 0 auto 36px; line-height: 1.6;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 16px;
  font-size: 12.5px; color: rgba(0,0,0,0.35);
}

/* ── App Store badge ── */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1c1c1e; color: #fff; border-radius: 14px;
  padding: 10px 18px; text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}
.appstore-badge:hover { opacity: 0.88; }
.appstore-badge:active { transform: scale(0.97); }
.appstore-badge-text { display: flex; flex-direction: column; }
.appstore-badge-sub { font-size: 10px; font-weight: 400; opacity: 0.7; letter-spacing: 0.02em; }
.appstore-badge-name { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-top: -1px; }

/* ── Hero visual ── */
.hero-visual {
  margin-top: 64px;
  position: relative;
  display: flex; justify-content: center;
}
.phone-mockup {
  width: 260px; position: relative;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.16)) drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}
.phone-mockup-shadow {
  position: absolute; bottom: -24px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Phone shell (use-case demos) ── */
.case-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: rgba(0,0,0,0.38);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.phone-shell {
  position: relative; width: 275px; height: 593px;
  border-radius: 46px; overflow: hidden;
  box-shadow: 0 36px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.11);
  flex-shrink: 0;
}
.dyn-island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 20px; border-radius: 10px;
  background: #1c1c1e; z-index: 20;
}
.home-bar {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 5px; border-radius: 3px; z-index: 20;
}
.phone-placeholder-shell {
  background: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px,
    transparent 1px, transparent 8px
  );
  border: 1.5px dashed rgba(0,0,0,0.12);
  box-shadow: none;
}
.soon-pill {
  font-size: 10px; font-weight: 650; letter-spacing: 0.04em;
  background: rgba(0,0,0,0.07); color: rgba(0,0,0,0.4);
  padding: 2px 7px; border-radius: 50px; text-transform: uppercase;
}

/* ── Section ── */
.section { padding: 88px 0; }
.section + .section { border-top: 0.5px solid rgba(0,0,0,0.06); }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(0,0,0,0.35);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 44px); color: #1c1c1e; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: rgba(0,0,0,0.5); line-height: 1.65;
  max-width: 520px;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 52px;
}
.feature-card {
  background: rgba(255,255,255,0.7);
  border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: rgba(0,0,0,0.05);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 16px; font-weight: 650; color: #1c1c1e; margin-bottom: 8px;
}
.feature-card p { font-size: 14px; line-height: 1.6; }
.feature-badge {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  padding: 3px 9px; border-radius: 50px;
}
.badge-free { background: rgba(0,180,100,0.1); color: rgba(0,140,70,1); }
.badge-pro { background: rgba(245,166,35,0.1); color: #cc7a10; }

/* ── How it works ── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; margin-top: 52px; counter-reset: steps;
}
.how-step { position: relative; }
.how-step::before {
  counter-increment: steps;
  content: counter(steps);
  display: block; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #F5A623, #FF6B35); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  line-height: 32px; text-align: center;
}
.how-step h3 { font-size: 16px; font-weight: 650; margin-bottom: 7px; color: #1c1c1e; }
.how-step p { font-size: 14px; line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 52px;
}
.pricing-card {
  border-radius: 24px; padding: 32px 28px;
  border: 0.5px solid rgba(0,0,0,0.07);
  display: flex; flex-direction: column;
}
.pricing-card--free { background: transparent; }
.pricing-card--pro { background: transparent; border-color: transparent; box-shadow: none; border-radius: 0; }
.pricing-tier {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 10px;
}
.pricing-price {
  font-size: 36px; font-weight: 750; letter-spacing: -0.04em; margin-bottom: 4px;
}
.pricing-period {
  font-size: 13px; color: rgba(0,0,0,0.4); margin-bottom: 28px;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li {
  font-size: 14px; display: flex; align-items: flex-start; gap: 10px;
}
.pricing-card--free .pricing-features li { color: rgba(0,0,0,0.65); }
.pricing-check { flex-shrink: 0; margin-top: 1px; opacity: 0.7; }
.pricing-muted { opacity: 0.45 !important; }
.pricing-note {
  font-size: 12px; margin-top: 14px; text-align: center;
}

/* ── Footer ── */
footer {
  border-top: 0.5px solid rgba(0,0,0,0.07);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.footer-brand { font-size: 15px; font-weight: 700; color: #1c1c1e; letter-spacing: -0.02em; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: rgba(0,0,0,0.4); text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #1c1c1e; }
.footer-copy { font-size: 12px; color: rgba(0,0,0,0.3); }
.footer-contacts {
  max-width: 1100px; margin: 16px auto 0;
  padding: 12px 24px 0;
  border-top: 0.5px solid rgba(0,0,0,0.06);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.footer-contacts span { font-size: 12px; color: rgba(0,0,0,0.4); }
.footer-contacts a { font-size: 12px; color: rgba(0,0,0,0.4); text-decoration: none; transition: color 0.15s; }
.footer-contacts a:hover { color: #1c1c1e; }

/* ── Divider ── */
.divider { border: none; border-top: 0.5px solid rgba(0,0,0,0.07); }

/* ── Language switcher ── */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid rgba(0,0,0,0.14);
  border-radius: 8px; padding: 5px 10px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: rgba(0,0,0,0.6);
  font-family: -apple-system, system-ui; transition: background 0.15s;
}
.lang-btn:hover { background: rgba(0,0,0,0.04); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: rgba(249,248,246,0.96); backdrop-filter: blur(20px);
  border: 0.5px solid rgba(0,0,0,0.1); border-radius: 12px;
  padding: 6px; min-width: 140px; z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: #1c1c1e;
  transition: background 0.12s;
}
.lang-option:hover { background: rgba(0,0,0,0.05); }
.lang-option.active { background: rgba(0,0,0,0.06); }

/* ── Legal pages ── */
.legal-page { padding: 56px 0 96px; }
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-content h1 {
  font-size: clamp(26px, 4vw, 38px);
  color: #1c1c1e;
  margin-bottom: 6px;
}
.legal-content .meta {
  font-size: 13px;
  color: rgba(0,0,0,0.35);
  display: block;
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1c1c1e;
  margin-top: 44px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
}
.legal-content h3 {
  font-size: 15px;
  font-weight: 650;
  color: #1c1c1e;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content h4 {
  font-size: 14px;
  font-weight: 650;
  color: rgba(0,0,0,0.75);
  margin-top: 20px;
  margin-bottom: 6px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,0.58);
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 16px 20px;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,0.58);
  margin-bottom: 6px;
}
.legal-content a {
  color: #4466ee;
  text-decoration: none;
}
.legal-content a:hover { text-decoration: underline; }
.legal-content strong {
  color: rgba(0,0,0,0.8);
  font-weight: 600;
}
.legal-content .notice {
  background: rgba(68,102,238,0.06);
  border-left: 3px solid rgba(68,102,238,0.4);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 0;
}
.legal-content .notice p { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 780px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero-visual { gap: 20px !important; margin-top: 48px !important; }
  .hero-visual > div { width: 100% !important; align-items: center; }
  .phone-mockup { width: 180px !important; }
  .phone-mockup > div { width: 180px !important; height: 388px !important; }
  .section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  nav .btn--outline { display: none; }
  .nav-link { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  h1 { font-size: 32px !important; }
  .hero-sub { font-size: 16px; }
  .legal-page { padding: 40px 0 72px; }
}
