:root {
  --ht-navy: #0e2336;
  --ht-navy-deep: #08131f;
  --ht-surface: #11253a;
  --ht-surface-2: #17324f;
  --ht-paper: #f6fbff;
  --ht-paper-soft: #edf5fb;
  --ht-line: rgba(142, 183, 230, 0.2);
  --ht-line-strong: rgba(212, 175, 55, 0.32);
  --ht-text: #e8f2ff;
  --ht-text-muted: rgba(232, 242, 255, 0.8);
  --ht-text-soft: rgba(232, 242, 255, 0.58);
  --ht-ink: #10273d;
  --ht-ink-soft: #47627f;
  --ht-gold: #d4af37;
  --ht-gold-light: #ffd66b;
  --ht-cyan: #37c9ff;
  --ht-cyan-soft: #8ee7ff;
  --ht-green: #4ade80;
  --ht-danger: #f87171;
  --ht-shadow: 0 24px 60px rgba(4, 11, 20, 0.28);
  --ht-shadow-soft: 0 18px 42px rgba(9, 19, 32, 0.18);
  --ht-shadow-gold: 0 18px 44px rgba(212, 175, 55, 0.18);
  --ht-radius-sm: 12px;
  --ht-radius-md: 18px;
  --ht-radius-lg: 24px;
  --ht-radius-xl: 32px;
  --ht-container: min(1180px, calc(100% - 32px));
}

.ht-body {
  background: linear-gradient(180deg, var(--ht-navy) 0%, #0a1827 100%);
  color: var(--ht-text);
}

.ht-page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 88px;
  background:
    radial-gradient(circle at 10% 10%, rgba(55, 201, 255, 0.14), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(160deg, var(--ht-navy-deep) 0%, var(--ht-navy) 54%, #132a42 100%);
}

.ht-page-hero::before,
.ht-section--dark::before,
.ht-section--deep::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
}

.ht-page-hero__inner,
.ht-section__inner {
  position: relative;
  z-index: 1;
  width: var(--ht-container);
  margin: 0 auto;
}

.ht-page-hero__grid,
.ht-grid-2,
.ht-grid-3,
.ht-grid-4,
.ht-split-panel,
.ht-panel-row {
  display: grid;
  gap: 24px;
}

.ht-page-hero__grid,
.ht-grid-2,
.ht-split-panel,
.ht-panel-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.ht-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ht-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ht-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ht-line-strong);
  background: rgba(212, 175, 55, 0.12);
  color: var(--ht-gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ht-title {
  margin: 18px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ht-text);
}

.ht-title--dark {
  color: var(--ht-ink);
}

.ht-title .ht-accent,
.ht-accent-text {
  background: linear-gradient(135deg, var(--ht-gold), var(--ht-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ht-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--ht-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.ht-lead--dark {
  color: #38536f;
}

.ht-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ht-btn:hover {
  transform: translateY(-1px);
}

.ht-btn--primary {
  color: #08131f;
  background: linear-gradient(135deg, var(--ht-gold), var(--ht-gold-light));
  box-shadow: var(--ht-shadow-gold);
}

.ht-btn--ghost {
  color: var(--ht-text);
  border: 1px solid rgba(232, 242, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.ht-btn--dark {
  color: var(--ht-ink);
  border: 1px solid rgba(16, 39, 61, 0.12);
  background: rgba(16, 39, 61, 0.06);
}

.ht-section {
  position: relative;
  padding: 84px 0;
}

.ht-section--dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(55, 201, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #0e2336 0%, #0a1726 100%);
}

.ht-section--deep {
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.12), transparent 34%),
    linear-gradient(180deg, #08131f 0%, #0e2336 100%);
}

.ht-section--light {
  background:
    radial-gradient(circle at top right, rgba(55, 201, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--ht-paper-soft) 100%);
  color: var(--ht-ink);
}

.ht-section-header {
  margin: 0 auto 40px;
  max-width: 760px;
  text-align: center;
}

.ht-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ht-radius-lg);
  box-shadow: var(--ht-shadow-soft);
}

.ht-card--glass {
  background: linear-gradient(180deg, rgba(18, 40, 64, 0.9), rgba(9, 20, 34, 0.92));
  border: 1px solid var(--ht-line);
  color: var(--ht-text);
}

.ht-card--light {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 39, 61, 0.08);
  color: var(--ht-ink);
}

.ht-card--accent {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(19, 42, 66, 0.96), rgba(9, 20, 34, 0.96));
  border: 1px solid var(--ht-line-strong);
  color: var(--ht-text);
}

.ht-card__body {
  padding: 28px;
}

.ht-card__kicker {
  margin: 0 0 10px;
  color: var(--ht-cyan-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ht-card__title {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.ht-card__copy {
  margin: 0;
  color: inherit;
  opacity: 0.9;
  line-height: 1.75;
}

.ht-icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(55, 201, 255, 0.16));
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--ht-gold-light);
}

.ht-icon-badge--light {
  background: rgba(16, 39, 61, 0.06);
  border-color: rgba(16, 39, 61, 0.12);
  color: var(--ht-ink);
}

.ht-icon-badge svg,
.ht-icon-badge i {
  width: 22px;
  height: 22px;
}

