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

:root {
  --bg: #0a0a0a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1f2442;
  --border: #2a2a4a;
  --text: #e0e0e0;
  --text-dim: #8888aa;
  --accent: #e94560;
  --accent-glow: #ff2e63;
  --accent2: #0f3460;
  --success: #4ecca3;
}

html {
  scroll-behavior: smooth;
}

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

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 42, 74, 0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-signin {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 24px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-signin:hover {
  background: var(--accent);
  color: #fff;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 480px;
}

.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--accent), #c23152);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(233, 69, 96, 0.45);
}

/* HERO VISUAL — dashboard mockup */
.hero-visual {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
}

.screen-mock {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.screen-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #12122a;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #e94560; }
.dot.yellow { background: #f0c040; }
.dot.green { background: #4ecca3; }

.screen-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mock-block {
  height: 10px;
  background: var(--border);
  border-radius: 3px;
}
.mock-block.w40 { width: 40%; }
.mock-block.w20 { width: 20%; }
.mock-block.w10 { width: 10%; }
.mock-block.accent-bg { background: var(--accent); opacity: 0.6; }
.mock-block.square { height: 24px; width: 24px; border-radius: 4px; }

.mock-cols {
  display: flex;
  gap: 12px;
}

.mock-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.04);
}

.mock-col.narrow { flex: 0.5; }

.mock-line {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  width: 100%;
}
.mock-line.short { width: 60%; }
.mock-line.accent-line { background: var(--accent); opacity: 0.5; }

.mock-transport {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.mock-progress {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.mock-progress-fill {
  width: 38%;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  animation: progress-anim 4s ease-in-out infinite;
}

@keyframes progress-anim {
  0%, 100% { width: 25%; }
  50% { width: 65%; }
}

/* FEATURES */
.features {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: 0 8px 32px rgba(233, 69, 96, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 32px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 23px;
  flex-shrink: 0;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: 80px 32px 100px;
  background: linear-gradient(180deg, transparent, rgba(233, 69, 96, 0.04));
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    gap: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    max-width: 100%;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-connector {
    width: 2px;
    height: 24px;
    margin: 0;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
