/* ═══════════════════════════════════════
   DEV ONLINE BOOK — style.css
   Shared across all pages
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:     #f5a623;
  --gold-dim: rgba(245,166,35,0.12);
  --green:    #25d366;
  --green2:   #1db954;
  --bg:       #080808;
  --bg2:      #101010;
  --bg3:      #161616;
  --bg4:      #1c1c1c;
  --border:   #242424;
  --border2:  #2e2e2e;
  --text:     #e2e2e2;
  --muted:    #7a7a7a;
  --muted2:   #555;
  --head:     'Oswald', sans-serif;
  --body:     'Inter', sans-serif;
  --radius:   10px;
  --radius-lg:16px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── STICKY HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,8,0.96);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  justify-content: space-between;
}

.logo {
  font-family: var(--head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .dot { color: #fff; }

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 13px;
  font-weight: 500;
  color: #bbb;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--gold); }

.nav-wa {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-wa:hover { background: var(--green2) !important; transform: translateY(-1px); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { width: 26px; height: 2px; background: var(--gold); display: block; border-radius: 2px; transition: all 0.3s; }

.mob-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: #0d0d0d;
  border-bottom: 2px solid var(--gold);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.mob-nav a {
  color: #ccc;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.mob-nav a:hover { color: var(--gold); }
.mob-nav a:last-child { border-bottom: none; }
.mob-nav.open { display: flex; }

/* ── FLOATING WHATSAPP ── */
.float-wa {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-green 2.5s infinite;
}
.float-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.5); }
.float-wa svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 8px 48px rgba(37,211,102,0.6); }
}

/* ── SHARED SECTION STYLES ── */
section { padding: 80px 24px; }
.container { max-width: 1080px; margin: 0 auto; }
.section-bg2 { background: var(--bg2); }
.section-bg3 { background: var(--bg3); }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  background: var(--gold-dim);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--head);
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 14px;
}
.sec-title span { color: var(--gold); }
.sec-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .sec-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.btn-green:hover { background: var(--green2); transform: translateY(-2px); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-dim); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #050505;
  border-top: 2px solid var(--gold);
  padding: 56px 24px 28px;
}
.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-about .logo { margin-bottom: 14px; font-size: 18px; }
.footer-about p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.footer-heading { font-family: var(--head); font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1080px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--muted2); }
.disclaimer-text { font-size: 12px; color: var(--muted2); text-align: center; max-width: 1080px; margin: 16px auto 0; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-wa span { display: none; }
  .float-wa { padding: 14px; border-radius: 50%; }
  section { padding: 56px 20px; }
}