/* ===========================================================
   HOBERG TOOLS / TIKDROP — STYLESHEET
   Rebuilt to follow the official Hoberg Brand Identity Guide:
   - Red (#C8001A) is the dominant, non-negotiable accent
   - Black background + white type is the primary expression
   - Gold (#D4A843) is used sparingly — small highlights only
   - Playfair Display (headings) + DM Sans (body) — 2 fonts max
   Visually aligned with hoberg.com.ng's dark, red-glow hero style.
   =========================================================== */

:root {
  /* Brand colors — per Hoberg Brand Guide v1.0 */
  --hoberg-red: #C8001A;
  --hoberg-red-bright: #E8001C;
  --hoberg-red-dark: #A0000F;
  --hoberg-black: #0E0B08;
  --hoberg-black-soft: #17130E;
  --hoberg-gold: #D4A843;      /* sparing accent only — max ~10% of any screen */
  --white: #FFFFFF;
  --cream: #F5EFE6;
  --light-gray: #F5F5F5;
  --mid-gray: #9A948A;
  --card-bg: #17130E;
  --border-soft: rgba(200, 0, 26, 0.22);
  --border-soft-hover: rgba(200, 0, 26, 0.5);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--hoberg-black);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--hoberg-red-bright); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--hoberg-red); color: var(--white);
  padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============ TYPE ============ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; color: var(--white); }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 12px; }
