:root {
  color-scheme: dark;
  --bg: #05060a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #e9ecf4;
  --muted: #9aa5c3;
  --primary: #7c7bff;
  --accent: #4ae0ff;
  --shadow: rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --blur: 28px;
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(124, 123, 255, 0.12), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(74, 224, 255, 0.12), transparent 30%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(50% 40% at 60% 30%, rgba(124, 123, 255, 0.25), transparent),
              radial-gradient(30% 25% at 30% 60%, rgba(74, 224, 255, 0.2), transparent);
  filter: blur(60px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px var(--shadow);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px var(--shadow);
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #05060a;
  border-color: transparent;
  padding: 12px 22px;
  font-size: 15px;
  box-shadow:
    0 14px 40px var(--shadow),
    0 0 18px rgba(124, 123, 255, 0.6);
}

.btn.primary:hover {
  box-shadow:
    0 20px 55px var(--shadow),
    0 0 26px rgba(124, 123, 255, 0.85);
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--primary) 80%, #ffffff 20%),
    color-mix(in srgb, var(--accent) 80%, #ffffff 20%)
  );
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(32px, 6vw, 44px);
  margin: 12px 0;
}

.lead {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.cta-group {
  display: flex;
  gap: 12px;
  margin: 20px 0 12px;
  flex-wrap: wrap;
}

.meta {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.cover-frame {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 3 / 4.3;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(124, 123, 255, 0.16), rgba(74, 224, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px var(--shadow);
  overflow: hidden;
}

.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.scan-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.35), transparent 60%);
  transform: translateX(-100%);
  animation: scan 3.6s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateX(-120%); }
  45% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.floating-cards {
  display: grid;
  gap: 8px;
}

.floating-cards .card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px var(--shadow);
  font-weight: 600;
  color: var(--text);
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
}

.section-head p {
  color: var(--muted);
  margin: 8px 0 24px;
}

.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 60px var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--panel-strong);
}

.card-panel h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

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

.muted {
  color: var(--muted);
}

.chapters-wrap {
  display: grid;
  gap: 12px;
}

.chapter-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 16px 40px var(--shadow);
}

.chapter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.chapter-top h3 {
  margin: 0;
  font-size: 17px;
}

.chevron {
  transition: transform 0.25s ease;
}

.chapter-item.open .chevron {
  transform: rotate(180deg);
}

.chapter-content {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
  display: none;
}

.chapter-item.open .chapter-content {
  display: block;
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 50px var(--shadow);
}

.testimonial .quote {
  font-weight: 600;
  margin-bottom: 10px;
}

.testimonial .author {
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 48px 20px 36px;
  margin-top: 32px;
}

.footer-cta {
  max-width: 1200px;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-meta {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  color: var(--muted);
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .nav-actions { display: none; }
  .hero { padding: 20px 16px 48px; }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1; justify-content: center; }
  .section { padding: 48px 16px; }
}

