/* Marketing home — iOS palette + Unsplash imagery */

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ios-bg);
}

/* —— Nav —— */
.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--ios-separator);
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ios-label);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.home-brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link-muted {
  text-decoration: none;
  font-size: 15px;
  color: var(--ios-label);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 17px;
  border-radius: 12px;
  font-weight: 600;
}

/* —— Layout —— */
.home-main {
  flex: 1;
  width: 100%;
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 40px) clamp(48px, 8vw, 72px);
}

.hero-copy {
  max-width: 480px;
}

.hero-logo {
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ios-blue);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--ios-label);
}

.hero-lead {
  font-size: 18px;
  color: var(--ios-secondary);
  line-height: 1.55;
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--ios-tertiary);
  margin: 0;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 3;
  background: var(--ios-fill);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-float {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  max-width: 280px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 0.5px solid rgba(255, 255, 255, 0.8);
}

.float-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ios-green);
  margin-bottom: 4px;
}

.float-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ios-label);
}

.float-meta {
  display: block;
  font-size: 13px;
  color: var(--ios-secondary);
  margin-top: 4px;
}

/* —— Showcase —— */
.showcase {
  background: var(--ios-grouped);
  border-top: 0.5px solid var(--ios-separator);
  border-bottom: 0.5px solid var(--ios-separator);
  padding: clamp(48px, 8vw, 80px) clamp(20px, 4vw, 40px);
}

.showcase-copy {
  max-width: 560px;
  margin: 0 auto 36px;
  text-align: center;
}

.showcase-copy h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.15;
}

.showcase-copy p {
  margin: 0;
  font-size: 17px;
  color: var(--ios-secondary);
  line-height: 1.55;
}

.showcase-figure {
  margin: 0;
  max-width: 1000px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.showcase-figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* —— Features —— */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 72px) clamp(20px, 4vw, 40px);
}

.feature-card {
  background: var(--ios-grouped);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ios-shadow);
  border: 0.5px solid var(--ios-separator);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ios-fill);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-media img {
  transform: scale(1.04);
}

.feature-body {
  padding: 18px 18px 22px;
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-body p {
  margin: 0;
  font-size: 15px;
  color: var(--ios-secondary);
  line-height: 1.5;
}

/* —— Steps —— */
.steps-section {
  padding: clamp(48px, 8vw, 80px) clamp(20px, 4vw, 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background: var(--ios-grouped);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--ios-shadow);
  border: 0.5px solid var(--ios-separator);
}

.steps-copy h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  line-height: 1.2;
}

.steps-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ios-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-list strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.steps-list p {
  margin: 0;
  font-size: 14px;
  color: var(--ios-secondary);
  line-height: 1.45;
}

.steps-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 480px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.steps-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— CTA band —— */
.cta-band {
  margin: 0 clamp(20px, 4vw, 40px) clamp(40px, 6vw, 64px);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 122, 255, 0.92), rgba(0, 86, 179, 0.95)),
    url("https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  box-shadow: 0 16px 40px rgba(0, 122, 255, 0.25);
}

.cta-band-inner {
  text-align: center;
  padding: clamp(40px, 6vw, 56px) 28px;
  color: #fff;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 0 24px;
  font-size: 17px;
  opacity: 0.92;
}

.btn-on-dark {
  background: #fff !important;
  color: var(--ios-blue) !important;
}

.btn-on-dark:hover {
  background: #f2f2f7 !important;
}

/* —— Footer —— */
.home-footer {
  text-align: center;
  padding: 24px 20px 32px;
  font-size: 13px;
  color: var(--ios-secondary);
  border-top: 0.5px solid var(--ios-separator);
  background: var(--ios-grouped);
}

.home-footer p {
  margin: 0 0 6px;
}

.photo-credit {
  font-size: 12px;
  color: var(--ios-tertiary);
}

.photo-credit a {
  color: var(--ios-secondary);
  text-decoration: underline;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-float {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: calc(100% - 40px);
    max-width: 300px;
  }

  .features {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-visual {
    order: -1;
    max-height: 320px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .home-nav-actions .nav-link-muted {
    display: none;
  }

  .hero-visual {
    aspect-ratio: 16 / 11;
  }
}
