/* ==========================================================================
   Gotavi Homepage Full-Force GTM & Dual-ICP Stylesheet
   Modular BEM styles (Zero inline CSS in index.html)
   ========================================================================== */

/* Shared Icon Sizing Helpers */
.gtm-icon-xs {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.gtm-icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.gtm-icon-md {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.gtm-icon-lg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.gtm-icon-xl {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   1. Dual-ICP Hero Refinements
   -------------------------------------------------------------------------- */
.home-hero__eyebrow {
  margin: 0 auto 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(89, 214, 156, 0.12);
  border: 1px solid rgba(89, 214, 156, 0.35);
  padding: 0.65rem 1.8rem;
  border-radius: 9999px;
  color: #59d69c;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-hero__subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.8rem;
}

.btn.home-hero__primary-cta,
.home-hero__primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  min-height: 48px;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.28);
}

.btn.home-hero__secondary-cta,
.home-hero__secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  min-height: 48px;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 9999px;
  text-decoration: none;
}

.home-hero__audience-bar {
  margin-top: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-hero__audience-label {
  color: #94a3b8;
  font-size: 1.3rem;
  font-weight: 500;
  margin-right: 0.4rem;
}

.home-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.home-hero__pill:hover,
.home-hero__pill--active {
  background: rgba(89, 214, 156, 0.16);
  border-color: rgba(89, 214, 156, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. Platform Capabilities Grid ("One Operating System. Every Stage of Growth.")
   -------------------------------------------------------------------------- */
.home-capabilities {
  padding: clamp(6rem, 7vw, 8.8rem) 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.home-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.4rem;
}

/* Ensure light-background sections override main-v2.css / main.gotavi.css defaults */
body.pws-page :is(.home-capabilities, .aeo-compare, .home-media) .section-title {
  color: #0f172a;
  display: block;
  text-align: center;
}

body.pws-page .home-media .home-media__header-copy .section-title {
  text-align: left;
}

body.pws-page :is(.home-capabilities, .aeo-compare, .home-media) .section-subtitle {
  color: #475569;
  margin: 0 auto;
}

body.pws-page .dual-ecosystem .section-title {
  color: #ffffff;
  display: block;
  text-align: center;
}

body.pws-page .dual-ecosystem .section-subtitle {
  color: #cbd5e1;
  margin-bottom: 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.55rem 1.5rem;
  border-radius: 9999px;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}

.home-kicker--dark {
  background: rgba(89, 214, 156, 0.12);
  border-color: rgba(89, 214, 156, 0.35);
  color: #59d69c;
}

.home-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.home-cap-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.8rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.home-cap-card:hover {
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.12);
  border-color: #10b981;
}

.home-cap-card--featured {
  border-color: #10b981;
  box-shadow: 0 14px 32px -12px rgba(16, 185, 129, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.home-cap-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.home-cap-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-cap-card__tag {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
}

.home-cap-card__tag--soon {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.home-cap-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.home-cap-card__desc {
  font-size: 1.5rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 2.6rem;
}

.home-cap-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: #059669;
}

.home-capabilities__coming-soon {
  margin-top: 2.8rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 20px;
  padding: 2.6rem 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.home-capabilities__coming-info {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  max-width: 720px;
}

.home-capabilities__coming-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(89, 214, 156, 0.14);
  color: #59d69c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-capabilities__coming-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-capabilities__coming-desc {
  font-size: 1.45rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   3. Dual-ICP Ecosystem Showcase (Founders + Law Firms & Advisors)
   -------------------------------------------------------------------------- */
.dual-ecosystem {
  padding: clamp(6.4rem, 7.5vw, 9.2rem) 0;
  background: linear-gradient(180deg, #090d16 0%, #0f172a 100%);
  color: #ffffff;
}

.dual-ecosystem__title {
  color: #ffffff;
}

.dual-ecosystem__subtitle {
  color: #94a3b8;
  margin: 0 auto !important;
}

.dual-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.8rem;
  margin-top: 4rem;
}

.dual-ecosystem__card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  padding: clamp(2.8rem, 4vw, 4rem);
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dual-ecosystem__card--highlight {
  border-color: rgba(89, 214, 156, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(30, 41, 59, 0.65) 100%);
}

.dual-ecosystem__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #59d69c;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.dual-ecosystem__card-title {
  font-size: clamp(2.2rem, 2.6vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.2rem !important;
  line-height: 1.2;
}

.dual-ecosystem__card-desc {
  font-size: 1.55rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 2.8rem !important;
}

.dual-ecosystem__list {
  list-style: none;
  padding: 0;
  margin: 0 0 3.2rem !important;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.dual-ecosystem__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.5rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.dual-ecosystem__list i {
  color: #59d69c;
  margin-top: 0.25rem;
}

.dual-ecosystem__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn.dual-ecosystem__btn,
.dual-ecosystem__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  min-height: 44px;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
}

.btn.btn-ghost.dual-ecosystem__btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   4. AEO Comparison Table (Single-Point Vendors vs. Gotavi OS)
   -------------------------------------------------------------------------- */
.aeo-compare {
  padding: clamp(6rem, 7vw, 8.8rem) 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.aeo-compare__answer {
  max-width: 780px;
  margin: 1.6rem auto 0;
  font-size: 1.6rem;
  color: #334155;
  line-height: 1.65;
}

.aeo-compare__table-wrap {
  overflow-x: auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.1);
}

.aeo-compare__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.aeo-compare__table thead th {
  padding: 2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: #f8fafc;
  color: #0f172a;
  border-bottom: 1.5px solid #e2e8f0;
}

.aeo-compare__table thead th.aeo-compare__col-gotavi {
  background: #0f172a;
  color: #59d69c;
}

.aeo-compare__table tbody td {
  padding: 1.8rem 2.4rem;
  font-size: 1.5rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  line-height: 1.55;
}

.aeo-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.aeo-compare__table tbody td:first-child {
  font-weight: 600;
  color: #0f172a;
  width: 24%;
}

.aeo-compare__table tbody td.aeo-compare__col-gotavi {
  background: #f0fdf4;
  color: #064e3b;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   5. Live SSR Media & 50-State Guides Hub
   -------------------------------------------------------------------------- */
.home-media {
  padding: clamp(6rem, 7vw, 8.8rem) 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.home-media__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3.6rem;
}

.home-media__header-copy {
  max-width: 680px;
}

.home-media__header-copy .section-title,
.home-media__header-copy .section-subtitle {
  text-align: left;
  margin-left: 0;
}

.home-media__featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 3rem;
  margin-bottom: 2.8rem;
  align-items: center;
}

.home-media__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
  color: #64748b;
}

.home-media__pill {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 1.2rem;
  font-weight: 600;
}

.home-media__featured-title {
  font-size: clamp(2.1rem, 2.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.2rem;
}

body.pws-page .home-media__featured-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

body.pws-page .home-media__featured-title a:hover {
  color: #059669;
}

.home-media__featured-desc {
  font-size: 1.55rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.home-media__featured-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.home-media__featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.home-media__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.home-media__card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-media__card:hover {
  border-color: #10b981;
  box-shadow: 0 14px 28px -12px rgba(15, 23, 42, 0.1);
}

.home-media__card-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
}

body.pws-page .home-media__card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

body.pws-page .home-media__card-title a:hover {
  color: #059669;
}

.home-media__card-desc {
  font-size: 1.45rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 2.4rem;
}

body.pws-page a.home-media__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: #059669;
  text-decoration: none;
}

/* 50-State Quick-Links Strip */
.state-pills {
  margin-top: 3.6rem;
  padding-top: 2.8rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.state-pills__label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-right: 0.6rem;
}

body.pws-page a.state-pills__link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

body.pws-page a.state-pills__link:hover {
  border-color: #10b981;
  color: #047857;
  background: #ecfdf5;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  .home-capabilities__grid,
  .home-media__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-media__featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .home-capabilities__grid,
  .dual-ecosystem__grid,
  .home-media__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
  }

  .home-hero__primary-cta,
  .home-hero__secondary-cta {
    width: auto;
    min-width: 220px;
    max-width: 300px;
    padding: 1.25rem 2.4rem;
    font-size: 1.5rem;
    justify-content: center;
  }

  .home-hero__audience-bar {
    margin-top: 2.4rem;
    gap: 0.8rem;
  }

  .home-hero__audience-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.2rem;
  }

  .home-hero__pill {
    padding: 0.6rem 1.2rem;
    font-size: 1.25rem;
  }

  .home-capabilities__coming-soon {
    padding: 2.2rem;
  }
}

/* --------------------------------------------------------------------------
   8. Dual-Door Hero Cards (Mobile-Mindful Two-ICP Entry)
   -------------------------------------------------------------------------- */
.home-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem auto 0;
  max-width: 1080px;
  text-align: left;
}

.home-door-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.8rem;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-door-card:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 214, 156, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.home-door-card--founder {
  border-color: rgba(89, 214, 156, 0.35);
}

.home-door-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #59d69c;
  margin-bottom: 0.8rem;
}

.home-door-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

.home-door-card__desc {
  font-size: 1.48rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
}

.home-door-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.home-door-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
}

.home-door-card__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  font-size: 1.35rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
}

.home-hero__sublinks {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
}

.home-hero__sublinks a {
  color: #59d69c;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero__trust-line {
  margin-top: 1.4rem;
  font-size: 1.35rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.home-hero__variant-reset {
  margin-top: 1.6rem;
  font-size: 1.3rem;
  color: #94a3b8;
}

.home-hero__variant-reset a {
  color: #59d69c;
  text-decoration: underline;
}

.home-capabilities__secondary-strip {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.home-faq-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}

.home-faq-group__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

@media (max-width: 768px) {
  .home-doors {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
  }

  .home-door-card {
    padding: 1.8rem;
    gap: 1.2rem;
  }

  .home-door-card__title {
    font-size: 1.75rem;
  }

  .home-door-card__desc {
    font-size: 1.4rem;
  }

  .home-door-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
  }

  .home-door-card__btn,
  .home-door-card__btn-secondary {
    flex: 1 1 auto;
  }

  .home-capabilities__secondary-strip,
  .home-faq-groups {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}