/* =============================================
   NJIRU – Landing Page Styles
   Navy #0b1f2e | Gold #c9a96e | Cream #f0e6d3
   ============================================= */

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

:root {
  --navy:    #0b1f2e;
  --navy2:   #0f2840;
  --navy3:   #162f45;
  --gold:    #c9a96e;
  --gold2:   #e2c48a;
  --cream:   #f0e6d3;
  --muted:   #7a9ab0;
  --red:     #e05c5c;
  --border:  rgba(201,169,110,0.18);
  --radius:  12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy3); border-radius: 3px; }

/* ---- FOCUS (accessibility) ---- */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================
   NAV
   ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(11,31,46,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--gold);
  text-decoration: none; letter-spacing: 0.04em;
}
.nav-logo-img { height: 32px; width: 32px; object-fit: contain; border-radius: 50%; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 10px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }
.nav-hamburger {
  display: none;
  background: none; border: 1px solid var(--border);
  color: var(--cream); font-size: 20px; padding: 6px 12px;
  border-radius: 6px; cursor: pointer;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy2);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; color: var(--cream); text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: var(--muted);
  font-size: 32px; cursor: pointer;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 520px; height: 520px; }
.ring-2 { width: 740px; height: 740px; opacity: 0.55; }
.ring-3 { width: 960px; height: 960px; opacity: 0.25; }
.hero-dot {
  position: absolute; border-radius: 50%;
  background: var(--gold); opacity: 0.45;
}

.badge {
  display: inline-block;
  border: 1px solid var(--border); color: var(--gold);
  padding: 6px 18px; border-radius: 100px;
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  margin-bottom: 32px;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.01em; max-width: 760px;
  margin-bottom: 24px;
}
h1 em { color: var(--gold); font-style: italic; }

.hero-sub {
  font-size: 18px; color: var(--muted); font-weight: 300;
  max-width: 480px; margin-bottom: 48px; line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--cream);
  padding: 14px 32px; border-radius: 8px;
  font-size: 15px; text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 60px; margin-top: 80px;
  flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 600; color: var(--gold); line-height: 1;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }

/* =====================
   SHARED SECTION
   ===================== */
.section {
  padding: 96px 60px; max-width: 1200px; margin: 0 auto;
}
.section-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 20px;
  display: block;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 600; line-height: 1.1; margin-bottom: 24px;
}
.divider {
  border: none; border-top: 1px solid var(--border); width: 100%;
}

/* =====================
   PROBLEM
   ===================== */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  margin-top: 48px;
}
.problem-copy p {
  color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 18px;
}
.problem-copy p span { color: var(--cream); }
.problem-list { display: flex; flex-direction: column; gap: 16px; }
.problem-item {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.problem-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.problem-title { font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.problem-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* =====================
   FEATURES
   ===================== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.feature-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(201,169,110,0.4);
  transform: translateY(-4px);
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 600;
  color: var(--border); line-height: 1; margin-bottom: 22px;
}
.feature-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.feature-desc { color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-tag {
  display: inline-block; margin-top: 22px;
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

/* =====================
   HOW IT WORKS
   ===================== */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 31px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.step { text-align: center; padding: 0 10px; }
.step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: var(--gold);
  position: relative; z-index: 1;
  transition: border-color 0.25s, background 0.25s;
}
.step:hover .step-circle { border-color: var(--gold); background: var(--navy2); }
.step-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* =====================
   DIFFERENTIATORS
   ===================== */
.diff-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 56px;
}
.diff-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color 0.2s;
}
.diff-card:hover { border-color: rgba(201,169,110,0.35); }
.diff-icon { font-size: 24px; flex-shrink: 0; }
.diff-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.diff-desc { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* =====================
   CONTACT / FORM
   ===================== */
.contact-wrap { max-width: 660px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 52px; }
.contact-sub { color: var(--muted); font-size: 17px; margin-top: 16px; line-height: 1.7; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { display: flex; flex-direction: column; }
.field label {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 8px;
}
.required { color: var(--gold); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px;
  color: var(--cream);
  font-family: 'Inter', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field input.error,
.field select.error,
.field textarea.error { border-color: var(--red); }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a9ab0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field-error { font-size: 12px; color: var(--red); margin-top: 6px; min-height: 16px; }

.form-submit {
  background: var(--gold); color: var(--navy);
  border: none; padding: 16px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover:not(:disabled) { background: var(--gold2); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); }

/* Success / Error */
.success-msg {
  text-align: center; padding: 48px 40px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--navy2);
}
.success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201,169,110,0.15);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--gold);
  margin: 0 auto 20px;
}
.success-msg h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; color: var(--gold); margin-bottom: 10px;
}
.success-msg p { color: var(--muted); font-size: 16px; }

.error-msg {
  background: rgba(224,92,92,0.1); border: 1px solid rgba(224,92,92,0.3);
  border-radius: 8px; padding: 16px 20px;
  color: #f4a0a0; font-size: 14px; text-align: center;
}

/* =====================
   FOOTER
   ===================== */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  display: flex; align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--gold); gap: 8px;
}
.footer-copy { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }

  .section { padding: 70px 24px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; padding: 28px 24px; text-align: center; }
  .hero-stats { gap: 36px; }
  .ring-2, .ring-3 { display: none; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 120px 20px 70px; }
}

/* =====================
   REDUCED MOTION
   ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
