
:root {
  --primary: #006d7b;   /* Caribbean teal */
  --accent:  #ffb13b;   /* warm golden orange */
  --accent2: #e8503a;   /* coral red accent */
  --bg:      #f3f6fb;
  --text:    #112026;
  --muted:   #5c6b73;
  --card:    #ffffff;
  --border:  #dde4ec;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

header {
  background: rgba(0, 45, 60, 0.92);
  color: #ffffff;
  padding: 0.9rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(10px);
}
.logo-text {
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.nav-buttons a {
  margin-left: 0.75rem;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  display: inline-block;
}
.nav-buttons a.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1200;
  font-weight: 600;
}
.nav-buttons a:hover {
  background: rgba(255,255,255,0.12);
}
.nav-buttons a.primary:hover {
  background: #ffd287;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

/* HERO SECTION */
.hero-wrap {
  margin-top: 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 2.75rem;
}
.hero-text h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}
.hero-text h1 span {
  color: var(--accent);
}
.hero-text p {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1rem;
}
.hero-highlight {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 109, 123, 0.08);
  border: 1px solid rgba(0,109,123,0.22);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.hero-highlight span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  background: var(--accent2);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 1.4rem;
}
.hero-badges span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.9);
}
.hero-cta a {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-cta .btn-primary {
  background: var(--accent2);
  color: #fffaf6;
}
.hero-cta .btn-secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #e8f4f7;
}
.hero-cta .btn-primary:hover {
  background: #d43b28;
}
.hero-cta .btn-secondary:hover {
  background: #d4ebf0;
}
.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.hero-visual {
  position: relative;
  min-height: 260px;
}
.hero-photo {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.6);
}
.hero-photo img {
  width: 100%;
  height: auto;
}
.hero-pill {
  position: absolute;
  left: -12px;
  bottom: 14px;
  background: rgba(0,0,0,0.72);
  color: #f9fafb;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  max-width: 220px;
  backdrop-filter: blur(8px);
}
.hero-pill strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

/* FEATURE STRIP */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.feature-card {
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 0.5rem;
  background: rgba(0,109,123,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.feature-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* SECTIONS */
.section {
  margin-bottom: 3rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.section-header h2 {
  font-size: 1.35rem;
}
.section-header p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Inside the Guide */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.inside-card {
  background: var(--card);
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  padding: 1rem;
}
.inside-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.inside-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.inside-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Illustration preview */
.illustration-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.illustration-card {
  background: #0b1a24;
  color: #f9fafb;
  border-radius: 0.9rem;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.illustration-card .img-placeholder {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: radial-gradient(circle at top left, #ffd180 0, #0b1a24 58%);
}
.illustration-card .content {
  position: relative;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.illustration-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.illustration-card p {
  font-size: 0.8rem;
}

/* TOC section */
.toc-section {
  margin-top: 1rem;
}
.toc-grid {
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem;
}
.chapter-link {
  padding: 0.55rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f8fb;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.chapter-link span.title { font-weight: 500; }
.chapter-link span.number {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 0.7rem;
}
.chapter-link:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

/* Testimonial / Credibility */
.testimonial {
  background: var(--card);
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1rem;
}
.testimonial-quote {
  font-size: 0.9rem;
  color: var(--muted);
}
.testimonial-quote strong {
  color: var(--text);
}
.testimonial-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.testimonial-badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}

/* Author strip */
.author-strip {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.author-strip img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info strong {
  color: var(--text);
}

/* Buttons */
.btn-inline {
  display: inline-block;
  margin-right: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* Chapter pages */
.page {
  max-width: 900px;
  margin: 2rem auto 0;
}
.page h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.page p.lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.notice-box {
  background: #fff7e5;
  border: 1px solid #f2cf7d;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.notice-box strong { color: #8a5b00; }

footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 1.5rem 1rem 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .testimonial {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero-visual {
    order: -1;
  }
}
