/**
 * Histoday marketing landing — full-bleed page (body.ht-landing)
 * Theme: data-theme="dark" | "light" on #ht-body
 */
body.ht-landing {
  --ht-purple: #7c3aed;
  --ht-purple-solid: #4b1fa4;
  --ht-amber: #f59e0b;
  --ht-cyan: #06b6d4;
  --ht-font: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  font-family: var(--ht-font);
  -webkit-font-smoothing: antialiased;
}

body.ht-landing[data-theme='dark'] {
  --ht-bg: #09080f;
  --ht-bg-alt: #100c1c;
  --ht-bg-card: rgba(255, 255, 255, 0.04);
  --ht-border: rgba(255, 255, 255, 0.08);
  --ht-border-brand: rgba(124, 58, 237, 0.25);
  --ht-text: #ffffff;
  --ht-text-sub: #c4b5fd;
  --ht-text-muted: #94a3b8;
  --ht-text-faint: #4b5563;
  --ht-purple-bg: rgba(124, 58, 237, 0.12);
  --ht-hero-overlay: linear-gradient(
    to bottom,
    rgba(9, 8, 15, 0.65) 0%,
    rgba(9, 8, 15, 0.75) 50%,
    rgba(9, 8, 15, 1) 100%
  );
  --ht-nav-bg: rgba(9, 8, 15, 0.9);
  --ht-shadow: rgba(0, 0, 0, 0.6);
  --ht-amber-cta: #f59e0b;
  --ht-store-dark: #ffffff;
  --ht-store-dark-fg: #1c1040;
}

body.ht-landing[data-theme='light'] {
  --ht-bg: #f8f5ff;
  --ht-bg-alt: #ede9fe;
  --ht-bg-card: #ffffff;
  --ht-border: rgba(75, 31, 164, 0.1);
  --ht-border-brand: rgba(75, 31, 164, 0.25);
  --ht-text: #1c1040;
  --ht-text-sub: #4b2096;
  --ht-text-muted: #5b5080;
  --ht-text-faint: #9ca3af;
  --ht-purple: #4b1fa4;
  --ht-purple-bg: rgba(75, 31, 164, 0.08);
  --ht-hero-overlay: linear-gradient(
    to bottom,
    rgba(248, 245, 255, 0.5) 0%,
    rgba(248, 245, 255, 0.6) 50%,
    rgba(248, 245, 255, 1) 100%
  );
  --ht-nav-bg: rgba(248, 245, 255, 0.92);
  --ht-shadow: rgba(75, 31, 164, 0.12);
  --ht-amber-cta: #d97706;
  --ht-store-dark: #1c1040;
  --ht-store-dark-fg: #ffffff;
}

body.ht-landing {
  background: var(--ht-bg);
  color: var(--ht-text);
  transition: background 0.3s, color 0.3s;
}

.ht-landing a {
  color: inherit;
  text-decoration: none;
}

.ht-landing *,
.ht-landing *::before,
.ht-landing *::after {
  box-sizing: border-box;
}

.ht-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .ht-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* —— Navbar —— */
#ht-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

#ht-nav.ht-nav--scrolled {
  background: var(--ht-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--ht-border);
  box-shadow: 0 4px 30px var(--ht-shadow);
}

.ht-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .ht-nav-inner {
    height: 5rem;
    padding: 0 2rem;
  }
}

.ht-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  color: var(--ht-text);
}

.ht-logo img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(75, 31, 164, 0.4);
  object-fit: cover;
}

.ht-logo span span {
  color: var(--ht-purple);
}

.ht-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .ht-nav-links {
    display: flex;
  }
}

.ht-nav-links button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: var(--ht-font);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ht-text-muted);
  transition: color 0.2s, background 0.2s;
}

.ht-nav-links button:hover {
  color: var(--ht-text);
  background: var(--ht-purple-bg);
}

.ht-nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .ht-nav-actions {
    display: flex;
  }
}

.ht-theme-track {
  position: relative;
  width: 3.5rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--ht-border-brand);
  background: var(--ht-purple-bg);
  cursor: pointer;
  padding: 0;
}

