:root {
  --midnight: #0d1117;
  --surface: #111827;
  --surface-2: #1a2235;
  --surface-3: #0f1924;
  --blue: #3b9eff;
  --blue-dim: #1a5fa8;
  --amber: #f5a623;
  --amber-dim: #7a4f0e;
  --text: #c8d3e0;
  --text-dim: #6b7a8f;
  --border: #1e2a3a;
  --grid: #131e2c;
  /* Solar accent palette */
  --solar-gold: #f5a623;
  --solar-orange: #e87020;
  --solar-bg: #0a1628;
}

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

body {
  background: var(--midnight);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* NAV */
.vela-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.vela-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
}
.nav-dashboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background: rgba(59,158,255,0.1);
  border: 1px solid rgba(59,158,255,0.3);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.nav-dashboard-btn:hover {
  background: rgba(59,158,255,0.18);
  border-color: rgba(59,158,255,0.5);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59,158,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,166,35,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--surface);
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
.hero-left h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 400px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Terminal Panel */
.hero-right { position: relative; }
.terminal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,158,255,0.05);
}
.panel-header {
  background: var(--surface-2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.panel-dots { display: flex; gap: 5px; }
.panel-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.panel-dots span:nth-child(1) { background: #ef4444; }
.panel-dots span:nth-child(2) { background: #f59e0b; }
.panel-dots span:nth-child(3) { background: #22c55e; }
.panel-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.panel-body { padding: 16px; }
.price-chart { margin-bottom: 14px; }
.chart-svg { width: 100%; height: 100px; display: block; }
.panel-metrics {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.metric {
  flex: 1;
  padding: 10px 12px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric:last-child { border-right: none; }
.metric-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.metric-val.blue { color: var(--blue); }
.metric-val.amber { color: var(--amber); }
.metric-unit {
  font-size: 10px;
  color: var(--text-dim);
}
.contracts-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contract-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  font-size: 12px;
}
.contract-item.contract-alert {
  border-color: rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.05);
}
.c-name {
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.c-date {
  color: var(--text-dim);
  font-size: 11px;
}
.c-urgent { color: var(--amber); font-weight: 600; }

/* HOW IT WORKS */
.howitworks {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.steps-track {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-card {
  flex: 1;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(59,158,255,0.4); }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step-icon {
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,158,255,0.08);
  border-radius: 10px;
  border: 1px solid rgba(59,158,255,0.2);
}
.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.step-connector {
  display: flex;
  align-items: center;
  padding: 0 4px;
  padding-top: 60px;
  flex-shrink: 0;
}

/* FEATURES */
.features {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(59,158,255,0.3);
  transform: translateY(-2px);
}
.feat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,158,255,0.08);
  border-radius: 10px;
  border: 1px solid rgba(59,158,255,0.15);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.feat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(59,158,255,0.3);
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(59,158,255,0.06);
}

/* DIFFERENTIATORS */
.differentiators {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.diff-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.diff-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.diff-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.diff-item:last-child { margin-bottom: 0; }
.diff-marker {
  flex-shrink: 0;
  margin-top: 3px;
}
.diff-item p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* CLOSING */
.closing {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,158,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 40px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.closing p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.closing-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 13px;
}
.ct-line {
  margin-bottom: 12px;
}
.ct-prompt {
  color: var(--amber);
  margin-right: 8px;
}
.ct-cmd {
  color: var(--blue);
}
.ct-output {
  font-size: 12px;
  line-height: 2;
  color: var(--text-dim);
}
.ct-ok { color: #22c55e; margin-right: 8px; }
.ct-warn { color: var(--amber); margin-right: 8px; }

/* SOLAR HERO */
.solar-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.solar-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(245,166,35,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(232,112,32,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.solar-hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.solar-hero-content { max-width: 680px; }
.solar-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.solar-hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--solar-gold);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: var(--solar-orange); transform: translateY(-1px); }
.trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--solar-gold);
}
.trust-stat-label { font-size: 12px; color: var(--text-dim); }
.solar-hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
}
@media (max-width: 768px) {
  .solar-hero { padding-top: 80px; }
  .solar-hero-image { display: none; }
}

/* SOCIAL PROOF */
.social-proof { padding: 80px 24px; border-top: 1px solid var(--border); }
.testimonials-grid {
  max-width: 1100px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name { font-size: 13px; font-weight: 600; color: #fff; }
.testimonial-role { font-size: 12px; color: var(--text-dim); }
.social-stats {
  max-width: 1100px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-card {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}
.stat-card .stat-val { font-size: 28px; }
.stat-card .stat-label { font-size: 13px; }
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .social-stats { grid-template-columns: 1fr; }
}

/* PRICING */
.pricing { padding: 80px 24px; border-top: 1px solid var(--border); }
.pricing-grid {
  max-width: 1000px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card.featured {
  border-color: var(--solar-gold);
  background: rgba(245,166,35,0.04);
}
.price-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.price-per { font-size: 14px; color: var(--text-dim); margin-top: 4px; }
.price-desc { font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.price-card.featured .price-amount { color: var(--solar-gold); }
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* LEAD FORM */
.lead-form-section {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.lead-form-inner {
  max-width: 680px;
  margin: 0 auto;
}
.lead-form-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.lead-form-inner p { font-size: 15px; color: var(--text-dim); margin-bottom: 32px; }
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; color: var(--text-dim); }
.form-field input,
.form-field select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--solar-gold); }
.rgpd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.rgpd-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--solar-gold); }
.form-submit {
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--solar-gold);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.form-submit:hover { background: var(--solar-orange); }
.form-success {
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
  font-size: 14px;
  display: none;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* FOOTER */
.vela-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}
.meta-sep { opacity: 0.4; }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-left h1 { font-size: 36px; }
  .hero-right { order: -1; }
  .hero { padding-top: 80px; }
  .steps-track { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .diff-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 16px; }
  .stat-val { font-size: 18px; }
  .closing-terminal { font-size: 11px; }
}