*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #0c0b14;
  color: #f4f0ea;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(99, 102, 241, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(239, 68, 68, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(251, 191, 36, 0.07) 0%, transparent 45%),
    linear-gradient(165deg, #0c0b14 0%, #12101f 40%, #0f0e18 100%);
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 18px 40px;
  background: rgba(12, 11, 20, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav .logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: bold; color: #fff;
  text-decoration: none; letter-spacing: -0.3px;
}
nav .logo img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
nav .nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
nav .nav-links a {
  font-size: 14px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
nav .nav-links a:hover { color: #fff; }
nav .nav-right { margin-left: auto; }
nav .nav-right a {
  font-size: 13px; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
nav .nav-right a:hover { color: rgba(255,255,255,0.85); }

/* ── Hero ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
  max-width: 1140px; margin: 0 auto;
  padding: 80px 40px 100px;
}
.hero-text { max-width: 520px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 28px;
}
.hero-badge span { color: #fbbf24; }
.hero h1 {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: bold; line-height: 1.05;
  letter-spacing: -1.5px; color: #fff; margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #f87171 0%, #fbbf24 55%, #818cf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.52);
  line-height: 1.65; margin-bottom: 32px;
}
.lang-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-pill {
  padding: 6px 14px; border-radius: 100px; font-size: 13px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

/* Mascot video */
.mascot-video-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  min-height: 320px;
}
.mascot-video-wrap video {
  width: min(100%, 380px); height: auto;
  object-fit: contain; background: transparent;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.55));
}
.mascot-video-wrap .mascot-fallback {
  width: min(100%, 280px); object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.55));
}
.mascot-video-wrap video:not([data-ready="1"]) + .mascot-fallback { display: block; }
.mascot-video-wrap video[data-ready="1"] + .mascot-fallback { display: none; }
.mascot-video-wrap video:not([data-ready="1"]) { display: none; }

.mascot-video-sm video { width: min(100%, 220px); }
.mascot-video-sm .mascot-fallback { width: min(100%, 180px); }

/* ── Sections ── */
.section-wrap {
  max-width: 1140px; margin: 0 auto;
  padding: 0 40px 100px;
}
.section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #818cf8; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: bold;
  color: #fff; letter-spacing: -0.5px; line-height: 1.15;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 17px; color: rgba(255,255,255,0.48);
  line-height: 1.7; max-width: 560px;
}

.section-divider {
  max-width: 1140px; margin: 0 auto 80px;
  padding: 0 40px;
}
.section-divider hr {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* Tab overview cards */
.tab-overview {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
.tab-card {
  padding: 28px 24px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.tab-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}
.tab-card-icon { margin-bottom: 14px; display: block; }
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; color: #818cf8; flex-shrink: 0;
}
.icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 32px; height: 32px; }
.icon-sm { width: 20px; height: 20px; color: rgba(129,140,248,0.85); }
.tab-card h3 {
  font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 8px;
}
.tab-card p { font-size: 14px; color: rgba(255,255,255,0.42); line-height: 1.6; }

/* Feature sections (alternating) */
.feature-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  margin-bottom: 100px;
}
.feature-section.reverse { direction: rtl; }
.feature-section.reverse > * { direction: ltr; }
.feature-content .section-desc { margin-bottom: 24px; }

.feature-list { list-style: none; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.6;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .li-icon { margin-top: 2px; }
.feature-list strong { color: rgba(255,255,255,0.85); font-weight: bold; }

.feature-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 32px; border-radius: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 280px;
}

