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

:root {
  --bg-deep: #020617;
  --bg-hero-top: #042c64;
  --bg-hero-bottom: #036666;
  --card-bg: #02142e;
  --card-border: rgba(255, 255, 255, 0.08);
  --accent: #2dd4bf;
  --accent-soft: rgba(45, 212, 191, 0.25);
  --text-main: #e5f0ff;
  --text-muted: #9ca3af;
  --nav-height: 72px;
  --gold: #f7c758;
  --gold-soft: rgba(247, 199, 88, 0.25);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #0b3b82 0, #02101f 40%, #020617 100%);
  -webkit-font-smoothing: antialiased;
}

/* HEADER & NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.98), rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.75));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.navbar {
  max-width: 1120px;
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
}

/* Logo */

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 0, #ffffff 0, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 60% 120%, #0ea5e9 0, rgba(14, 165, 233, 0) 55%),
    radial-gradient(circle at 0 100%, #22c55e 0, rgba(34, 197, 94, 0) 60%),
    radial-gradient(circle at 100% 0, #f97316 0, rgba(249, 115, 22, 0) 55%),
    radial-gradient(circle at center, #0b173b 0, #020617 70%);
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.5),
    0 0 0 8px rgba(15, 23, 42, 0.9),
    0 18px 40px rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-circle.small {
  width: 32px;
  height: 32px;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.5),
    0 0 0 5px rgba(15, 23, 42, 0.9),
    0 12px 24px rgba(15, 23, 42, 0.9);
}

.logo-inner {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #f9fafb;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.9);
}

.brand-name {
  font-weight: 600;
  font-size: 18px;
}

/* Navigation links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #22c55e);
  transition: width 0.22s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #e5f0ff;
}

/* Nav dropdown */

.nav-dropdown {
  position: relative;
}

.nav-drop-btn {
  background: transparent;
  border: none;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.nav-drop-btn:hover {
  color: #e5f0ff;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: radial-gradient(circle at top, #0f172a, #020617);
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.14s ease-out, transform 0.14s ease-out;
  z-index: 30;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-panel a,
.dropdown-panel span {
  display: block;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.dropdown-panel a:hover {
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.15), rgba(37, 99, 235, 0.2));
  color: #e5f0ff;
}

.tag-soon {
  margin-top: 4px;
  font-size: 12px;
  color: #facc15;
}

/* Language switcher */

.nav-right {
  display: flex;
  align-items: center;
}

.language-switcher {
  position: relative;
  --pill-radius: 999px;
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.55), rgba(15, 23, 42, 0.9)),
    radial-gradient(circle at bottom, rgba(16, 185, 129, 0.4), rgba(2, 6, 23, 0.95));
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 0 25px rgba(59, 130, 246, 0.7);
  color: #e5f0ff;
  font-size: 13px;
  cursor: pointer;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.9));
}

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
}

.chevron {
  font-size: 11px;
  opacity: 0.8;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  margin: 0;
  padding: 10px 6px;
  list-style: none;
  background: radial-gradient(circle at top, #020617, #020617 40%, #020617 100%);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.14s ease-out, transform 0.14s ease-out;
  z-index: 40;
}

.lang-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
}

.lang-menu li img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.lang-menu li:hover {
  background: radial-gradient(circle at left, rgba(45, 212, 191, 0.22), rgba(59, 130, 246, 0.4));
  color: #e5f0ff;
}

/* Hamburger (mobile) */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, #0f172a, #020617);
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5f0ff;
}

/* HERO */

main {
  overflow: visible;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 32px;
  align-items: center;
  padding-top: 80px;
}

.hero-text h1 {
  font-size: 44px;
  line-height: 1.05;
  margin: 12px 0 18px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #a5b4fc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: white;
  box-shadow:
    0 12px 30px rgba(37, 99, 235, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-ghost:hover {
  border-color: rgba(209, 213, 219, 0.9);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.hero-tags span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
}

/* Hero card */

.hero-card {
  align-self: stretch;
  border-radius: 26px;
  padding: 24px 22px 22px;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.5), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(129, 140, 248, 0.7);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.hero-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-list {
  margin: 10px 0 16px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-main);
}

/* Sections & cards */

.section-title {
  font-size: 28px;
  margin: 0 0 24px;
}

.section-alt {
  padding-top: 24px;
}

.grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border-radius: 24px;
  padding: 18px 18px 18px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #38bdf8;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* FOOTER */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(to bottom, #020617, #020617 45%, #052e16 100%);
}

.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 2.2fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer-main p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-sub {
  margin-top: 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  font-size: 13px;
}

.footer-links h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5f0ff;
}

.footer-seal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Gold SSL badge */

.seal-badge.gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.08), rgba(15, 23, 42, 1)),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 1));
  border: 1px solid rgba(247, 199, 88, 0.9);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.95),
    0 16px 35px rgba(15, 23, 42, 0.95),
    0 0 24px rgba(247, 199, 88, 0.55);
}

.seal-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #facc15, #eab308 55%, #92400e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.95),
    0 8px 20px rgba(15, 23, 42, 0.9);
}

.lock-symbol {
  font-size: 15px;
}

.seal-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.seal-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fefce8;
}

.seal-sub {
  margin: 0;
  font-size: 12px;
  color: #fef3c7;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4px 20px 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  font-size: 12px;
  color: rgba(148, 163, 184, 0.85);
}

/* Fade-in helper */

.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: radial-gradient(circle at top, #020617, #020617 40%, #020617 100%);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .section {
    padding: 56px 16px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 6px;
  }

  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-seal {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 34px;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
