@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* ============================================================
   DreamzPMS — US-market design system (v2, DreamzTech palette)
   Navy dark heroes, orange primary CTAs, purple secondary,
   teal accent on dark, pill buttons, photography.
   ============================================================ */

:root {
  --ink: #080E32;
  --ink-soft: #131C4D;
  --ink-deep: #05081F;
  --orange: #FE4C1D;
  --orange-dark: #E63D10;
  --orange-soft: #FFEDE7;
  --teal: #12A5A0;
  --teal-dark: #0E8A86;
  --purple: #6C4AC7;
  --purple-soft: #F0EBFB;
  --bg: #ffffff;
  --bg-alt: #F6F7FB;
  --text: #3D4461;
  --muted: #6D738F;
  --border: #E6E8F2;
  --success: #2f9e5f;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(8, 14, 50, 0.08);
  --shadow-md: 0 12px 32px rgba(8, 14, 50, 0.1);
  --shadow-lg: 0 28px 64px rgba(8, 14, 50, 0.16);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font: "Inter", system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.4rem, 4.8vw, 3.7rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.5rem);
  --fs-h3: 1.22rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--purple);
  text-decoration: none;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- buttons (pills) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(254, 76, 29, 0.32);
}

.btn--primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--ink);
  color: #fff;
}

.btn--navy:hover {
  background: var(--ink-soft);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(8, 14, 50, 0.4);
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* orange CTA stays orange on dark surfaces (hero, page-head, cta-band) */

.hero .btn--primary,
.page-head .btn--primary,
.cta-band .btn--primary {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- geometric decorations (subtle, recolored) ---------- */

.geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.geo--ring {
  width: 30px;
  height: 30px;
  border: 4px solid var(--teal);
  border-radius: 50%;
  opacity: 0.5;
}

.geo--tri {
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 22px solid var(--orange);
  opacity: 0.35;
}

.geo--dots {
  width: 110px;
  height: 80px;
  background-image: radial-gradient(rgba(18, 165, 160, 0.9) 2px, transparent 2.5px);
  background-size: 15px 15px;
  opacity: 0.32;
}

/* ---------- header / nav ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo svg {
  display: block;
}

.nav__logo-text {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.nav__logo-text span {
  color: var(--orange);
}

.nav__logo-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links > li > a {
  display: inline-block;
  padding: 9px 15px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.nav__links > li > a:hover,
.nav__links > li > a.is-active {
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- hero (dark pine, photography) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(254, 76, 29, 0.28), transparent 60%),
    radial-gradient(700px 460px at -10% 110%, rgba(108, 74, 199, 0.18), transparent 60%),
    var(--ink);
  color: #DDE1F0;
  padding: 96px 0 92px;
}

.hero h1 {
  color: #fff;
}

.hero .eyebrow {
  color: var(--teal);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__sub {
  margin-top: 20px;
  font-size: 1.13rem;
  color: #B9BFD8;
  max-width: 34rem;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn--outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero__meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #B9BFD8;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__meta svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* hero photo collage */

.hero__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 440px;
}

.hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.hero__collage img:first-child {
  grid-row: 1 / 3;
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.hero__badge svg {
  color: var(--orange);
}

/* interior page header (dark pine, centered) */

.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -20%, rgba(254, 76, 29, 0.26), transparent 60%),
    radial-gradient(620px 400px at 0% 130%, rgba(108, 74, 199, 0.16), transparent 60%),
    var(--ink);
  padding: 86px 0 72px;
  text-align: center;
}

.page-head h1 {
  color: #fff;
}

.page-head .eyebrow {
  color: var(--teal);
}

.page-head p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 16px auto 0;
  color: #B9BFD8;
  font-size: 1.1rem;
}

.page-head h1,
.page-head .eyebrow {
  position: relative;
  z-index: 1;
}

/* split variant: left copy + right framed photo */
.page-head--split {
  text-align: left;
}

.page-head--split .page-head__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.page-head--split p {
  margin: 16px 0 0;
}

.page-head--split .hero__actions {
  justify-content: flex-start !important;
}

.page-head__vis {
  position: relative;
}

.page-head__vis::before {
  content: "";
  position: absolute;
  inset: 18px -14px -18px 14px;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  border-radius: 18px;
  transform: rotate(-2.5deg);
}

.page-head__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid #fff;
  box-shadow: 0 24px 60px rgba(5, 8, 31, 0.45);
}

