@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;800&family=Mulish:wght@400;500&display=swap');

:root {
  --font-family-heading: 'Syne', sans-serif;
  --font-family-body: 'Mulish', sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.75rem;
  --font-size-hero: 3.5rem;

  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  --color-primary: #2B7FFF;
  --color-secondary: #C0C8D8;
  --color-accent: #D8B15A;

  --color-bg: #04080F;
  --color-bg-alt: #07111F;
  --color-bg-card: #0B1528;

  --color-text: #E8E8E8;
  --color-text-muted: #A0A8B8;
  --color-text-on-primary: #1A1A1A;

  --color-border: #22324D;
  --color-shadow: #000000;

  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.25rem;

  --container-width: 1140px;
  --section-padding-y: 4rem;
  --section-padding-y-mobile: 2rem;
  --container-padding-x: 1rem;
  --container-padding-x-tablet: 1.5rem;
  --container-padding-x-desktop: 2rem;

  --gap-sm: 0.5rem;
  --gap-md: 1rem;
  --gap-lg: 1.5rem;
  --gap-xl: 2rem;
  --gap-2xl: 3rem;

  --shadow-elevated: 0 4px 6px rgba(0, 0, 0, 0.28), 0 10px 15px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.22);
}

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2,
.section-title {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin: 0 0 1rem;
}

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

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

strong {
  font-weight: var(--font-weight-bold);
}

em {
  font-style: italic;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  padding: 0 var(--container-padding-x);
  margin: 0 auto;
  box-sizing: border-box;
}

.section,
.faq-section {
  padding: var(--section-padding-y-mobile) 0;
}

.section:not(.hero):nth-child(odd),
.faq-section:nth-child(odd) {
  background: var(--color-bg);
}

.section:not(.hero):nth-child(even),
.faq-section:nth-child(even) {
  background: var(--color-bg-card);
  border-top: 2px solid var(--color-primary);
}

.section-title {
  margin-bottom: 1.25rem;
  word-break: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  overflow: visible;
  background: linear-gradient(135deg, #09111F 0%, #0B1730 100%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  overflow: visible;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  max-height: 52px;
  text-decoration: none;
}

.site-logo img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 0.4rem 0.6rem;
  z-index: 200;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: 0.2s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 500;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  overflow: visible;
}

.nav-toggle-input:checked ~ .site-nav {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  overflow: visible;
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: relative;
  overflow: visible;
}

.nav-link {
  display: block;
  font-size: var(--font-size-xs);
  color: #E8E8E8;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-dropdown-toggle {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.nav-dropdown-menu {
  display: none;
  position: static;
  min-width: 200px;
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.5rem 1rem;
  background: var(--color-bg-card);
  border: none;
  border-radius: var(--radius);
  box-shadow: none;
  white-space: nowrap;
  overflow: visible;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu .nav-link {
  display: block;
  padding: 0.5rem 1.25rem;
  width: 100%;
  border-bottom: none;
  color: var(--color-text);
}

.nav-dropdown-menu .nav-link:hover,
.nav-dropdown-menu .nav-link:focus-visible {
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

.hero {
  min-height: 50vh;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #061225 0%, #0A2342 55%, #2B7FFF 100%);
  color: #F2F2F2;
  display: flex;
  align-items: center;
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero p,
.hero a,
.hero .hero-badge {
  color: inherit;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.hero-spotlight {
  flex: 0 0 auto;
}

.hero-spotlight-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 6px solid var(--color-primary);
  box-shadow: 0 0 40px color-mix(in srgb, var(--color-primary) 30%, transparent);
  overflow: hidden;
}

.hero-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  width: 100%;
}

.hero-badge {
  font-size: 0.88rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0.75rem 0;
}

.hero h1 {
  font-size: var(--font-size-2xl);
  word-break: break-word;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: var(--font-size-base);
  color: #FFFFFF;
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: center;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-primary);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-body {
  padding: 1rem 1.25rem;
}

.card > :not(img):not(.card-body) {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.card > h3,
.card > h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  word-break: break-word;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #165FE0 100%);
  color: #F2F2F2;
  box-shadow: 0 8px 18px rgba(43, 127, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(0.9);
  color: var(--color-text-on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(43, 127, 255, 0.08);
  color: var(--color-primary);
}

.site-footer {
  background: linear-gradient(180deg, #060B15 0%, #04080F 100%);
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  align-items: center;
  color: var(--color-text);
}

.footer-inner a {
  color: var(--color-secondary);
}

.footer-inner .btn-primary {
  color: var(--color-text-on-primary) !important;
}

.footer-inner .btn-secondary {
  color: var(--color-primary) !important;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--color-bg-card);
  overflow: hidden;
  transition: 0.2s ease;
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
  list-style: none;
  user-select: none;
  color: var(--color-text);
}

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

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] > .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

.faq-answer p {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(43, 127, 255, 0.18);
}

label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

button[type="submit"] {
  display: inline-block;
  font: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--color-text);
}

th,
td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

thead tr {
  background: var(--color-bg-card);
}

tr:nth-child(odd) {
  background: var(--color-bg);
}

tr:nth-child(even) {
  background: var(--color-bg-alt);
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .container {
    max-width: 960px;
    padding: 0 var(--container-padding-x-tablet);
    margin: 0 auto;
  }

  .nav-toggle-label {
    display: none !important;
  }

  .site-header .container {
    justify-content: center;
    gap: 2rem;
  }

  .site-nav {
    display: flex !important;
    align-items: center;
    position: static;
    background: transparent;
    border-top: none;
    box-shadow: none;
    flex: 0 0 auto;
    justify-content: center;
  }

  .nav-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .nav-link {
    display: inline-block;
    font-size: var(--font-size-sm);
    padding: 0.4rem 0.75rem;
    border-bottom: none;
    white-space: nowrap;
  }

  .nav-link::after {
    left: 0.5rem;
    right: 0.5rem;
  }

  .nav-dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 0.5rem 0;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    text-align: left;
  }

  .hero-text {
    flex: 1;
  }

  .hero-spotlight-ring {
    width: 320px;
    height: 320px;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
  }

  table {
    display: table;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1140px;
    padding: 0 var(--container-padding-x-desktop);
    margin: 0 auto;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: var(--font-size-hero);
  }

  .section,
  .faq-section {
    padding: var(--section-padding-y) 0;
  }

  .site-logo img {
    height: 44px;
    max-width: 160px;
  }
}

@media (max-width: 767px) {
  .site-logo img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
  }

  .site-nav .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    overflow: visible;
  }

  .nav-dropdown:focus-within > .nav-dropdown-menu {
    display: block;
  }

  .hero h1 {
    font-size: var(--font-size-2xl);
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .btn {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}