/* ForgeFlow — Modern Industrial Landing */

:root {
  --bg: #0A0E17;
  --bg-2: #111827;
  --surface: #141C2B;
  --surface-2: #1C2537;
  --border: #1F2937;
  --fg: #F9FAFB;
  --fg-2: #9CA3AF;
  --fg-3: #6B7280;
  --blue: #3B82F6;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --orange: #F97316;
  --orange-glow: rgba(249, 115, 22, 0.15);
  --green: #22C55E;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.15s;
}
.nav-cta:hover { background: #2563EB; text-decoration: none !important; }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(30%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(10, 14, 23, 0.5) 40%,
    rgba(10, 14, 23, 0.8) 70%,
    var(--bg) 100%
  );
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-glow);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--blue); }
.hero h1 .orange { color: var(--orange); }
.hero-desc {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #2563EB; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg-2);
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-ghost:hover { color: var(--fg); border-color: var(--fg-3); }
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--fg-3);
}
.hero-avatars {
  display: flex;
}
.hero-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.hero-avatars span:first-child { margin-left: 0; }

/* STATS BAR */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-number.blue { color: var(--blue); }
.stat-number.orange { color: var(--orange); }
.stat-number.green { color: var(--green); }
.stat-label {
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 500;
}

/* FEATURES */
.features { padding: 100px 0; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.blue { background: var(--blue-glow); color: var(--blue); }
.feature-icon.orange { background: var(--orange-glow); color: var(--orange); }
.feature-icon.green { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}
.feature-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* HOW IT WORKS */
.how { padding: 100px 0; background: var(--bg-2); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step {
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

/* CTA BAND */
.cta-band {
  padding: 100px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 17px;
  color: var(--fg-2);
  margin-bottom: 40px;
}
.cta-band .hero-actions { justify-content: center; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-3);
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a { color: var(--fg-3); font-size: 13px; }
.footer-links a:hover { color: var(--fg); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .features-grid, .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; padding: 0; text-align: left; }
  .stat-item:nth-child(even) { text-align: right; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .container, .nav-inner, .footer-inner { padding: 0 20px; }
  .hero { padding: 60px 0; min-height: 80vh; }
  .hero h1 { font-size: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}