/* ============================================
   DARLINGTON AUTOMATIONS — Landing Page Styles
   Brand: SNAP palette — Navy / Teal / Warm Sand / Coral
   ============================================ */

/* ---- Tokens ---- */
:root {
  --navy:      #1F3248;
  --teal:      #3A9B8E;
  --sand:      #EDE0CC;
  --soft-sand: #F7F2EA;
  --coral:     #E07850;
  --amber:     #ED8B00;
  --green:     #55C39F;
  --white:     #ffffff;

  --radius:    16px;
  --radius-sm: 8px;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1100px;
  --section-gap: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background-color: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-white:hover { background-color: rgba(255,255,255,0.1); }

/* ============================================
   NAV
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--soft-sand);
  border-bottom: 1px solid rgba(31, 50, 72, 0.1);
}

.nav { padding: 16px 0; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.nav__logo span { color: var(--teal); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 88px 0 80px;
  background-color: var(--soft-sand);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  max-width: 780px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero__headline em {
  font-style: normal;
  color: var(--coral);
}

.hero__sub {
  font-size: 1.1rem;
  color: #3a4a5c;
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background-color: var(--navy);
  padding: 52px 0;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 10px;
}

.stat__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section { padding: var(--section-gap) 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 1.03rem;
  color: #3a4a5c;
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================
   SERVICES
   ============================================ */
.services { background-color: var(--sand); }

.services__header { margin-bottom: 56px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--soft-sand);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(31,50,72,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(31,50,72,0.1);
  transform: translateY(-3px);
}

.card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(58, 155, 142, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.card__desc {
  font-size: 0.93rem;
  color: #3a4a5c;
  line-height: 1.75;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works { background-color: var(--soft-sand); }

.how-it-works .section-sub { margin-bottom: 56px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 27px);
  right: calc(16.67% + 27px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  z-index: 0;
}

.step { position: relative; z-index: 1; }

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--coral);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step__desc {
  font-size: 0.93rem;
  color: #3a4a5c;
  line-height: 1.75;
}

/* ============================================
   ABOUT
   ============================================ */
.about { background-color: var(--sand); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__text p {
  font-size: 1rem;
  color: #3a4a5c;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__text p:last-child { margin-bottom: 0; }

.about__highlight {
  background-color: var(--soft-sand);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px;
}

.about__highlight p {
  font-size: 0.97rem;
  color: var(--navy);
  line-height: 1.8;
}

.about__highlight strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 12px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about__stat {
  background-color: var(--sand);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.about__stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 4px;
}

.about__stat-desc {
  font-size: 0.78rem;
  color: #5a6a7a;
  line-height: 1.4;
}

/* ============================================
   SIGNUP
   ============================================ */
.signup { background-color: var(--soft-sand); }

.signup .section-sub { margin-bottom: 40px; }

.signup__form { max-width: 440px; }

.signup__row { margin-bottom: 14px; }

.signup__form input[type="text"],
.signup__form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(31,50,72,0.18);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background-color: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}

.signup__form input:focus { border-color: var(--teal); }

.signup__form .btn { margin-top: 6px; }

.signup__note {
  font-size: 0.8rem;
  color: #7a8a9a;
  margin-top: 12px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background-color: var(--coral);
  padding: 80px 0;
}

.cta-banner__inner { text-align: center; }

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--navy);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__logo span { color: var(--teal); }

.footer__tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  margin-top: 4px;
}

.footer__right { text-align: right; }

.footer__email {
  font-size: 0.9rem;
  color: var(--teal);
  display: block;
  margin-bottom: 6px;
}

.footer__copy {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.38);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .services__grid     { grid-template-columns: 1fr; }
  .steps              { grid-template-columns: 1fr; gap: 32px; }
  .steps::before      { display: none; }
  .about__inner       { grid-template-columns: 1fr; gap: 36px; }
  .stats-strip__grid  { grid-template-columns: 1fr; gap: 28px; }
  .about__stats       { grid-template-columns: repeat(2, 1fr); }
  .footer__inner      { flex-direction: column; text-align: center; }
  .footer__right      { text-align: center; }
  .hero__ctas         { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav__logo  { font-size: 0.95rem; }
  .btn        { padding: 13px 22px; font-size: 0.9rem; }
  .about__stats { grid-template-columns: 1fr; }
}
