/* ========================================
   ScreenBridge — Custom Landing Page CSS
   ======================================== */

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

:root {
  --navy:     #0f1f2e;
  --teal:     #00c9a7;
  --teal-dim: #00c9a720;
  --off-white:#f7f8fa;
  --mid-gray: #6b7a8d;
  --light-border: #e2e8f0;
  --card-bg: #ffffff;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography helpers --- */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* --- Nav --- */
.nav {
  background: var(--navy);
  padding: 1rem 0;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: -0.03em;
}

/* --- Hero --- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--teal-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--teal-dim) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #a8b8cc;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Section label --- */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

/* --- Services --- */
.services {
  background: #fff;
  padding: 5rem 2rem;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  background: var(--off-white);
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--teal);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #e6faf7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
}

/* --- Process --- */
.process {
  background: var(--off-white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

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

.process-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--navy);
}

.process-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.step {
  flex: 1;
  min-width: 200px;
}

.step-number {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.35;
  display: block;
  margin-bottom: 0.75rem;
}

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

.step p {
  font-size: 0.875rem;
  color: var(--mid-gray);
  line-height: 1.6;
  max-width: 220px;
}

.step-connector {
  flex: 0 0 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  opacity: 0.25;
  align-self: flex-start;
  margin-top: 1.4rem;
}

@media (max-width: 640px) {
  .step-connector { display: none; }
  .process-steps { flex-direction: column; gap: 2rem; }
}

/* --- Coverage --- */
.coverage {
  background: var(--navy);
  color: #fff;
  padding: 5rem 2rem;
}

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

.coverage-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 2.5rem;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.coverage-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.coverage-col p {
  font-size: 0.9rem;
  color: #a8b8cc;
  line-height: 1.7;
}

.coverage-note {
  font-size: 0.8rem;
  color: #6b7a8d;
  font-style: italic;
}

@media (max-width: 600px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* --- Closing --- */
.closing {
  background: #fff;
  padding: 5rem 2rem;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-rule {
  width: 40px;
  height: 3px;
  background: var(--teal);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

.closing-statement {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.closing-sub {
  font-size: 0.95rem;
  color: var(--mid-gray);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 1.75rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}

.footer-meta {
  font-size: 0.75rem;
  color: #6b7a8d;
}

/* --- Lead Form --- */
.lead-form-wrap {
  margin-top: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lead-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.lead-field input,
.lead-field select {
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--light-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--navy);
  background: var(--card-bg);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

.lead-field input:focus,
.lead-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #00c9a715;
}

.lead-submit {
  background: var(--teal);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  letter-spacing: -0.01em;
  margin-top: 0.25rem;
}

.lead-submit:hover:not(:disabled) {
  background: #00b496;
  transform: translateY(-1px);
}

.lead-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lead-msg {
  font-size: 0.875rem;
  text-align: center;
  border-radius: 6px;
  padding: 0.65rem 1rem;
}

.lead-msg--success {
  background: #e6faf7;
  color: #00856e;
  border: 1px solid #b2f0e6;
}

.lead-msg--error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6c1;
}

/* --- Mobile adjustments --- */
@media (max-width: 480px) {
  .hero { padding: 3.5rem 1.5rem 4rem; }
  .services, .process, .coverage, .closing { padding: 3.5rem 1.5rem; }
  .lead-form-row { grid-template-columns: 1fr; }
}