:root {
  /* Brand palette */
  --black: #000000;
  --burgundy: #35001c;
  --red-primary: #c3221f;
  --red-dark: #9a1b19;
  --warm-gray: #d0cac4;
  --cream: #edede9;
  --white: #ffffff;

  /* Semantic tokens */
  --bg-primary: var(--cream);
  --bg-surface: var(--white);
  --bg-card: var(--white);
  --bg-input: #f5f4f1;
  --text-primary: var(--black);
  --text-secondary: #4a4540;
  --text-muted: #8a847d;
  --accent: var(--red-primary);
  --accent-dark: var(--burgundy);
  --accent-glow: rgba(195, 34, 31, 0.12);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.12);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--red {
  background: var(--red-primary);
  top: -250px;
  right: -150px;
  opacity: 0.08;
}

.bg-glow--blue {
  background: var(--warm-gray);
  bottom: -300px;
  left: -200px;
  opacity: 0.25;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.6rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo__img {
  height: 180px;
  width: auto;
  object-fit: contain;
  margin: -40px 0;
}

.nav__badge {
  padding: 0.35rem 0.85rem;
  background: rgba(195, 34, 31, 0.08);
  border: 1px solid rgba(195, 34, 31, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
}

.hero__container {
  max-width: var(--max-width);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(195, 34, 31, 0.06);
  border: 1px solid rgba(195, 34, 31, 0.15);
  border-radius: 100px;
  width: fit-content;
  animation: pulse-border 3s ease-in-out infinite;
}

.hero__launch-dot {
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.hero__launch-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--burgundy);
}

.hero__title--highlight {
  background: linear-gradient(135deg, var(--red-primary), #e0352f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

.hero__launch-date {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__launch-date svg {
  color: var(--red-primary);
}

/* ===== WAITLIST CARD ===== */
.waitlist {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--red-primary), var(--burgundy));
  border-radius: 20px 20px 0 0;
}

.waitlist__header {
  margin-bottom: 1.8rem;
}

.waitlist__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--burgundy);
}

.waitlist__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

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

.form__select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a847d' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

.form__select option {
  background: var(--white);
  color: var(--text-primary);
}

.form__btn {
  width: 100%;
  padding: 0.95rem;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(195, 34, 31, 0.3);
}

.form__btn:active {
  transform: translateY(0);
}

.form__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form__error {
  color: var(--red-primary);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.3rem;
}

.form__privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.3rem;
}

.form__privacy a {
  color: var(--red-primary);
  text-decoration: none;
}

.form__privacy a:hover {
  text-decoration: underline;
}

/* ===== SUCCESS MESSAGE (hidden by default) ===== */
.waitlist__success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.waitlist__success.is-visible {
  display: block;
  animation: fadeUp 0.5s ease-out;
}

.waitlist__success-icon {
  width: 64px;
  height: 64px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.waitlist__success-icon svg {
  color: #4CAF50;
}

.waitlist__success-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--burgundy);
}

.waitlist__success-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== FEATURES STRIP ===== */
.features {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem 5rem;
}

.features__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(195, 34, 31, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(195, 34, 31, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--red-primary);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--burgundy);
}

.feature-card__text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 2rem;
  text-align: center;
}

.footer__text {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer__text a {
  color: var(--red-primary);
  text-decoration: none;
}

.footer__text a:hover {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(195, 34, 31, 0.15); }
  50% { border-color: rgba(195, 34, 31, 0.35); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__launch-date {
    justify-content: center;
  }

  .hero {
    padding-top: 7rem;
  }

  .logo__img {
    height: 130px;
    margin: -30px 0;
  }

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

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .header {
    padding: 0.5rem 1.2rem;
  }

  .logo__img {
    height: 100px;
    margin: -20px 0;
  }

  .nav__badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }

  .hero {
    padding: 6.5rem 1.2rem 3rem;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .waitlist {
    padding: 1.8rem 1.4rem;
    border-radius: 16px;
  }

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

  .features {
    padding: 2rem 1.2rem 4rem;
  }

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

  .bg-glow {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding: 6rem 1rem 2rem;
  }

  .waitlist {
    padding: 1.5rem 1.1rem;
  }

  .form__input,
  .form__select {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }
}
