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

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-alt: #16161f;
  --accent-primary: #9c5fff;
  --accent-primary-hover: #7c3aed;
  --accent-secondary: #4fc3f7;
  --accent-secondary-hover: #29b6f6;
  --accent-pink: #e879f9;
  --accent-gradient: linear-gradient(135deg, #4fc3f7 0%, #9c5fff 50%, #e879f9 100%);
  --accent-gradient-hover: linear-gradient(135deg, #29b6f6 0%, #7c3aed 50%, #d946ef 100%);
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-color: #1f1f2e;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 9999;
  background: var(--accent-primary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.9;
}

.logo__icon {
  background: var(--accent-gradient);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo__text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__tagline {
  background: var(--bg-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav a:hover {
  color: var(--text-primary);
  background: var(--bg-dark);
}

.nav a[aria-current="page"] {
  background: var(--accent-gradient);
  color: white;
}

.actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--red {
  background: var(--accent-gradient);
  color: white;
}

.btn--red:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 4px 20px rgba(156, 95, 255, 0.3);
}

.btn--blue {
  background: rgba(79, 195, 247, 0.15);
  color: var(--accent-secondary);
  border: 1px solid var(--accent-secondary);
}

.btn--blue:hover {
  background: rgba(79, 195, 247, 0.25);
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.2);
}

/* Hero Section */
.hero {
  padding: 40px 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
}

.kicker {
  font-size: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.card h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}

.lead {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.media {
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}

.media__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
}

.media__icon {
  font-size: 80px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(156, 95, 255, 0.5));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.media__badges {
  display: flex;
  gap: 12px;
}

.media__badge {
  font-size: 32px;
  filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.4));
}

.cta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.note {
  border-left: 3px solid var(--accent-primary);
  background: rgba(156, 95, 255, 0.08);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.note b {
  color: var(--accent-pink);
}

/* Info Table */
.table-wrap {
  overflow-x: auto;
}

.double {
  width: 100%;
  border-collapse: collapse;
}

.double tr {
  border-bottom: 1px solid var(--border-color);
}

.double tr:last-child {
  border-bottom: none;
}

.double td {
  padding: 16px 0;
  font-size: 14px;
}

.double td:first-child {
  color: var(--text-muted);
  padding-right: 16px;
  white-space: nowrap;
}

.double td:last-child {
  text-align: right;
}

.double strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Sections */
.section {
  margin-top: 24px;
}

.section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 15px;
}

.section ul {
  list-style: none;
  margin-bottom: 16px;
}

.section li {
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--accent-gradient);
  border-radius: 50%;
}

.section li b {
  color: var(--text-primary);
}

/* FAQ */
.faq {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 500;
  background: var(--bg-card-alt);
  transition: background 0.2s;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent-secondary);
  font-weight: 300;
}

.faq[open] summary::after {
  content: '−';
}

.faq summary:hover {
  background: var(--bg-dark);
}

.faq[open] {
  border-color: var(--accent-primary);
}

.faq p {
  padding: 16px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer b {
  font-size: 18px;
  display: block;
  margin-bottom: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer .small {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer a {
  color: var(--accent-secondary);
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 0.8;
}

.footer small {
  font-size: 12px;
  color: var(--text-muted);
}

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer nav a {
  color: var(--text-secondary);
  font-size: 14px;
}

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

.sep {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 16px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .header__row {
    justify-content: center;
  }

  .nav {
    margin-left: 0;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .card h1 {
    font-size: 26px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .logo__tagline {
    display: none;
  }
}

@media (max-width: 480px) {
  .actions {
    width: 100%;
    justify-content: center;
  }

  .cta {
    flex-direction: column;
  }

  .cta .btn {
    width: 100%;
  }
}
