/* ============================================================
   Peekle landing — design tokens & layout adapted from the
   Pomelli-generated baseline (site/baseline/). Palette, fonts,
   and section styles are kept as-is; waitlist form, interest
   chips, legal pages, and cookie notice are added below.
   ============================================================ */

:root {
  --dark: #1D1937;
  --primary: #9B68FE;
  --lavender: #D3C3FB;
  --pink: #FFDDE2;
  --cream: #FFFCE8;
  --white: #FFFFFF;
  --shadow-sm: 0 6px 18px rgba(29, 25, 55, 0.06);
  --shadow-md: 0 12px 32px rgba(29, 25, 55, 0.1);
  --shadow-lg: 0 20px 48px rgba(29, 25, 55, 0.14);
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 90px;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 300;
  background: rgba(255, 252, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(211, 195, 251, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(155, 104, 254, 0.35);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(3deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 5% 6rem 5%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(29, 25, 55, 0.85);
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  padding: 16px;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--lavender);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.phone-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.widget-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 24px 24px 0 24px;
}

.widget-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 20px;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.floating-badge.badge-top {
  top: -15px;
  left: -20px;
  border: 2px solid var(--pink);
}

.floating-badge.badge-bottom {
  bottom: -20px;
  right: -10px;
  border: 2px solid var(--lavender);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.15rem;
  color: rgba(29, 25, 55, 0.75);
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 5%;
  background: var(--white);
  position: relative;
}

.steps-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--cream);
  padding: 2.2rem 1.8rem;
  border-radius: 28px 28px 0 28px;
  border: 2px solid rgba(211, 195, 251, 0.5);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-icon {
  width: 54px;
  height: 54px;
  background: var(--pink);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.step-desc {
  font-size: 1rem;
  color: rgba(29, 25, 55, 0.8);
}

/* Visual Story Banner Section */
.banner-section {
  padding: 5rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.banner-card {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
  border-radius: 36px;
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.banner-text h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.banner-text p {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.8rem;
  opacity: 0.9;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.value-tag {
  background: var(--white);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.banner-image-wrap {
  width: 100%;
  height: 320px;
  border-radius: 24px 24px 0 24px;
  box-shadow: var(--shadow-sm);
}

.banner-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 24px;
}

/* Features / Why Couples Love Peekle */
.features-section {
  padding: 6rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: 32px 32px 0 32px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(155, 104, 254, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-header {
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.feature-text {
  font-size: 1.05rem;
  color: rgba(29, 25, 55, 0.8);
  margin-bottom: 1.5rem;
}

.feature-img-box {
  width: 100%;
  height: 240px;
  border-radius: 20px 20px 0 20px;
}

.feature-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 20px;
}

/* Story Section */
.story-section {
  padding: 6rem 5%;
  background: var(--cream);
  border-top: 2px dashed rgba(155, 104, 254, 0.2);
}

.story-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-img-container {
  width: 100%;
  height: 380px;
  border-radius: 32px 32px 0 32px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.story-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px 28px 0 28px;
}

.story-content h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

.story-content p {
  font-size: 1.1rem;
  color: rgba(29, 25, 55, 0.85);
  margin-bottom: 1.5rem;
}

/* Abstract Backdrop Decor Divider */
.divider-backdrop {
  width: 100%;
  height: 180px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 5% 2.5rem 5%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 360px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--lavender);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

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

.address-info {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

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

/* ============================================================
   Waitlist form (replaces the baseline's single placeholder CTA)
   ============================================================ */

.waitlist-form {
  width: 100%;
  max-width: 540px;
}

.hero .waitlist-form {
  margin-top: 0.5rem;
}

.field-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 15px 20px;
  border-radius: 50px;
  border: 2px solid var(--lavender);
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(155, 104, 254, 0.15);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 15px 34px;
  border-radius: 50px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(155, 104, 254, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(155, 104, 254, 0.45);
  background: #8b52fe;
}

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

/* Interest chips — the "what excites you most?" signal */
.interest-block {
  margin-top: 1.2rem;
}

.interest-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(29, 25, 55, 0.7);
  margin-bottom: 0.7rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero .chips { justify-content: flex-start; }

.chip {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--lavender);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover { border-color: var(--primary); }

.chip[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.form-msg {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 1.2em;
}

.form-msg.success { color: #2e7d32; }
.form-msg.error { color: #c62828; }

.reassure {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: rgba(29, 25, 55, 0.6);
}

/* honeypot — hidden from humans, catches bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Closing CTA section */
.closing {
  padding: 6rem 5% 7rem 5%;
  text-align: center;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);
}

.closing h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.closing p {
  font-size: 1.15rem;
  color: rgba(29, 25, 55, 0.8);
  max-width: 560px;
  margin: 0 auto 2.2rem auto;
}

.closing .waitlist-form {
  margin: 0 auto;
}

.closing .chips { justify-content: center; }

/* ============================================================
   Video slot (optional 9:16 demo — hidden until a file is added)
   ============================================================ */
.demo-video-wrap {
  display: none;
}

/* ============================================================
   Legal pages (privacy.html / terms.html)
   ============================================================ */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 5% 5rem 5%;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(29, 25, 55, 0.7);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-back:hover { color: var(--primary); }

.legal-card {
  background: var(--white);
  border-radius: 28px 28px 0 28px;
  border: 1px solid rgba(155, 104, 254, 0.15);
  box-shadow: var(--shadow-sm);
  padding: 2.6rem 2.4rem;
}

.legal-card h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.8rem 0 0.7rem 0;
}

.legal-card p,
.legal-card li {
  color: rgba(29, 25, 55, 0.85);
  margin-bottom: 0.8rem;
}

.legal-card ul {
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
}

.legal-card a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-meta {
  color: rgba(29, 25, 55, 0.55);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

/* ============================================================
   Cookie / analytics notice
   ============================================================ */
.cookie-notice {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--lavender);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  padding: 16px 20px;
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 400;
}

.cookie-notice.show { display: flex; }

.cookie-notice p {
  flex: 1 1 320px;
  font-size: 0.92rem;
  color: rgba(29, 25, 55, 0.85);
  margin: 0;
}

.cookie-notice a { color: var(--primary); }

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid var(--lavender);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
}

.cookie-btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-description {
    margin: 0 auto 2.2rem auto;
  }

  .hero .waitlist-form { margin: 0 auto; }
  .hero .chips { justify-content: center; }

  .hero-visual {
    margin-top: 2rem;
  }

  .banner-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.8rem;
  }

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

  .story-container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .nav-links {
    display: none;
  }

  .floating-badge {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .field-row { flex-direction: column; }
  .waitlist-form input[type="email"],
  .cta-btn { width: 100%; }
}