@media (max-width: 960px) {
  .page-head--split {
    text-align: center;
  }

  .page-head--split .page-head__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .page-head--split p {
    margin: 16px auto 0;
  }

  .page-head--split .hero__actions {
    justify-content: center !important;
  }
}

/* photo-background variant: full-bleed image + navy overlay, left copy */
.page-head--photo {
  text-align: left;
  background:
    linear-gradient(92deg, rgba(8, 14, 50, 0.94) 0%, rgba(8, 14, 50, 0.82) 38%, rgba(8, 14, 50, 0.45) 72%, rgba(8, 14, 50, 0.3) 100%),
    var(--hero-bg) center / cover no-repeat,
    var(--ink);
}

.page-head--photo .page-head__copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.page-head--photo p {
  margin: 16px 0 0;
}

.page-head--photo .hero__actions {
  justify-content: flex-start !important;
}

@media (max-width: 960px) {
  .page-head--photo {
    text-align: center;
    background:
      linear-gradient(rgba(8, 14, 50, 0.88), rgba(8, 14, 50, 0.88)),
      var(--hero-bg) center / cover no-repeat,
      var(--ink);
  }

  .page-head--photo .page-head__copy {
    margin: 0 auto;
  }

  .page-head--photo p {
    margin: 16px auto 0;
  }

  .page-head--photo .hero__actions {
    justify-content: center !important;
  }
}

/* ---------- trustbar ---------- */

.trustbar {
  padding: 38px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.trustbar__item b {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.trustbar__item span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

/* ---------- cards ---------- */

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

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

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(254, 76, 29, 0.45);
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  color: var(--orange-dark);
  margin-bottom: 18px;
}

.card:nth-child(3n + 2) .card__icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.card:nth-child(3n) .card__icon {
  background: rgba(18, 165, 160, 0.18);
  color: #0B7A76;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange-dark);
}

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

/* ---------- feature split rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split + .split {
  margin-top: 88px;
}

.split--flip .split__media {
  order: -1;
}

.split h2 {
  margin-bottom: 14px;
}

.split > div > p {
  color: var(--muted);
  font-size: 1.03rem;
}

.split__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.split__list svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.split__list b {
  color: var(--ink);
}

.split__media {
  position: relative;
}

.split__media > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(8, 14, 50, 0.05),
    0 28px 56px -28px rgba(8, 14, 50, 0.22);
  padding: 0 0 8px;
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #fbfbfe 0%, #f6f7fb 100%);
  border-bottom: 1px solid var(--border);
}

.panel__head::before {
  content: "";
  flex: 0 0 34px;
  height: 8px;
  background:
    radial-gradient(circle 3.5px at 4px 4px, #d5d9e8 99%, transparent),
    radial-gradient(circle 3.5px at 17px 4px, #d5d9e8 99%, transparent),
    radial-gradient(circle 3.5px at 30px 4px, #d5d9e8 99%, transparent);
}

.panel__head b {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.87rem;
  letter-spacing: 0.01em;
}

.panel__head .pill {
  margin-left: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--border);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.pill--green {
  color: #128057;
  border-color: rgba(18, 128, 87, 0.3);
}

.pill--orange {
  color: #b0330e;
  border-color: rgba(254, 76, 29, 0.3);
}

.pill--navy {
  color: var(--purple);
  border-color: rgba(108, 74, 199, 0.3);
}

.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(230, 232, 242, 0.65);
  font-size: 0.92rem;
  transition: background 0.15s ease;
}

.panel__row:hover {
  background: #fafbfe;
}

.panel__row:last-child {
  border-bottom: none;
}

.panel__row b {
  color: var(--ink);
}

.panel__row > b {
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.panel__row small {
  color: var(--muted);
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
}

/* ---------- AI band (deep teal-blue gradient) ---------- */

.ai-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--ink-deep) 0%, var(--ink) 55%, #2A2073 100%);
  color: #C9CEE2;
}

.ai-band .section-head h2,
.ai-band h3 {
  color: #fff;
}

.ai-band .eyebrow {
  color: var(--teal);
}

.ai-band .section-head p {
  color: #9BA3C2;
}

.ai-band .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.ai-band .card p {
  color: #9BA3C2;
}

.ai-band .card:hover {
  border-color: rgba(18, 165, 160, 0.55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.ai-band .card__icon {
  background: rgba(254, 76, 29, 0.28);
  color: #FF8A65;
}

.ai-band .card:nth-child(3n + 2) .card__icon {
  background: rgba(108, 74, 199, 0.28);
  color: #A78BFA;
}

.ai-band .card:nth-child(3n) .card__icon {
  background: rgba(18, 165, 160, 0.2);
  color: var(--teal);
}

/* ---------- steps ---------- */

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

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--teal);
  border-radius: var(--radius-pill);
  padding: 4px 13px;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-md);
}

