/* ===== VARIABLES ===== */
:root {
  --turquoise: #2EC4B6;
  --turquoise-dark: #20a99c;
  --navy: #1B2A4A;
  --navy-light: #263a5e;
  --gold: #D4A843;
  --gold-light: #E8C96A;
  --cream: #EDF9F8;
  --white: #FFFFFF;
  --text-dark: #1B2A4A;
  --text-body: #3D4F6F;
  --text-light: #6B7B98;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.btn-primary:hover {
  background-color: var(--turquoise-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(46, 196, 182, 0.35);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  padding: 2rem 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 42, 74, 0.85) 0%,
    rgba(27, 42, 74, 0.7) 50%,
    rgba(46, 196, 182, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-date {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-hook {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ===== MOVEMENT ===== */
.movement {
  padding: 6rem 0;
  background-color: var(--cream);
  text-align: center;
}

.movement-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: center;
}

.movement-video video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.12);
}

.movement .section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--turquoise-dark);
  margin-bottom: 1.5rem;
}

.movement-copy {
  text-align: left;
}

.movement-copy p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .movement-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .movement .section-title {
    text-align: center;
  }

  .movement-copy {
    text-align: center;
  }
}

/* ===== BUILT BY YOU ===== */
.built-by-you {
  padding: 6rem 0;
  background-color: var(--white);
  text-align: center;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.vote-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
}

.vote-icon {
  color: var(--turquoise);
  margin-bottom: 1.25rem;
}

.vote-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.vote-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ===== PERKS ===== */
.perks {
  padding: 6rem 0;
  background-color: var(--navy);
  color: var(--white);
}

.perks .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 3rem;
}

.perks-list {
  max-width: 700px;
  margin: 0 auto;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.perk-icon {
  flex-shrink: 0;
  color: var(--turquoise);
  margin-top: 2px;
}

.perk-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.perk-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

/* ===== EVENT SNAPSHOT ===== */
.snapshot {
  padding: 6rem 0;
  background-color: var(--cream);
  text-align: center;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.snapshot-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.25rem;
  box-shadow: 0 2px 12px rgba(27, 42, 74, 0.06);
}

.snapshot-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}

.snapshot-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.snapshot-card p {
  font-size: 0.9375rem;
  color: var(--text-body);
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 6rem 0;
  background-color: var(--white);
  text-align: center;
}

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

.photo-placeholder {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--cream);
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Show fallback text when image fails to load */
.photo-placeholder img[src] {
  position: relative;
  z-index: 1;
}

.photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== WAITLIST FORM ===== */
.waitlist {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}

.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.waitlist .section-title {
  color: var(--white);
}

.waitlist .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.waitlist-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--turquoise);
  background-color: rgba(255, 255, 255, 0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background-color: var(--navy);
  color: var(--white);
}

.waitlist .btn-primary {
  margin-top: 0.75rem;
  padding: 1.125rem;
  font-size: 1.1875rem;
}

.form-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 1rem;
}

/* Thank you state */
.thank-you {
  padding: 3rem 0;
}

.thank-you h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--turquoise);
  margin-bottom: 1rem;
}

.thank-you p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0 2rem;
  background-color: #111D33;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--turquoise);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

/* ===== RESPONSIVE ===== */

/* Tablets */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .movement,
  .built-by-you,
  .perks,
  .snapshot,
  .social-proof,
  .waitlist {
    padding: 4rem 0;
  }

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

  .snapshot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    min-height: 85vh;
    padding: 3rem 1.25rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-date {
    font-size: 1rem;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .movement,
  .built-by-you,
  .perks,
  .snapshot,
  .social-proof,
  .waitlist {
    padding: 3.5rem 0;
  }

  .vote-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .vote-card {
    padding: 1.75rem 1rem;
  }

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

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

  .perk-item {
    gap: 1rem;
  }
}
