/* ScaffControl Marketing Site — styles.css
   No external dependencies. System fonts only. Mobile-first. */

/* ------------------------------------------------------------------ */
/* Variables */
/* ------------------------------------------------------------------ */
:root {
  --navy:      #0f2444;
  --navy-dark: #09192f;
  --navy-mid:  #1a3461;
  --orange:    #f57c00;
  --orange-lt: #ff9800;
  --white:     #ffffff;
  --off-white: #f5f7fa;
  --text:      #1a2535;
  --text-muted:#5a6a7e;
  --border:    #d8dfe9;
  --radius:    6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }

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

/* ------------------------------------------------------------------ */
/* Utility */
/* ------------------------------------------------------------------ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}
.section-light { background: var(--off-white); }
.section-dark  { background: var(--navy);       color: var(--white); }
.section-navy  { background: var(--navy-dark);   color: var(--white); }

.section-dark h2,
.section-navy h2 { color: var(--white); }

.section-dark p,
.section-navy p  { color: rgba(255,255,255,0.87); }

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--navy);
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.section-intro {
  max-width: 700px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.section-dark .section-intro,
.section-navy .section-intro { color: rgba(255,255,255,0.75); }

/* ------------------------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease;
  letter-spacing: 0.01em;
}
.btn:hover { opacity: 0.88; text-decoration: none; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover { border-color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ------------------------------------------------------------------ */
/* Navigation */
/* ------------------------------------------------------------------ */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--orange); }

/* ------------------------------------------------------------------ */
/* Hero */
/* ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: left;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 800px;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-sub {
  max-width: 680px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ------------------------------------------------------------------ */
/* Problem grid */
/* ------------------------------------------------------------------ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.problem-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.problem-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.problem-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Lifecycle */
/* ------------------------------------------------------------------ */
.lifecycle {
  margin-top: 2rem;
}

.lifecycle-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 1rem;
}

.step {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.step.highlight {
  background: var(--orange);
  color: var(--white);
}

.step-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.lifecycle-caption {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* Feature grid */
/* ------------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* Industrial list */
/* ------------------------------------------------------------------ */
.industrial-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
}

.industrial-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.industrial-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Pilot offer */
/* ------------------------------------------------------------------ */
.pilot-box {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
}

.pilot-content {
  padding: 2.5rem;
  text-align: center;
}

.pilot-content h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pilot-scope-head {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.pilot-scope-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pilot-term {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.pilot-includes {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pilot-includes li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pilot-includes li:last-child { border-bottom: none; }

.pilot-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ */
/* Limitations */
/* ------------------------------------------------------------------ */
.limitations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.limitation-item {
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

.limitation-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.limitation-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ */
/* Contact */
/* ------------------------------------------------------------------ */
.contact-section {
  text-align: center;
}

.contact-placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.contact-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  max-width: 300px;
  margin: 0 auto 1.5rem;
}

.contact-app {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------------ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.footer-legal p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ------------------------------------------------------------------ */
/* Responsive */
/* ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .section { padding: 2.5rem 0; }
  .hero    { padding: 3rem 0; }

  .hero h1 { font-size: 1.65rem; }
  .hero-sub { font-size: 1rem; }

  .lifecycle-steps { gap: 0.25rem; }
  .step { font-size: 0.72rem; padding: 0.25rem 0.5rem; }

  .pilot-content { padding: 1.75rem 1.25rem; }

  .problem-grid,
  .feature-grid,
  .limitations-grid { grid-template-columns: 1fr; }

  .industrial-list { grid-template-columns: 1fr; }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .footer-inner { text-align: center; }
  .footer-links { justify-content: center; }
}