.ht-theme-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--ht-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #fff;
}

body.ht-landing[data-theme='light'] .ht-theme-knob {
  transform: translateX(26px);
}

.ht-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-family: var(--ht-font);
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--ht-amber-cta);
  color: #1c1040;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.ht-btn-cta:hover {
  transform: scale(1.03);
}

.ht-nav-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .ht-nav-mobile-toggle {
    display: none;
  }
}

.ht-icon-btn {
  border: none;
  background: var(--ht-purple-bg);
  color: var(--ht-purple);
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#ht-nav-mobile {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem;
  border-bottom: 1px solid var(--ht-border);
  backdrop-filter: blur(24px);
  background: var(--ht-nav-bg);
}

#ht-nav-mobile[hidden] {
  display: none !important;
}

body.ht-nav-mobile-open {
  overflow: hidden;
}

.ht-nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ht-nav-mobile-inner button {
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  font-family: var(--ht-font);
  font-size: 0.9375rem;
  color: var(--ht-text-muted);
  cursor: pointer;
}

.ht-nav-mobile-inner button:hover {
  background: var(--ht-purple-bg);
  color: var(--ht-text);
}

.ht-nav-mobile-inner .ht-btn-cta {
  width: 100%;
  margin-top: 0.5rem;
}

/* —— Sections shared —— */
.ht-section {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .ht-section {
    padding: 8rem 0;
  }
}

.ht-section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.ht-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--ht-border-brand);
  background: var(--ht-purple-bg);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ht-purple);
  margin-bottom: 1rem;
}

.ht-badge--cyan {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.08);
  color: var(--ht-cyan);
}

.ht-h2 {
  font-family: var(--ht-font);
  font-weight: 800;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ht-text);
  margin: 0 0 1rem;
}

.ht-h2 .ht-accent {
  color: var(--ht-purple);
}

.ht-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ht-text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* —— Hero —— */
.ht-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ht-bg);
}

.ht-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ht-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

body.ht-landing[data-theme='light'] .ht-hero-bg img {
  opacity: 0.07;
}

.ht-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ht-hero-overlay);
}

.ht-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% -20%,
    rgba(124, 58, 237, 0.18),
    transparent
  );
  pointer-events: none;
}

body.ht-landing[data-theme='light'] .ht-hero-glow {
  background: radial-gradient(
    ellipse 80% 50% at 50% -20%,
    rgba(75, 31, 164, 0.1),
    transparent
  );
}

.ht-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .ht-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ht-hero-copy {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .ht-hero-copy {
    text-align: left;
  }
}

.ht-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--ht-border-brand);
  background: var(--ht-purple-bg);
  margin-bottom: 1.5rem;
}

.ht-hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ht-purple);
  animation: ht-pulse 2s ease-in-out infinite;
}

@keyframes ht-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.ht-hero-badge span:last-child {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ht-purple);
}

.ht-h1 {
  font-family: var(--ht-font);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: var(--ht-text);
}

.ht-h1 .ht-accent {
  color: var(--ht-purple);
}

.ht-h1-sub {
  color: var(--ht-text-sub);
}

.ht-hero-p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ht-text-muted);
  margin: 0 0 2rem;
  max-width: 36rem;
}

@media (min-width: 1024px) {
  .ht-hero-p {
    margin-left: 0;
    margin-right: 0;
  }
}

.ht-store-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .ht-store-row {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .ht-store-row {
    justify-content: flex-start;
  }
}

.ht-store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-family: var(--ht-font);
  transition: transform 0.2s;
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

@media (min-width: 640px) {
  .ht-store-btn {
    width: auto;
    max-width: none;
  }
}

.ht-store-btn:hover {
  transform: scale(1.02);
}

