/* ============================================
   LEAD ENGINE LAB — Interactive Pitch Website
   Brand: Dark Navy + Electric Blue
   ============================================ */

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

:root {
  --bg: #0a0e17;
  --bg-alt: #0d1221;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --blue-glow: rgba(59,130,246,0.12);
  --green: #10B981;
  --green-light: #34D399;
  --amber: #F59E0B;
  --amber-light: #FBBF24;
  --red: #EF4444;
  --white: #f8fafc;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255,255,255,0.08);
  --border-blue: rgba(59,130,246,0.3);
  --border-amber: rgba(245,158,11,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: .3em; }
h3 { font-size: clamp(1.1rem,2.5vw,1.4rem); }
p { max-width: 680px; }
.text-center p { margin-left: auto; margin-right: auto; }
a { color: var(--blue-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--white); }
strong { color: var(--white); }

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; position: relative; }
section:nth-child(even) { background: var(--bg-alt); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue);
  padding: .3em .8em;
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  background: var(--blue-glow);
  margin-bottom: .8rem;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin-bottom: 2.5rem; }
.section-divider { width: 60px; height: 3px; background: linear-gradient(90deg,var(--blue),transparent); border: none; margin: 1rem 0 1.5rem; }
.text-center .section-divider { margin-left: auto; margin-right: auto; }

/* --- Scroll Animations --- */
.reveal-item {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-item.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: .8rem 0;
  background: rgba(10,14,23,.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 40px; filter: brightness(0) invert(1); }
.nav-cta {
  padding: .45em 1.2em; font-size: .85rem; font-weight: 600;
  color: var(--white); background: var(--blue); border: none; border-radius: 8px;
  cursor: pointer; transition: all var(--ease); text-decoration: none;
}
.nav-cta:hover { background: var(--blue-light); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(59,130,246,.4); }

/* --- Hero --- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 5rem 0 2rem;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle,rgba(59,130,246,.12) 0%,transparent 70%);
  pointer-events: none;
}
.hero-logo {
  width: clamp(200px,30vw,320px); margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 40px rgba(59,130,246,.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.gradient-text {
  background: linear-gradient(135deg,var(--blue),var(--blue-light),var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-tagline { font-size: clamp(1rem,2.2vw,1.25rem); color: var(--text-muted); max-width: 550px; margin: 0 auto 2rem; }
.hero-badge { display: inline-block; font-size: .8rem; padding: .5em 1.2em; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounce 2s infinite; color: var(--text-dim); font-size: 1.5rem;
}
@keyframes bounce { 0%,20%,50%,80%,100%{transform:translateX(-50%) translateY(0)} 40%{transform:translateX(-50%) translateY(-10px)} 60%{transform:translateX(-50%) translateY(-5px)} }

/* --- Founder --- */
.founder-row { display: flex; align-items: center; gap: 2.5rem; }
.founder-photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--border-blue); box-shadow: 0 0 30px rgba(59,130,246,.15); flex-shrink: 0;
}
.founder-info h3 { color: var(--white); margin-bottom: .2em; }
.founder-role { color: var(--blue-light); font-size: .9rem; margin-bottom: .8rem; }

/* --- Stat Cards --- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.2rem; margin-top: 2rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.2rem; text-align: center; transition: all var(--ease);
}
.stat-card:hover { background: var(--bg-card-hover); border-color: var(--border-blue); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(59,130,246,.1); }
.stat-number {
  font-family: var(--font-h); font-size: 2.8rem; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: .3em;
}
.stat-number.blue { color: var(--blue); }
.stat-number.green { color: var(--green); }
.stat-number.amber { color: var(--amber); }
.stat-number.red { color: var(--red); }
.stat-label { font-size: .85rem; color: var(--text-muted); line-height: 1.4; }
.stat-source { font-size: .7rem; color: var(--text-dim); margin-top: .5em; font-style: italic; }

/* --- Cards --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.2rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: all var(--ease);
}
.card:hover { background: var(--bg-card-hover); border-color: var(--border-blue); transform: translateY(-3px); }
.card-icon { font-size: 2rem; margin-bottom: .8rem; }
.card h3 { color: var(--white); margin-bottom: .4em; font-size: 1.1rem; }

/* --- Flow --- */
.flow-timeline { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.flow-step { text-align: center; flex: 0 0 200px; padding: 1rem; }
.flow-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--blue-glow); border: 2px solid var(--border-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto .8rem; transition: all var(--ease);
}
.flow-step:hover .flow-icon { background: rgba(59,130,246,.25); transform: scale(1.1); box-shadow: 0 0 25px rgba(59,130,246,.3); }
.flow-arrow { display: flex; align-items: center; padding-top: 2rem; color: var(--text-dim); font-size: 1.5rem; }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .9rem; }
.comparison-table th { padding: 1rem .8rem; text-align: center; font-size: .8rem; font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: .05em; }
.comparison-table th:first-child { text-align: left; }
.comparison-table td { padding: .9rem .8rem; text-align: center; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.comparison-table td:first-child { text-align: left; color: var(--text); }
.comparison-table tr:last-child { background: var(--blue-glow); }
.comparison-table tr:last-child td { color: var(--white); font-weight: 600; border-color: var(--border-blue); }
.check { color: var(--green) !important; font-weight: 700; }
.cross { color: var(--red) !important; opacity: .6; }
.partial { color: var(--amber) !important; }

/* --- Mockups --- */
.mockup-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.mockup-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all var(--ease); }
.mockup-item:hover { border-color: var(--border-blue); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.mockup-item img { width: 100%; display: block; }
.mockup-item p { padding: .8rem 1rem; font-size: .85rem; color: var(--text-muted); text-align: center; background: var(--bg-card); }

/* --- Scenarios --- */
.scenarios-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.2rem; }
.scenario { border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--border); background: var(--bg-card); transition: all var(--ease); }
.scenario:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.scenario.conservador { border-color: rgba(245,158,11,.3); }
.scenario.base { border-color: var(--border-blue); background: rgba(59,130,246,.06); }
.scenario.optimista { border-color: rgba(16,185,129,.3); }
.scenario-number { font-family: var(--font-h); font-size: 3.5rem; font-weight: 800; line-height: 1; }

