/* Homepage-specific styles */

/* ----- Hero ----- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(31,111,235,.10), transparent 60%),
    radial-gradient(720px 360px at 8% 18%, rgba(22,184,166,.09), transparent 55%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-copy h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 20px 0 22px;
}
.hero-copy h1 em { font-style: italic; color: var(--brand); }
.hero-copy .sub {
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 32em;
  line-height: 1.55;
}
.hero-ai-line {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  max-width: 540px;
}
.hero-ai-line .ai-badge {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #ffffff, #f2f6fb);
  padding: 10px;
}
.hero-art img { border-radius: calc(var(--r-lg) - 10px); width: 100%; }

/* ----- Intro band ----- */
.intro-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.intro-band p {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
}

/* ----- Products grid ----- */
.products { padding: 96px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-tint);
  display: grid;
  place-items: center;
  color: var(--brand);
}
.product-card.accent .product-icon { background: var(--accent-tint); color: var(--accent); }
.product-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.product-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.product-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.product-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 13.5px;
  margin-top: auto;
  transition: gap .2s;
}
.product-card:hover .more { gap: 10px; }
.product-card .more svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; }

/* ----- Stats band ----- */
.stats-band {
  background: linear-gradient(135deg, #0d1b2a 0%, #14243a 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 12% 30%, rgba(31,111,235,.22), transparent 60%),
    radial-gradient(500px 240px at 88% 70%, rgba(22,184,166,.18), transparent 60%);
}
.stats-inner { position: relative; z-index: 1; }
.stats-head { text-align: center; margin-bottom: 52px; }
.stats-head .eyebrow {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.stats-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: -.015em;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #ffffff 0%, #b8d6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat .label {
  font-size: 14px;
  color: #9fb0c0;
  margin-top: 10px;
  letter-spacing: .04em;
}

/* ----- App CTA ----- */
.app-cta {
  padding: 100px 0;
  background: var(--bg);
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .app-grid { grid-template-columns: 1fr; gap: 40px; } }
.app-copy .eyebrow { margin-bottom: 14px; }
.app-copy h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -.015em;
}
.app-copy h2 em { font-style: italic; color: var(--brand); }
.app-copy p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 30em;
  margin-bottom: 28px;
}
.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.store-btn:hover { transform: translateY(-2px); background: #1a2d47; color: #fff; }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 10.5px; font-weight: 500; opacity: .75; letter-spacing: .04em; }
.store-btn b { font-size: 14.5px; font-weight: 700; }
.app-art img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ----- Logos marquee section (band only; marquee animation in pxier-design.css) ----- */
.logos-band {
  padding: 72px 0 90px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.logos-band .label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 38px;
}

/* ----- Final CTA band ----- */
.cta-band { padding: 96px 0; }
.cta-card {
  background: linear-gradient(135deg, var(--brand) 0%, #4486f0 100%);
  border-radius: var(--r-lg);
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 15% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(400px 200px at 85% 80%, rgba(22,184,166,.3), transparent 60%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.cta-card h2 em { font-style: italic; color: #fff; }
.cta-card p {
  font-size: 17px;
  opacity: .92;
  margin: 16px auto 30px;
  max-width: 540px;
}
.cta-card .btn-row {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-card .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.25);
}
.cta-card .btn-primary:hover { background: #fafcff; color: var(--brand-deep); }
.cta-card .btn-ghost {
  border-color: rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
}
.cta-card .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 640px) {
  .cta-card { padding: 48px 28px; }
}
