:root {
    --blue: #1877F2;
    --ig: #E1306C;
    --accent: #F7B731;
    --dark: #0d0d0d;
    --darker: #070707;
    --surface: #141414;
    --surface2: #1c1c1c;
    --text: #f0f0f0;
    --muted: #888;
    --border: rgba(255,255,255,0.07);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--darker);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }

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

  /* ── ANNOUNCEMENT BAR ── */
  .bar {
    background: linear-gradient(90deg, var(--blue), var(--ig));
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .bar span { opacity: 0.85; margin: 0 6px; }
  .bar strong { font-weight: 700; }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7,7,7,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 64px;
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--blue), var(--ig));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--ig));
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 92vh;
    display: flex; align-items: center;
    padding: 60px 5% 60px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 70% 50%, rgba(24,119,242,0.12) 0%, transparent 70%),
      radial-gradient(ellipse 40% 60% at 20% 80%, rgba(225,48,108,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(247,183,49,0.12);
    border: 1px solid rgba(247,183,49,0.3);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
  }
  .hero-badge::before { content: '🇳🇬'; font-size: 1em; }
  .hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--blue), var(--ig));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-sub {
    font-size: 1.05rem;
    color: #aaa;
    margin-bottom: 32px;
    max-width: 480px;
    font-weight: 300;
  }
  .hero-price-row {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 28px;
  }
  .price-now {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
  }
  .price-old {
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
  }
  .price-note {
    font-size: 0.78rem;
    background: rgba(225,48,108,0.15);
    border: 1px solid rgba(225,48,108,0.3);
    color: #f07;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--ig) 100%);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 50px;
    border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 32px rgba(24,119,242,0.3);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(24,119,242,0.45); }
  .btn-primary svg { width: 18px; height: 18px; }
  .hero-trust {
    display: flex; align-items: center; gap: 12px;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--muted);
  }
  .hero-trust-item { display: flex; align-items: center; gap: 5px; }
  .hero-trust-item::before { content: '✓'; color: #4caf50; font-weight: 700; }

  /* Book mockup */
  .hero-visual {
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .book-wrap {
    position: relative;
    width: 280px;
    animation: float 4s ease-in-out infinite;
  }
  @keyframes float {
    0%,100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-16px) rotate(-2deg); }
  }
  .book-cover {
    width: 100%;
    background: url(images/book-cover.png);
    background-size: cover;
    background-position: center;
    border-radius: 8px 0px 0px 8px;
    padding: 250px 158px;
    box-shadow:
      -8px 8px 0 #0d0d0d,
      -16px 16px 30px rgba(0,0,0,0.6),
      0 0 60px rgba(24,119,242,0.25);
    position: relative;
    overflow: hidden;
  }
  .book-cover::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
    background: rgba(0,0,0,0.25);
  }
  .book-cover-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
  }
  .book-cover-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .book-cover-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    font-style: italic;
    margin-bottom: 24px;
  }
  .book-cover-icons {
    display: flex; gap: 10px; margin-bottom: 20px;
  }
  .platform-badge {
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
  }
  .book-cover-author {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 12px;
  }
  .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
  }
  .orb1 { width: 300px; height: 300px; background: rgba(24,119,242,0.2); top: -80px; right: -80px; }
  .orb2 { width: 200px; height: 200px; background: rgba(225,48,108,0.15); bottom: -60px; left: 20px; }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 5%;
  }
  .stats-inner {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 20px; text-align: center;
  }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(90deg, var(--blue), var(--ig));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  .stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

  /* ── SECTION BASE ── */
  section { padding: 90px 5%; }
  .section-tag {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
  }
  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800; margin-bottom: 16px;
  }
  .section-lead {
    font-size: 1rem; color: #999; max-width: 560px;
    font-weight: 300; margin-bottom: 48px;
  }
  .center { text-align: center; }
  .center .section-lead { margin: 0 auto 48px; }

  /* ── ABOUT ── */
  .about { background: var(--dark); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    max-width: 1100px; margin: 0 auto;
  }
  .about-text p { color: #aaa; margin-bottom: 16px; font-weight: 300; }
  .about-text p strong { color: var(--text); font-weight: 500; }
  .about-highlights {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 32px;
  }
  .highlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: border-color 0.2s, transform 0.2s;
  }
  .highlight-card:hover { border-color: rgba(24,119,242,0.4); transform: translateY(-2px); }
  .highlight-icon { font-size: 1.5rem; margin-bottom: 8px; }
  .highlight-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
  .highlight-card p { font-size: 0.78rem; color: var(--muted); margin: 0; }

  /* ── CHAPTERS ── */
  .chapters { background: var(--darker); }
  .chapters-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto;
  }
  .chapter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative; overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
  }
  .chapter-card:hover { border-color: rgba(24,119,242,0.45); transform: translateY(-3px); }
  .chapter-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--ig));
    opacity: 0;
    transition: opacity 0.25s;
  }
  .chapter-card:hover::before { opacity: 1; }
  .chapter-num {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 10px;
  }
  .chapter-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
  .chapter-card p { font-size: 0.82rem; color: var(--muted); }

  /* ── WHAT YOU'LL LEARN ── */
  .learn { background: var(--surface); }
  .learn-list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 16px; max-width: 1100px; margin: 0 auto;
  }
  .learn-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
  }
  .learn-check {
    width: 22px; height: 22px; min-width: 22px;
    background: linear-gradient(135deg, var(--blue), var(--ig));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; color: #fff; font-weight: 700; margin-top: 2px;
  }
  .learn-item p { font-size: 0.88rem; color: #ccc; }

  /* ── AUTHOR ── */
  .author { background: var(--dark); }
  .author-inner {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: auto 1fr;
    gap: 48px; align-items: start;
  }
  .author-avatar {
    width: 140px; height: 140px; border-radius: 50%;
    background: url(images/ace-no-bg.png) top/cover;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 3rem; font-weight: 800; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 40px rgba(24,119,242,0.3);
  }
  .author-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
  .author-role { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin-bottom: 16px; letter-spacing: 0.05em; }
  .author-bio { color: #999; font-weight: 300; line-height: 1.7; }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--darker); }
  .testi-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto;
  }
  .testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
  }
  .testi-card::before {
    content: '\201C';
    position: absolute; top: 16px; right: 20px;
    font-size: 4rem; color: rgba(24,119,242,0.15);
    font-family: Georgia, serif; line-height: 1;
  }
  .stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 14px; }
  .testi-text { font-size: 0.88rem; color: #bbb; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--ig));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: #fff;
  }
  .testi-name { font-weight: 600; font-size: 0.88rem; }
  .testi-role { font-size: 0.75rem; color: var(--muted); }

  /* ── CTA ── */
  .cta-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 100px 5%;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(24,119,242,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; margin-bottom: 16px;
    max-width: 700px; margin-left: auto; margin-right: auto;
  }
  .cta-section p {
    color: #999; font-size: 1rem; max-width: 500px;
    margin: 0 auto 36px; font-weight: 300;
  }
  .cta-price-display {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 32px;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 28px 5%;
    font-size: 0.78rem;
    color: var(--muted);
  }
  footer a { color: var(--blue); }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { max-width: 100%; }
    .hero-badge { margin: 0 auto 24px; }
    .hero-price-row { justify-content: center; flex-wrap: wrap; }
    .hero-trust { justify-content: center; flex-wrap: wrap; }
    .hero-visual { margin-top: 40px; }
    .book-wrap { width: 220px; }
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .author-inner { grid-template-columns: 1fr; text-align: center; }
    .author-avatar { margin: 0 auto; }
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-left > * { animation: fadeUp 0.7s ease both; }
  .hero-left > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-left > *:nth-child(2) { animation-delay: 0.2s; }
  .hero-left > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-left > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-left > *:nth-child(5) { animation-delay: 0.5s; }
  .hero-visual { animation: fadeUp 0.9s 0.4s ease both; }

  /* my own styles */


  /* ── 3D SCENE ── */
  .scene {
    perspective: 1200px;
    perspective-origin: 50% 50%;
  }
 
  .book {
    width: 280px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(5deg);
    animation: hover 5s ease-in-out infinite;
    filter: drop-shadow(-30px 30px 50px rgba(0,0,0,0.7));
  }
 
  @keyframes hover {
    0%, 100% { transform: rotateY(-25deg) rotateX(5deg) translateY(0px); }
    50%       { transform: rotateY(-22deg) rotateX(4deg) translateY(-14px); }
  }
 
  /* FRONT FACE */
  .book-front {
    position: absolute;
    width: 280px;
    height: 400px;
    background: #111;
    border-radius: 2px 6px 6px 2px;
    overflow: hidden;
    transform: translateZ(20px);
    backface-visibility: hidden;
    /* Slight top-edge light */
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.08);
  }
 
  .book-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  /* Subtle gloss overlay on front */
  .book-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.03) 30%,
      transparent 60%
    );
    pointer-events: none;
    border-radius: 2px 6px 6px 2px;
  }
 
  /* SPINE */
  .book-spine {
    position: absolute;
    width: 40px;
    height: 400px;
    left: 0;
    top: 0;
    background: linear-gradient(
      to right,
      #0a1628 0%,
      #1a2f55 40%,
      #1877F2 100%
    );
    transform: rotateY(-90deg) translateZ(0px) translateX(-20px);
    transform-origin: left center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
 
  /* Spine inner shadow lines for realism */
  .book-spine::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 4px;
    background: rgba(0,0,0,0.4);
  }
  .book-spine::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; width: 2px;
    background: rgba(255,255,255,0.06);
  }
 
  .spine-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: rgba(255,255,255,0.7);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 8px;
  }
 
  /* TOP FACE */
  .book-top {
    position: absolute;
    width: 280px;
    height: 40px;
    top: 0; left: 0;
    background: linear-gradient(
      to bottom,
      #e8e8e0 0%,
      #d0d0c8 50%,
      #b8b8b0 100%
    );
    transform: rotateX(90deg) translateZ(0px) translateY(-20px);
    transform-origin: top center;
    overflow: hidden;
  }
 
  /* Page lines on top */
  .book-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent 3px,
      rgba(0,0,0,0.04) 3px,
      rgba(0,0,0,0.04) 4px
    );
  }
 
  /* BOTTOM FACE */
  .book-bottom {
    position: absolute;
    width: 280px;
    height: 40px;
    bottom: 0; left: 0;
    background: linear-gradient(
      to top,
      #c0c0b8 0%,
      #d8d8d0 60%,
      #e0e0d8 100%
    );
    transform: rotateX(-90deg) translateZ(0px) translateY(20px);
    transform-origin: bottom center;
  }
 
  .book-bottom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent 3px,
      rgba(0,0,0,0.05) 3px,
      rgba(0,0,0,0.05) 4px
    );
  }
 
  /* BACK FACE */
  .book-back {
    position: absolute;
    width: 280px;
    height: 400px;
    background: linear-gradient(160deg, #0d1f3c, #071020);
    transform: translateZ(-20px) rotateY(180deg);
    backface-visibility: hidden;
    border-radius: 6px 2px 2px 6px;
  }
 
  /* ── GROUND SHADOW ── */
  .book-shadow {
    width: 260px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, transparent 75%);
    margin: 0 auto;
    margin-top: 20px;
    transform: scaleX(1.1);
    filter: blur(8px);
  }
 
  /* ── GLOW behind book ── */
  .glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24,119,242,0.18) 0%, transparent 70%);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }