/* ═══════════════════════════════════════════
   NOVARI — DARK PROFESSIONAL MODERN
   Slate & Pearl | Operator-Grade
   ═══════════════════════════════════════════ */

:root {
  --pearl: #eae6df;
  --champagne: #c2b8a4;
  --antique: #a89e8c;
  --slate: #101114;
  --graphite: #16171a;
  --carbon: #0b0c0e;
  --pewter: #5e5c58;
  --muted: #3a3836;
  --text: #b0aca5;
  --border: rgba(194, 184, 164, 0.08);
  --border-hover: rgba(194, 184, 164, 0.18);

  --display: 'DM Serif Display', Georgia, serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--body);
  background: var(--carbon);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(11, 12, 14, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--pearl);
  letter-spacing: 0.04em;
}
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pewter); font-weight: 400; transition: color 0.3s;
}
.nav-links a:hover { color: var(--pearl); }
.nav-btn {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--carbon); background: var(--pearl);
  padding: 10px 24px; border-radius: 4px; font-weight: 600;
  transition: all 0.3s;
}
.nav-btn:hover { background: var(--champagne); }

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 24px; padding: 4px 0;
}
.mobile-toggle span {
  display: block; width: 100%; height: 1px;
  background: var(--pearl); transition: all 0.3s;
}
.mobile-toggle.active span:first-child { transform: rotate(45deg) translate(2px, 2px); }
.mobile-toggle.active span:last-child { transform: rotate(-45deg) translate(2px, -2px); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(11, 12, 14, 0.97);
  backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-link {
  font-family: var(--display);
  font-size: 1.4rem; color: var(--pearl); opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}
.mobile-link:hover { opacity: 1; }
.mobile-link.cta { color: var(--champagne); }

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 48px 80px; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(194,184,164,0.02) 80px, rgba(194,184,164,0.02) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(194,184,164,0.02) 80px, rgba(194,184,164,0.02) 81px);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-hover);
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.72rem; color: var(--champagne);
  font-weight: 400; letter-spacing: 0.05em;
  margin-bottom: 40px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--champagne); border-radius: 50%;
  animation: badgePulse 2.5s infinite;
}
@keyframes badgePulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(194,184,164,0.4); }
  50% { opacity:0.6; box-shadow: 0 0 0 6px rgba(194,184,164,0); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 400; line-height: 1.12;
  color: var(--pearl); letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: italic; color: var(--champagne);
}
.hero-sub {
  font-size: 1rem; color: var(--pewter);
  max-width: 520px; margin: 24px auto 0;
  line-height: 1.8; font-weight: 300;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap;
}
.hero-metrics {
  display: flex; gap: 40px; justify-content: center;
  margin-top: 56px; flex-wrap: wrap;
}
.metric { text-align: center; }
.metric-value {
  display: block; font-family: var(--display);
  font-size: 1.4rem; color: var(--pearl);
}
.metric-label {
  font-size: 0.62rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--pewter); margin-top: 2px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--pearl); color: var(--carbon);
  font-size: 0.78rem; font-weight: 600;
  border-radius: 6px; letter-spacing: 0.02em;
  transition: all 0.3s; font-family: var(--body);
}
.btn-primary:hover {
  background: var(--champagne);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(234,230,223,0.1);
}
.btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-block; padding: 14px 32px;
  border: 1px solid var(--border-hover);
  color: var(--text); font-size: 0.78rem;
  font-weight: 400; border-radius: 6px;
  letter-spacing: 0.02em; transition: all 0.3s;
  font-family: var(--body);
}
.btn-ghost:hover {
  border-color: var(--champagne); color: var(--champagne);
}
.btn-full { display: block; width: 100%; text-align: center; }
.btn-large { padding: 18px 40px; font-size: 0.85rem; }

/* ── SECTIONS ── */
section { padding: 120px 0; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.tag {
  display: inline-block;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--champagne); font-weight: 500; margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2;
  color: var(--pearl); letter-spacing: -0.3px;
}
.section-header h2 em { font-style: italic; color: var(--champagne); }
.section-desc {
  font-size: 0.95rem; color: var(--pewter);
  max-width: 460px; margin-top: 12px; line-height: 1.8;
}
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* ── PROBLEM ── */
.problem { background: var(--graphite); }
.problem-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.p-card {
  background: var(--carbon);
  padding: 44px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.4s;
}
.p-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.p-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 24px;
  color: var(--champagne);
}
.p-card h3 {
  font-family: var(--display);
  font-size: 1.15rem; color: var(--pearl);
  margin-bottom: 10px;
}
.p-card p {
  font-size: 0.88rem; line-height: 1.75;
  color: var(--pewter);
}

