/* ===== PeerDent — Dark Bold Theme ===== */

/* --- Reset & Variables --- */
:root {
  --bg:         #0a0a0a;
  --bg2:        #111111;
  --bg3:        #1a1a1a;
  --bg4:        #222222;
  --surface:    #161616;
  --text:       #f0f0f0;
  --text2:      #b0b0b0;
  --muted:      #666;
  --teal:       #0a7c72;
  --teal-light: #0ea58f;
  --blue:       #2598ee;
  --gold:       #f5a623;
  --red:        #e5484d;
  --border:     #2a2a2a;
  --border2:    #333;
  --radius:     12px;
  --radius-lg:  20px;
  --font:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-w:      1200px;
  --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Container --- */
.container { width: min(var(--max-w), 90%); margin: 0 auto; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.1; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.6rem; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text2); max-width: 800px; line-height: 1.7; }
.kicker {
  font-size: 0.8rem;
  color: var(--teal-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.gold { color: var(--gold); font-weight: 700; }
.teal { color: var(--teal-light); }
.red { color: var(--red); }

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo .peer { color: #fff; }
.nav-logo .dent { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text2);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal-light);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 124, 114, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--teal-light);
  border-color: var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}
.btn-large { padding: 18px 40px; font-size: 1.1rem; border-radius: 12px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.5rem; }

/* --- Sections --- */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--bg3); }
.section-border { border-top: 1px solid var(--border); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Hero --- */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(10, 124, 114, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(37, 152, 238, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-logo {
  width: clamp(280px, 40vw, 480px);
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 30px rgba(37, 152, 238, 0.15));
}
.hero-brand {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2rem;
}
.hero-brand .peer { color: #fff; }
.hero-brand .dent { color: var(--blue); }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { margin-bottom: 0; }

/* --- Cards --- */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-accent { border-top: 3px solid var(--teal); }
.card-accent-gold { border-top: 3px solid var(--gold); }
.card-accent-blue { border-top: 3px solid var(--blue); }
.card-accent-red { border-top: 3px solid var(--red); }
.card p { color: var(--text2); }
.card .number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.8rem;
  opacity: 0.4;
}

/* --- Quote Block --- */
.quote-block {
  border-left: 4px solid var(--teal);
  padding: 24px 28px;
  background: linear-gradient(to right, rgba(10, 124, 114, 0.08), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.quote-block p { color: var(--text2); font-size: 1.15rem; line-height: 1.7; }
.quote-block .gold { font-size: 1.3rem; }

/* --- Problem Section --- */
.problem-headline {
  color: var(--red);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  max-width: 800px;
}

/* --- Pillar Sections --- */
.pillar { padding: 80px 0; }
.pillar-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -1rem;
}
.pillar h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }
.pillar p { color: var(--text2); max-width: 700px; font-size: 1.05rem; line-height: 1.7; }

/* --- Anti-list (What you won't get) --- */
.anti-list { display: grid; gap: 16px; margin-top: 2rem; }
.anti-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(229, 72, 77, 0.05);
  border: 1px solid rgba(229, 72, 77, 0.15);
  border-radius: var(--radius);
}
.anti-item .x {
  color: var(--red);
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.anti-item p { color: var(--text2); margin: 0; }

/* --- Module Table --- */
.module-grid { display: grid; gap: 20px; margin-top: 2rem; }
.module-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  align-items: start;
}
.module-row:hover {
  border-color: var(--teal);
  background: rgba(10, 124, 114, 0.03);
}
.module-name {
  font-weight: 800;
  color: var(--teal-light);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.module-desc { color: var(--text2); line-height: 1.6; }

/* --- Pricing --- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 0 60px rgba(10, 124, 114, 0.1);
  position: relative;
}
.price-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-amount { font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 1.5rem; }
.price-card ul { margin-bottom: 2rem; flex: 1; }
.price-card li {
  padding: 8px 0;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: '✓';
  color: var(--teal-light);
  font-weight: 800;
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-grid { display: grid; gap: 16px; margin-top: 2rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg3); }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--teal-light);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text2); line-height: 1.7; }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 2rem; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.team-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1.2rem;
}
.team-card h3 { margin-bottom: 0.3rem; }
.team-role { color: var(--teal-light); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.team-card p { color: var(--text2); font-size: 0.95rem; }

/* --- Values --- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 2rem; }
.value-card {
  padding: 32px 28px;
  border-left: 3px solid var(--teal);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.value-card h3 { color: var(--gold); margin-bottom: 0.5rem; }
.value-card p { color: var(--text2); }

/* --- Forms --- */
.form-grid { display: grid; gap: 20px; max-width: 600px; }
.field label {
  display: block;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 124, 114, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
  margin: 2rem 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  margin: 2rem 0;
}
.cta-banner h2 { margin-bottom: 0.8rem; }
.cta-banner p { color: var(--text2); max-width: 600px; margin: 0 auto 1.5rem; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg2);
  color: var(--text2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--text2);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom small { color: var(--muted); font-size: 0.8rem; }

/* --- Sticky Mobile CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  z-index: 90;
}
.mobile-cta .btn { width: 100%; }

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg2);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border);
    z-index: 105;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1.1rem;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 1rem; width: 100%; }
  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 102;
  }
  .mobile-overlay.open { display: block; }
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 110px; padding-bottom: 60px; min-height: auto; }
  .hero-logo { width: clamp(200px, 60vw, 340px); }
  .module-row { grid-template-columns: 1fr; gap: 8px; }
  .price-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .card { padding: 24px 20px; }
  .price-card { padding: 32px 24px; }
}