.ht-landing a.ht-store-btn--primary {
  background: linear-gradient(135deg, #1c1040 0%, #3b1f7a 100%);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(75, 31, 164, 0.4);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.ht-landing a.ht-store-btn--secondary {
  background: linear-gradient(135deg, #0f172a 0%, #1a1040 100%);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

body.ht-landing[data-theme='light'] a.ht-store-btn--primary {
  background: linear-gradient(135deg, #4b1fa4 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(75, 31, 164, 0.35);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

body.ht-landing[data-theme='light'] a.ht-store-btn--secondary {
  background: linear-gradient(135deg, #1c1040 0%, #2d1b69 100%);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(28, 16, 64, 0.25);
  border: 1px solid rgba(75, 31, 164, 0.2);
}

.ht-store-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
}

.ht-store-btn strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.ht-hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--ht-text-muted);
}

@media (min-width: 1024px) {
  .ht-hero-proof {
    justify-content: flex-start;
  }
}

.ht-hero-proof strong {
  color: var(--ht-text);
  font-weight: 600;
}

.ht-divider {
  display: none;
  width: 1px;
  height: 1rem;
  background: var(--ht-border);
}

@media (min-width: 640px) {
  .ht-divider {
    display: block;
  }
}

/* Phone mockup */
.ht-phone-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.ht-phone-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: scale(0.75) translateY(2rem);
  filter: blur(48px);
  background: rgba(75, 31, 164, 0.3);
  pointer-events: none;
}

.ht-phone {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19.5;
  border-radius: 3rem;
  background: #141428;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@media (min-width: 640px) {
  .ht-phone {
    width: 300px;
  }
}

.ht-phone-notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1.5rem;
  background: #08080f;
  border-radius: 999px;
  z-index: 2;
}

.ht-phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ht-phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.ht-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 15, 0.8) 0%,
    transparent 40%,
    rgba(8, 8, 15, 0.9) 100%
  );
}

.ht-phone-ui {
  position: absolute;
  inset: 0;
  padding: 2.5rem 1.25rem 3.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.ht-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
}

.ht-phone-header {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ht-phone-header img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.5rem;
}

.ht-phone-title {
  margin-top: 0.5rem;
  font-weight: 800;
  font-size: 1.3rem;
}

.ht-phone-sub {
  font-size: 0.65rem;
  color: #9ca3af;
}

.ht-phone-cards {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ht-phone-card {
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.ht-phone-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.5rem;
  margin-bottom: 0.125rem;
}

.ht-phone-card-year {
  font-weight: 700;
}

.ht-phone-card-title {
  font-size: 0.65rem;
  font-weight: 600;
}

.ht-phone-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(8, 8, 15, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  z-index: 2;
}

.ht-phone-nav span {
  opacity: 0.4;
}

.ht-phone-nav span.ht-on {
  opacity: 1;
}

.ht-float {
  position: absolute;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.6rem;
  backdrop-filter: blur(12px);
  z-index: 3;
}

.ht-float--left {
  left: -3.5rem;
  top: 25%;
  border: 1px solid var(--ht-border-brand);
  background: var(--ht-bg-card);
  box-shadow: 0 8px 24px rgba(75, 31, 164, 0.2);
}

.ht-float--right {
  right: -3rem;
  top: 45%;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: var(--ht-bg-card);
}

@media (max-width: 400px) {
  .ht-float--left,
  .ht-float--right {
    display: none;
  }
}

.ht-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  color: var(--ht-text-faint);
  font-size: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ht-font);
}

.ht-scroll-hint:hover {
  color: var(--ht-purple);
}

/* —— Features grid —— */
#features {
  background: var(--ht-bg);
}

.ht-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ht-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ht-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ht-feature-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  transition: transform 0.2s, border-color 0.3s;
  overflow: hidden;
}

body.ht-landing[data-theme='light'] .ht-feature-card {
  box-shadow: 0 2px 12px rgba(75, 31, 164, 0.06);
}

.ht-feature-card:hover {
  transform: translateY(-4px);
}

.ht-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ht-feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--ht-text);
}

.ht-feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ht-text-muted);
}

/* —— How it works —— */
.ht-how {
  background: var(--ht-bg-alt);
}

.ht-how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .ht-how-steps {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }
}

.ht-how-card {
  flex: 1;
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
}

body.ht-landing[data-theme='light'] .ht-how-card {
  box-shadow: 0 4px 20px rgba(75, 31, 164, 0.07);
}