/* ── HOW IT WORKS ── */
.how { background: var(--carbon); }
.steps { max-width: 680px; }
.step {
  display: flex; gap: 32px; padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--display);
  font-size: 2.2rem; color: rgba(194,184,164,0.12);
  flex-shrink: 0; line-height: 1; padding-top: 4px;
  min-width: 56px;
}
.step-body h3 {
  font-family: var(--display);
  font-size: 1.15rem; color: var(--pearl);
  margin-bottom: 10px;
}
.step-body p {
  font-size: 0.88rem; line-height: 1.8;
  color: var(--pewter); max-width: 500px;
}

/* ── RESULTS ── */
.results { background: var(--graphite); }
.results-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 16px;
}
.r-card {
  background: var(--carbon);
  padding: 40px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.4s;
}
.r-card:hover { border-color: var(--border-hover); }
.r-value {
  font-family: var(--display);
  font-size: 2.4rem; color: var(--pearl);
  line-height: 1; margin-bottom: 8px;
}
.r-label {
  font-size: 0.78rem; color: var(--pewter);
  margin-bottom: 20px;
}
.r-bar {
  height: 3px; background: rgba(194,184,164,0.08);
  border-radius: 2px; overflow: hidden;
}
.r-fill {
  height: 100%; background: var(--champagne);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.r-card.visible .r-fill { transform: scaleX(1); }

/* ── PRICING ── */
.pricing { background: var(--carbon); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; align-items: start;
}
.price-card {
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 44px 32px;
  transition: all 0.4s;
  position: relative;
}
.price-card:hover { border-color: var(--border-hover); }
.price-card.featured {
  border-color: rgba(194,184,164,0.2);
  background: linear-gradient(180deg, rgba(194,184,164,0.04) 0%, var(--graphite) 100%);
}
.pc-badge {
  display: inline-block;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 14px; border: 1px solid var(--champagne);
  color: var(--champagne); border-radius: 100px;
  margin-bottom: 18px;
}
.pc-tier {
  font-family: var(--display);
  font-size: 1.5rem; color: var(--champagne);
  margin-bottom: 8px;
}
.pc-price {
  font-family: var(--display);
  font-size: 2.2rem; color: var(--pearl);
  margin-bottom: 4px;
}
.pc-price span {
  font-size: 0.85rem; font-family: var(--body);
  color: var(--pewter); letter-spacing: 0;
}
.pc-desc {
  font-size: 0.82rem; color: var(--pewter);
  margin-bottom: 28px; line-height: 1.6;
}
.pc-list { margin-bottom: 32px; }
.pc-list li {
  font-size: 0.8rem; color: rgba(234,230,223,0.5);
  line-height: 2.3; padding-left: 16px;
  position: relative;
}
.pc-list li::before {
  content: ''; position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  background: var(--champagne); border-radius: 50%;
  opacity: 0.5;
}

/* ── FAQ ── */
.faq { background: var(--graphite); }
.faq-container { max-width: 760px; }
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 22px 0; text-align: left;
  font-size: 1rem; color: var(--pearl);
  font-weight: 400; transition: color 0.3s;
}
.faq-q:hover { color: var(--champagne); }
.faq-toggle {
  font-size: 1.2rem; color: var(--champagne);
  transition: transform 0.3s; flex-shrink: 0;
  width: 20px; text-align: center;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}
.faq-item.active .faq-a { max-height: 240px; padding-bottom: 22px; }
.faq-a p {
  font-size: 0.88rem; color: var(--pewter);
  line-height: 1.85;
}

/* ── CTA ── */
.cta {
  background: var(--carbon); text-align: center;
  padding: 140px 0;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2;
  color: var(--pearl); margin-bottom: 16px;
}
.cta-inner h2 em { font-style: italic; color: var(--champagne); }
.cta-inner p {
  font-size: 0.95rem; color: var(--pewter);
  line-height: 1.8; margin-bottom: 36px;
}
.cta-contact {
  margin-top: 40px;
  font-size: 0.75rem; letter-spacing: 0.1em; color: var(--pewter);
}
.cta-contact a { color: var(--champagne); transition: opacity 0.3s; }
.cta-contact a:hover { opacity: 0.7; }

/* ── FOOTER ── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--carbon);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
}
.footer-logo {
  font-family: var(--display);
  font-size: 0.95rem; color: var(--pearl); opacity: 0.6;
}
.footer-dot { color: var(--pewter); opacity: 0.3; }
.footer-sub { font-size: 0.72rem; color: var(--pewter); opacity: 0.5; }
.footer-copy {
  font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pewter); opacity: 0.4;
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid, .problem-cards { grid-template-columns: 1fr; max-width: 480px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-right { display: none; }
  .mobile-toggle { display: flex; }
  section { padding: 80px 0; }
  .hero { padding: 100px 24px 60px; }
  .hero-metrics { gap: 20px; }
  .step { flex-direction: column; gap: 12px; }
  .step-num { font-size: 1.6rem; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-brand { flex-direction: column; gap: 4px; }
  .cta { padding: 100px 0; }
}
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; max-width: 320px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
