/* Fonts */
@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald/Oswald-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald/Oswald-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #0f1220;
  --color-surface: #151935;
  --color-elevated: #1c2147;
  --color-text: #e6e8ef;
  --color-muted: #aab1cc;
  --color-primary: #21d07a;
  --color-primary-contrast: #0b1c12;
  --color-accent: #6a7dff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --container: 1200px;
}

/* Reset */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Oswald", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
body {
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20,24,48,.95) 0%, rgba(20,24,48,.85) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 40px;
  border-radius: 8px;
}
.brand .brand-title {
  font-weight: 700;
  letter-spacing: .5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--color-muted);
}
.nav a:hover {
  background: rgba(255,255,255,.06);
  color: var(--color-text);
}

.actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
  font-weight: 700;
  letter-spacing: .2px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1bdc93 100%);
  color: #081b12;
  box-shadow: 0 6px 18px rgba(33, 208, 122, .35);
}
.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(33, 208, 122, .45);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,.18);
}
.btn-outline:hover {
  background: rgba(255,255,255,.06);
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(106,125,255,.16), transparent 60%),
              radial-gradient(1200px 800px at 90% 30%, rgba(33,208,122,.14), transparent 55%),
              rgba(10,12,24,.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1200;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.overlay-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
}
.overlay .overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}
.overlay .overlay-close:before,
.overlay .overlay-close:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--color-text);
}
.overlay .overlay-close:before { transform: rotate(45deg); }
.overlay .overlay-close:after { transform: rotate(-45deg); }

.overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.overlay nav a {
  font-size: 20px;
  color: var(--color-muted);
  padding: 10px 14px;
}
.overlay nav a:hover { color: var(--color-text); }

.no-scroll { overflow: hidden; }

/* Hero */
.hero {
  background: radial-gradient(1100px 700px at 20% -10%, rgba(106,125,255,.18), transparent 60%),
              linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  padding: 56px 0 24px 0;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 auto 14px;
  text-align: center;
}
.hero p {
  color: var(--color-muted);
  max-width: 900px;
  margin: 0 auto 18px auto;
  text-align: center;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px auto 0;
  justify-content: center;
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 20px auto 0;
}

/* Sections */
section.section {
  padding: 36px 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.section h2 {
  font-size: 28px;
  margin: 0 0 14px 0;
}
.section p,
.section li {
  color: var(--color-muted);
}
.section .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.section .grid .media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Cards & helpers */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--color-elevated);
  border: 1px solid rgba(255,255,255,.06);
  padding: 16px;
  border-radius: 14px;
}
.muted { color: var(--color-muted); }
.mt-10 { margin-top: 10px; }

/* FAQ */
.faq details {
  background: var(--color-elevated);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 10px 14px;
}
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0 0; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
  color: var(--color-muted);
  background: var(--color-surface);
}
.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .section .grid { grid-template-columns: 1fr; }
  .brand img {
    display: none;
  }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
