:root {
  color-scheme: dark;
  --bg-primary: #0b1220;
  --bg-surface: rgba(15, 23, 42, 0.76);
  --bg-card: rgba(17, 24, 39, 0.78);
  --fg: #f9fafb;
  --fg-soft: rgba(226, 232, 240, 0.88);
  --fg-muted: rgba(148, 163, 184, 0.72);
  --accent: #22d3ee;
  --accent-secondary: #ec4899;
  --accent-gradient: linear-gradient(135deg, #22d3ee, #ec4899);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.32);
  --shadow-soft: 0 18px 46px rgba(2, 6, 23, 0.55);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--fg);
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  line-height: 1.6;
  transition: background 0.3s ease;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(900px 500px at 110% 110%, rgba(236, 72, 153, 0.16), transparent 60%),
    linear-gradient(120deg, #0b1220, #111827 60%, #0b1220);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: #ffffff;
  opacity: 0.9;
}

body.modal-open {
  overflow: hidden;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 12vw, 120px);
}

.shell {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 48px);
}

.hero {
  padding-top: clamp(32px, 8vw, 80px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 32px);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(28px, 3vw, 32px);
  height: clamp(28px, 3vw, 32px);
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(34, 211, 238, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links .cta {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-image: var(--accent-gradient);
  color: #0b1220;
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  cursor: pointer;
  gap: 6px;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(17, 24, 39, 0.9);
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.nav--open .nav-toggle .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.nav--open .nav-toggle .bar:nth-child(2) {
  opacity: 0;
}

.nav.nav--open .nav-toggle .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-content {
  margin-top: clamp(48px, 9vw, 88px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
}

.hero-content p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 1.1rem;
  max-width: 620px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.actions .primary,
.actions .ghost,
.cta .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.actions .primary,
.cta .primary {
  background-image: var(--accent-gradient);
  color: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(34, 211, 238, 0.28);
}

.actions .ghost {
  border: 1px solid var(--border);
  color: var(--fg-soft);
  background: rgba(15, 23, 42, 0.45);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.4);
}

.actions .primary:hover,
.actions .ghost:hover,
.cta .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(34, 211, 238, 0.28);
}

.converter {
  margin-top: clamp(48px, 10vw, 96px);
}

.converter-card {
  padding: clamp(24px, 6vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.78));
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(20px);
}

.converter-inline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 4vw, 24px);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: #f8fafc;
}

.converter-value {
  display: inline-block;
  min-width: 1.5ch;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.35);
  outline: none;
  cursor: text;
  font-weight: 700;
  text-align: center;
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}

.converter-value:focus {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

.converter-unit {
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
}

.converter-divider {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: rgba(244, 244, 245, 0.9);
}

.converter-result {
  font-weight: 700;
  color: #f8fafc;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.converter-caution {
  margin: clamp(12px, 2vw, 20px) auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(253, 224, 71, 0.85);
  background: rgba(253, 224, 71, 0.12);
  border: 1px solid rgba(253, 224, 71, 0.24);
  border-radius: 16px;
  padding: 10px 16px;
  line-height: 1.5;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background-image: var(--accent-gradient);
  color: #08111d;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.28);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(34, 211, 238, 0.32);
}

.btn-secondary {
  background: rgba(17, 24, 39, 0.65);
  border-color: var(--border);
  color: var(--fg-soft);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
}

.content {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 10vw, 96px);
}

.grid {
  display: grid;
  gap: clamp(20px, 5vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: clamp(22px, 4vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.card p {
  margin: 0;
  color: var(--fg-soft);
}

.card span {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.45), rgba(236, 72, 153, 0.45)) border-box;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.6;
}

.columns {
  display: grid;
  gap: clamp(28px, 6vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.columns h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.columns ul {
  margin: 0;
  padding-left: 18px;
  color: var(--fg-soft);
  display: grid;
  gap: 10px;
}

.cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: clamp(32px, 8vw, 48px);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.cta p {
  margin: 0;
  max-width: 520px;
  color: var(--fg-soft);
}

.footer {
  padding: clamp(32px, 6vw, 60px) clamp(20px, 6vw, 48px) 60px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(10, 12, 24, 0.65);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-soft);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-meta p {
  margin: 0;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--fg-muted);
}

.footer small {
  color: var(--fg-muted);
}

.link-inline {
  color: #38bdf8;
  font-weight: 600;
  width: fit-content;
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
  padding-bottom: 2px;
}

.link-inline:hover {
  color: #ffffff;
}

.coming-simple {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 8vw, 64px);
}

.coming-simple__card {
  width: 100%;
  max-width: none;
  padding: clamp(32px, 8vw, 48px);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 32px 72px rgba(2, 6, 23, 0.6);
  text-align: center;
  display: grid;
  gap: 18px;
}

.coming-simple__logo {
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(34, 211, 238, 0.25);
  justify-self: center;
}

.coming-simple__tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(236, 72, 153, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: rgba(226, 232, 240, 0.88);
  justify-self: center;
}

.coming-simple__card h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.coming-simple__card p {
  margin: 0;
  color: var(--fg-soft);
}

.terms-hero {
  padding-bottom: clamp(32px, 6vw, 60px);
}

.terms-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
  background: rgba(17, 24, 39, 0.62);
  border-radius: 28px;
  padding: clamp(28px, 7vw, 52px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(18px);
}

.terms-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: clamp(22px, 6vw, 32px);
  background: linear-gradient(140deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.78));
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 14px;
}

.terms-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.terms-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(236, 72, 153, 0.22));
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: rgba(196, 245, 254, 0.85);
}

.terms-card h2 {
  margin: 0;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #22d3ee 0%, #ec4899 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.terms-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.65;
}

.terms-card p + p {
  margin-top: 10px;
}

.terms-card--highlight {
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.12), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 22px 52px rgba(34, 211, 238, 0.18);
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: rgba(226, 232, 240, 0.9);
}

.terms-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
}

.terms-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #ec4899);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.55);
  }

  .nav.nav--open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .actions .primary,
  .actions .ghost {
    width: 100%;
    text-align: center;
  }
}

.consent-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.consent-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.consent-dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 28px 64px rgba(2, 6, 23, 0.65);
  display: grid;
  gap: 16px;
}

.consent-dialog h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #f8fafc;
}

.consent-dialog p {
  margin: 0;
  color: var(--fg-soft);
  line-height: 1.5;
}

.consent-dialog a {
  color: var(--accent);
}

.consent-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--fg-soft);
}

.consent-check input {
  margin-top: 4px;
}

.consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.65);
  color: var(--fg-soft);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.consent-close:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.consent-modal.open .consent-dialog {
  animation: consent-pop 0.2s ease;
}

@keyframes consent-pop {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}
