/* ======================
   NEPTUNEOS — THEME CSS
   ====================== */

:root {
  --bg-deep: #0c0c1a;
  --bg-surface: #12122a;
  --bg-card: #1a1a38;
  --bg-card-hover: #1f1f45;
  --indigo: #4f46e5;
  --indigo-dim: rgba(79, 70, 229, 0.15);
  --indigo-glow: rgba(79, 70, 229, 0.3);
  --teal: #0ea5e9;
  --teal-dim: rgba(14, 165, 233, 0.15);
  --green: #10b981;
  --red: #ef4444;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.1);
  --border-light: rgba(148, 163, 184, 0.06);
}

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ───────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(12, 12, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* ── HERO ───────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 40px 100px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(79,70,229,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.headline-accent {
  color: var(--indigo);
  position: relative;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 100px;
}
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── DASHBOARD MOCK ──────────────── */
.hero-visual {
  position: relative;
}
.dashboard-mock {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(79,70,229,0.08);
}
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.mock-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }
.mock-title {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.mock-btn {
  font-size: 10px;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(14,165,233,0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.mock-body { padding: 20px; }
.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.mock-metric {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px;
}
.metric-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.metric-delta {
  font-size: 10px;
  margin-top: 4px;
}
.metric-delta.up { color: var(--green); }
.metric-delta.neutral { color: var(--text-muted); }
.mock-chart {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 8px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  background: var(--indigo-dim);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}
.bar-active { background: var(--indigo); }
.bar-label {
  font-size: 9px;
  color: var(--text-muted);
}
.chart-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  margin-top: 4px;
}
.mock-deals {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.deal-row {
  display: grid;
  grid-template-columns: 8px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.deal-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hot { background: var(--red); box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.warm { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,0.4); }
.deal-name {
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deal-stage {
  font-size: 9px;
  color: var(--text-muted);
  background: var(--bg-deep);
  padding: 2px 8px;
  border-radius: 4px;
}
.deal-value {
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}

/* ── FLOATING CARDS ──────────────── */
.floating-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}
.card-1 {
  bottom: -20px;
  left: -30px;
  animation: float1 4s ease-in-out infinite;
}
.card-2 {
  top: 30px;
  right: -20px;
  animation: float2 5s ease-in-out infinite;
}
.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(239,68,68,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-icon.green { background: rgba(16,185,129,0.15); }
.fc-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}
.fc-sub {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11px;
}
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
}

/* ── SECTIONS ────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 56px;
}

/* ── PIPELINE SECTION ─────────────── */
.pipeline-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, transparent, rgba(79,70,229,0.03), transparent);
}
.pipeline-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-align: center;
}
.pipeline-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stage {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 280px;
}
.stage-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--indigo-dim);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}
.stage-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.stage-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.stage-connector {
  padding: 0 24px;
  flex-shrink: 0;
}

/* ── FEATURES ────────────────────── */
.features-section {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--indigo-dim);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── DIFFERENTIATORS ─────────────── */
.diff-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(14,165,233,0.02), transparent);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.diff-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.diff-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.diff-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}
.comp-grid {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.comp-header {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.comp-header span:not(:first-child) { text-align: center; }
.comp-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-secondary);
  align-items: center;
}
.comp-row:last-child { border-bottom: none; }
.check-cell, .x-cell { text-align: center; }

/* ── MISSION ─────────────────────── */
.mission-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.mission-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79,70,229,0.1), transparent);
}
.mission-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.mission-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
}
.mission-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.mission-attr {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── CLOSING ──────────────────────── */
.closing-section {
  padding: 100px 0 120px;
  text-align: center;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.7;
}
.closing-visual {
  display: flex;
  justify-content: center;
}
.orbit-ring {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid var(--indigo-dim);
  animation: spin 12s linear infinite;
}
.orbit-ring::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(14,165,233,0.2);
  animation: spin 8s linear infinite reverse;
}
.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(14,165,233,0.6);
}
.orbit-center {
  position: relative;
  z-index: 1;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── FOOTER ──────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-note { font-style: italic; }

/* ── RESPONSIVE ───────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .pipeline-stages { flex-direction: column; gap: 32px; }
  .stage-connector { transform: rotate(90deg); }
  .hero-stats { gap: 16px; }
  .nav { padding: 0 20px; }
  .hero { padding: 60px 20px 80px; }
  .section-inner { padding: 0 20px; }
  footer { padding: 40px 20px 32px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-headline { font-size: 36px; }
  .section-headline { font-size: 28px; }
}
