:root {
  --crimson: #DC143C;
  --rose: #FF6B9D;
  --peach: #FFB088;
  --plum: #8B1538;
  --bg: #0A0612;
  --bg-elev: rgba(255, 255, 255, 0.06);
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #FFF5EC;
  --text-secondary: rgba(255, 245, 236, 0.72);
  --text-tertiary: rgba(255, 245, 236, 0.48);
  --accent-grad: linear-gradient(135deg, #DC143C 0%, #FF6B9D 50%, #FFB088 100%);
  --accent-grad-soft: linear-gradient(135deg, rgba(220, 20, 60, 0.85) 0%, rgba(255, 107, 157, 0.85) 100%);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max-width: 1080px;
  --max-reader: 760px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Aurora glow blobs in background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(220, 20, 60, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(255, 107, 157, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(139, 21, 56, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(255, 176, 136, 0.20) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255, 255, 255, 0.012) 1px, rgba(255, 255, 255, 0.012) 2px);
  z-index: 1;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 32px;
}

/* ---------- LANDING HERO ---------- */

.hero {
  text-align: center;
  padding: 32px 0 48px;
  position: relative;
}

.hero__icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  border-radius: 28px;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(220, 20, 60, 0.55),
    0 8px 24px rgba(220, 20, 60, 0.4);
  animation: hero-float 6s ease-in-out infinite;
}

.hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__title {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE5D5 50%, #FFB5C8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(220, 20, 60, 0.4));
}

.hero__tagline {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.3;
}

.hero__subtagline {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 40px rgba(255, 245, 236, 0.18);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(255, 245, 236, 0.28);
}

.cta__badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-top: 20px;
  letter-spacing: 0.02em;
}

/* ---------- FEATURES ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 96px 0;
}

.feature {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-elev);
}

.feature:hover::before {
  opacity: 1;
}

.feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(220, 20, 60, 0.22) 0%, rgba(255, 107, 157, 0.10) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF5EC;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 12px 28px rgba(220, 20, 60, 0.28),
    0 0 0 1px rgba(220, 20, 60, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature__icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 18px 18px 50% 50% / 18px 18px 100% 100%;
}

.feature__icon svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.20));
}

.feature:hover .feature__icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 16px 36px rgba(220, 20, 60, 0.40),
    0 0 0 1px rgba(220, 20, 60, 0.20);
}

.feature__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: var(--text);
}

.feature__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- PRIVACY SECTION ---------- */

.privacy {
  margin: 96px 0 0;
  padding: 56px 48px;
  background:
    linear-gradient(135deg, rgba(220, 20, 60, 0.12) 0%, rgba(255, 107, 157, 0.08) 100%),
    var(--bg-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.privacy::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.25) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.privacy__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFB5C8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  position: relative;
}

.privacy__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.privacy__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
}

/* ---------- FOOTER ---------- */

footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 40px 24px 48px;
  text-align: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 96px auto 0;
}

footer nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--text);
}

.footer__lang {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer__lang a {
  color: var(--rose);
  margin-left: 8px;
  font-weight: 600;
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---------- LEGAL READER ---------- */

.reader-header {
  text-align: center;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.reader-header a.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.reader-header .logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.45);
}

.reader-header .logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reader-header .logo__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

#reader {
  max-width: var(--max-reader);
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

#reader h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  margin: 48px 0 20px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFB5C8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#reader h1:first-child {
  margin-top: 0;
}

#reader h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -0.015em;
  color: var(--text);
}

#reader h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
}

#reader p {
  margin-bottom: 16px;
}

#reader strong {
  color: var(--text);
  font-weight: 600;
}

#reader ul, #reader ol {
  margin: 10px 0 18px 24px;
}

#reader li {
  margin-bottom: 8px;
}

#reader hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

#reader code {
  background: var(--bg-elev);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  border: 1px solid var(--border);
  color: var(--rose);
}

#reader blockquote {
  border-left: 3px solid var(--crimson);
  background: rgba(220, 20, 60, 0.06);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
}

#reader a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

#reader a:hover {
  color: var(--peach);
}

#reader table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 14px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

#reader th, #reader td {
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

#reader tr:last-child td {
  border-bottom: none;
}

#reader th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- LOADING ---------- */

.loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-tertiary);
  font-size: 15px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 720px) {
  main {
    padding: 24px 20px 24px;
  }

  .hero {
    padding: 48px 0 48px;
  }

  .hero__icon {
    width: 112px;
    height: 112px;
    border-radius: 26px;
    margin-bottom: 32px;
  }

  .hero__icon svg {
    width: 56px;
    height: 56px;
  }

  .cta {
    padding: 16px 28px;
    font-size: 16px;
  }

  .features {
    margin: 64px 0;
    gap: 16px;
  }

  .feature {
    padding: 28px 24px;
  }

  .privacy {
    padding: 40px 28px;
    margin-top: 72px;
  }

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

  footer {
    margin-top: 64px;
  }

  footer nav {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__icon {
    animation: none;
  }
}
