/* ===== Custom properties ===== */
:root {
  --teal: #48CFCB;
  --teal-dark: #33a7a4;
  --navy: #1E293B;
  --navy-light: #334155;
  --bg: #ffffff;
  --bg-alt: #F5FBFB;
  --text: #1E293B;
  --text-muted: #5B6B7C;
  --border: #E2E8F0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
  --shadow-sm: 0 4px 12px rgba(30, 41, 59, 0.06);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1160px;
}

/* ===== Reset ===== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 36px;
  width: auto;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.btn-header { padding: 10px 20px; font-size: 0.9rem; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 64px 0 48px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 46ch;
}
.play-badge-link { display: inline-block; }
.play-badge {
  height: 58px;
  width: auto;
}
.hero-visual {
  display: flex;
  justify-content: center;
}

/* ===== Phone frame ===== */
.phone-frame {
  position: relative;
  width: 240px;
  aspect-ratio: 9 / 16;
  background: var(--navy);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* ===== Section titles ===== */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 40px;
}

/* ===== Features ===== */
.features { padding: 72px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p { margin-bottom: 0; }

/* ===== Gallery ===== */
.gallery { padding: 72px 0; background: var(--bg-alt); }
.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 24px;
  -webkit-overflow-scrolling: touch;
}
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.gallery-frame {
  scroll-snap-align: center;
  width: 200px;
}

/* ===== How it works ===== */
.how-it-works { padding: 72px 0; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.step-card {
  text-align: center;
  padding: 20px;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.step-card p { margin-bottom: 0; }

/* ===== Final CTA ===== */
.final-cta {
  background: var(--navy);
  padding: 72px 0;
}
.final-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
  max-width: 30ch;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-alt);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner { text-align: center; }
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.footer-tags {
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links a {
  font-weight: 600;
  color: var(--teal-dark);
}
.footer-links a:hover { text-decoration: underline; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-copy { text-align: left; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .phone-frame { width: 260px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 1rem; }
  .btn-header { padding: 8px 16px; font-size: 0.85rem; }
}

/* ===== Privacy Policy page ===== */
.policy-hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.policy-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}
.policy-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.policy-hero h1 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
}
.policy-hero-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.policy-hero-intro {
  font-size: 1rem;
  margin-bottom: 0;
}

.policy-content { padding: 56px 0 80px; }
.policy-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.policy-section {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.policy-num {
  flex-shrink: 0;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 9px;
  background: rgba(72, 207, 203, 0.16);
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-section-head h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}
.policy-subsection { margin-top: 18px; }
.policy-subsection h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.policy-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 10px; }
.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.policy-list li strong { color: var(--navy); font-weight: 600; }
.policy-check {
  flex-shrink: 0;
  color: var(--teal-dark);
  font-weight: 700;
  line-height: 1.6;
}
.policy-x {
  flex-shrink: 0;
  color: #DC2626;
  font-weight: 700;
  line-height: 1.6;
}

.policy-table-wrap {
  overflow-x: auto;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.policy-table th, .policy-table td {
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
.policy-table th {
  background: rgba(72, 207, 203, 0.12);
  color: var(--teal-dark);
  font-weight: 700;
}
.policy-table td:first-child { font-weight: 600; color: var(--navy); }
.policy-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--border); }

.policy-highlight-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(72, 207, 203, 0.12);
  border: 1px solid rgba(72, 207, 203, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.policy-highlight-box p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}

.policy-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(72, 207, 203, 0.12);
  border: 1px solid rgba(72, 207, 203, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 700;
  color: var(--teal-dark);
}
.policy-contact:hover { text-decoration: underline; }

.policy-section a { color: var(--teal-dark); font-weight: 600; }
.policy-section a:hover { text-decoration: underline; }
