:root {
  --color-primary-900: #002349;
  --color-primary-700: #004a8f;
  --color-primary-500: #0070d9;
  --color-primary-300: #4fa8ff;
  --color-teal-400: #17b3c1;
  --color-teal-200: #9ce6f0;
  --color-bg: #020617;
  --color-surface: #0b1020;
  --color-text-main: #f9fafb;
  --color-text-muted: #9ca3af;
  --container-width: 1120px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.9);
}

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

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

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/hero-bg-hybrid.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #020617;
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.00), rgba(0,0,0,0.10));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

#intro {
  padding-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.3rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}

.section-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.90), rgba(15,23,42,0.80));
  border-bottom: 1px solid rgba(148,163,184,0.5);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 2px 0;
}

.brand-logo img {
  height: 62px;
  width: auto;
}


.brand-text-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-teal-400));
  transition: width 0.18s ease;
}

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

.nav a:hover::after { width: 100%; }

/* Nav CTA button should behave like primary button (no underline) */
.nav-cta a::after {
  display: none !important;
}

.nav-cta .btn {
  color: #f9fafb !important;
}

.nav-cta .btn:hover {
  color: #f9fafb !important;
}


.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--color-text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.6rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-teal-400));
  color: #f9fafb;
  border-color: rgba(56,189,248,0.55);
  box-shadow: 0 16px 40px rgba(56,189,248,0.4);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(56,189,248,0.48);
}

.btn-ghost {
  border-color: rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.7);
  color: var(--color-text-main);
}

.btn-ghost:hover { background: rgba(15,23,42,0.9); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.6rem 0 3.8rem;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.18rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.65);
  background: rgba(15,23,42,0.8);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #7dd3fc, #38bdf8);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.26);
}

.hero-title {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 3.3rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: rgba(249,250,251,0.78);
  max-width: 34rem;
  margin: 0 0 0.4rem;
}

.hero-meta {
  font-size: 0.92rem;
  color: rgba(249,250,251,0.72);
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.84rem;
  color: rgba(249,250,251,0.72);
}

.hero-note span { color: var(--color-teal-200); }

/* Hero aside */

.hero-aside {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.25), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(59,130,246,0.2), transparent 55%),
              rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.6);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.7rem 1.5rem;
}

.hero-aside-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.3rem;
}

.hero-aside-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.hero-aside-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.8);
  color: var(--color-teal-200);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.metric {
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.88);
}

.metric-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.15rem;
  font-weight: 600;
}

.metric-tag {
  font-size: 0.72rem;
  color: var(--color-teal-200);
}

.hero-aside-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
  margin-right: 0.35rem;
}

.status {
  display: inline-flex;
  align-items: center;
}

/* Cards */

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  background: rgba(15,23,42,0.90);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% -10%, rgba(56,189,248,0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.card-icon {
  width: 100%;
  height: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: rgba(147,197,253,0.95);
  filter: drop-shadow(0 10px 18px rgba(56,189,248,0.22));
}

.card-icon-svg {
  width: 64px;
  height: 64px;
}

.card-title {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cards-row--trust {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Contact */

.contact-center { text-align: center; }

.contact-email {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--color-text-main);
}

.contact-email a {
  color: var(--color-primary-300);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.contact-email a:hover {
  color: var(--color-teal-200);
}

/* Footer */

.site-footer {
  background: rgba(15,23,42,0.90);
  backdrop-filter: blur(16px);
  margin-top: auto;
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(148,163,184,0.35);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

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

/* Legal Pages */

.legal-page {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-size: 2.2rem;
  margin: 0 0 2rem;
  text-align: center;
}

.legal-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  color: var(--color-text-main);
}

.legal-content p {
  margin: 0 0 1rem;
  color: rgba(249,250,251,0.85);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: rgba(249,250,251,0.85);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--color-text-main);
}

/* View switching */
[data-view-section][hidden] { display: none !important; }

.nav a.is-active {
  color: var(--color-text-main);
}

.nav a.is-active::after {
  width: 100%;
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }
  .hero-aside {
    max-width: 420px;
    margin-inline: auto;
  }
  .cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards-row--trust {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    inset: 72px 0 auto 0;
    background: rgba(15,23,42,0.98);
    border-bottom: 1px solid rgba(148,163,184,0.5);
    padding: 0.9rem 1.5rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }
  .hero {
    padding-top: 2.7rem;
    padding-bottom: 3rem;
  }
  .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.96rem; }
}


/* Hero layout tweaks */
.hero .container {
  padding-left: 0;
  padding-right: 0;
}


.hero-inner {
  padding-top: 7.6rem;
}




.hero-main {
  margin-left: -60px;
}


/* Responsive: mobile/tablet hero alignment */
@media (max-width: 1100px) {
  /* remove desktop left shift */
  .hero-main { margin-left: 0; }

  .hero-inner {
    padding-top: 2.2rem; /* much higher than desktop */
    justify-items: center;
    text-align: center;
  }

  .hero-title,
  .hero-subtitle,
  .hero-meta,
  .hero-note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  /* background should fill viewport on smaller devices */
  .site-bg {
    background-size: 100% 100%;
    background-position: center;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding-top: 1.6rem;
  }
}


/* Card icons as images */
.card-icon-img {
  width: 100%;
  object-fit: contain;
  display: block;
}
