/* EasyHome marketing landing page styles */
:root {
  --eh-navy: #003366;
  --eh-blue: #007acc;
  --eh-blue-dark: #005f99;
  --eh-blue-light: #e6f2ff;
  --eh-text: #2c3e50;
  --eh-text-muted: #52606d;
  --eh-white: #ffffff;
  --eh-border: #d9e6f2;
  --eh-radius-lg: 20px;
  --eh-radius-md: 14px;
  --eh-radius-sm: 8px;
  --eh-shadow: 0 8px 24px rgba(0, 51, 102, 0.08);
  --eh-shadow-sm: 0 2px 10px rgba(0, 51, 102, 0.06);
  --eh-max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--eh-text);
  background: var(--eh-white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--eh-navy);
  color: var(--eh-white);
  padding: 10px 16px;
  border-radius: 0 0 var(--eh-radius-sm) 0;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--eh-blue);
  outline-offset: 2px;
}

.container {
  max-width: var(--eh-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

h1, h2, h3 {
  color: var(--eh-navy);
  line-height: 1.2;
  margin-top: 0;
}

h2 {
  font-size: 2em;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 680px;
  color: var(--eh-text-muted);
  margin-bottom: 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8em;
  font-weight: 700;
  color: var(--eh-blue);
  margin: 0 0 8px;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--eh-border);
}

.navbar {
  max-width: var(--eh-max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2em;
  color: var(--eh-navy);
  text-decoration: none;
}

.navbar-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--eh-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--eh-text);
  font-weight: 600;
  font-size: 0.95em;
}

.nav-links a:hover {
  color: var(--eh-blue);
}

.nav-cta {
  background: var(--eh-blue);
  color: var(--eh-white) !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--eh-blue-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

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

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

.btn-primary:hover {
  background: var(--eh-blue-dark);
}

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

.btn-secondary:hover {
  background: var(--eh-blue-light);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--eh-blue-light) 0%, var(--eh-white) 65%);
  padding-top: 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.75em;
  margin-bottom: 16px;
}

.hero p.lead {
  font-size: 1.15em;
  color: var(--eh-text-muted);
  margin-bottom: 28px;
  max-width: 560px;
}

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

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .hero-card {
  background: var(--eh-white);
  border-radius: var(--eh-radius-lg);
  box-shadow: var(--eh-shadow);
  padding: 32px;
  text-align: center;
  max-width: 320px;
}

.hero-visual .hero-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 20px;
}

.hero-visual .hero-card p {
  color: var(--eh-text-muted);
  margin: 0;
  font-size: 0.95em;
}

/* App CTA (reusable component) */
.app-cta {
  background: var(--eh-navy);
  color: var(--eh-white);
  border-radius: var(--eh-radius-lg);
  padding: 48px;
  text-align: center;
}

.app-cta__heading {
  color: var(--eh-white);
  font-size: 1.8em;
}

.app-cta__subheading {
  color: #cfe0f2;
  max-width: 560px;
  margin: 0 auto 28px;
}

.app-cta--compact {
  padding: 28px;
  border-radius: var(--eh-radius-md);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: var(--eh-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--eh-radius-sm);
  padding: 10px 20px;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.15s ease, background 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: #1a1a1a;
}

.store-button__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-button__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-button__eyebrow {
  font-size: 0.7em;
  color: #cfd8e3;
}

.store-button__store {
  font-size: 1.05em;
  font-weight: 700;
}

.store-buttons__unavailable {
  color: #cfe0f2;
}

/* Services grid */
.services {
  background: var(--eh-white);
}

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

.service-card {
  background: var(--eh-white);
  border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius-md);
  padding: 28px 22px;
  box-shadow: var(--eh-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--eh-shadow);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--eh-blue-light);
  color: var(--eh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.15em;
  margin: 0;
}

.service-card p {
  color: var(--eh-text-muted);
  margin: 0;
  flex-grow: 1;
  font-size: 0.95em;
}

.service-card__link {
  font-weight: 700;
  color: var(--eh-blue);
  text-decoration: none;
  font-size: 0.9em;
}

.service-card__link:hover {
  text-decoration: underline;
}

/* How it works */
.how-it-works {
  background: var(--eh-blue-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--eh-white);
  border-radius: var(--eh-radius-md);
  padding: 28px 22px;
  box-shadow: var(--eh-shadow-sm);
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--eh-blue);
  color: var(--eh-white);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.1em;
  margin-bottom: 6px;
}

.step p {
  color: var(--eh-text-muted);
  margin: 0;
  font-size: 0.95em;
}

/* Why EasyHome */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius-md);
}

.benefit__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--eh-blue-light);
  color: var(--eh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit__icon svg {
  width: 22px;
  height: 22px;
}

.benefit h3 {
  font-size: 1.05em;
  margin: 0 0 4px;
}

.benefit p {
  margin: 0;
  color: var(--eh-text-muted);
  font-size: 0.95em;
}

/* App-first */
.app-first {
  background: var(--eh-white);
}

/* Customer + provider */
.customer-provider .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  border-radius: var(--eh-radius-lg);
  padding: 36px;
}

.audience-card--customer {
  background: var(--eh-blue-light);
}

.audience-card--provider {
  background: #f4f6f8;
  border: 1px solid var(--eh-border);
}

.audience-card p {
  color: var(--eh-text-muted);
  margin-bottom: 24px;
}

/* Areas served */
.areas-served {
  background: var(--eh-blue-light);
  text-align: center;
}

.areas-served p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--eh-text-muted);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--eh-border);
  padding: 18px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05em;
  color: var(--eh-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4em;
  color: var(--eh-blue);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  color: var(--eh-text-muted);
  margin: 12px 0 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--eh-navy);
  color: #cfe0f2;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--eh-white);
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer h4 {
  color: var(--eh-white);
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: #cfe0f2;
  text-decoration: none;
  font-size: 0.95em;
}

.site-footer a:hover {
  color: var(--eh-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 0.85em;
  color: #9fb8d1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 32px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--eh-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--eh-border);
    display: none;
    gap: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .customer-provider .container {
    grid-template-columns: 1fr;
  }

  .app-cta {
    padding: 32px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .steps {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .hero h1 {
    font-size: 2em;
  }
}
