:root {
  --blue-900: #0a2748;
  --blue-800: #0d3a66;
  --blue-700: #145a9e;
  --blue-600: #1a73c7;
  --blue-500: #2b8fde;
  --blue-100: #e8f3fc;
  --blue-50: #f4f9fd;
  --accent: #1e88e5;
  --text: #1a2b3c;
  --muted: #5a6f82;
  --white: #ffffff;
  --border: #d4e3f0;
  --shadow: 0 8px 24px rgba(13, 58, 102, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--blue-50) 0%, #ffffff 280px);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  color: var(--blue-600);
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  box-shadow: 0 2px 12px rgba(10, 39, 72, 0.25);
}

.site-header .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--white) !important;
}

.site-header .navbar-brand img {
  height: 40px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-by {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  opacity: 0.8;
  text-transform: lowercase;
}

.site-footer .brand-name {
  font-size: 1.05rem;
  color: #fff;
}

.site-footer .brand-by {
  font-size: 0.7rem;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .footer-brand {
  font-size: inherit;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  border-radius: 0.4rem;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(43, 143, 222, 0.35), transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-weight: 750;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-cta-primary {
  background: #fff;
  color: var(--blue-800);
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: 0.55rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

.btn-cta-download {
  background: #0f9d58;
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: 0.55rem;
}

.btn-cta-download:hover {
  background: #0b7d46;
  color: #fff;
}

.btn-outline-light-custom {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  border-radius: 0.55rem;
  background: transparent;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.text-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--blue-700);
}

.text-arrow-link:hover {
  color: var(--blue-600);
  gap: 0.5rem;
}

.text-link-light {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
}

.text-link-light:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  font-weight: 750;
  color: var(--blue-900);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-alt {
  background: var(--blue-50);
}

/* Cards */
.feature-card,
.info-card,
.promo-card,
.update-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 58, 102, 0.16);
}

.feature-card .icon-wrap,
.info-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.info-card h3,
.promo-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
}

.promo-card .promo-tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.test-id-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.test-id-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border);
}

.test-id-row:last-of-type {
  border-bottom: 1px solid var(--border);
}

.test-id-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.test-id-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-900);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.test-id-note {
  background: var(--blue-50);
  padding: 1rem 1.35rem 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.update-list li:last-child {
  border-bottom: none;
}

.update-list .iconify {
  color: var(--blue-600);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* FAQ */
.accordion-button {
  font-weight: 600;
  color: var(--blue-900);
}

.accordion-button:not(.collapsed) {
  background: var(--blue-100);
  color: var(--blue-900);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(26, 115, 199, 0.2);
}

.accordion-item {
  border: 1px solid var(--border);
  margin-bottom: 0.65rem;
  border-radius: 0.75rem !important;
  overflow: hidden;
}

/* Steps */
.step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.disclaimer {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Utilities */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 2.5rem 0;
}

.page-hero h1 {
  font-weight: 750;
  margin-bottom: 0.5rem;
}

.badge-soft {
  background: var(--blue-100);
  color: var(--blue-800);
  font-weight: 600;
}

.table-terms th {
  width: 30%;
  background: var(--blue-50);
}

@media (max-width: 767.98px) {
  .hero {
    padding: 2.5rem 0 2rem;
    text-align: center;
  }

  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .cta-group {
    justify-content: center;
  }

  .hero-image {
    margin-top: 1.5rem;
  }
}
