/* ============================================================
   homepage.css — LizzieMagie Consumer Landing Page
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --purple:       #667eea;
  --purple-dark:  #764ba2;
  --orange:       #ff7043;
  --orange-light: #ffa726;
  --teal:         #26c6da;
  --teal-dark:    #00acc1;
  --yellow:       #ffd740;
  --green:        #66bb6a;
  --pink:         #ec407a;
  --red:          #ef5350;

  --text-dark:    #1a1a2e;
  --text-body:    #444;
  --text-muted:   #777;
  --bg-light:     #f8f9ff;
  --white:        #ffffff;

  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
  --radius-xl:    40px;

  --shadow-sm:    0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:    0 16px 50px rgba(0,0,0,0.14);

  --font-headline: 'Kabel', 'Futura', 'Century Gothic', 'Arial Rounded MT Bold', sans-serif;
  --font-body:     'Roboto', 'Arial', sans-serif;
}

/* ---------- Base Reset (homepage only) ---------- */
.hp-body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.hp-body *, .hp-body *::before, .hp-body *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hp-body a { text-decoration: none; color: inherit; }
.hp-body img { max-width: 100%; height: auto; display: block; }
.hp-body ul, .hp-body ol { list-style: none; }

/* ---------- Scroll-animation base ---------- */
.hp-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal-delay-1 { transition-delay: 0.1s; }
.hp-reveal-delay-2 { transition-delay: 0.2s; }
.hp-reveal-delay-3 { transition-delay: 0.3s; }
.hp-reveal-delay-4 { transition-delay: 0.4s; }
.hp-reveal-delay-5 { transition-delay: 0.5s; }
.hp-reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   NAV
   ============================================================ */
.hp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.hp-nav.scrolled {
  box-shadow: 0 4px 30px rgba(102,126,234,0.15);
}

.hp-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-nav-logo img {
  height: 38px;
  width: auto;
}

.hp-nav-logo-text {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hp-nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}
.hp-nav-links a:hover { color: var(--purple); }

.hp-nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 4px 14px rgba(102,126,234,0.35);
}
.hp-nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(102,126,234,0.45) !important;
  color: var(--white) !important;
}

.hp-nav-signin {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--purple);
  color: var(--purple) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: background 0.2s, color 0.2s, transform 0.2s !important;
}
.hp-nav-signin:hover {
  background: var(--purple);
  color: var(--white) !important;
  transform: translateY(-2px) !important;
}

.hp-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hp-nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hp-hero {
  min-height: 100vh;
  padding: 100px 5% 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #f0f3ff 0%, #fdf6ff 50%, #fff8f0 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hp-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102,126,234,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hp-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,112,67,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102,126,234,0.10);
  border: 1.5px solid rgba(102,126,234,0.25);
  color: var(--purple);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hp-hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: hp-pulse 2s infinite;
}

@keyframes hp-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hp-hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.hp-hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 38px;
  max-width: 480px;
}

.hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  padding: 16px 38px;
  border-radius: 50px;
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 22px rgba(102,126,234,0.40);
  text-decoration: none;
}
.hp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(102,126,234,0.50);
}

.hp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--purple);
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(102,126,234,0.35);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.hp-btn-secondary:hover {
  border-color: var(--purple);
  background: rgba(102,126,234,0.06);
}

.hp-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hp-trust-item .hp-trust-icon {
  font-size: 1rem;
}

/* Hero board art — CSS-only illustrated board */
.hp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hp-board-art {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
}

.hp-board-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #667eea 0%, #764ba2 40%, #ff7043 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(102,126,234,0.15);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 4px;
  padding: 12px;
  animation: hp-float 6s ease-in-out infinite;
}

@keyframes hp-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.hp-board-cell {
  border-radius: 6px;
  background: rgba(255,255,255,0.18);
  transition: background 0.3s;
}

.hp-board-cell.corner {
  background: rgba(255,255,255,0.35);
  border-radius: 8px;
}

.hp-board-center {
  grid-column: 2 / 7;
  grid-row: 2 / 7;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}

.hp-board-center-logo {
  width: 70%;
  max-width: 160px;
  object-fit: contain;
}

.hp-board-center-tag {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* Floating badges on the board art */
.hp-board-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: hp-float-badge 5s ease-in-out infinite;
}
.hp-board-badge.badge-1 {
  top: -16px;
  right: -10px;
  color: var(--orange);
  animation-delay: 0s;
}
.hp-board-badge.badge-2 {
  bottom: 20px;
  left: -20px;
  color: var(--teal-dark);
  animation-delay: 1.5s;
}
.hp-board-badge.badge-3 {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  color: var(--purple);
  animation-delay: 3s;
}

@keyframes hp-float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hp-board-badge.badge-3 {
  animation-name: hp-float-badge-mid;
}
@keyframes hp-float-badge-mid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.hp-section {
  padding: 90px 5%;
}

.hp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.hp-section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hp-section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 60px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hp-how {
  background: var(--bg-light);
}

.hp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.hp-steps::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  opacity: 0.3;
}

.hp-step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hp-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.hp-step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
}

.hp-step-icon {
  font-size: 3rem;
  margin-bottom: 18px;
  display: block;
}

