/* ─────────────────────────────────────────────────────────────
   Shared styles — Anime App website
   Accent: #0091EA  |  Dark bg: #0f1117
───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:      #0091EA;
  --accent-dim:  #0077c2;
  --accent-glow: rgba(0, 145, 234, 0.25);
  --bg:          #0f1117;
  --surface:     #161b24;
  --surface2:    #1c2330;
  --border:      rgba(255,255,255,0.07);
  --text:        #f0f2f5;
  --text-muted:  #8892a0;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 8px 40px rgba(0,0,0,0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(0,145,234,0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.badge {
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(15,17,23,0.8);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.nav-logo .dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-dim); box-shadow: 0 6px 28px var(--accent-glow); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(0,145,234,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 100% 80%, rgba(0,145,234,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 60px;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-item {}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }


/* ── Section layout ───────────────────────────────────────── */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 12px;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Features grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover {
  border-color: rgba(0,145,234,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,145,234,0.1);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,145,234,0.2);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Highlights (2-col alternating) ──────────────────────── */
.highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.highlight.reverse { direction: rtl; }
.highlight.reverse > * { direction: ltr; }
.highlight-text .tag { margin-bottom: 18px; }
.highlight-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.highlight-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,200,83,0.15);
  color: #00C853;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.highlight-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-box {
  width: 100%;
  max-width: 420px;
  height: 300px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}
.visual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 65%);
}

/* ── Download CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 0;
}
.cta-text h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.cta-text p { font-size: 15px; color: var(--text-muted); max-width: 460px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: #000;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
  flex-shrink: 0;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.12);
  text-decoration: none;
}
.store-badge svg { width: 22px; height: 22px; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.65;
}
footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
footer ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Privacy page ─────────────────────────────────────────── */
.policy-hero {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}
.policy-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-top: 16px;
  margin-bottom: 14px;
}
.policy-hero p { font-size: 15px; color: var(--text-muted); }
.policy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
.policy-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 44px 0 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-body h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.policy-body p, .policy-body li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.policy-body ul, .policy-body ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
.policy-body li { margin-bottom: 6px; }
.policy-body strong { color: var(--text); font-weight: 600; }
.policy-body a { color: var(--accent); }
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box p { margin: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .highlight, .highlight.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .highlight-visual { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner .cta-text p { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
