/* ===== CREDLI.AI LANDING PAGE - CLEAN CSS ===== */

/* ===== CSS VARIABLES ===== */
:root {
  --text: #070707;
  --bg: #FFFFFF;
  --paper: #FAFAFA;
  --brand: #3454D1;
  --header: #F77F00;
  --btn: #BBE1C3;
  --btn-hover: #A9D6B9;
  --line: #E3E6EC;
  --warning: #DC3545;
  --success: #28A745;
  --gradient-primary: linear-gradient(135deg, #3454D1 0%, #5B73E8 100%);
  --gradient-accent: linear-gradient(135deg, #F77F00 0%, #FF8C42 100%);
  --shadow-light: 0 2px 8px rgba(52, 84, 209, 0.1);
  --shadow-medium: 0 8px 32px rgba(52, 84, 209, 0.15);
  --shadow-heavy: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--header);
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.nav-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo h2 {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: -5px;
}

.tagline {
  font-size: 0.8rem;
  color: var(--header);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.cta-nav {
  background: var(--btn);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cta-nav:hover {
  background: var(--btn-hover);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 250px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-item:hover {
  background: var(--paper);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 0 80px;
  background: var(--bg);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-cta {
  margin-top: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--btn);
  color: var(--text);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--btn-hover);
}

/* ===== TRUST SCORE DEMO ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-score-demo {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  max-width: 400px;
  width: 100%;
}

.demo-header {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text);
}

.score-circle {
  text-align: center;
  margin-bottom: 2rem;
}

.score-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand);
}

.score-label {
  font-size: 1rem;
  color: var(--text);
  margin-top: 0.5rem;
}

.breakdown {
  space-y: 1rem;
}

.breakdown-item {
  margin-bottom: 1rem;
}

.breakdown-item span {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.bar {
  background: var(--line);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  background: var(--brand);
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.warning {
  color: var(--warning);
}

.warning-text {
  font-size: 0.9rem;
  color: var(--warning);
  font-weight: 500;
}

/* ===== MAIN SECTIONS ===== */
.what-we-do {
  padding: 80px 0;
  background: var(--paper);
}

.section-subheading {
  font-size: 1.8rem;
  color: var(--header);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background: var(--paper);
  font-weight: 600;
  color: var(--text);
}

/* ===== BENEFITS ===== */
.benefits-stack {
  display: grid;
  gap: 1.5rem;
  margin: 3rem 0;
}

.benefit-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--brand);
}

.benefit-card h4 {
  color: var(--brand);
  margin-bottom: 0.5rem;
}

/* ===== WHY NOW SECTION ===== */
.why-now {
  padding: 80px 0;
  background: var(--bg);
}

.urgency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stat-callouts {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text);
}

.timeline-graphic {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
}

.timeline-dot.early {
  background: var(--success);
}

.timeline-dot.late {
  background: var(--warning);
}

.timeline-content h4 {
  color: var(--brand);
  margin-bottom: 0.5rem;
}

/* ===== BETA BLOCKS ===== */
.beta-block-2,
.beta-block-3,
.beta-block-4 {
  padding: 80px 0;
  background: var(--paper);
}

.beta-content-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
}


.beta-cta {
  text-align: center;
  margin: 2rem 0;
}

.beta-reserve-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.beta-reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.beta-benefits {
  margin: 2rem 0;
}

.benefit-item {
  margin-bottom: 1.5rem;
}

.benefit-content h4 {
  color: var(--brand);
  margin-bottom: 0.5rem;
}

/* ===== WHO SECTION ===== */
.who-section {
  padding: 80px 0;
  background: var(--bg);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 3rem 0;
}

.who-for,
.who-not {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.who-for {
  border-left: 4px solid var(--success);
}

.who-not {
  border-left: 4px solid var(--warning);
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  padding: 80px 0;
  background: var(--paper);
}


.timeline {
  display: grid;
  gap: 4rem;
  margin: 3rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: sticky;
  top: 2rem;
}

.timeline-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.timeline-unit {
  font-size: 1rem;
  color: var(--header);
  font-weight: 500;
}

.timeline-content {
  min-height: auto;
}

.timeline-content h3 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.timeline-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-content li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.timeline-metric {
  background: var(--brand);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}


/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 80px 0;
  background: var(--bg);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.proof-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  text-align: center;
}

.proof-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1rem;
}


/* ===== CITATIONS ===== */
.citations {
  padding: 40px 0;
  background: var(--bg);
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* ===== FOOTER ===== */
.footer {
  background: #3454D1;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #ccc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-legal {
  border-top: 1px solid #333;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.legal-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: white;
}

.footer-legal-disclaimer {
  background: #333;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.footer-legal-disclaimer p {
  font-size: 0.8rem;
  color: #ccc;
  text-align: center;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.footer-bottom p {
  color: #ccc;
  font-size: 0.9rem;
}

/* ===== POPUP ===== */
.trust-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.trust-popup {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
}

.popup-header h2 {
  color: var(--brand);
  text-align: center;
  margin-bottom: 1rem;
}

.urgency-badge {
  background: var(--gradient-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
  margin: 1rem 0;
}

.benefits-list {
  margin: 2rem 0;
}

.benefit-icon {
  margin-right: 0.5rem;
}

.signup-form {
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
}

.signup-options {
  margin: 2rem 0;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.option-price {
  font-weight: 600;
  color: var(--brand);
}

.submit-button {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .urgency-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stat-callouts {
    justify-content: center;
  }
  
  .who-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .legal-links {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-popup {
    padding: 2rem;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .trust-score-demo {
    padding: 1.5rem;
  }
  
  .beta-content-block {
    padding: 2rem;
  }
}