/* BookFlik Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1a2e;
  --ink-soft: #4a4a6a;
  --accent: #4f6ef7;
  --accent-light: #eef1ff;
  --gold: #f5a623;
  --bg: #fafaf8;
  --white: #ffffff;
  --border: #e8e8f0;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.header-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(79,110,247,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,166,35,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-block;
  background: rgba(79,110,247,0.2);
  border: 1px solid rgba(79,110,247,0.4);
  color: #a0b4ff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero-meta {
  display: inline-flex;
  gap: 2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: var(--radius);
}

.hero-meta-item { text-align: center; }

.hero-meta-item .label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.hero-meta-item .value {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.section {
  margin-bottom: 3rem;
  scroll-margin-top: 80px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.section-number {
  width: 32px; height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  flex-shrink: 0;
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

p { color: var(--ink-soft); margin-bottom: 1rem; font-weight: 300; }
p:last-child { margin-bottom: 0; }

ul, ol { color: var(--ink-soft); padding-left: 1.5rem; margin-bottom: 1rem; font-weight: 300; }
li { margin-bottom: 0.4rem; }
strong { color: var(--ink); font-weight: 500; }
a { color: var(--accent); }

.highlight {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.highlight p { color: var(--ink); margin: 0; }

.warning {
  background: #fff8ee;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.warning p { color: #7a5000; margin: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-top: 1.25rem;
}
.card p { margin: 0; color: var(--ink); }

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.7); }

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.85rem; color: var(--ink-soft); text-decoration: none; font-weight: 400; }
.nav-links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .hero-meta { gap: 1.25rem; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  main { padding: 2rem 1.25rem 4rem; }
  .nav-links { display: none; }
}