.ht-how-num {
  text-align: right;
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  margin-bottom: 1rem;
}

body.ht-landing[data-theme='light'] .ht-how-num {
  color: rgba(75, 31, 164, 0.06);
}

.ht-how-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ht-text);
}

.ht-how-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ht-text-muted);
}

.ht-how-cta {
  text-align: center;
  margin-top: 3rem;
}

/* —— Screenshots —— */
#screenshots {
  background: var(--ht-bg);
}

.ht-screens-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.ht-screen-slide {
  cursor: pointer;
  transition: transform 0.35s, opacity 0.35s;
  opacity: 0.5;
  transform: scale(0.92);
}

.ht-screen-slide--active {
  opacity: 1;
  transform: scale(1);
}

.ht-screen-slide--dim {
  opacity: 0.5;
}

.ht-screen-phone {
  width: 220px;
  aspect-ratio: 9 / 19.5;
  border-radius: 2.5rem;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(124, 58, 237, 0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ht-screen-slide--active .ht-screen-phone {
  border-color: var(--ht-accent-phone, #7c3aed);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.ht-screen-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ht-screen-ui {
  position: absolute;
  inset: 0;
  padding: 3rem 0.875rem 0.875rem;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.ht-screen-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.ht-screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--ht-border);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.ht-screen-dot--active {
  width: 24px;
  background: var(--ht-purple);
}

.ht-screens-label {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ht-text-muted);
}

/* —— Today preview —— */
#events {
  background: var(--ht-bg-alt);
}

.ht-event-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .ht-event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ht-event-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ht-event-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  transition: transform 0.3s;
}

.ht-event-card:hover {
  transform: translateY(-2px);
}

.ht-event-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ht-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  transition: transform 0.5s;
}

.ht-event-card:hover .ht-event-media img {
  transform: scale(1.05);
}

.ht-event-media.ht-locked img {
  filter: blur(6px) brightness(0.25);
}

.ht-event-chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
}

.ht-event-year {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ht-event-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ht-event-body {
  padding: 1rem;
}

.ht-event-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.375rem;
  color: var(--ht-text);
}

.ht-event-body p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ht-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ht-cta-banner {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--ht-border-brand);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.15) 0%,
    rgba(6, 182, 212, 0.08) 100%
  );
  overflow: hidden;
}

body.ht-landing[data-theme='light'] .ht-cta-banner {
  background: linear-gradient(
    135deg,
    rgba(75, 31, 164, 0.08) 0%,
    rgba(6, 182, 212, 0.06) 100%
  );
}

/* —— Testimonials —— */
#testimonials {
  background: var(--ht-bg);
}

.ht-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .ht-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ht-stat {
  text-align: center;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
}

.ht-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ht-purple);
  letter-spacing: -0.03em;
}

.ht-testimonial-page {
  display: grid;
  gap: 1.25rem;
}

.ht-testimonial-page[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .ht-testimonial-page {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ht-testi-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.ht-landing[data-theme='light'] .ht-testi-card {
  box-shadow: 0 2px 16px rgba(75, 31, 164, 0.06);
}

.ht-testi-card p {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ht-text-muted);
}

.ht-testi-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ht-border);
}

.ht-testi-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.ht-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.ht-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: var(--ht-border);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, background 0.3s;
}

.ht-dot--active {
  width: 24px;
  background: var(--ht-purple);
}

/* —— Pricing —— */
#pricing {
  background: var(--ht-bg-alt);
}

.ht-price-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  margin-bottom: 2rem;
}

.ht-price-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-family: var(--ht-font);
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--ht-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ht-price-toggle__btn--active {
  background: var(--ht-purple-bg);
  color: var(--ht-purple);
  font-weight: 600;
}

.ht-price-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .ht-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ht-price-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  display: flex;
  flex-direction: column;
}

.ht-price-card--premium {
  position: relative;
  border-color: var(--ht-border-brand);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(75, 31, 164, 0.08) 100%
  );
}

