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

:root {
  --teal: #00897B;
  --teal-dark: #00695C;
  --teal-light: #E0F2F1;
  --teal-mid: #B2DFDB;
  --text: #1a1a1a;
  --text-2: #555;
  --text-3: #888;
  --bg: #fff;
  --bg-2: #f7f9f8;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-phone: 0 24px 64px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

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

/* ── Typography ── */
.accent { color: var(--teal); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.btn--store {
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
}

.btn--store:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn--large {
  font-size: 1.1rem;
  padding: 16px 32px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.nav__logo-icon { font-size: 1.4rem; }
.nav__logo-text { letter-spacing: -0.01em; }

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
}

.nav__links a { color: var(--text-2); }
.nav__links a:hover { color: var(--teal); }

/* ── Hero ── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(160deg, var(--bg) 55%, var(--teal-light) 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero__cta { margin-bottom: 16px; }

.hero__note {
  font-size: 0.85rem;
  color: var(--text-3);
}

.hero__phone {
  display: flex;
  justify-content: center;
}

/* ── Phone frame ── */
.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  background: #f2f2f2;
  border: 6px solid #e0e0e0;
}

.phone-screen,
.phone-frame img {
  width: 100%;
  display: block;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--bg-2);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Screenshots ── */
.screenshots {
  padding: 100px 0;
  overflow: hidden;
}

.screenshots__scroll {
  overflow-x: auto;
  padding: 16px 40px 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots__scroll::-webkit-scrollbar { display: none; }

.screenshots__track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.phone-frame--small {
  width: 220px;
  border-radius: 36px;
  border: 5px solid #e0e0e0;
  flex-shrink: 0;
}

/* ── How it works ── */
.how {
  padding: 100px 0;
  background: var(--bg-2);
}

.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
}

.how__step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 20px;
}

.how__step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.how__step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how__step p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.how__step-arrow {
  font-size: 1.5rem;
  color: var(--teal-mid);
  margin-top: 14px;
  flex-shrink: 0;
}

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.cta-section__flag {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 36px;
}

.cta-section .btn--store {
  background: #fff;
  color: var(--text);
}

.cta-section .btn--store:hover {
  background: #f0f0f0;
  color: var(--text);
}

/* ── Footer ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.6);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer__links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
}

.footer__links a {
  color: rgba(255,255,255,.6);
}

.footer__links a:hover { color: #fff; }

.footer__copy { font-size: 0.8rem; }

/* ── Inner pages ── */
.page-header {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--bg) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-2);
  font-size: 1rem;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.page-content h2:first-child { margin-top: 0; }

.page-content p, .page-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-2);
}

.page-content ul {
  padding-left: 20px;
  margin-top: 8px;
}

.page-content li { margin-bottom: 6px; }

.page-content a { color: var(--teal); }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.support-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #eee;
}

.support-card__icon { font-size: 1.75rem; margin-bottom: 12px; }
.support-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.support-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.support-card a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }

  .hero__phone { order: -1; }

  .phone-frame { width: 230px; }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .how__step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .nav__links { display: none; }

  .support-grid { grid-template-columns: 1fr; }
}
