/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: #0f0f10;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.container {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 75px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item {
  position: relative;
}

.nav-links a {
  font-size: clamp(0.7rem, 0.75vw, 0.8rem);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #ff2b2b;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-item-dropdown .nav-link::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0;
  transform: translateY(-1px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: #ff2b2b;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown:hover .nav-link::after,
.nav-item-dropdown:focus-within .nav-link::after {
  opacity: 1;
  transform: translateY(-1px) rotate(180deg);
}

.cta {
  background: #ff2b2b;
  color: #ffffff;
  padding: clamp(0.5rem, 0.75vw, 0.7rem);
  border-radius: 999px;
  font-size: clamp(0.7rem, 0.75vw, 0.8rem);
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: scale(0.97);
}

.cta:active {
  transform: scale(0.94);
}

/* ===== PAGE TEMPLATE ===== */
.page-main {
  padding-top: 100px;
}

.page-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at top, rgba(255, 43, 43, 0.12), transparent 30%),
    linear-gradient(180deg, #171717 0%, #0f0f10 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-kicker {
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-description {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  opacity: 0.82;
}

.page-section {
  padding: 56px 0 100px;
}

/* ===== FAQ ===== */
.faq-shell {
  display: grid;
  gap: 24px;
}

.faq-toolbar {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
}

.faq-search {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.faq-search::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.faq-search:focus {
  border-color: rgba(255, 43, 43, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.12);
  background: rgba(0, 0, 0, 0.42);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-filter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq-filter:hover {
  border-color: rgba(255, 43, 43, 0.5);
  color: #ffb8b8;
}

.faq-filter.active {
  background: #ff2b2b;
  border-color: #ff2b2b;
  color: #ffffff;
}

.faq-results-meta {
  font-size: 0.9rem;
  opacity: 0.68;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.015)
  );
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.hidden {
  display: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.faq-question-text {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 800;
  line-height: 1.45;
}

.faq-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon {
  background: rgba(255, 43, 43, 0.12);
  border-color: rgba(255, 43, 43, 0.45);
}

.faq-item.active .faq-icon::after {
  opacity: 0;
  transform: scaleY(0.2);
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer {
  padding: 0 24px 24px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 0.98rem;
}

.faq-answer p + p {
  margin-top: 14px;
}

.faq-empty {
  display: none;
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.02);
}

.faq-empty.show {
  display: block;
}

.faq-help-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
}

.faq-help-label {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.68;
}

.faq-help-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.faq-help-card p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.faq-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.faq-help-links a {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-help-links a:hover {
  background: #ff2b2b;
  border-color: #ff2b2b;
  color: #ffffff;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 50px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.75;
}

.footer-links h3 {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: #ff2b2b;
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .header-inner {
    height: auto;
    flex-direction: column;
    padding: 18px 0;
    gap: 16px;
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-item-dropdown .dropdown-menu {
    left: 50%;
    transform: translate(-50%, 8px);
  }

  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu {
    transform: translate(-50%, 0);
  }

  .page-main {
    padding-top: 165px;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 700px) {
  .site-header {
    background: rgba(10, 10, 10, 0.95);
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }

  .logo img {
    height: 62px;
  }

  .nav {
    width: auto;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: min(320px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nav.nav-open .nav-menu {
    display: flex;
  }

  .nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 4px;
  }

  .nav-item-dropdown .nav-link::after {
    opacity: 1;
    transform: rotate(0deg);
  }

  .dropdown-menu {
    position: static;
    left: auto;
    min-width: 0;
    margin-top: 4px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
  }

  .dropdown-menu a {
    padding: 10px 0 10px 12px;
    font-size: 0.74rem;
    background: transparent;
  }

  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu {
    left: auto;
    transform: none;
  }

  .nav-item-dropdown.submenu-open .dropdown-menu {
    display: block;
  }

  .nav-item-dropdown.submenu-open .nav-link::after {
    transform: rotate(180deg);
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .page-main {
    padding-top: 90px;
  }

  .page-hero {
    padding-top: 42px;
  }

  .faq-toolbar {
    padding: 18px;
    border-radius: 20px;
  }

  .faq-filters {
    gap: 10px;
  }

  .faq-filter {
    width: 100%;
    text-align: center;
  }

  .faq-help-links {
    flex-direction: column;
  }

  .faq-help-links a {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .page-title {
    letter-spacing: 0.1em;
  }

  .page-description {
    font-size: 1rem;
    line-height: 1.4;
  }

  .faq-question-text {
    font-size: 0.98rem;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
  }
}

