:root {
  --color-primary: #1e2432;
  --color-accent: #ffd600;
  --color-background: #0f1420;
  --color-text: #e7ecff;
  --color-text-muted: #9fa6c0;
  --blue: #0d6efd;
  --black: #0b0f13;
  --white: #ffffff;
  --muted: #dfe6ee;
  --grad1: linear-gradient(135deg, #1e2432 0%, #0f1420 60%);
  --grad2: linear-gradient(135deg, #0f1420 0%, #1e2432 60%);
  --grad3: linear-gradient(135deg, #1e2432 0%, #0f1420 60%);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.15);
  --container-width: min(1180px, 92vw);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--color-background);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap,
.container {
  max-width: var(--container-width);
  width: var(--container-width);
  margin: 0 auto;
  padding: 24px;
}

/* HEADER */
.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(30, 36, 50, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 30, 0.85);
  box-shadow: 0 10px 24px rgba(5, 8, 20, 0.45);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: rgba(231, 236, 255, 0.85);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 20px rgba(5, 8, 20, 0.45);
}

.brand-logo {
  height: 40px;
  display: block;
}

.main-nav,
.nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: linear-gradient(
    140deg,
    rgba(30, 48, 78, 0.72),
    rgba(18, 26, 44, 0.88)
  );
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(5, 8, 20, 0.4);
}

.nav-link {
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0;
  position: relative;
  text-transform: uppercase;
  transition: color 0.2s ease-in-out;
  color: var(--color-text);
}

.nav-link::before {
  content: "▾";
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}

.nav-link:last-child::before {
  display: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 214, 0, 0.1),
    rgba(255, 214, 0, 0.8),
    rgba(255, 214, 0, 0.1)
  );
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-in-out;
}

.nav-link:focus-visible,
.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:focus-visible::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions,
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.action-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease,
    background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.action-btn.ghost,
.btn-ghost {
  background: rgba(30, 243, 192, 0.08);
  border-color: rgba(30, 243, 192, 0.45);
  color: rgba(223, 246, 255, 0.9);
}

.action-btn.ghost:hover,
.action-btn.ghost:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #1ef3c0;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(11, 75, 62, 0.35);
}

.action-btn.solid,
.btn-primary {
  background: linear-gradient(120deg, #ffd600, #ffb800);
  color: #101524;
  box-shadow: 0 16px 26px rgba(255, 184, 0, 0.45);
}

.action-btn.solid:hover,
.action-btn.solid:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(255, 184, 0, 0.5);
}

.btn:active {
  transform: scale(0.98);
}

/* HERO */
.hero {
  background: var(--grad1);
  color: var(--color-text);
  padding: 48px 0;
}

.hero-in {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.hero h1,
.hero h2 {
  font-size: 32px;
  margin: 0 0 10px;
  color: var(--white);
}

.hero p {
  opacity: 0.95;
  line-height: 1.5;
  color: var(--color-text);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  color: var(--color-text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* CARD */
.card {
  background: rgba(30, 36, 50, 0.72);
  border: 1px solid rgba(159, 166, 192, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* SECTIONS */
.sec {
  padding: 48px 0;
}

.sec.alt1 {
  background: var(--grad2);
}

.sec.alt2 {
  background: var(--grad3);
}

.sec h2,
.sec h3 {
  margin: 0 0 14px;
  font-size: 24px;
  color: var(--color-text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.list {
  margin: 14px 0;
  padding-left: 18px;
  line-height: 1.7;
  color: var(--color-text);
}

.list li {
  margin-bottom: 8px;
}

.seo-block {
  border-left: 4px solid var(--color-accent);
  padding: 14px 16px;
  background: rgba(255, 214, 0, 0.05);
  border-radius: 12px;
}

/* MAIN CONTENT */
.main-content {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.content-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: min(900px, 92vw);
}

.content-placeholder {
  background: rgba(30, 36, 50, 0.72);
  border: 1px solid rgba(159, 166, 192, 0.12);
  border-radius: 24px;
  padding: 3rem 4rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(5, 8, 20, 0.45);
}

.placeholder-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin: 0 0 1rem;
  color: var(--color-text);
}

.placeholder-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* FAQ SECTION */
.faq-section {
  background: linear-gradient(
      135deg,
      rgba(30, 36, 50, 0.76),
      rgba(17, 23, 36, 0.92)
    )
    padding-box,
    linear-gradient(135deg, rgba(255, 214, 0, 0.28), transparent) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  box-shadow: 0 16px 40px rgba(5, 8, 20, 0.4);
}

.faq-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.faq-title {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.faq-subtitle {
  margin: 0.75rem auto 0;
  max-width: 520px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 16px;
  background: rgba(12, 18, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(255, 214, 0, 0.55);
  transform: translateY(-2px);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(231, 236, 255, 0.92);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: absolute;
  top: 50%;
  right: 1.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 214, 0, 0.16);
  border: 1px solid rgba(255, 214, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.faq-icon::before {
  content: "+";
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon::before {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: rgba(231, 236, 255, 0.78);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--color-accent);
  font-weight: 600;
}

/* FOOTER */
.site-footer,
footer {
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
}

.footer-top {
  padding: 3rem 0 2.25rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-column {
  display: block;
}

.footer-heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(231, 236, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-accent);
}

.footer-cert {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  box-shadow: 0 10px 25px rgba(5, 8, 20, 0.35);
  object-fit: contain;
}

.footer-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-support {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(231, 236, 255, 0.75);
  line-height: 1.6;
}

.footer-support a {
  color: var(--color-accent);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1rem 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.foot-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.foot-in p {
  margin: 0;
  font-size: 13px;
}

.lang a {
  color: var(--color-text-muted);
  margin-left: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-in {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
    padding: 0.9rem 0;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .brand {
    justify-self: center;
  }

  .brand-logo {
    height: 34px;
  }

  .header-actions {
    justify-self: end;
    width: auto;
  }

  .main-nav {
    width: 100%;
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    padding: 1.5rem 1.25rem 2rem;
    background: rgba(15, 20, 32, 0.98);
    box-shadow: 0 20px 40px rgba(5, 8, 20, 0.6);
    border-radius: 0 0 24px 24px;
    flex-direction: column;
    gap: 1rem;
    z-index: 9;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-link::before,
  .nav-link::after {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .action-btn {
    flex: 1 1 0;
    padding: 0.65rem 1rem;
    max-width: 100px;
  }

  .action-btn.ghost,
  .action-btn.solid {
    min-width: auto;
    width: 100px;
  }

  .footer-columns {
    display: flex;
    justify-content: center;
  }

  .footer-column:not(.footer-cert) {
    display: none;
  }

  .footer-cert {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-support {
    margin-top: 1.5rem;
  }

  .wrap,
  .container {
    padding: 16px;
  }
}