body.ht-landing[data-theme='light'] .ht-price-card--premium {
  background: linear-gradient(
    135deg,
    rgba(75, 31, 164, 0.07) 0%,
    rgba(124, 58, 237, 0.05) 100%
  );
  box-shadow: 0 8px 30px rgba(75, 31, 164, 0.12);
}

.ht-price-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--ht-purple);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.ht-price-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  flex: 1;
}

.ht-price-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--ht-text-muted);
}

.ht-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--ht-text-faint);
}

/* —— FAQ —— */
#faq {
  background: var(--ht-bg);
}

.ht-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.ht-faq-item {
  border-radius: 1rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.ht-faq-item--open {
  border-color: var(--ht-border-brand);
  background: var(--ht-purple-bg);
}

.ht-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--ht-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ht-text);
}

.ht-faq-item--open .ht-faq-q {
  color: var(--ht-purple);
}

.ht-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.ht-faq-item--open .ht-faq-chevron {
  transform: rotate(180deg);
}

.ht-faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ht-text-muted);
}

.ht-faq-item--open .ht-faq-a {
  display: block;
}

/* —— Contact —— */
#contact {
  background: var(--ht-bg-alt);
}

.ht-contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .ht-contact-grid {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
}

.ht-info-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ht-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ht-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ht-tag {
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  border: 1px solid var(--ht-border);
  background: transparent;
  color: var(--ht-text-muted);
  cursor: pointer;
  font-family: var(--ht-font);
}

.ht-tag--active {
  border-color: var(--ht-border-brand);
  background: var(--ht-purple-bg);
  color: var(--ht-purple);
}

.ht-form {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
}

body.ht-landing[data-theme='light'] .ht-form {
  box-shadow: 0 4px 24px rgba(75, 31, 164, 0.07);
}

.ht-field {
  margin-bottom: 1.25rem;
}

.ht-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ht-text-muted);
}

.ht-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--ht-border);
  background: var(--ht-bg-card);
  color: var(--ht-text);
  font-family: var(--ht-font);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

body.ht-landing[data-theme='dark'] .ht-input {
  background: rgba(255, 255, 255, 0.04);
}

body.ht-landing[data-theme='light'] .ht-input {
  background: rgba(75, 31, 164, 0.04);
}

.ht-input:focus {
  outline: none;
  border-color: var(--ht-purple);
}

.ht-input--error {
  border-color: rgba(239, 68, 68, 0.5) !important;
}

.ht-err {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #ef4444;
}

.ht-btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: none;
  font-family: var(--ht-font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: var(--ht-amber-cta);
  color: #1c1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.ht-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ht-btn--loading .ht-btn-text {
  display: none;
}

.ht-btn--loading::after {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(28, 16, 64, 0.3);
  border-top-color: #1c1040;
  border-radius: 50%;
  animation: ht-spin 0.8s linear infinite;
}

@keyframes ht-spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— Footer —— */
.ht-footer {
  border-top: 1px solid var(--ht-border);
  background: var(--ht-bg);
}

.ht-footer-cta {
  position: relative;
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--ht-border);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12) 0%,
    rgba(75, 31, 164, 0.07) 100%
  );
}

body.ht-landing[data-theme='light'] .ht-footer-cta {
  background: linear-gradient(
    135deg,
    rgba(75, 31, 164, 0.07) 0%,
    rgba(124, 58, 237, 0.04) 100%
  );
}

.ht-footer-main {
  padding: 4rem 0;
}

.ht-footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ht-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ht-footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

.ht-footer-links h4 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ht-text);
}

.ht-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ht-footer-links a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--ht-text-muted);
  transition: color 0.2s;
}

.ht-footer-links a:hover {
  color: var(--ht-purple);
}

.ht-social {
  display: flex;
  gap: 0.75rem;
}

.ht-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--ht-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ht-text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.ht-social a:hover {
  color: var(--ht-purple);
  border-color: var(--ht-border-brand);
  background: var(--ht-purple-bg);
}

.ht-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ht-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ht-text-faint);
}

@media (min-width: 640px) {
  .ht-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.ht-text-strong {
  color: var(--ht-text);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