.ht-illustration-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--ht-radius-xl);
  border: 1px solid var(--ht-line);
  background:
    radial-gradient(circle at 20% 20%, rgba(55, 201, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(15, 32, 51, 0.98), rgba(8, 18, 29, 0.98));
  box-shadow: var(--ht-shadow);
}

.ht-illustration-frame--light {
  border-color: rgba(16, 39, 61, 0.1);
  background:
    radial-gradient(circle at 80% 10%, rgba(55, 201, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 252, 0.98));
}

.ht-illustration-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.ht-illustration-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ht-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ht-text);
  font-size: 0.84rem;
  font-weight: 600;
}

.ht-illustration-chip--light {
  border-color: rgba(16, 39, 61, 0.1);
  background: rgba(16, 39, 61, 0.05);
  color: var(--ht-ink);
}

.ht-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ht-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ht-metric {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(232, 242, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.ht-metric--light {
  border-color: rgba(16, 39, 61, 0.08);
  background: rgba(16, 39, 61, 0.04);
}

.ht-metric__value {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ht-gold-light);
}

.ht-metric__label {
  display: block;
  color: inherit;
  opacity: 0.74;
  font-size: 0.86rem;
  line-height: 1.5;
}

.ht-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ht-step-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--ht-line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--ht-shadow-soft);
}

.ht-step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ht-gold), var(--ht-gold-light));
  color: #08131f;
  font-weight: 800;
}

.ht-step-card h3,
.ht-step-card h4 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.ht-step-card p {
  margin: 0;
  color: inherit;
  opacity: 0.82;
  line-height: 1.7;
}

.ht-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ht-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}

.ht-list li i,
.ht-list li svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ht-gold-light);
}

.ht-empty-state {
  padding: 28px;
  border-radius: var(--ht-radius-lg);
  border: 1px dashed rgba(212, 175, 55, 0.38);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.04);
  text-align: center;
  box-shadow: var(--ht-shadow-soft);
}

.ht-empty-state h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--ht-gold-light);
}

.ht-empty-state p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--ht-text-muted);
  line-height: 1.7;
}

.ht-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ht-contact-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(16, 39, 61, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ht-shadow-soft);
  color: var(--ht-ink);
}

.ht-contact-card h3 {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.ht-contact-card p,
.ht-note {
  margin: 0;
  line-height: 1.7;
  color: var(--ht-ink-soft);
}

.ht-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ht-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid var(--ht-line);
  background: linear-gradient(180deg, rgba(18, 40, 64, 0.96), rgba(9, 20, 34, 0.96));
  box-shadow: var(--ht-shadow);
  overflow: hidden;
}

.ht-plan-card--light {
  border-color: rgba(16, 39, 61, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 252, 0.98));
  color: var(--ht-ink);
}

.ht-plan-card--featured {
  border-color: var(--ht-line-strong);
  box-shadow: 0 26px 62px rgba(212, 175, 55, 0.2);
}

.ht-plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--ht-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 0.78rem;
  font-weight: 700;
}

.ht-plan-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 30px 26px;
}

.ht-plan-head {
  display: grid;
  gap: 14px;
}

.ht-plan-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.ht-plan-subtitle,
.ht-plan-summary {
  margin: 0;
  line-height: 1.68;
  opacity: 0.86;
}

.ht-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 0;
}

.ht-plan-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.ht-plan-price span {
  opacity: 0.7;
}

.ht-plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ht-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.ht-plan-list li i,
.ht-plan-list li svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--ht-gold-light);
}

.ht-plan-footer {
  margin-top: auto;
}

.ht-compare-wrap {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--ht-line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--ht-shadow-soft);
}

.ht-compare-table {
  width: 100%;
  border-collapse: collapse;
}

.ht-compare-table th,
.ht-compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(142, 183, 230, 0.12);
  text-align: left;
}

.ht-compare-table th {
  color: var(--ht-gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ht-compare-table tr:last-child td {
  border-bottom: 0;
}

.ht-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ht-faq-item {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(16, 39, 61, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--ht-shadow-soft);
}

.ht-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ht-ink);
}

.ht-faq-item p {
  margin: 12px 0 0;
  color: var(--ht-ink-soft);
  line-height: 1.7;
}

.ht-page-note {
  margin-top: 16px;
  color: var(--ht-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.js-parallax-hero {
  will-change: transform;
}

@media (max-width: 1100px) {
  .ht-page-hero__grid,
  .ht-grid-2,
  .ht-split-panel,
  .ht-panel-row,
  .ht-pricing-grid,
  .ht-grid-4,
  .ht-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ht-page-hero {
    padding: 92px 0 72px;
  }

  .ht-page-hero__grid,
  .ht-grid-2,
  .ht-grid-3,
  .ht-grid-4,
  .ht-step-grid,
  .ht-contact-grid,
  .ht-pricing-grid,
  .ht-faq-grid,
  .ht-split-panel,
  .ht-panel-row,
  .ht-metrics-grid {
    grid-template-columns: 1fr;
  }

  .ht-section {
    padding: 68px 0;
  }

  .ht-card__body,
  .ht-plan-card__body,
  .ht-empty-state,
  .ht-contact-card,
  .ht-faq-item {
    padding: 22px;
  }

  .ht-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .ht-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ht-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ht-btn,
  .js-parallax-hero {
    transition: none !important;
    transform: none !important;
  }
}
