/* ============= Base ============= */
:root {
  --bg: #070015;
  --bg-alt: #0d021f;
  --accent: #c056ff;
  --accent-soft: #7f5dff;
  --accent-strong: #f472ff;
  --text: #f8fafc;
  --text-dim: #9ca3af;
  --surface: #120325;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.lh-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #3b0764 0, transparent 50%),
              radial-gradient(circle at bottom right, #0ea5e9 0, transparent 55%),
              var(--bg);
}

/* ============= Navigation + Hero ============= */

.lh-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 72px;
}

.lh-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(148, 163, 184, .16), rgba(15, 23, 42, .65));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 12px;
  z-index: 20;
}

.lh-logo {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lh-cta {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lh-cta:hover {
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.5);
}

/* hero content */

.lh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  margin-top: 56px;
  align-items: center;
}

.lh-hero-copy h1 {
  font-size: clamp(2.4rem, 3.1vw + 1.2rem, 3.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.lh-hero-copy p {
  margin: 0 0 20px;
  color: var(--text-dim);
  max-width: 32rem;
  font-size: 0.98rem;
}

.lh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.lh-primary-btn,
.lh-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
              color 0.18s ease, opacity 0.18s ease;
}

.lh-primary-btn {
  background-image: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(192, 86, 255, 0.45);
  color: #0b0415;
}

.lh-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(192, 86, 255, 0.65);
}

.lh-secondary-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text);
}

.lh-secondary-btn:hover {
  background: rgba(15, 23, 42, 0.7);
  transform: translateY(-1px);
}

.lh-note {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.85);
}

/* ============= Hero preview "screen" ============= */

.lh-hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
}

.lh-screen-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(192, 86, 255, 0.45), transparent 70%);
  filter: blur(18px);
  transform: translateY(18px);
  z-index: 0;
}

.lh-screen {
  position: relative;
  width: 320px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  z-index: 1;
  animation: floatUpDown 6s ease-in-out infinite;
}

.lh-screen-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.lh-screen-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
}

.lh-screen-header .dot.red { background: #f97373; }
.lh-screen-header .dot.yellow { background: #facc15; }
.lh-screen-header .dot.green { background: #4ade80; }

.lh-screen-body {
  padding: 16px 18px 18px;
}

.lh-kpi-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.kpi {
  padding: 10px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.4), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.kpi:nth-child(2) {
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.42), rgba(15, 23, 42, 0.94));
}

.kpi-label {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.86);
}

.kpi-value {
  margin-top: 4px;
  font-weight: 700;
  font-size: 1.05rem;
}

.lh-bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #a3e635);
  opacity: 0.9;
  margin-bottom: 8px;
}

.lh-bar-small {
  width: 65%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
}

/* subtle float animation for the preview */
@keyframes floatUpDown {
  0%   { transform: translateY(0px);   }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px);   }
}

/* ============= Features section ============= */

.lh-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.lh-section h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 26px;
}

.lh-features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lh-feature {
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.lh-feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lh-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ============= Call-to-action band ============= */

.lh-cta-section {
  text-align: center;
  padding-bottom: 72px;
}

.lh-cta-section p {
  margin-top: 4px;
  margin-bottom: 20px;
  color: var(--text-dim);
}

/* ============= Footer ============= */

.lh-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 16px 26px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.75);
}

/* ============= Responsive tweaks ============= */

@media (max-width: 880px) {
  .lh-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .lh-hero-preview {
    order: -1;
  }

  .lh-nav {
    padding-inline: 14px;
  }

  .lh-screen {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 680px) {
  .lh-features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lh-hero {
    padding-inline: 14px;
  }

  .lh-hero-copy h1 {
    font-size: 2.1rem;
  }
}

/* ============= Why People Love Purple Horizon ============= */

.lh-love {
  max-width: 1120px;
  margin: 0 auto;
  padding: 50px 16px 60px;
  text-align: center;
}

.lh-love h2 {
  font-size: 1.7rem;
  margin-bottom: 30px;
}

.lh-love-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lh-love-card {
  padding: 22px 20px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(30, 10, 55, 0.92), rgba(15, 7, 30, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lh-love-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
}

.lh-love-emoji {
  font-size: 32px;
  margin-bottom: 10px;
}

.lh-love-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.lh-love-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .lh-love-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ============= Trust / Privacy Section ============= */

.lh-trust {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 16px;
  text-align: center;
}

.lh-trust h2 {
  font-size: 1.7rem;
  margin-bottom: 34px;
}

.lh-trust-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lh-trust-item {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(15,23,42,0.95), rgba(12,18,30,0.92));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

.lh-trust-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.lh-trust-item h3 {
  margin: 0 0 8px;
}

.lh-trust-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-dim);
}

@media (max-width: 680px) {
  .lh-trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============= Reveal Animations ============= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= FAQ Section (Animated) ============= */

.lh-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 16px 80px;
}

.lh-faq h2 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.6rem;
}

.lh-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
  overflow: hidden;
}

.lh-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .25s ease;
}

.lh-faq-q span {
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.lh-faq-item.open .lh-faq-q span {
  transform: rotate(180deg);
}

.lh-faq-a {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition:
    max-height .40s cubic-bezier(.4,0,.2,1),
    opacity .30s ease,
    transform .40s cubic-bezier(.4,0,.2,1);
}

.lh-faq-item.open .lh-faq-a {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 10px;
}

/* ============= Trust / Privacy Cards (Animated) ============= */

.lh-trust-item {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(15,23,42,0.95), rgba(12,18,30,0.92));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lh-trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.75);
  border-color: rgba(255,255,255,0.12);
}

.lh-trust-icon {
  font-size: 34px;
  margin-bottom: 12px;
  transition: transform .25s ease;
}

.lh-trust-item:hover .lh-trust-icon {
  transform: scale(1.08);
}

/* ============= FAQ Section (Ultra-smooth Animation) ============= */

.lh-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 16px 80px;
}

.lh-faq h2 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.6rem;
}

.lh-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
}

/* Question button */
.lh-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lh-faq-q span {
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

/* Rotate arrow when open */
.lh-faq-item.open .lh-faq-q span {
  transform: rotate(180deg);
}

/* Answer wrapper for perfect animation */
.lh-faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  transition:
    max-height .35s cubic-bezier(.4, 0, .2, 1),
    opacity .25s ease;
}

/* Open state — NO padding animation = smooth */
.lh-faq-item.open .lh-faq-a {
  opacity: 1;
  max-height: 250px; /* Enough for any short FAQ */
  padding-top: 6px;
}

.lh-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lh-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  background: transparent; /* make sure nothing behind it */
}

.lh-logo-text {
  font-weight: 700;
  font-size: 1rem;
}
