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

:root {
  --grape:    #531CB3;
  --amethyst: #944BBB;
  --amber:    #FFBE0B;
  --orange:   #FB5607;
  --rose:     #FF006E;

  --gradient: linear-gradient(135deg, var(--grape), var(--rose));

  --glass-bg:     rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.22);
  --glass-shadow: 0 8px 32px rgba(83,28,179,0.18);

  --text-on-dark: #fff;
  --text-body:    #1a1a2e;
  --text-muted:   #555;

  --radius-card: 20px;
  --radius-pill: 100px;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
body { background: #f4f0fb; color: var(--text-body); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Utility ───────────────────────────────────────────────────────── */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ─── Nav ───────────────────────────────────────────────────────────── */
body > nav {
  position: fixed;
  top: 12px; left: 50%; right: auto;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 32px));
  z-index: 100;
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  background: rgba(60,16,140,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: 20px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* nav links (desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: #fff; }

/* lang pill */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  padding: 3px;
  flex-shrink: 0;
}

.lang-switcher a {
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.06em;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 7px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-drawer a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.18s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: #fff; }

/* open state */
nav.open .nav-drawer { display: flex; }
nav.open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  nav { border-radius: 14px; }
  .nav-links, .lang-switcher { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,190,11,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,0,110,0.2) 0%, transparent 55%);
  pointer-events: none;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  margin-inline: auto;
  margin-bottom: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  display: block;
}
.hero-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 1.5;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: default;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  transition: background 0.2s;
}

.btn-appstore:hover {
  background: rgba(255,255,255,0.25);
}

.btn-appstore svg {
  width: 20px; height: 20px; fill: #fff;
}

/* ─── Section ───────────────────────────────────────────────────────── */
section {
  padding: 96px 0;
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-body);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 56px;
  line-height: 1.6;
}

/* ─── Feature Grid ──────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(83,28,179,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(83,28,179,0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-body);
  letter-spacing: -0.01em;
}

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

/* ─── Privacy Banner ────────────────────────────────────────────────── */
.privacy-banner {
  background: var(--gradient);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,190,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.privacy-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.privacy-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 28px;
  line-height: 1.6;
}

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.28); }

/* ─── Footer ────────────────────────────────────────────────────────── */
footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.55);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

/* ─── Privacy Policy Page ───────────────────────────────────────────── */
.policy-hero {
  background: var(--gradient);
  padding: 120px 0 60px;
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

.policy-hero p {
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
  font-size: 0.9rem;
}

.policy-body {
  max-width: 720px;
  margin-inline: auto;
  padding: 64px 24px 96px;
}

.policy-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grape);
  margin-top: 48px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.policy-body p, .policy-body ul {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.policy-body ul {
  padding-left: 20px;
  margin-top: 8px;
}

.policy-body ul li { margin-bottom: 6px; }

.policy-body a { color: var(--grape); text-decoration: underline; }

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.policy-back:hover { color: #fff; }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .privacy-banner { padding: 40px 24px; }
  .footer-links { gap: 16px; }
  .footer-inner { justify-content: center; text-align: center; }
}
