@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:             #060D14;
  --surface1:       #0D1824;
  --surface2:       #111E2E;
  --surface3:       #162438;
  --surface4:       #1A2B42;

  --text-primary:   #F0F4FA;
  --text-secondary: #8FA3C0;
  --text-muted:     #4A6080;

  --accent:         #00E676;
  --accent-dim:     rgba(0, 230, 118, 0.12);

  --border:         rgba(255, 255, 255, 0.07);
  --border-strong:  rgba(255, 255, 255, 0.14);

  --radius-card:    16px;
  --radius-btn:     12px;
  --radius-pill:    100px;

  --max-width:      1100px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface1);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Wordmark */
.nav__wordmark {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  gap: 0;
}

.nav__wordmark-match {
  color: var(--text-primary);
}

.nav__wordmark-call {
  color: var(--accent);
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  transition: color 150ms ease, border-color 150ms ease;
}

.nav__link:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

.nav__link--active {
  color: var(--accent);
  border-color: transparent;
  background: var(--accent-dim);
  cursor: default;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--surface1) 0%, var(--bg) 100%);
  padding: 96px 0 88px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Fade-in animation */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content {
  opacity: 0;
}

.hero__content.visible {
  animation: heroFadeIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 230, 118, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 640px;
}

.hero__subheadline {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.65;
}

/* CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: default;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.btn-cta svg {
  display: inline;
  flex-shrink: 0;
}

.hero__caption {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero__caption span {
  margin: 0 6px;
  opacity: 0.5;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  padding: 80px 0 96px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 200ms ease, background 200ms ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--surface3);
}

.feature-card__icon {
  font-size: 32px;
  line-height: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface4);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface1);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

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

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer__link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 150ms ease;
}

.footer__link:hover {
  color: var(--accent);
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-header__label {
  color: var(--accent);
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-header__meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.page-header__intro {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
  margin-top: 12px;
}

/* Policy content */
.policy-content {
  padding: 64px 0 96px;
}

.policy-section {
  margin-bottom: 56px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.policy-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.policy-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.policy-section ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Contact block */
.contact-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-block p {
  margin-bottom: 0 !important;
}

.contact-block a {
  color: var(--accent);
  font-weight: 500;
}

.contact-block a:hover {
  opacity: 0.85;
}

/* Third-party table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  margin-top: 16px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.policy-table thead tr {
  background: var(--surface3);
}

.policy-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.policy-table tbody tr {
  border-top: 1px solid var(--border);
  transition: background 150ms ease;
}

.policy-table tbody tr:hover {
  background: var(--surface3);
}

.policy-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.5;
}

.policy-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}

.policy-table a {
  color: var(--accent);
  font-size: 13px;
}

.policy-table a:hover {
  opacity: 0.8;
}

/* Purchase list on privacy page */
.purchase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.purchase-list__item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.purchase-list__item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  min-width: 120px;
}

.purchase-list__item-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero__headline {
    letter-spacing: -0.025em;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .hero__inner {
    padding: 0 4px;
  }

  .page-header {
    padding: 48px 0 32px;
  }

  .policy-content {
    padding: 48px 0 72px;
  }

  .purchase-list__item {
    flex-direction: column;
    gap: 6px;
  }

  .purchase-list__item-label {
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}
