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

:root {
  --nav-height: 64px;
  --bg: #0D0F14;
  --bg2: #131620;
  --bg3: #1A1E2E;
  --card: #161A27;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --blue: #3D52FF;
  --blue-light: #6B7FFF;
  --blue-glow: rgba(61,82,255,0.15);
  --text: #F0F2FF;
  --text2: #9EA8C8;
  --text3: #5C6888;
  --accent: #3D52FF;
  --accent2: #6B7FFF;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.nav-logo .brand-prev { color: var(--blue-light); }
.logo-icon {
  width: 32px; height: 32px;
  background: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; fill: white; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-light) !important; color: white !important; }

/* HERO */
  .hero {
    min-height: calc(100vh + var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
  }
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(61,82,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,82,255,0.1);
  border: 1px solid rgba(61,82,255,0.3);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .highlight {
  color: var(--blue-light);
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text2);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--blue);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border2);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--blue-light); background: var(--blue-glow); }

/* STAT BAR */
.stats-bar {
  padding: 3rem 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
}
.stat-number span { color: var(--blue-light); }
.stat-label {
  font-size: 0.85rem;
  color: var(--text2);
  margin-top: 0.3rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  display: none;
}

/* SECTIONS */
section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* PROBLEM */
.problem { background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover {
  border-color: rgba(61,82,255,0.4);
  transform: translateY(-3px);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}
.problem-icon {
  width: 44px; height: 44px;
  background: rgba(61,82,255,0.1);
  border: 1px solid rgba(61,82,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 0.92rem;
  color: var(--text2);
  line-height: 1.65;
}

/* SOLUTION */
.solution { background: var(--bg2); }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.solution-card:hover {
  border-color: rgba(61,82,255,0.4);
  transform: translateY(-3px);
}
.sol-icon {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.solution-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.solution-card p {
  font-size: 0.92rem;
  color: var(--text2);
  line-height: 1.65;
}

/* HOW IT WORKS */
.how { background: var(--bg); }
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.pipeline-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -1px;
  width: calc(100% - 80px);
  left: calc(50% + 40px);
  border-top: 2px dashed rgba(61,82,255,0.35);
  height: 0;
}
.step-num {
  width: 72px; height: 72px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  animation: stepPulse 3s ease-in-out infinite;
  transition: background-color 0.3s, transform 0.2s;
}

.step-num:hover {
  background-color: rgba(61,82,255,0.4);
  transform: translateY(-3px);
} 

.pipeline-step:nth-child(2) .step-num { animation-delay: 0.5s; }
.pipeline-step:nth-child(3) .step-num { animation-delay: 1s; }
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,82,255,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(61,82,255,0); }
}
.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
}
.pipeline-connector {
  position: absolute;
  top: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 100%);
  opacity: 0.3;
}

/* DIFFERENTIALS */
.diff { background: var(--bg2); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.diff-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}

.diff-card:hover { 
  border-color: rgba(61,82,255,0.4);
  transform: translateY(-3px);
}

.diff-icon {
  width: 42px; height: 42px;
  background: rgba(61,82,255,0.1);
  border: 1px solid rgba(61,82,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.diff-card p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.6;
}

/* CONTACT */
.contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.contact-info p {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text2);
}
.contact-detail strong { color: var(--text); }

.contact-dot {
  width: 8px; height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group.half { margin-bottom: 0; }
label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.01em;
}
input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
}
select option { background: var(--bg2); color: var(--text); }
textarea { resize: vertical; min-height: 100px; }
.char-counter {
  font-size: 0.78rem;
  color: rgba(125, 135, 156, 0.85);
  margin-top: 0.35rem;
  text-align: right;
}
.form-submit {
  width: 100%;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.form-submit:hover { background: var(--blue-light); transform: translateY(-1px); }
.form-note {
  font-size: 0.78rem;
  color: var(--text3);
  text-align: center;
  margin-top: 1rem;
}
.error-msg {
  display: none;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: #92400e;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.required-star {
  color: #ef4444;
  margin-left: 0.25rem;
}

/* FOOTER */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--blue-light); }
footer p {
  font-size: 0.85rem;
  color: var(--text3);
}

/* SUCCESS */
.success-msg {
  display: none;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: #86efac;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .pipeline {
    flex-direction: column;
    gap: 2.5rem;
  }
  .pipeline-step::after { display: none !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 1.25rem; }
}
