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

:root {
  --color-primary: #59d5ea;
  --color-primary-dark: #3ab8cc;
  --color-heading: #02307f;
  --color-text: #333;
  --color-text-light: #5a5a6e;
  --color-bg: #f1f4f9;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-surface: #ffffff;
  --color-surface-alt: #f7f9fc;
  --gradient-btn: linear-gradient(135deg, rgb(1, 189, 226) 1%, rgb(155, 81, 224) 100%);
  --gradient-hero: linear-gradient(160deg, rgba(10, 20, 60, 0.55) 0%, rgba(100, 30, 140, 0.5) 50%, rgba(1, 160, 200, 0.45) 100%);
  --font-family: "Outfit", sans-serif;
  --max-width: 1180px;
  --header-max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 30px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --spacing-xs: 0.44rem;
  --spacing-sm: 0.67rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.25rem;
  --spacing-2xl: 3.38rem;
  --spacing-3xl: 5.06rem;
  --section-gap: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #00b3d2;
  text-decoration: none;
}

a:hover {
  color: #02208b;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

ul, ol {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* ─── Header ─── */

.site-header {
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.site-logo img {
  width: 150px;
  height: auto;
}

.site-logo a {
  display: inline-block;
  line-height: 0;
}

/* ─── Navigation ─── */

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  padding: 0;
  margin: 0;
}

.nav-list a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  line-height: 2;
  transition: opacity 0.2s;
}

.nav-list a:hover,
.nav-list .active a {
  opacity: 0.8;
  color: var(--color-white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 4px;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.header-cta {
  order: 3;
}

.header-cta .btn {
  white-space: nowrap;
}

.main-nav {
  order: 2;
}

/* ─── Buttons ─── */

.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-btn);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(1, 189, 226, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(1, 189, 226, 0.4);
  color: var(--color-white);
}

.btn-center {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* ─── Hero Section ─── */

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('/assets/bg.webp') center/cover no-repeat;
}

.hero-bg {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero .btn {
  font-size: 1.1rem;
  padding: 1rem 2.75rem;
  box-shadow: 0 4px 20px rgba(1, 189, 226, 0.4);
}

.hero--compact {
  min-height: 400px;
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.breadcrumbs a,
.breadcrumbs span {
  color: inherit;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ─── Section System ─── */

.content-section {
  padding: var(--section-gap) 0;
}

.content-section:first-child {
  padding-top: var(--spacing-xl);
}

.content-section--alt {
  background-color: var(--color-surface);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

/* ─── Main Content ─── */

.site-main {
  padding: 0 var(--spacing-sm);
}

.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 var(--spacing-3xl);
}

.intro-text {
  background: linear-gradient(135deg, rgba(89, 213, 234, 0.08) 0%, rgba(155, 81, 224, 0.06) 100%);
  padding: 1.5em 2em;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-primary);
}

.content-image {
  text-align: center;
  margin: 2.5rem 0;
}

.content-image img {
  border-radius: var(--radius-md);
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.stats-grid,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2rem 0 2.5rem;
}

.feature-grid,
.steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.step-card,
.notice-card {
  background: var(--color-surface);
  border: 1px solid rgba(2, 48, 127, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-card {
  padding: 1.5rem;
}

.stat-card span {
  display: block;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.stat-card strong {
  display: block;
  color: var(--color-heading);
  font-size: 1.5rem;
  line-height: 1.2;
}

.feature-card,
.step-card {
  padding: 1.6rem;
}

.feature-card h3,
.step-card h3,
.notice-card h2 {
  margin-top: 0;
}

.step-card {
  position: relative;
  padding-top: 3.5rem;
}

.step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-weight: 700;
}

.notice-card {
  padding: 2rem 2.25rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(89, 213, 234, 0.12);
}

.table-note {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-top: -0.75rem;
}

/* ─── Image Pair ─── */

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.image-pair .content-image {
  margin: 0;
}

/* ─── Info Cards (for list/step content) ─── */

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin: 1.5rem 0;
}

.info-card h3 {
  margin-top: 0;
}

.info-card ol, .info-card ul {
  margin-bottom: 0;
}

.info-card ol li, .info-card ul li {
  padding: 0.25em 0;
}

/* ─── Tables ─── */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

th, td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--color-bg);
  font-size: 0.95rem;
}

th {
  background: var(--color-heading);
  color: var(--color-white);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

tbody tr:nth-child(even) td {
  background-color: var(--color-surface-alt);
}

tr:hover td {
  background-color: rgba(89, 213, 234, 0.08);
}

/* ─── Two-column section ─── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2.5rem 0;
}

.split-section.reverse > *:first-child {
  order: 2;
}

.split-section.reverse > *:last-child {
  order: 1;
}

.split-section img {
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* ─── Highlight Banner ─── */

.highlight-banner {
  background: var(--gradient-btn);
  color: var(--color-white);
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.highlight-banner h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.highlight-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.highlight-banner .btn {
  background: var(--color-white);
  color: var(--color-heading);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.highlight-banner .btn:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  color: var(--color-heading);
}

/* ─── FAQ ─── */

.faq-item {
  border: 1px solid rgba(2, 48, 127, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: rgba(89, 213, 234, 0.3);
  box-shadow: 0 2px 12px rgba(89, 213, 234, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-heading);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-item.open .faq-question {
  color: var(--color-primary-dark);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(89, 213, 234, 0.1);
}

.faq-item.open .faq-question::after {
  content: "−";
  background: rgba(89, 213, 234, 0.2);
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ─── Footer ─── */

.site-footer {
  background: linear-gradient(160deg, #1a1a3e 0%, #0d2b4a 50%, #143a4f 100%);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem var(--spacing-lg) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  padding-right: 1rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.footer-logo img {
  width: 160px;
  height: auto;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-nav h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-size: 0.85rem;
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .hero {
    background-image: url('/assets/m-bg.webp');
    min-height: auto;
    aspect-ratio: 400 / 600;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-primary);
    padding: var(--spacing-md) var(--spacing-lg);
    gap: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .main-nav .nav-list.open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

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

  .header-inner {
    position: relative;
  }

  .header-cta {
    order: unset;
    margin-left: auto;
  }

  .header-cta .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }

  .main-nav {
    order: unset;
  }

  .hero-content {
    max-width: 100%;
    padding: 2.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    padding: 1rem 1.25rem;
  }

  .intro-text {
    padding: 1em 1.25em;
  }

  .stats-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .content-wrap {
    padding: 0 var(--spacing-md) var(--spacing-xl);
  }

  .content-section {
    padding: var(--spacing-2xl) 0;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .split-section.reverse > *:first-child,
  .split-section.reverse > *:last-child {
    order: unset;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .highlight-banner {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .info-card {
    padding: 1.5rem;
  }

  .content-section--alt {
    margin-left: calc(-1 * var(--spacing-md));
    margin-right: calc(-1 * var(--spacing-md));
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    aspect-ratio: 400 / 600;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }
}
