:root {
  --color-bg: #06282B;
  --color-bg-alt: #0A3438;
  --color-card: #0F4247;
  --color-accent: #B7E651;
  --color-accent-hover: #CEF07A;
  --color-secondary: #48D9C5;
  --color-text: #ECF6EE;
  --color-muted: #8DB0AC;
  --color-border: #164A4E;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-deep: 0 18px 44px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent {
  background: var(--color-accent);
  color: #06282B;
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  color: #06282B;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(183, 230, 81, 0.25);
}

.btn-ghost {
  background: rgba(15, 66, 71, 0.45);
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline {
  background: rgba(183, 230, 81, 0.06);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: rgba(183, 230, 81, 0.16);
  color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--color-accent);
  color: #06282B;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 40, 43, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 74px;
}

.brand img {
  border-radius: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
}

.main-nav a {
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(15, 66, 71, 0.5);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  background: linear-gradient(180deg, #083135 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(6, 40, 43, 0.95) 8%,
      rgba(6, 40, 43, 0.62) 52%,
      rgba(6, 40, 43, 0.28) 100%
    ),
    url("../img/banners/hero-main.webp") right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: 6%;
  width: 300px;
  height: 160%;
  background: linear-gradient(
    180deg,
    rgba(72, 217, 197, 0) 0%,
    rgba(72, 217, 197, 0.14) 35%,
    rgba(183, 230, 81, 0.18) 70%,
    rgba(183, 230, 81, 0) 100%
  );
  filter: blur(6px);
  transform: skewX(-8deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 92px 0 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.5rem, 6.4vw, 4.1rem);
  line-height: 1.06;
  font-weight: 800;
  color: var(--color-accent);
  background: linear-gradient(
    100deg,
    var(--color-accent) 15%,
    var(--color-secondary) 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 0;
  max-width: 660px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 30px;
}

.hero-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0 0 30px;
  padding: 0;
}

.hero-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.hero-perks svg {
  flex: 0 0 auto;
}

.hero-plate {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 570px;
  padding: 16px 22px;
  background: rgba(15, 66, 71, 0.68);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}

.plate-title {
  margin: 0;
  font-weight: 700;
  color: var(--color-accent-hover);
}

.plate-text {
  margin: 3px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.strip-note {
  position: relative;
  z-index: 1;
  margin: 30px auto 16px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.hero-strip {
  position: relative;
  height: 216px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: url("../img/banners/hero-main.webp") center 30% / cover no-repeat;
}

.hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(6, 40, 43, 0.92) 0%,
      rgba(6, 40, 43, 0.1) 22%,
      rgba(6, 40, 43, 0.1) 78%,
      rgba(6, 40, 43, 0.92) 100%
    ),
    linear-gradient(180deg, rgba(6, 40, 43, 0.5), rgba(6, 40, 43, 0.02) 45%, rgba(6, 40, 43, 0.55));
}

.section {
  padding: 88px 0;
}

.section h2 {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  line-height: 1.22;
  font-weight: 800;
}

.section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    var(--color-accent),
    var(--color-secondary)
  );
}

.section-lead {
  max-width: 760px;
  margin: 16px 0 42px;
  color: var(--color-muted);
}

.slots {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}

.slot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.slot-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-deep);
}

.slot-large {
  grid-column: span 2;
  grid-row: span 2;
}

.slot-wide {
  grid-column: span 2;
}

.slot-media {
    aspect-ratio: 16/9;
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.slot-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 40, 43, 0) 55%, rgba(6, 40, 43, 0.55));
}

.slot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.slot-card:hover .slot-media img {
  transform: scale(1.06);
}

.slot-body {
  position: relative;
  z-index: 1;
  padding: 12px 14px 14px;
  background: rgba(6, 40, 43, 0.62);
  border-top: 1px solid var(--color-border);
}

.slot-large .slot-body {
  padding: 16px 18px 18px;
}