.hp-step-title {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hp-step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   GAME GALLERY
   ============================================================ */
.hp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hp-game-card {
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
  position: relative;
}
.hp-game-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.hp-game-card-top {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Each card has a distinct color theme */
.hp-game-card:nth-child(1) .hp-game-card-top { background: linear-gradient(135deg, #667eea, #764ba2); }
.hp-game-card:nth-child(2) .hp-game-card-top { background: linear-gradient(135deg, #ff7043, #ffa726); }
.hp-game-card:nth-child(3) .hp-game-card-top { background: linear-gradient(135deg, #26c6da, #00acc1); }
.hp-game-card:nth-child(4) .hp-game-card-top { background: linear-gradient(135deg, #66bb6a, #43a047); }
.hp-game-card:nth-child(5) .hp-game-card-top { background: linear-gradient(135deg, #ec407a, #c2185b); }
.hp-game-card:nth-child(6) .hp-game-card-top { background: linear-gradient(135deg, #ffd740, #ff8f00); }
.hp-game-card:nth-child(7) .hp-game-card-top { background: linear-gradient(135deg, #ab47bc, #7b1fa2); }
.hp-game-card:nth-child(8) .hp-game-card-top { background: linear-gradient(135deg, #ef5350, #b71c1c); }

/* Board-piece doodle inside each card top */
.hp-game-card-art {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.20));
  user-select: none;
}

.hp-game-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.35);
}

.hp-game-card-body {
  background: white;
  padding: 20px 20px 22px;
}

.hp-game-card-title {
  font-family: var(--font-headline);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.25;
}

.hp-game-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   FEATURES / WHAT YOU GET
   ============================================================ */
.hp-features {
  background: linear-gradient(150deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
}

.hp-features .hp-section-eyebrow {
  color: var(--yellow);
}

.hp-features .hp-section-title {
  color: white;
}

.hp-features .hp-section-subtitle {
  color: rgba(255,255,255,0.60);
}

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

.hp-feature-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: background 0.3s, transform 0.3s;
}
.hp-feature-item:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}

.hp-feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.hp-feature-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.hp-feature-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.hp-testimonials {
  background: var(--bg-light);
}

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

.hp-testimonial {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.hp-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.hp-testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--purple);
  opacity: 0.12;
  font-family: Georgia, serif;
}

.hp-testimonial-stars {
  font-size: 1rem;
  color: #ffc107;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hp-testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 22px;
  font-style: italic;
}

.hp-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hp-testimonial:nth-child(1) .hp-testimonial-avatar { background: linear-gradient(135deg, #667eea, #764ba2); }
.hp-testimonial:nth-child(2) .hp-testimonial-avatar { background: linear-gradient(135deg, #ff7043, #ffa726); }
.hp-testimonial:nth-child(3) .hp-testimonial-avatar { background: linear-gradient(135deg, #26c6da, #00acc1); }

.hp-testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.hp-testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   WAITLIST / EARLY ACCESS
   ============================================================ */
.hp-waitlist {
  background: linear-gradient(150deg, #f0f3ff 0%, #fdf6ff 100%);
  text-align: center;
}

.hp-waitlist .hp-section-inner {
  max-width: 680px;
}

.hp-waitlist .hp-section-subtitle {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hp-waitlist-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,112,67,0.12);
  color: var(--orange);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hp-waitlist-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.hp-form-group {
  margin-bottom: 20px;
}

.hp-form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.hp-form-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hp-form-input,
.hp-form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text-dark);
  background: #fafbff;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.hp-form-input:focus,
.hp-form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(102,126,234,0.12);
  background: white;
}

.hp-form-textarea {
  min-height: 100px;
  resize: vertical;
}

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

.hp-form-submit {
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(102,126,234,0.35);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.hp-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(102,126,234,0.45);
}
.hp-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.hp-form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Success state */
.hp-waitlist-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.hp-waitlist-success.show {
  display: block;
}
.hp-success-icon {
  font-size: 4rem;
  margin-bottom: 18px;
  display: block;
}
.hp-success-title {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.hp-success-msg {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Error state */
.hp-form-error {
  display: none;
  color: #ef4444;
  font-size: 0.82rem;
  margin-top: 6px;
}
.hp-form-error.show {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.hp-footer {
  background: #0d0d1a;
  color: rgba(255,255,255,0.65);
  padding: 60px 5% 36px;
}

.hp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.hp-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hp-footer-brand-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.hp-footer-brand-name {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  color: white;
  font-weight: 700;
}

.hp-footer-tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 22px;
}

.hp-footer-magie {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.40);
  font-style: italic;
  max-width: 280px;
}

.hp-footer-col-title {
  font-family: var(--font-headline);
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hp-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.hp-footer-col a:hover { color: white; }

.hp-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.hp-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
  text-decoration: none;
}
.hp-social-link:hover {
  background: rgba(102,126,234,0.30);
  border-color: var(--purple);
  color: white;
}

.hp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.hp-footer-legal {
  display: flex;
  gap: 20px;
}
.hp-footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.hp-footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hp-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hp-hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hp-hero-actions { justify-content: center; }
  .hp-hero-trust { justify-content: center; }
  .hp-hero-visual { order: -1; }
  .hp-board-art { max-width: 320px; }

  .hp-steps { grid-template-columns: 1fr; gap: 40px; }
  .hp-steps::before { display: none; }

  .hp-features-grid { grid-template-columns: repeat(2, 1fr); }

  .hp-testimonials-grid { grid-template-columns: 1fr; }

  .hp-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .hp-nav-links { display: none; }
  .hp-nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .hp-section { padding: 64px 5%; }

  .hp-hero { padding: 90px 5% 60px; }

  .hp-gallery-grid { grid-template-columns: 1fr; }

  .hp-features-grid { grid-template-columns: 1fr; }

  .hp-waitlist-form-card { padding: 30px 22px; }
  .hp-form-row { grid-template-columns: 1fr; }

  .hp-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hp-footer-bottom { flex-direction: column; align-items: flex-start; }

  .hp-board-art { max-width: 260px; }

  .hp-board-badge.badge-2,
  .hp-board-badge.badge-3 { display: none; }
}

/* ---------- Mobile Nav open state ---------- */
.hp-nav-mobile-open .hp-nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  padding: 20px 5%;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 899;
}