/* --- Costs --- */
.cost-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1rem; margin: 1.5rem 0; }
.cost-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.cost-label { font-size: .85rem; color: var(--text-muted); }
.cost-amount { font-family: var(--font-h); font-weight: 700; color: var(--white); font-size: 1.1rem; }
.cost-total { display: inline-block; padding: .8rem 1.5rem; background: var(--bg-card); border: 1px solid var(--blue); border-radius: var(--radius-sm); margin-top: .5rem; }

/* --- Ask --- */
.ask-amount {
  font-family: var(--font-h); font-size: clamp(3rem,8vw,5rem); font-weight: 800;
  background: linear-gradient(135deg,var(--blue),var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}
.ask-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1rem; margin-top: 2rem; }
.ask-item { text-align: center; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.ask-icon { font-size: 2rem; margin-bottom: .5rem; }

/* --- Traction --- */
.traction-list { list-style: none; max-width: 650px; }
.traction-list li { padding: .8rem 0 .8rem 1.8rem; border-bottom: 1px solid var(--border); position: relative; font-size: .95rem; }
.traction-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* --- Scale Bars --- */
.scale-bar-container { margin: .8rem 0; }
.scale-bar-label { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .3rem; }
.scale-bar { height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; }
.scale-bar-fill { height: 100%; border-radius: 100px; width: 0; transition: width 1.5s cubic-bezier(.4,0,.2,1); }
.scale-bar-fill.blue { background: linear-gradient(90deg,var(--blue),var(--blue-light)); }
.scale-bar-fill.green { background: linear-gradient(90deg,var(--green),var(--green-light)); }
.scale-bar-fill.amber { background: linear-gradient(90deg,var(--amber),var(--amber-light)); }

/* --- CTA --- */
.cta-section { text-align: center; padding: 5rem 0; position: relative; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle,rgba(59,130,246,.08) 0%,transparent 70%); pointer-events: none; }
.contact-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.contact-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); transition: all var(--ease); font-size: .95rem;
}
.contact-link:hover { border-color: var(--blue); background: var(--blue-glow); color: var(--white); transform: translateY(-2px); }

/* --- Tags --- */
.highlight { color: var(--blue-light); font-weight: 600; }
.tag { display: inline-block; padding: .2em .6em; border-radius: 6px; font-size: .8rem; font-weight: 600; }
.tag-blue { background: var(--blue-glow); color: var(--blue-light); border: 1px solid var(--border-blue); }
.tag-green { background: rgba(16,185,129,.1); color: var(--green-light); border: 1px solid rgba(16,185,129,.3); }
.tag-amber { background: rgba(245,158,11,.1); color: var(--amber-light); border: 1px solid rgba(245,158,11,.3); }

/* --- Footer --- */
.footer { padding: 2rem 0; text-align: center; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .8rem; }

/* --- Responsive --- */
@media (max-width:768px) {
  section { padding: 4rem 0; }
  .founder-row { flex-direction: column; text-align: center; }
  .founder-photo { width: 120px; height: 120px; }
  .founder-info p { max-width: 100%; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-number { font-size: 2.2rem; }
  .flow-timeline { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); padding: .5rem 0; }
  .comparison-table { font-size: .75rem; }
  .comparison-table th,.comparison-table td { padding: .6rem .4rem; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .contact-links { flex-direction: column; align-items: center; }
}
@media (max-width:480px) {
  .stats-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