.plan__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan h3 {
  margin-bottom: 4px;
}

.plan__desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.plan__price {
  color: var(--ink);
  margin-bottom: 20px;
}

.plan__price b {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
}

.plan__price span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.93rem;
}

.plan li svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.plan .btn {
  justify-content: center;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.faq__q svg {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__q svg {
  transform: rotate(45deg);
}

.faq__a {
  display: none;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.97rem;
}

.faq__item.is-open .faq__a {
  display: block;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 460px at 80% -20%, rgba(254, 76, 29, 0.3), transparent 60%),
    var(--ink);
  text-align: center;
  padding: 88px 0;
}

.cta-band h2 {
  color: #fff;
  max-width: 620px;
  margin: 0 auto 14px;
}

.cta-band p {
  color: #B9BFD8;
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-band .btn--outline,
.page-head .btn--outline,
.ai-band .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn--outline:hover,
.page-head .btn--outline:hover,
.ai-band .btn--outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(254, 76, 29, 0.16);
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #e8f6ee;
  color: #128057;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success.is-visible {
  display: block;
}

/* ---------- contact info ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info__item svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info__item b {
  color: var(--ink);
  display: block;
}

.contact-info__item span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- login / portal chooser ---------- */

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.portal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(254, 76, 29, 0.5);
}

.portal-card .card__icon {
  margin: 0 auto 18px;
}

.portal-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 8px 0 22px;
}

/* ---------- about stats ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-band b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--orange);
}

.stat-band span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- footer ---------- */

.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--text);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo .nav__logo-text {
  color: var(--ink);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 46px;
}

.footer__social a {
  display: inline-flex;
  color: var(--ink);
  transition: color 0.15s ease;
}

