@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #0b1d3a;
  --navy-light: #132d54;
  --sky: #1e88e5;
  --sky-light: #42a5f5;
  --accent: #00bcd4;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --success: #10b981;
  --shadow: 0 4px 24px rgba(11, 29, 58, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 29, 58, 0.18);
  --radius: 12px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Portal gate (landing) ── */
.portal-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1d3a 0%, #1a3a6e 50%, #0d2847 100%);
  padding: 2rem;
}

.portal-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.portal-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.portal-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sky), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
}

.portal-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.portal-logo-sub {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.portal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(30, 136, 229, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.portal-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.portal-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.portal-trust {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.portal-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
}

.portal-trust-item svg {
  flex-shrink: 0;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), #1565c0);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.45);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.portal-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ── Simulator site ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 2rem;
}

.site-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.site-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sky), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-brand-icon svg {
  width: 20px;
  height: 20px;
}

.site-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}

.site-links a:hover {
  color: var(--sky);
}

.btn-nav {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: var(--sky);
  border-radius: 8px;
  transition: background 0.15s;
}

.btn-nav:hover {
  background: #1565c0;
}

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3a6e 60%, #0d3b66 100%);
  color: var(--white);
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(30, 136, 229, 0.1), transparent 40%);
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 188, 212, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.radar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(0, 188, 212, 0.4);
  position: relative;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.08), transparent 70%);
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 188, 212, 0.2);
}

.radar::before {
  inset: 25%;
}

.radar::after {
  inset: 45%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 188, 212, 0.35) 40deg, transparent 80deg);
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.radar-blip:nth-child(2) { top: 30%; left: 55%; }
.radar-blip:nth-child(3) { top: 60%; left: 35%; }
.radar-blip:nth-child(4) { top: 45%; left: 70%; }

.hero-visual-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 136, 229, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--sky);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.section-alt {
  background: var(--gray-50);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--gray-600);
  width: 40%;
}

.specs-table td:last-child {
  font-weight: 500;
  color: var(--navy);
}

.download-section {
  background: linear-gradient(135deg, var(--navy), #1a3a6e);
  color: var(--white);
  border-radius: 20px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.download-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.download-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.download-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 2rem;
  font-size: 0.85rem;
}

.site-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer a:hover {
  color: var(--white);
}

.trust-banner {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.65rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
}

.trust-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-sep {
  color: var(--gray-200);
}

.btn-hero {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.partners-strip {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.partners-logos span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(30, 136, 229, 0.15);
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card footer {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

.portal-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.portal-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
}

.portal-step.active {
  background: var(--sky);
}

@media (max-width: 900px) {
  .hero-inner,
  .features-grid,
  .specs-grid,
  .download-section,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .site-links {
    display: none;
  }

  .hero-visual {
    display: none;
  }
}
