/* ── FDM Foreman — Light Corporate SaaS Theme ─────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --yellow:       #f5c300;
  --yellow-dark:  #d4a800;
  --yellow-light: #fff8d6;
  --blue:         #0ea5e9;
  --blue-dark:    #0284c7;
  --blue-light:   #e0f2fe;
  --dark:         #0d1117;
  --dark-2:       #161b22;
  --bg:           #f8f9fa;
  --surface:      #ffffff;
  --surface-2:    #f1f3f5;
  --border:       #e2e8f0;
  --border-dark:  #cbd5e1;
  --text:         #0f172a;
  --text-2:       #475569;
  --text-3:       #94a3b8;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-yellow:0 4px 24px rgba(245,195,0,0.25);
  --shadow-blue:  0 4px 24px rgba(14,165,233,0.20);
  --font:         'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,0.04);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-logo img {
  height: 250px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(245,195,0,0.3)) drop-shadow(0 2px 8px rgba(14,165,233,0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 24px rgba(245,195,0,0.45)) drop-shadow(0 2px 12px rgba(14,165,233,0.3));
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
}

.nav-right { justify-content: flex-end; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--text); font-weight: 600; }

.btn-nav {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  background: var(--yellow);
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-yellow);
}

.btn-nav:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,195,0,0.35);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,195,0,0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--text-3);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,165,233,0.35);
}

.btn-dark {
  background: var(--dark);
  color: white;
  box-shadow: var(--shadow);
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 16px;
  padding: 15px 36px;
  border-radius: 12px;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--surface);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(245,195,0,0.08) 0%, rgba(14,165,233,0.05) 50%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-light);
  border: 1px solid rgba(245,195,0,0.3);
  color: #92700a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero h1 .accent-yellow { color: var(--yellow-dark); }
.hero h1 .accent-blue   { color: var(--blue); }

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num .unit { color: var(--yellow-dark); }

.hero-stat-label {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

/* ── Dashboard Preview ────────────────────────────────────────────────────── */
.dashboard-preview {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-width: 900px;
  margin: 0 auto 0;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}

.dashboard-preview::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(245,195,0,0.3), rgba(14,165,233,0.3));
  z-index: -1;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.d-card {
  background: var(--dark-2);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.d-card-title {
  font-size: 11px;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  font-weight: 600;
}

.d-printer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}

.d-printer:last-child { border-bottom: none; }
.d-printer-name { color: #e6edf3; font-weight: 500; }

.d-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}

.d-status.printing  { background: rgba(14,165,233,0.15); color: #38bdf8; }
.d-status.idle      { background: rgba(255,255,255,0.06); color: #8b949e; }
.d-status.complete  { background: rgba(34,197,94,0.15); color: #4ade80; }
.d-status.error     { background: rgba(239,68,68,0.15); color: #f87171; }

.d-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.d-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #38bdf8);
}

.d-stat-big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 2px;
}

.d-stat-sub { font-size: 12px; color: #8b949e; }

.d-job-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}

.d-job-row:last-child { border-bottom: none; }
.d-job-name { color: #e6edf3; flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-job-mat  { color: #8b949e; font-size: 11px; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-sm { padding: 64px 24px; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.65;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Features Grid ────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245,195,0,0.15);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.feature-icon.blue { background: var(--blue-light); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  background: var(--surface);
  padding: 36px 28px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.step p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-section {
  background: var(--dark);
  padding: 96px 24px;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-section .section-label { color: var(--yellow); }
.pricing-section .section-title { color: white; }
.pricing-section .section-sub   { color: #8b949e; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.pricing-card {
  background: var(--dark-2);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.25s, transform 0.2s;
}

.pricing-card:hover {
  border-color: rgba(245,195,0,0.3);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px rgba(245,195,0,0.3), var(--shadow-yellow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b949e;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 20px;
  font-weight: 500;
  color: #8b949e;
}

.pricing-desc {
  font-size: 13px;
  color: #8b949e;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  color: #c9d1d9;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.muted { color: #8b949e; }
.pricing-features li.muted::before { color: #484f58; }

.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn-pricing-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.btn-pricing-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.btn-pricing-yellow {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: var(--shadow-yellow);
}

.btn-pricing-yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,195,0,0.4);
}

/* ── Dark band ────────────────────────────────────────────────────────────── */
.dark-band {
  background: var(--dark);
  padding: 80px 24px;
}

.dark-band .section-title { color: white; }
.dark-band .section-sub   { color: #8b949e; }

/* ── Klipper badge ────────────────────────────────────────────────────────── */
.compat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.compat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #c9d1d9;
}

.compat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1f2e 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 24px 80px;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,195,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  font-size: 16px;
  color: #8b949e;
  margin-bottom: 32px;
  position: relative;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245,195,0,0.2));
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: #8b949e;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-copy {
  font-size: 12px;
  color: #484f58;
  text-align: center;
}

/* ── Group strip ──────────────────────────────────────────────────────────── */
.group-strip {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 24px;
}

.group-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.group-strip-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.group-logo-link {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.group-logo-link:hover {
  border-color: var(--yellow);
  box-shadow: 0 2px 8px rgba(245,195,0,0.2);
}

/* ── Divider ──────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    min-height: auto;
  }

  .nav-left, .nav-right { min-width: unset; }
  .nav-logo img { height: 70px; }

  .hero { padding: 48px 20px 64px; }
  .hero-stats { gap: 28px; }
  .dashboard-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 20px; }
  .pricing-section { padding: 64px 20px; }
  .cta-banner { padding: 40px 24px; }

  .btn-lg { padding: 13px 24px; font-size: 15px; }
}