/* SRS overview */
.srs-block {
  padding: 40px; border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  margin-top: 40px;
}
.srs-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 32px;
}
.srs-point {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.srs-point h4 {
  font-size: 15px; font-weight: bold; color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
}
.srs-point p {
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; margin: 0;
}

.bucket-bar {
  display: flex; gap: 4px; margin-top: 28px; height: 12px; border-radius: 6px; overflow: hidden;
}
.bucket-seg { flex: 1; }
.bucket-seg.a { background: #d92626; }
.bucket-seg.b { background: #e54d33; }
.bucket-seg.c { background: #f28c26; }
.bucket-seg.d { background: #eab308; }
.bucket-seg.e { background: #c4c433; }
.bucket-seg.f { background: #66bf73; }
.bucket-seg.g { background: #33a68c; }
.bucket-seg.h { background: #269959; }
.bucket-seg.i { background: #1a8040; }
.bucket-seg.s { background: #bf8c0d; flex: 0.5; }
.bucket-labels {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.5px;
}

/* Customization grid */
.custom-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 40px;
}
.custom-card {
  padding: 28px 24px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.custom-card-icon { margin-bottom: 14px; display: block; }
.custom-card h3 { font-size: 17px; font-weight: bold; color: #fff; margin-bottom: 8px; }
.custom-card p { font-size: 14px; color: rgba(255,255,255,0.42); line-height: 1.6; }

/* Flock */
.flock-grid {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 6px; flex-wrap: wrap; margin-top: 40px;
}
.flock-bird {
  width: 100px; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  transition: transform 0.25s;
}
.flock-bird:hover { transform: scale(1.1) translateY(-6px); }
.flock-bird:nth-child(even) { width: 88px; }
.flock-bird:nth-child(4) { width: 110px; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 40px 56px;
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.35);
  margin-top: 8px; max-width: 280px; line-height: 1.6;
}
.footer-links h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 12px; font-weight: normal;
}
.footer-links a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.45);
  text-decoration: none; margin-bottom: 8px; transition: color 0.2s;
}
.footer-links a:hover { color: #818cf8; }
.footer-copy {
  width: 100%; padding-top: 24px; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px; color: rgba(255,255,255,0.22);
}

/* Legal pages — standalone */
.legal-standalone {
  max-width: 760px; margin: 0 auto;
  padding: 64px 40px 100px;
}
.legal-standalone .doc-eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #818cf8; margin-bottom: 12px; }
.legal-standalone h1 { font-size: clamp(36px, 5vw, 48px); font-weight: bold; color: #fff; letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 12px; }
.legal-standalone .doc-meta { font-size: 14px; color: rgba(255,255,255,0.35); margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.legal-standalone .doc-intro { font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 56px; }
.legal-standalone-footer {
  max-width: 760px; margin: 0 auto;
  padding: 0 40px 56px;
  font-size: 13px; color: rgba(255,255,255,0.28);
  text-align: center;
}
.legal-standalone-footer a { color: rgba(255,255,255,0.45); text-decoration: none; }
.legal-standalone-footer a:hover { color: #818cf8; }
.legal-section-block { margin-bottom: 48px; }
.legal-section-block h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); font-weight: normal; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.legal-section-block p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 14px; }
.legal-section-block ul, .legal-section-block ol { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; padding-left: 22px; margin-bottom: 14px; }
.legal-section-block li { margin-bottom: 8px; }
.legal-section-block strong { color: rgba(255,255,255,0.85); }
.info-box { padding: 24px 28px; border-radius: 16px; margin-top: 16px; background: rgba(129,140,248,0.08); border: 1px solid rgba(129,140,248,0.15); }
.info-box p { margin-bottom: 0; }
.provider-list { margin-top: 16px; }
.provider-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.provider-row:last-child { border-bottom: none; }
.provider-name { font-size: 14px; font-weight: bold; color: rgba(255,255,255,0.85); min-width: 100px; }
.provider-desc { font-size: 14px; color: rgba(255,255,255,0.45); flex: 1; line-height: 1.6; }
.provider-link { font-size: 12px; color: #818cf8; text-decoration: none; white-space: nowrap; }
.provider-link:hover { text-decoration: underline; }
a.inline-link { color: #818cf8; text-decoration: none; border-bottom: 1px solid rgba(129,140,248,0.3); }
a.inline-link:hover { border-bottom-color: #818cf8; }
.notice-box { padding: 20px 24px; border-radius: 14px; margin-top: 16px; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); }
.notice-box p { margin-bottom: 0; color: rgba(255,255,255,0.55); }
.term-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.term-item:last-child { border-bottom: none; }
.term-item-label { font-size: 14px; font-weight: bold; color: rgba(255,255,255,0.85); margin-bottom: 4px; }
.term-item-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; }

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; padding: 48px 24px 64px; text-align: center; }
  .hero-text { max-width: none; margin: 0 auto; }
  .lang-pills { justify-content: center; }
  .section-wrap { padding: 0 24px 72px; }
  .section-divider { padding: 0 24px; margin-bottom: 56px; }
  .tab-overview { grid-template-columns: 1fr; }
  .feature-section { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .feature-section.reverse { direction: ltr; }
  .srs-points { grid-template-columns: 1fr; }
  .custom-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 24px; }
  .legal-standalone { padding: 40px 24px 72px; }
  .legal-standalone-footer { padding: 0 24px 48px; }
  nav .nav-right { margin-left: 0; width: 100%; }
}
