:root {
  --steel-dark: #080c12;
  --steel-mid: #111827;
  --steel-panel: #1a2332;
  --steel-border: #2a3a52;
  --electric-blue: #3b82f6;
  --electric-bright: #60a5fa;
  --electric-glow: #93c5fd;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --metallic: #8892a4;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --danger: #ef4444;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--steel-dark);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.5); }
  50% { box-shadow: 0 0 24px 8px rgba(59,130,246,0.35); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric-blue), #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  animation: pulse-blue 2.4s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--electric-bright);
  border: 2px solid var(--electric-blue);
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: var(--electric-blue);
  color: #fff;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

.card-steel {
  background: var(--steel-panel);
  border: 1px solid var(--steel-border);
  border-radius: 1rem;
  transition: transform 0.25s, border-color 0.25s;
}

.card-steel:hover {
  transform: translateY(-4px);
  border-color: var(--electric-blue);
}

.badge-number {
  background: linear-gradient(135deg, var(--electric-blue), #1d4ed8);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.shimmer-text {
  background: linear-gradient(90deg, var(--text-primary) 0%, var(--electric-glow) 50%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.steel-gradient {
  background: linear-gradient(180deg, rgba(8,12,18,0) 0%, rgba(8,12,18,0.85) 60%, rgba(8,12,18,1) 100%);
}

.word-cloud span {
  display: inline-block;
  margin: 0.3rem 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--steel-panel);
  border: 1px solid var(--steel-border);
  border-radius: 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.2s, border-color 0.2s;
}

.word-cloud span:hover {
  color: var(--electric-bright);
  border-color: var(--electric-blue);
}

.prose {
  color: var(--text-primary);
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.8;
}

.prose h2 {
  color: var(--electric-bright);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--steel-border);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: var(--electric-glow);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.prose a {
  color: var(--electric-bright);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--electric-glow);
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.prose blockquote {
  border-left: 4px solid var(--electric-blue);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  display: block;
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.prose th {
  background: var(--steel-panel);
  color: var(--electric-bright);
  padding: 0.6rem 1rem;
  border: 1px solid var(--steel-border);
  text-align: left;
  font-weight: 600;
}

.prose td {
  padding: 0.55rem 1rem;
  border: 1px solid var(--steel-border);
  color: var(--text-primary);
  background: rgba(26,35,50,0.6);
}

.prose tr:nth-child(even) td {
  background: rgba(26,35,50,0.9);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--electric-bright);
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(8,12,18,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel-border);
}

.mobile-menu {
  background: #0d1525;
  border-top: 1px solid var(--steel-border);
}

.faq-item {
  border-bottom: 1px solid var(--steel-border);
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.25s;
  color: var(--electric-blue);
  font-size: 1.2rem;
  line-height: 1;
}

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.glow-border {
  box-shadow: 0 0 0 1px var(--electric-blue), 0 0 20px rgba(59,130,246,0.3);
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(29,78,216,0.3));
  border: 2px solid var(--electric-blue);
  border-radius: 1.25rem;
  padding: 1.75rem 2.5rem;
  text-align: center;
  animation: pulse-blue 2.8s ease-in-out infinite;
}

.eighteen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--text-secondary);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .hero-bg { background-attachment: scroll; }
  .parallax-section { background-attachment: scroll; }
}