.slot-name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.slot-provider {
  margin: 3px 0 10px;
  color: var(--color-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.slot-note {
  display: none;
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.slot-large .slot-note,
.slot-wide .slot-note {
  display: block;
}

.slot-body .btn {
  width: 100%;
}

.stats {
  position: relative;
  background: var(--color-bg-alt);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/banners/stats-bg.webp") center / cover no-repeat;
  opacity: 0.3;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 40, 43, 0.82),
    rgba(10, 52, 56, 0.78)
  );
}

.stats h2,
.stats .section-lead,
.stats-grid {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.categories {
  background: radial-gradient(
      840px 430px at 10% 0%,
      rgba(72, 217, 197, 0.08),
      transparent 62%
    ),
    var(--color-bg);
}

.faq {
  background: radial-gradient(
      840px 430px at 90% 100%,
      rgba(183, 230, 81, 0.07),
      transparent 62%
    ),
    var(--color-bg-alt);
}

.stat-card {
  padding: 28px 20px;
  text-align: center;
  background: rgba(15, 66, 71, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

.stat-value {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cat-card {
  padding: 28px 26px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.cat-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}

.cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(72, 217, 197, 0.1);
}

.cat-title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.cat-text {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 0.94rem;
}

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

.cat-list li {
  position: relative;
  padding-left: 22px;
  margin: 9px 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.cat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-secondary);
}

.steps {
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
}

.steps-query {
  max-width: 760px;
  margin: -18px 0 38px;
  padding: 14px 20px;
  color: var(--color-muted);
  font-size: 0.94rem;
  background: rgba(72, 217, 197, 0.07);
  border-left: 3px solid var(--color-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.step-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.step-num {
  flex: 0 0 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  color: #06282B;
  font-weight: 800;
  font-size: 1.15rem;
}

.step-title {
  margin: 0 0 7px;
  font-weight: 700;
}

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

.about {
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt));
}

.about-card {
  padding: clamp(26px, 4.5vw, 52px);
  background: rgba(15, 66, 71, 0.45);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.about-card p {
  color: var(--color-muted);
}

.about-card h3 {
  position: relative;
  margin: 38px 0 12px;
  padding-left: 20px;
  font-size: 1.28rem;
  font-weight: 800;
}

.about-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--color-secondary);
  transform: rotate(45deg);
}

.about-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.about-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 26px;
  color: var(--color-muted);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  padding: 2px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(183, 230, 81, 0.5);
}

.faq-item summary {
  position: relative;
  padding: 17px 44px 17px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--color-muted);
}

.site-footer {
  padding: 46px 0 36px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  color: var(--color-muted);
  font-size: 0.92rem;
}

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

.footer-pay {
  max-width: 460px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.footer-copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.footer-mail {
  margin: 0;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

body.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.js .bento .reveal:nth-child(2),
body.js .stats-grid .reveal:nth-child(2),
body.js .cats-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

body.js .bento .reveal:nth-child(3),
body.js .stats-grid .reveal:nth-child(3),
body.js .cats-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

body.js .bento .reveal:nth-child(4),
body.js .stats-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .slot-card:hover,
  .cat-card:hover,
  .btn-accent:hover,
  .btn-outline:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .header-inner {
    gap: 16px;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 16px 24px 22px;
    background: rgba(6, 40, 43, 0.98);
    border-bottom: 1px solid var(--color-border);
  }
  .site-header.nav-open .main-nav {
    display: flex;
  }
  .main-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(22, 74, 78, 0.65);
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-inner {
    padding: 72px 0 52px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 186px;
  }
  .slot-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .slot-wide {
    grid-column: span 2;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cats-grid {
    grid-template-columns: 1fr;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .footer-meta {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 64px 0;
  }
  .header-actions .btn {
    padding: 9px 14px;
    font-size: 0.84rem;
  }
  .hero-inner {
    padding: 56px 0 44px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .hero-plate {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-strip {
    height: 156px;
  }
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 218px;
  }
  .slot-large {
    grid-column: span 1;
    grid-row: span 2;
  }
  .slot-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .step {
    flex-direction: column;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