h3 { font-size: 1.08rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
p { color: rgba(255,255,255,0.68); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--hoberg-red-bright); margin-bottom: 14px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hoberg-gold); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  font-family: var(--font-body);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-gold, .btn-primary {
  background: linear-gradient(135deg, var(--hoberg-red-bright), var(--hoberg-red-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(200, 0, 26, 0.32);
}
.btn-gold:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200, 0, 26, 0.45); }
.btn-gold:disabled, .btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline {
  background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-outline:hover { border-color: var(--hoberg-red-bright); color: var(--hoberg-red-bright); }

/* ============ GLASS NAV ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 11, 8, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1160px; margin: 0 auto; gap: 16px;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-link img { height: 36px; width: auto; }

.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--hoberg-red-bright); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .main-nav {
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--hoberg-black-soft); border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 10px 24px 26px; transform: translateY(-130%); opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ HERO — red glow, matches hoberg.com.ng ============ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 96px) 20px clamp(48px, 8vw, 70px);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(122, 0, 16, 0.55) 0%, rgba(61, 0, 8, 0.28) 34%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(212, 168, 67, 0.08) 0%, transparent 65%),
    var(--hoberg-black);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { color: var(--hoberg-red-bright); }
.hero-sub { font-size: clamp(0.98rem, 2.2vw, 1.08rem); color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 36px; }

/* Search / download box */
.download-box {
  max-width: 620px; margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.download-row { display: flex; gap: 8px; flex-wrap: wrap; }
.download-row input {
  flex: 1; min-width: 180px;
  border: none; outline: none; background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 16px 20px; font-family: var(--font-body); font-size: 0.98rem;
  color: var(--white);
}
.download-row input::placeholder { color: var(--mid-gray); }
.download-row button[type="submit"] {
  padding: 16px 28px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--hoberg-red-bright), var(--hoberg-red-dark));
  color: var(--white); font-weight: 700; font-size: 0.95rem;
  white-space: nowrap; transition: transform var(--transition), box-shadow var(--transition);
}
.download-row button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200,0,26,0.4); }
.download-row button[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.paste-btn {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,0.06); color: var(--mid-gray);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.paste-btn:hover { background: rgba(200,0,26,0.16); color: var(--hoberg-red-bright); }

.status-line {
  min-height: 20px; margin-top: 14px; font-size: 0.85rem; color: var(--mid-gray); padding: 0 6px;
}
.status-line.error { color: #E8607C; }
.status-line.success { color: var(--hoberg-gold); }

.spinner {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--white);
  animation: spin 0.7s linear infinite; margin-right: 6px; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Result card */
.result-card {
  display: none;
  max-width: 620px; margin: 22px auto 0;
  background: var(--card-bg); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 20px; text-align: left;
  animation: fadeUp 0.4s ease;
}
.result-card.show { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.result-head { display: flex; gap: 14px; align-items: flex-start; }
.result-thumb {
  width: 64px; height: 88px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #2a1215, var(--hoberg-black));
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--hoberg-red-bright);
}
.result-meta p { margin-bottom: 2px; font-size: 0.85rem; }
.result-meta .result-title { color: var(--white); font-weight: 600; font-size: 0.94rem; }
.result-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.result-actions .btn { flex: 1; min-width: 160px; padding: 13px 20px; font-size: 0.88rem; }

/* Trust row */
.trust-row {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px; font-size: 0.8rem; color: var(--mid-gray);
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row .tick { color: var(--hoberg-red-bright); }

/* ============ SECTIONS ============ */
.section { padding: clamp(48px, 8vw, 76px) 0; }
.section-alt { background: var(--hoberg-black-soft); }
.section-header { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-header p { max-width: 520px; margin: 0 auto; }

/* Numbered steps — echoes hoberg.com.ng's "01 02 03" pattern */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step-card {
  background: var(--card-bg); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 28px 24px; text-align: left;
  transition: transform var(--transition), border-color var(--transition);
}
.step-card:hover { transform: translateY(-4px); border-color: var(--border-soft-hover); }
.step-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(200,0,26,0.14); color: var(--hoberg-red-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; margin-bottom: 16px;
}

/* Features grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--card-bg); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 26px; transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-soft-hover); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(200,0,26,0.14); color: var(--hoberg-red-bright);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 14px;
}
.feature-card h3 { font-size: 1rem; }
.feature-card p { font-size: 0.88rem; margin-bottom: 0; }

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; text-align: left; font-weight: 600; font-size: 1rem; color: var(--white);
  font-family: var(--font-body);
}
.faq-question .plus {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--hoberg-red-bright); color: var(--hoberg-red-bright);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: transform var(--transition);
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 4px 20px 0; font-size: 0.94rem; }

/* Cross-promo tools */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tool-card {
  position: relative; background: var(--card-bg); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 24px; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
a.tool-card:hover { transform: translateY(-4px); border-color: var(--border-soft-hover); }
.tool-card.soon { opacity: 0.62; }
.tool-card .badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 30px; background: rgba(212,168,67,0.16); color: var(--hoberg-gold);
}
.tool-card .badge.live { background: rgba(200, 0, 26, 0.18); color: var(--hoberg-red-bright); }
.tool-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(200,0,26,0.14); color: var(--hoberg-red-bright); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; }
.tool-card h3 { font-size: 0.98rem; }
.tool-card p { font-size: 0.85rem; margin-bottom: 0; }

/* CTA */
.cta-panel {
  background: linear-gradient(120deg, #23090c, var(--hoberg-black-soft));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: clamp(40px, 8vw, 56px) clamp(24px, 6vw, 40px); text-align: center;
}
.cta-panel p { max-width: 480px; margin: 0 auto 28px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--hoberg-black-soft); padding: 56px 0 26px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand p { color: var(--mid-gray); font-size: 0.88rem; max-width: 280px; margin-top: 14px; }
.footer-col h4 { font-family: var(--font-body); color: var(--white); font-size: 0.84rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--mid-gray); font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--hoberg-red-bright); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--mid-gray); }
.footer-bottom a { color: var(--hoberg-red-bright); font-weight: 600; }
.powered-badge { display: inline-flex; align-items: center; gap: 8px; }
.powered-badge img { height: 18px; width: auto; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .download-row { flex-direction: column; }
  .download-row input { width: 100%; }
  .download-row button[type="submit"] { width: 100%; order: 3; }
  .paste-btn { order: 2; width: 100%; height: 46px; }
  .trust-row { gap: 14px 18px; }
  .result-actions .btn { min-width: 100%; }
}
