/* ===== Base ===== */
:root{
  --bg: #05070a;
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --faint: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.12);

  --accent: #19e6ff; /* cyan glow vibe */
  --accent-2: #00b7ff;

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,0.55);

  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 500px at 50% 30%, rgba(25,230,255,0.16), transparent 60%),
              linear-gradient(180deg, #020305, var(--bg) 28%, #03060a);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
img{ max-width: 100%; height: auto; display:block; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nowrap{ white-space: nowrap; }

/* Skip link */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 16px;
  top: 12px;
  width:auto;
  height:auto;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-mark{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(25,230,255,0.65);
}
.brand-text{ opacity: 0.95; }

.nav{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav a{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}
.nav a:hover{
  background: rgba(255,255,255,0.06);
  color: var(--text);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero{
  padding: 46px 0 24px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.3px;
}
.subhead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.cta-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  margin: 14px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.2px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.btn:focus{
  outline: 2px solid rgba(25,230,255,0.55);
  outline-offset: 2px;
}

.btn.primary{
  background: linear-gradient(180deg, rgba(25,230,255,0.28), rgba(0,183,255,0.18));
  border-color: rgba(25,230,255,0.35);
  box-shadow: 0 0 0 1px rgba(25,230,255,0.12), 0 18px 50px rgba(0,0,0,0.55);
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(25,230,255,0.34), rgba(0,183,255,0.22));
}

.btn.ghost{
  background: rgba(255,255,255,0.03);
}

.trust{
  margin: 0;
  padding-left: 18px;
  color: var(--faint);
}
.trust li{ margin: 6px 0; }

/* ===== Book cover section (centered) ===== */
.hero-media{
  display:flex;
  justify-content:center;
}
.cover-card{
  margin: 0;
  width: min(520px, 92vw);
  border-radius: var(--radius);
  border: 1px solid rgba(25,230,255,0.18);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.cover-card::before{
  content:"";
  position:absolute;
  inset: -40px;
  background: radial-gradient(300px 300px at 50% 12%, rgba(25,230,255,0.18), transparent 60%);
  pointer-events:none;
}
.cover-card img{
  position: relative;
  width: 100%;
  height: auto;
}
.cover-caption{
  position: relative;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.95rem;
  background: rgba(0,0,0,0.35);
}

/* ===== Sections ===== */
.section{
  padding: 44px 0;
}
.section.muted{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2{
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 75ch;
}
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  color: var(--muted);
}

.cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.card h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.card p{
  margin: 0;
  color: var(--muted);
}

.inline-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  margin: 10px 0;
}
.faq summary{
  cursor: pointer;
  font-weight: 650;
}
.faq p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  background: rgba(0,0,0,0.35);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.fine{
  color: var(--faint);
  font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .two-col{
    grid-template-columns: 1fr;
  }
  .cards{
    grid-template-columns: 1fr;
  }
  .nav{ display:none; } /* optional: keep minimal on small screens */
}
