/* GenDiligence Design System - Exact Wix Visual Fidelity */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Marcellus&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #05345B;
  --primary-light: #0d4a7a;
  --accent: #40CF8E;
  --accent-hover: #35b57a;
  --accent-light: #e8f9f2;
  --text-dark: #05345B;
  --text-muted: #52667a;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --white: #ffffff;
  --shadow-card: 0 10px 30px rgba(5, 52, 91, 0.08);
  --shadow-sm: 0 2px 8px rgba(5, 52, 91, 0.04);
  --shadow-lg: 0 15px 35px rgba(5, 52, 91, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-serif: "Marcellus", Georgia, serif;
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 400;
  line-height: 1.18;
}

h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.3;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(64, 207, 142, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 207, 142, 0.45);
}

.btn-navy {
  background-color: var(--primary);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Header (Clean White Header matching Wix) */
.site-header {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  height: 38px;
}

.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-hover);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-login {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-login:hover {
  color: var(--accent-hover);
}

/* HERO SECTION (Clean White Background, Left-Aligned Headline) */
.hero-section {
  background-color: var(--white);
  padding: 60px 0 30px;
  position: relative;
  background-image: radial-gradient(#edf4f8 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-left-box {
  max-width: 800px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 3.8rem;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  color: var(--primary);
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-cta {
  font-size: 1.05rem;
  padding: 12px 28px;
}

/* Hero Video Box */
.hero-video-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(5,52,91,0.18);
  border: 1px solid var(--border-light);
  background-color: #000;
  aspect-ratio: 16/9;
  margin-top: 10px;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Partners Strip (Directly below hero video) */
.partners-section {
  padding: 45px 0 55px;
  text-align: center;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 24px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.25s ease;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* AVOID THE PITFALLS SECTION */
.pitfalls-section {
  padding: 60px 0 70px;
  background-color: var(--white);
}

.pitfalls-header {
  margin-bottom: 35px;
}

.pitfalls-title {
  font-size: 2.75rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.pitfalls-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}

.pitfalls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pitfall-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  min-height: 160px;
}

.pitfall-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.pitfall-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  height: 42px;
}

.pitfall-icon-wrap svg {
  height: 38px;
  width: 38px;
  fill: var(--accent);
}

.pitfall-text {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}

/* TRANSFORM YOUR DUE DILIGENCE EXPERIENCE */
.transform-section {
  padding: 70px 0;
  background-color: var(--white);
}

.transform-header {
  text-align: center;
  margin-bottom: 50px;
}

.transform-title {
  font-size: 2.75rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.transform-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.feature-pill-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-pill-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.feature-pill-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-pill-icon svg {
  width: 38px;
  height: 38px;
}

.feature-pill-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.transform-image-col {
  text-align: center;
}

.transform-image-col img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: inline-block;
}

/* WE UNDERSTAND YOUR CHALLENGES */
.challenges-section {
  padding: 70px 0;
  background-color: var(--bg-light);
}

.challenges-header {
  text-align: center;
  margin-bottom: 45px;
}

.challenges-title {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.challenges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.challenge-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.challenge-card h6 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.quote-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0d4a7a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.quote-banner p {
  color: rgba(255,255,255,0.95);
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 16px;
}

.quote-banner .author {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

/* 3 SIMPLE STEPS */
.steps-section {
  padding: 75px 0;
  background-color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

/* TESTIMONIAL */
.testimonial-section {
  padding: 70px 0;
  background-color: var(--bg-light);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 35px;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
}

.testimonial-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PRICING */
.pricing-section {
  padding: 75px 0;
  background-color: var(--white);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
}

.pricing-toggle-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--primary);
  border-radius: 34px;
  transition: .3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 4px; bottom: 4px;
  background-color: var(--accent);
  border-radius: 50%;
  transition: .3s;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(28px);
}

.save-badge {
  background-color: #ffeedb;
  color: #c25e00;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}

.pricing-card-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-plan-name {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* CTA BANNER & FOOTER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #03213a 100%);
  color: var(--white);
  padding: 75px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto 35px;
  font-size: 1.15rem;
}

.site-footer {
  background-color: #03213a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 52, 91, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-input, .form-textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; color: var(--text-dark); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(64, 207, 142, 0.25); }

/* DEMO PAGE STYLES */
.demo-hero {
  background-color: var(--white);
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.demo-hero h1 {
  font-size: 3.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.demo-hero-lead {
  font-family: var(--font-heading);
  color: var(--accent-hover);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.demo-hero-text {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.demo-module {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 55px;
  box-shadow: var(--shadow-card);
}

.demo-module-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.demo-video-box {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.demo-video-box video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.demo-module-narration {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 20px;
}

.demo-module-narration p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.demo-module-narration p:last-child { margin-bottom: 0; }

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  padding: 6px 14px;
  background-color: var(--accent-light);
  border-radius: var(--radius-pill);
}

.coupon-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  padding: 35px;
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
}

.coupon-code {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin: 10px 0;
  letter-spacing: 2px;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none; border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--primary);
}

.faq-question:hover { color: var(--accent-hover); }
.faq-icon { width: 20px; height: 20px; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 28px; }
.faq-item.active .faq-answer { max-height: 600px; padding: 0 28px 24px; }

@media (max-width: 1024px) {
  .pitfalls-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.75rem; }
  .pitfalls-title, .transform-title { font-size: 2.2rem; }
  .pitfalls-grid { grid-template-columns: 1fr; }
  .challenges-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex-direction: column; text-align: center; }
  .nav-menu { display: none; }
}
