:root {
  --primary: #0a2540;
  --primary-dark: #061729;
  --blue: #1769e0;
  --blue-hover: #0f4fb0;
  --accent-red: #cb1f3b;
  --bg-light: #f4f7fb;
  --border-color: #dbe6f3;
  --text-main: #18181c;
  --text-muted: #55657a;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec {
  padding: 72px 0;
}

.sec.alt {
  background-color: var(--bg-light);
}

.lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 65ch;
  margin-top: 12px;
}

.note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(23, 105, 224, 0.1);
  color: var(--blue);
  margin-bottom: 12px;
}

.badge.red {
  background: rgba(203, 31, 59, 0.1);
  color: var(--accent-red);
}

.badge.light {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 105, 224, 0.3);
}

.btn.accent {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.btn.accent:hover {
  background: #b01931;
  border-color: #b01931;
  box-shadow: 0 4px 12px rgba(203, 31, 59, 0.3);
}

.btn.o {
  background: transparent;
  color: var(--blue);
}

.btn.o:hover {
  background: var(--bg-light);
  color: var(--blue-hover);
  transform: translateY(-1px);
}

.btn.light-o {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn.light-o:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn.light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
}

.btn.light:hover {
  background: #f0f4f8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Demo Banner */
.demo {
  background: #fff4d6;
  color: #5a4400;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-bottom: 1px solid #ffe6a3;
}

/* Top Utility Bar */
.top-bar {
  background: var(--primary-dark);
  color: #b8c9de;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info a, .top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e1eaf5;
}

.top-info a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Social Icon Group */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Header */
.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
}

.hd .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.25rem;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}

nav a:hover, nav a.on {
  background: var(--bg-light);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ib {
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ib:hover {
  background: var(--bg-light);
}

.ic {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Call Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px;
  z-index: 150;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-light);
}

.dropdown-item .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dropdown-item .value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
}

#mb {
  display: none;
}

@media (max-width: 992px) {
  #mb {
    display: flex;
  }
  .hd .en, .hd .call-btn {
    display: none;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 12px;
  }
  .nv-en {
    display: inline-flex !important;
    margin-top: 8px;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #12427a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 {
  color: #ffffff;
}

.hero p.lead {
  color: #cce0f5;
  margin: 18px 0 28px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-features {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 850px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* Section Header */
.ph {
  background: var(--bg-light);
  padding: 56px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Cards & Grid */
.g {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.g3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.g2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.g4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card p {
  color: var(--text-muted);
  margin-top: 10px;
}

.card .ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--bg-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card .ico svg {
  width: 28px;
  height: 28px;
}

/* Coverage Card */
.cov {
  padding: 0;
  overflow: hidden;
}

.cov-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cov-body h3 {
  margin-bottom: 8px;
}

.cov-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Steps List */
.steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
  list-style: none;
}

.steps li {
  counter-increment: s;
  background: #ffffff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
}

.steps li::before {
  content: counter(s);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.steps p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* Checkmark List */
.ck {
  list-style: none;
  margin: 20px 0 28px;
}

.ck li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-main);
  font-weight: 500;
}

.ck li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Tables */
.tw {
  overflow-x: auto;
  margin-top: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

th {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 860px;
  margin: 32px auto 0;
}

.faq-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq-search-box:focus-within {
  border-color: var(--blue);
}

.faq-search-box input {
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 1rem;
  background: transparent;
  padding: 6px 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #ffffff;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 20px 24px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid #f0f4f8;
  margin-top: -4px;
  padding-top: 16px;
}

/* Social & Community Section */
.social-section {
  background: linear-gradient(135deg, #0f2c4a, var(--primary));
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.social-section h2 {
  color: #ffffff;
}

.social-section .lead {
  color: #c2d8f0;
  margin: 12px auto 40px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.social-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--primary);
}

.social-card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-card h4 {
  color: #ffffff;
  font-size: 1.05rem;
}

.social-card span {
  font-size: 0.8rem;
  color: #b0c9e4;
}

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

/* Dark CTA Section */
.dark {
  background: var(--primary-dark);
  color: #ffffff;
  text-align: center;
}

.dark h2 {
  color: #ffffff;
}

.dark .lead {
  margin: 12px auto 28px;
  color: #c2d8f0;
}

.dark .cta-row {
  justify-content: center;
}

/* Footer */
.ft {
  background: #040e1a;
  color: #9cb1c9;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ft .wrap {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 40px;
}

.ft h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.ft ul {
  list-style: none;
}

.ft ul li {
  margin-bottom: 10px;
}

.ft a {
  color: #b8cbe0;
  transition: color 0.2s;
}

.ft a:hover {
  color: #ffffff;
}

.ft-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .ft .wrap {
    grid-template-columns: 1fr;
  }
}

/* Dialogs & Modals */
dialog {
  border: 0;
  border-radius: var(--radius-lg);
  width: min(540px, 92vw);
  padding: 0;
  margin: auto;
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(4, 14, 26, 0.65);
  backdrop-filter: blur(4px);
}

.dw {
  padding: 32px;
}

.x {
  float: right;
  font-size: 1.5rem;
  line-height: 1;
}

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  margin: 6px 0 16px;
  background: #ffffff;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.15);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

#sr a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  transition: background 0.2s;
}

#sr a:hover {
  background: var(--bg-light);
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
