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

:root {
  --ocean: #357ec2;
  --ocean-dim: #2a6aaa;
  --ocean-light: #5a91c7;
  --ocean-pale: #cdddec;
  --ocean-mid: #82a8ce;
  --navy: #142850;
  --bg: #080f1c;
  --bg2: #0c1828;
  --bg3: #111f32;
  --text: #f0f6ff;
  --muted: #82a8ce;
  --border: rgba(53, 126, 194, 0.22);
  --radius: 16px;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 60% 110%, rgba(53, 126, 194, 0.2) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(90, 145, 199, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(8, 15, 28, 0.95) 0%, transparent 100%),
    linear-gradient(175deg, #080f1c 0%, #0d1e35 50%, #080f1c 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(20, 40, 80, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53,126,194,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,126,194,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 5vw;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ocean-light) !important;
  font-weight: 500 !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  background: rgba(53,126,194,0.1) !important;
  border-color: var(--ocean) !important;
  color: var(--ocean-pale) !important;
}

.hero__content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 5vw 6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ocean-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  background: rgba(53, 126, 194, 0.08);
  animation: fadeDown 0.6s ease both;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocean-light);
  animation: pulse 2s ease-in-out infinite;
}

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

h1 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

h1 em {
  font-style: normal;
  color: var(--ocean-light);
  position: relative;
}

h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ocean), transparent);
  border-radius: 2px;
}

.subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.subtitle strong {
  color: var(--ocean-pale);
  font-weight: 500;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.35s ease both;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  min-width: 190px;
}

.btn-store:hover { transform: translateY(-2px); }

.btn-store--primary {
  background: var(--ocean);
  color: #f0f6ff;
  box-shadow: 0 0 32px rgba(53, 126, 194, 0.35);
}

.btn-store--primary:hover {
  background: var(--ocean-light);
  box-shadow: 0 0 48px rgba(90, 145, 199, 0.45);
}

.btn-store--secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-store--secondary:hover {
  background: rgba(53,126,194,0.08);
  border-color: rgba(53,126,194,0.5);
}

.btn-store__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-store__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.btn-store__label {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.04em;
  line-height: 1;
}

.btn-store__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Urbanist', sans-serif;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.5s ease both;
}

.social-proof__avatars { display: flex; }

.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ocean-pale);
}

.avatar:first-child { margin-left: 0; }
.avatar--1 { background: #1a3a5c; }
.avatar--2 { background: #142850; }
.avatar--3 { background: #1e3f63; }
.avatar--4 { background: #163350; }

.social-proof__text {
  font-size: 0.85rem;
  color: var(--muted);
}

.social-proof__text strong { color: var(--text); font-weight: 500; }

.stars { display: inline-flex; gap: 1px; color: #fbbf24; font-size: 0.85rem; margin-right: 4px; }

.floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.float-card {
  position: absolute;
  background: rgba(12, 24, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
}

.float-card__icon { font-size: 1.3rem; }
.float-card__label { font-weight: 500; font-size: 0.75rem; color: var(--muted); display: block; }
.float-card__value { font-weight: 600; font-size: 0.9rem; display: block; }

.float-card--1 { top: 22%; left: 5%; animation: float1 5s ease-in-out infinite; }
.float-card--2 { top: 30%; right: 5%; animation: float2 6s ease-in-out infinite; }
.float-card--3 { bottom: 18%; left: 8%; animation: float3 7s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  animation: fadeUp 0.7s 0.7s ease both;
}

.scroll-hint__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--ocean), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%  { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100%{ opacity: 0; transform: scaleY(1) translateY(20px); transform-origin: top; }
}

.stats-bar {
  position: relative; z-index: 5;
  display: flex; justify-content: center; align-items: center;
  border-top: 1px solid var(--border);
  background: rgba(12, 24, 40, 0.75);
  backdrop-filter: blur(16px);
  padding: 1.5rem 5vw;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat { display: flex; flex-direction: column; align-items: center; padding: 0 3rem; position: relative; }

.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 32px; background: var(--border);
}

.stat__number { font-family: 'Urbanist', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ocean-light); letter-spacing: -0.03em; line-height: 1; }
.stat__label { font-size: 0.75rem; color: var(--muted); font-weight: 400; letter-spacing: 0.04em; margin-top: 0.3rem; }

.about {
  position: relative; z-index: 5;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 5vw;
}
.about__inner { max-width: 1100px; margin: 0 auto; }
.about__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ocean-light); margin-bottom: 1rem;
}
.about__heading {
  font-family: 'Urbanist', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em;
  color: var(--text); line-height: 1.15; margin-bottom: 3.5rem; max-width: 640px;
}
.about__heading em { font-style: normal; color: var(--ocean-light); }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about__card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem 2rem 2.2rem;
  transition: border-color 0.2s, background 0.2s;
}
.about__card:hover {
  border-color: rgba(53,126,194,0.45);
  background: rgba(17,31,50,0.9);
}
.about__card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(53,126,194,0.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.3rem;
}
.about__card-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ocean-light);
  margin-bottom: 0.6rem; display: block;
}
.about__card-title {
  font-family: 'Urbanist', sans-serif; font-weight: 700;
  font-size: 1.2rem; color: var(--text); margin-bottom: 0.85rem; letter-spacing: -0.01em;
}
.about__card-text { font-size: 0.92rem; color: var(--muted); line-height: 1.75; font-weight: 300; }
.about__card-text strong { color: var(--ocean-pale); font-weight: 500; }
.about__card-perks { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.perk { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); font-weight: 300; }
.perk::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ocean-light); flex-shrink: 0; opacity: 0.7; }

footer {
  position: relative; z-index: 5;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.6;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
  color: var(--ocean-pale);
  border-color: var(--border);
  background: rgba(53,126,194,0.08);
}

.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo-wordmark {
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0f6ff;
}

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }

/* ── Legal pages ── */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 15, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.legal-main {
  flex: 1;
  padding: 3rem 5vw 5rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(53, 126, 194, 0.08) 0%, transparent 70%),
    var(--bg);
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
}

.legal-doc__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 1rem;
}

.legal-doc__title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-doc__subtitle {
  font-size: 1.05rem;
  color: var(--ocean-pale);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.legal-doc__updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc__intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.legal-doc__intro p,
.legal-section p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

.legal-doc__intro strong,
.legal-section strong {
  color: var(--ocean-pale);
  font-weight: 500;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section--highlight {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 2rem;
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ocean-pale);
  margin: 1.5rem 0 0.65rem;
}

.legal-section h4 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0.5rem 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-section li {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.legal-section li strong {
  color: var(--ocean-pale);
  font-weight: 500;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--ocean-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--ocean-pale);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .float-card { display: none; }
  .stat { padding: 0 1.5rem; }
  .stat + .stat::before { display: none; }
  .stat__number { font-size: 1.2rem; }
  .social-proof { gap: 1rem; }
  footer { flex-direction: column; align-items: flex-start; }
  .about__cards { grid-template-columns: 1fr; }
  .legal-main { padding: 2rem 5vw 3.5rem; }
  .legal-section--highlight { padding: 1.25rem; }
}
