:root {
  --bg-main: #080a0f;
  --bg-card: #0f131c;
  --bg-card-hover: #161c2a;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 240, 255, 0.3);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #00f0ff;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-gradient: linear-gradient(
    135deg,
    #00f0ff 0%,
    #2563eb 50%,
    #7c3aed 100%
  );
  --glow-shadow: 0 0 35px -5px rgba(0, 240, 255, 0.2);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(37, 99, 235, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(0, 240, 255, 0.05) 0%,
      transparent 40%
    );
}
/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
/* --- Header & Navigation --- */
header {
  background: rgba(8, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-badge {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-buttons {
  display: flex;
  gap: 12px;
}
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.btn-login {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-register {
  background: var(--accent-cyan);
  color: #040812;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  border: 1px solid var(--accent-cyan);
}
.btn-register:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  transform: translateY(-1px);
}
/* --- Spotlight / Hero Section --- */
.hero {
  position: relative;
  padding: 100px 24px 60px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-hero {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00f0ff 0%, #2563eb 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--glow-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.4);
}
/* --- ReactBits Floating Dock / Quick Links --- */
.dock-wrapper {
  position: sticky;
  top: 75px;
  z-index: 90;
  display: flex;
  justify-content: center;
  margin: -10px 0 40px;
  padding: 0 20px;
}
.dock {
  display: flex;
  gap: 8px;
  background: rgba(15, 19, 28, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
  max-width: 100%;
}
.dock-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.dock-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
/* --- Layout & Main Grid --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
/* --- Bento Grid (Stats / Features) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.04),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.bento-card:hover::before {
  opacity: 1;
}
.span-4 {
  grid-column: span 4;
}
.span-6 {
  grid-column: span 6;
}
.span-8 {
  grid-column: span 8;
}
.span-12 {
  grid-column: span 12;
}
.bento-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* --- Content Block Cards --- */
.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  position: relative;
  scroll-margin-top: 130px;
}
h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 24px 0 12px;
}
p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}
p strong,
li strong {
  color: var(--text-primary);
}
.highlight {
  color: var(--accent-cyan);
  font-weight: 600;
}
/* --- ReactBits Styled Custom List --- */
ul.styled-list,
ol.styled-list {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
ul.styled-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-secondary);
  line-height: 1.6;
}
ul.styled-list li::before {
  content: "→";
  position: absolute;
  left: 8px;
  color: var(--accent-cyan);
  font-weight: 700;
}
ol {
  margin-left: 20px;
  color: var(--text-secondary);
}
ol li {
  margin-bottom: 10px;
  padding-left: 8px;
}
/* --- Accordion (FAQ) ReactBits Style --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid transparent;
}
/* --- Footer --- */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 24px;
  text-align: center;
  background: #05070a;
  color: var(--text-dim);
  font-size: 0.9rem;
}
footer p {
  color: var(--text-dim);
  margin-bottom: 8px;
}
/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .span-4,
  .span-6,
  .span-8 {
    grid-column: span 12;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .dock {
    font-size: 12px;
    padding: 6px;
  }
  .content-block {
    padding: 24px;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .nav-container {
    padding: 12px 16px;
  }
  .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .dock-wrapper {
    top: 65px;
  }
}

/* Validator-required logo image selector */
.logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Header buttons: validator requires real <button> elements */
.auth-buttons .button {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}
.auth-buttons .button:first-child {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}
.auth-buttons .button:last-child {
  background: var(--accent-cyan);
  color: #040812;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  border: 1px solid var(--accent-cyan);
}
