/* ==============================
   Scout — Landing Page Styles
   Dark premium + electric green
   ============================== */

:root {
  --bg: #080C10;
  --surface: #0D1117;
  --surface-2: #111827;
  --border: #1C2433;
  --border-2: #2A3445;
  --green: #00E676;
  --green-dim: rgba(0, 230, 118, 0.08);
  --text: #F0F4F8;
  --text-muted: #6B7F99;
  --text-dim: #3D5066;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 36, 51, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 51, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  background: var(--surface);
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 2rem;
}

/* TERMINAL */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.04), 0 20px 60px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: var(--surface-2);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }
.terminal-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.terminal-body {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.terminal-line {
  display: grid;
  grid-template-columns: 60px 80px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.72rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.terminal-line:last-child { border-bottom: none; }
.terminal-dim { opacity: 0.35; }
.tl-time { color: var(--text-dim); }
.tl-label { color: var(--text-muted); font-size: 0.68rem; }
.tl-val { color: var(--text); }
.tl-status {
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 500;
}
.tl-done { background: rgba(0, 230, 118, 0.1); color: var(--green); }
.tl-active { background: rgba(0, 230, 118, 0.15); color: var(--green); }
.terminal-footer {
  padding: 0.6rem 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tl-cursor {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--green);
}
.cursor-blink {
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity:1; } 50% { opacity:0; } }
.tl-hint { font-size: 0.7rem; color: var(--text-dim); }

/* SECTIONS */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 4rem;
}

/* HOW IT WORKS */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: start;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.hiw-step {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  min-width: 180px;
  flex: 1;
}
.step-number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.step-icon { margin-bottom: 0.8rem; }
.hiw-step h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.hiw-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.hiw-arrow {
  display: flex;
  align-items: center;
  padding-top: 3rem;
  flex-shrink: 0;
}

/* FEATURES */
.features { background: var(--surface); }
.features .section-inner { padding-top: 5rem; padding-bottom: 5rem; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.feat-card {
  background: var(--surface);
  padding: 2rem 1.8rem;
  transition: background 0.2s;
}
.feat-card:hover { background: var(--surface-2); }
.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--green-dim);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.feat-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CLOSING */
.closing {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { position: relative; max-width: 720px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 100px 1.5rem 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-terminal { order: -1; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-arrow { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}