/* Homepage redesign — loaded only on / */
.home-page {
  font-family: Inter, "Source Sans Pro", system-ui, sans-serif;
  background: #f3f6fb;
  color: #0f172a;
}

.home-page .hero-section {
  background:
    radial-gradient(55% 75% at 88% 8%, rgba(33, 169, 175, 0.38), transparent 62%),
    radial-gradient(40% 55% at 6% 92%, rgba(245, 193, 93, 0.16), transparent 58%),
    linear-gradient(145deg, #0c173f 0%, #172a74 46%, #1a8f96 100%);
  color: #fff;
  padding: 20px 0 36px;
  overflow: hidden;
}

.home-page .home-services-glass {
  display: none !important;
}
.home-page .iphone-mockup,
.home-page .iphone-mockup img.device,
.home-page .iphone-mockup .screen,
.home-page img[src*="iphone"],
.home-page img[src*="app_screenshot"] {
  display: none !important;
}

.home-hero-shell { position: relative; isolation: isolate; }
.glass-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04) 60%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.28), 0 18px 45px rgba(4,16,60,0.22);
}
.glass-orb--1 { width: 220px; height: 220px; top: 18%; right: 6%; }
.glass-orb--2 { width: 120px; height: 120px; top: 58%; left: 2%; }
.glass-orb--3 { width: 74px; height: 74px; bottom: 10%; right: 32%; }

.home-hero-inner { position: relative; z-index: 1; padding-top: 18px; max-width: 1180px; }

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
.home-hero-copy { min-width: 0; display: flex; flex-direction: column; }
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.home-kicker span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f5c15d;
  box-shadow: 0 0 0 4px rgba(245,193,93,0.22);
}
.home-hero-inner h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-align: center;
}
.home-hero-inner h1 em {
  font-style: normal;
  color: #f5c15d;
  -webkit-text-fill-color: #f5c15d;
}
.home-hero-lead {
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  opacity: 1;
  max-width: 34rem;
  margin-bottom: 18px;
}

.home-search {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 18px 50px rgba(4,16,60,0.28);
  max-width: 760px;
  width: 100%;
  margin: 0 auto 22px;
}
.home-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 12px 16px;
  font-size: 0.98rem;
  border-radius: 999px;
  color: #0f172a;
  background: transparent;
}
.home-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #172a74, #21a9af);
  cursor: pointer;
  white-space: nowrap;
}
.home-search button:hover { filter: brightness(1.06); }

.home-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.home-chip {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  transition: background 0.15s ease, transform 0.15s ease;
}
.home-chip:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); color: #fff !important; }

.home-services-panel {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.home-services-panel-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5c15d;
}
.home-services-panel h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}
.home-services-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-services-panel li { margin: 0; }
.home-services-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  padding: 10px 14px;
  border-radius: 12px;
  min-height: 48px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.home-services-panel a i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  background: linear-gradient(135deg, #172a74, #21a9af);
  color: #fff;
}
.home-services-panel a span { flex: 1; }
.home-services-panel a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255,255,255,0.55);
  border-top: 2px solid rgba(255,255,255,0.55);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.home-services-panel a:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(245,193,93,0.48);
  transform: translateY(-2px);
  color: #f5c15d !important;
}
.home-services-panel a:hover::after { border-color: #f5c15d; }

.home-nearby {
  background: #fff;
  padding: 28px 0 32px;
}
.home-nearby h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #172a74;
  margin: 0 0 16px;
}
.home-nearby-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
.home-nearby-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 4px;
}
.home-nearby-grid i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #172a74, #21a9af);
  font-size: 1.05rem;
}
.home-nearby-grid a:hover { color: #172a74; text-decoration: none; }
.home-nearby-grid a:hover i { filter: brightness(1.08); }

.home-section { padding: 64px 0; }
.home-section h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #172a74;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.home-section .lead {
  color: #5b6b82;
  max-width: 38rem;
  margin-bottom: 28px;
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 8px;
}
.home-section-head a {
  font-weight: 700;
  color: #15686c;
  white-space: nowrap;
}

.home-explore { background: #f3f6fb; }
.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.home-explore-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(23,42,116,0.08);
  border-radius: 18px;
  padding: 18px 16px;
  color: #0f172a;
  text-decoration: none;
  min-height: 96px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.home-explore-card:hover {
  transform: translateY(-4px);
  border-color: #21a9af;
  box-shadow: 0 16px 34px rgba(23,42,116,0.12);
  color: #172a74;
  text-decoration: none;
}
.home-explore-card i {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #172a74, #21a9af);
}
.home-explore-card.is-gold i { background: linear-gradient(135deg, #b45309, #f5c15d); }
.home-explore-card.is-teal i { background: linear-gradient(135deg, #0f766e, #21a9af); }
.home-explore-card.is-navy i { background: linear-gradient(135deg, #0c173f, #3b5bcc); }
.home-explore-card strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.home-explore-card small {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
}

.home-steps { background: #fff; border-top: 1px solid #e8eef5; }
.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.home-step {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 22px;
  position: relative;
}
.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #172a74, #21a9af);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.home-step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.home-step p { margin: 0; color: #64748b; font-size: 0.92rem; line-height: 1.5; }

.home-why { background: #0c173f; color: #fff; }
.home-why h2 { color: #fff; }
.home-why .lead { color: rgba(255,255,255,0.78); }
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 22px 18px;
}
.home-why-card i {
  color: #f5c15d;
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: block;
}
.home-why-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.home-why-card p { margin: 0; color: rgba(255,255,255,0.76); font-size: 0.88rem; line-height: 1.5; }

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.home-split-card {
  border-radius: 22px;
  padding: 32px 28px;
  min-height: 220px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-split-card.users {
  background: linear-gradient(145deg, #172a74, #2a4bb3);
}
.home-split-card.biz {
  background: linear-gradient(145deg, #0f766e, #21a9af);
}
.home-split-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.home-split-card p { opacity: 0.92; margin-bottom: 18px; max-width: 28rem; }
.home-split-card .btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 18px;
}

.home-cta-band {
  background:
    radial-gradient(50% 80% at 80% 20%, rgba(245,193,93,0.2), transparent 55%),
    linear-gradient(135deg, #172a74 0%, #21a9af 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.home-cta-band.home-cta-compact {
  padding: 22px 0;
}
.home-cta-band.home-cta-compact .btn { margin: 0 6px 0; }
.home-cta-band h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.home-cta-band p { opacity: 0.92; margin-bottom: 22px; }
.home-cta-band .btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 12px 24px;
  margin: 0 6px 8px;
}
.home-cta-band .btn-light { color: #172a74; }

.home-page footer.footer {
  background: linear-gradient(180deg, #0c173f 0%, #07102c 100%);
}

@media (max-width: 991px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-hero-inner h1 { max-width: none; }
  .home-services-panel { max-width: none; }
  .glass-orb--2, .glass-orb--3 { display: none; }
}
@media (max-width: 768px) {
  .home-search { flex-direction: column; border-radius: 18px; }
  .home-search button { width: 100%; }
  .home-hero-inner h1 { max-width: none; }
}

@media (max-width: 560px) {
  .home-services-panel ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-explore-card, .home-chip, .home-search button { transition: none; }
}