.footer__social a:hover {
  color: var(--orange);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__contact-link {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

.footer__contact-link:hover {
  color: var(--orange);
}

.footer h4 {
  color: var(--purple);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul a {
  color: var(--text);
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.footer ul a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split--flip .split__media {
    order: 0;
  }

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

  .grid-2,
  .portal-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero__collage {
    min-height: 340px;
  }

  .hero__badge {
    left: 8px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 4%;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links > li > a {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav__cta .btn--outline {
    display: none;
  }

  .nav__toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 64px 0;
  }

  .trustbar__grid,
  .stat-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   v3 layout upgrade — competitor-informed placements
   (Buildium: light hero + product frame; Yardi: statement;
   MyGate: numbers strip + photo mosaic CTA). Palette unchanged.
   ============================================================ */

/* ---------- light hero (Buildium-style) ---------- */

.hero--lite {
  background:
    radial-gradient(46rem 24rem at 88% -10%, rgba(108, 74, 199, 0.1), transparent 60%),
    radial-gradient(40rem 22rem at -10% 110%, rgba(254, 76, 29, 0.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  color: var(--text);
}

.hero--lite h1 {
  color: var(--ink);
}

.hero--lite .eyebrow {
  color: var(--orange);
}

.hero--lite .hero__sub {
  color: var(--text);
}

.hero--lite .hero__meta {
  color: var(--muted);
}

.hero--lite .hero__meta svg {
  color: var(--teal);
}

.hero--lite .btn--outline {
  border-color: rgba(8, 14, 50, 0.28);
  color: var(--ink);
}

.hero--lite .btn--outline:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hero--lite .btn--primary {
  box-shadow: 0 14px 32px rgba(254, 76, 29, 0.32);
}

/* ---------- CSS product frame (dashboard mockup) ---------- */

.hero__vis {
  position: relative;
}

.appframe {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--font);
}

.appframe__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.appframe__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.appframe__chrome span:nth-child(1) { background: var(--orange); }
.appframe__chrome span:nth-child(2) { background: var(--teal); }
.appframe__chrome span:nth-child(3) { background: var(--purple); }

.appframe__chrome i {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  margin: 0 auto;
}

.appframe__body {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.appframe__side {
  background: var(--ink);
  color: #9BA3C2;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.appframe__side b {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.appframe__side span {
  padding: 6px 9px;
  border-radius: 8px;
}

.appframe__side span.is-on {
  background: rgba(254, 76, 29, 0.18);
  color: #fff;
}

.appframe__main {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.appframe__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.appframe__kpis > div {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
}

.appframe__kpis small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.appframe__kpis b {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--ink);
}

.appframe__chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 74px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
}

.appframe__chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(8, 14, 50, 0.12);
}

.appframe__chart i.is-hot {
  background: var(--orange);
}

.appframe__rows {
  display: grid;
  gap: 6px;
}

.appframe__rows > div {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}

.appframe__rows b {
  margin-left: auto;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--teal { background: var(--teal); }
.dot--orange { background: var(--orange); }
.dot--purple { background: var(--purple); }

.appframe__float {
  position: absolute;
  left: -26px;
  bottom: -22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
}

.appframe__float svg {
  color: var(--teal);
  flex-shrink: 0;
}

.appframe__float b {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.appframe__float small {
  font-size: 0.7rem;
  color: #B9BFD8;
}

/* ---------- big numbers strip (MyGate-style) ---------- */

.numbers {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}

.numbers__item {
  text-align: center;
  padding: 0 18px;
}

.numbers__item + .numbers__item {
  border-left: 1px solid var(--border);
}

.numbers__item b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--orange);
  letter-spacing: -0.02em;
}

.numbers__item span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- statement section (Yardi-style) ---------- */

.statement {
  padding: 96px 0;
  text-align: center;
}

.statement h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  max-width: 20ch;
  margin: 0 auto 20px;
}

.statement h2 span {
  color: var(--orange);
}

.statement p {
  max-width: 56ch;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

/* ---------- feature tabs (Buildium-style switcher) ---------- */

.tabs__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.tabs__nav button {
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tabs__nav button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tabs__nav button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tabs__panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.tabs__panel > div > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ---------- sticky anchor subnav (features page) ---------- */

.subnav {
  position: sticky;
  top: 81px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.subnav__in {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
}

.subnav__in a {
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  transition: all 0.16s ease;
}

.subnav__in a:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

/* ---------- dark photo-mosaic CTA (MyGate-style) ---------- */

.mosaic-cta {
  background:
    radial-gradient(40rem 24rem at 100% 0%, rgba(108, 74, 199, 0.22), transparent 55%),
    radial-gradient(34rem 20rem at 0% 100%, rgba(254, 76, 29, 0.14), transparent 55%),
    var(--ink);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}

.mosaic-cta__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.mosaic-cta .eyebrow {
  color: var(--teal);
}

.mosaic-cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin-bottom: 16px;
}

.mosaic-cta p {
  color: #B9BFD8;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 46ch;
}

.mosaic-cta .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.mosaic-cta .btn--outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.mosaic-cta .btn--primary {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mosaic > div {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mosaic > div:last-child {
  padding-top: 38px;
}

.mosaic img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- v3 responsive ---------- */

@media (max-width: 960px) {
  .tabs__panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mosaic-cta__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }

  .numbers__item:nth-child(3) {
    border-left: none;
  }

  .appframe__float {
    left: 10px;
    bottom: -18px;
  }
}

@media (max-width: 620px) {
  .appframe__side {
    display: none;
  }

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

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

  .numbers__item + .numbers__item {
    border-left: none;
  }

  .statement {
    padding: 70px 0;
  }
}

main section[id] {
  scroll-margin-top: 160px;
}

/* hero--lite colorized: brand-tinted mesh gradient + dot pattern + aurora orbs */
.hero--lite {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(48rem 30rem at 90% -8%, rgba(108, 74, 199, 0.26), transparent 60%),
    radial-gradient(44rem 28rem at -8% 106%, rgba(254, 76, 29, 0.24), transparent 60%),
    radial-gradient(36rem 24rem at 104% 102%, rgba(18, 165, 160, 0.22), transparent 58%),
    linear-gradient(160deg, #FFEDE4 0%, #F1EAFB 50%, #E3F4F2 100%);
}

.hero--lite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(8, 14, 50, 0.14) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(64rem 36rem at 28% 18%, #000 0%, transparent 72%);
  mask-image: radial-gradient(64rem 36rem at 28% 18%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero--lite > .container {
  position: relative;
  z-index: 1;
}

.hero--lite .geo {
  z-index: 0;
}

/* drifting aurora orbs (brand colors, transform-only animation) */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: orb-drift 16s ease-in-out infinite alternate;
}

.hero__orb--orange {
  width: 460px;
  height: 460px;
  top: -150px;
  left: -130px;
  background: radial-gradient(circle at 35% 35%, rgba(254, 76, 29, 0.5), rgba(254, 76, 29, 0) 70%);
}

.hero__orb--purple {
  width: 540px;
  height: 540px;
  top: -190px;
  right: -150px;
  background: radial-gradient(circle at 60% 40%, rgba(108, 74, 199, 0.46), rgba(108, 74, 199, 0) 70%);
  animation-duration: 20s;
  animation-delay: -7s;
}

.hero__orb--teal {
  width: 430px;
  height: 430px;
  bottom: -170px;
  left: 32%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 165, 160, 0.44), rgba(18, 165, 160, 0) 70%);
  animation-duration: 23s;
  animation-delay: -12s;
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(56px, 38px, 0) scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb {
    animation: none;
  }
}

/* hero real photo (replaces .appframe mockup) */
.hero__vis::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: calc(var(--radius-lg) + 12px);
  background: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
  transform: rotate(-2.5deg);
  opacity: 0.92;
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

/* ---------- solutions section (Yardi-style, below hero) ---------- */

.solutions {
  padding: 90px 0;
  background: var(--bg);
}

.solutions__head {
  max-width: 62ch;
  margin: 0 auto 34px;
  text-align: center;
}

.solutions__head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
}

.solutions__head p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.solutions .tabs__nav {
  justify-content: center;
  margin-bottom: 34px;
}

.solutions .tabs__nav button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.solutions .tabs__nav button:hover {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.solutions .tabs__nav button[aria-selected="true"] {
  background: #fff;
  border-color: var(--orange);
  color: var(--orange-dark);
}

.solutions .tabs__panel {
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.solutions__media,
.tabs__media {
  position: relative;
}

.solutions__media img,
.tabs__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.solutions__chip,
.tabs__chip {
  position: absolute;
  left: 18px;
  bottom: -16px;
  max-width: calc(100% - 36px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
}

.solutions__chip b,
.tabs__chip b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
}

.solutions__chip small,
.tabs__chip small {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.solutions .tabs__panel h3 {
  margin-bottom: 10px;
}

.solutions .tabs__panel .btn {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .solutions .tabs__panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px;
  }
}

/* ---- Home: modules grid ---- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.module {
  display: block;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.module:hover,
.module:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(254, 76, 29, 0.45);
}

.module:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.module:hover .module__more,
.module:focus-visible .module__more {
  color: var(--orange);
}

.module__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.module__icon--orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.module__icon--purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.module__icon--teal {
  background: rgba(18, 165, 160, 0.18);
  color: #0B7A76;
}

.module h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.module p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.module__more {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--purple);
  transition: color 0.15s ease;
}

.modules--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.modules__cta {
  text-align: center;
  margin-top: 36px;
}

.ai-trust {
  max-width: 920px;
  margin: 36px auto 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
}

.ai-trust svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

.ai-trust b {
  color: var(--ink);
}

.ai-trust p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.btn--outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--outline-ink:hover {
  background: var(--ink);
  color: #fff;
}

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

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

/* ---- Nav dropdown (Portfolio) ---- */
.nav__drop {
  position: relative;
}

.nav__drop > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__drop > a svg {
  transition: transform 0.15s ease;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 264px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 60;
}

.nav__drop:hover .nav__dropdown,
.nav__drop:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__drop:hover > a svg,
.nav__drop:focus-within > a svg {
  transform: rotate(180deg);
}

.nav__dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nav__dropdown a:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

@media (max-width: 960px) {
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 4px 16px;
    min-width: 0;
  }

  .nav__drop > a svg {
    display: none;
  }
}

/* ---- Market pages: vertical menu tabs (seamless-experience section) ---- */
.vtabs {
  padding: 96px 0;
  background: #fff;
}

.vtabs__head {
  max-width: 680px;
  margin-bottom: 44px;
}

.vtabs__head p {
  margin-top: 12px;
  color: var(--muted);
}

.vtabs__grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 56px;
  align-items: start;
}

.vtabs__nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.vtabs__nav button {
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  margin-left: -2px;
  padding: 14px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.vtabs__nav button:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.vtabs__nav button[aria-selected="true"] {
  color: var(--orange-dark);
  border-left-color: var(--orange);
  background: var(--orange-soft);
}

.vtabs__panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
}

.vtabs__panel h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.vtabs__panel p {
  max-width: 660px;
  margin-bottom: 20px;
}

.vtabs__panel[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .vtabs {
    padding: 70px 0;
  }

  .vtabs__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vtabs__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    border-left: 0;
  }

  .vtabs__nav button {
    margin-left: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-size: 0.92rem;
  }

  .vtabs__nav button[aria-selected="true"] {
    border-color: var(--orange);
  }
}
