/* Base styles */
:root {
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;
  --red-950: #450a0a;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --yellow-500: #eab308;
  --green-500: #4ade80;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --black: #000000;
  --white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.text-white {
  color: var(--white);
}

.text-red {
  color: var(--red-500);
}

.text-red-400 {
  color: var(--red-400);
}

.bg-red {
  background-color: var(--red-500);
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.ml-2 {
  margin-left: 0.5rem;
}

.hidden {
  display: none;
}

/* Background elements */
.fixed-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient {
  background-image: linear-gradient(to bottom, var(--black), rgba(69, 10, 10, 0.3), var(--black));
}

.noise-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
}

.noise-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  width: 200%;
  height: 200%;
  animation: noise 1s steps(2) infinite;
}

@keyframes noise {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 10%); }
  80% { transform: translate(-15%, 0); }
  90% { transform: translate(10%, 5%); }
  100% { transform: translate(5%, 0); }
}

/* Particles container */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  opacity: 0.2;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
}

/* Main content */
.main-content {
  position: relative;
  z-index: 10;
}

/* Sticky header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(127, 29, 29, 0.3);
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-header.visible {
  transform: translateY(0);
}

.sticky-header .container {
  padding: 0.75rem 1rem;
}

.email-form-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.email-input {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--red-800);
  color: var(--white);
  padding: 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  outline: none;
}

.email-input::placeholder {
  color: var(--gray-400);
}

.email-input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.cta-button {
  background-image: linear-gradient(to right, var(--red-600), var(--pink-600));
  color: var(--white);
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-image 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background-image: linear-gradient(to right, var(--red-700), var(--pink-700));
}

/* Sticky thank you */
.sticky-thank-you {
  padding: 0.75rem 1rem;
}

.sticky-thank-you-content {
  text-align: center;
  font-weight: 700;
  color: var(--red-400);
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.flame-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--red-500);
}

/* Hero section */
.hero-section {
  padding: 5rem 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.launch-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(127, 29, 29, 0.8);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.badge-text {
  font-weight: 700;
}

.icon-small {
  width: 1rem;
  height: 1rem;
}

.icon-medium {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-large {
  width: 2.5rem;
  height: 2.5rem;
}

.icon-bounce {
  width: 3rem;
  height: 3rem;
  animation: bounce 2s infinite;
}

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

.main-heading {
  position: relative;
  text-align: center;
}

.gradient-text {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  background-image: linear-gradient(to right, var(--red-500), var(--pink-500), var(--red-500));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.zap-icon {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  color: var(--yellow-500);
}

@media (min-width: 768px) {
  .gradient-text {
    font-size: 6rem;
  }
  
  .zap-icon {
    right: -1rem;
  }
}

.waitlist-text {
  text-align: center;
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.email-signup {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

.glow-effect {
  position: absolute;
  inset: -0.125rem;
  background-image: linear-gradient(to right, var(--red-500), var(--pink-500));
  border-radius: 0.5rem;
  opacity: 0.75;
  filter: blur(8px);
  animation: pulse 2s infinite;
}

.email-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.large-input {
  padding: 1.5rem 1rem;
  font-size: 1.125rem;
  text-align: center;
  border-radius: 0.375rem;
}

.large-button {
  padding: 1.5rem;
  font-size: 1.25rem;
  border-radius: 0.375rem;
}

/* Thank you message */
.thank-you-message {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

.thank-you-content {
  position: relative;
  background-image: linear-gradient(to bottom right, rgba(127, 29, 29, 0.3), var(--black));
  border: 2px solid var(--red-600);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% {
    border-color: var(--red-600);
  }
  50% {
    border-color: var(--red-800);
  }
}

.thank-you-bg-flame {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-image: linear-gradient(to bottom right, rgba(239, 68, 68, 0.1), transparent);
  border-bottom-left-radius: 100%;
}

.thank-you-icon {
  margin: 0 auto 1.5rem;
  width: 4rem;
  height: 4rem;
  background-color: var(--red-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  animation: scale-up 0.5s ease-out;
}

@keyframes scale-up {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.thank-you-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--red-500);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.6);
  }
}

.thank-you-text {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.thank-you-subtext {
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.thank-you-flame {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  color: var(--red-500);
  opacity: 0.5;
  transform: rotate(12deg);
}

.waitlist-count {
  text-align: center;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.tagline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .tagline {
    font-size: 3.5rem;
  }
}

.skew {
  display: inline-block;
  transform: skewX(6deg);
  padding: 0 0.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.underline-wavy {
  text-decoration: underline;
  text-decoration-color: var(--red-500);
  text-decoration-style: wavy;
}

.offer-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.offer-badge {
  background-image: linear-gradient(to right, rgba(127, 29, 29, 0.6), rgba(0, 0, 0, 0.6));
  border: 1px solid var(--red-800);
  border-radius: 0.5rem;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transform: rotate(1deg);
  transition: transform 0.3s ease;
}

.offer-badge:hover {
  transform: rotate(0);
}

.offer-highlight {
  font-size: 1.5rem;
}

/* Countdown */
.countdown-container {
  margin-bottom: 3rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .countdown-grid {
    gap: 1rem;
  }
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-box {
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--red-700);
  border-radius: 0.5rem;
  padding: 0.75rem;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .countdown-box {
    padding: 1.5rem;
  }
}

.countdown-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(127, 29, 29, 0.2), transparent);
}

.countdown-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .countdown-value {
    font-size: 2.5rem;
  }
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-400);
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .countdown-label {
    font-size: 0.875rem;
  }
}

/* Testimonials section */
.testimonials-section {
  padding: 4rem 1rem;
  background-image: linear-gradient(to bottom, var(--black), rgba(69, 10, 10, 0.2));
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--gray-300);
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background-image: linear-gradient(to bottom right, var(--black), rgba(69, 10, 10, 0.3));
  border: 1px solid rgba(127, 29, 29, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.testimonial-bg-effect {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-image: linear-gradient(to bottom right, rgba(239, 68, 68, 0.1), transparent);
  border-bottom-left-radius: 100%;
}

.testimonial-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.stat-box {
  background-image: linear-gradient(to right, var(--red-900), var(--red-800));
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fecaca;
}

.testimonial-quote {
  position: relative;
  margin-bottom: 1.5rem;
  color: var(--gray-300);
  padding-left: 1rem;
}

.quote-icon {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  color: rgba(239, 68, 68, 0.3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-image: linear-gradient(to bottom right, var(--red-500), var(--red-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.author-name {
  font-weight: 700;
}

.author-role {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* How it works section */
.how-it-works-section {
  padding: 4rem 1rem;
  background-image: linear-gradient(to bottom, rgba(69, 10, 10, 0.2), var(--black));
}

.integration-text {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-box {
  background-image: linear-gradient(to bottom right, var(--black), rgba(69, 10, 10, 0.3));
  border: 1px solid rgba(127, 29, 29, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background-color: var(--red-600);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.step-description {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

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

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

.integration-icon {
  background-image: linear-gradient(to bottom right, rgba(127, 29, 29, 0.5), var(--black));
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: background-image 0.3s ease;
}

.integration-icon:hover {
  background-image: linear-gradient(to bottom right, rgba(127, 29, 29, 0.7), var(--black));
}

.comparison-container {
  margin-top: 1.5rem;
}

.comparison-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.comparison-tab {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: 1px solid var(--red-800);
  color: var(--red-500);
}

.comparison-tab.active {
  background-color: var(--red-800);
  color: var(--white);
}

.comparison-content {
  background-image: linear-gradient(to bottom right, rgba(127, 29, 29, 0.3), var(--black));
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.comparison-value {
  font-size: 1.875rem;
  font-weight: 900;
}

.comparison-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
  color: var(--gray-400);
}

.comparison-label.improved {
  color: var(--green-500);
}

.comparison-label.baseline {
  color: var(--gray-400);
}

/* Why choose section */
.why-choose-section {
  padding: 4rem 1rem;
  background-image: linear-gradient(to bottom, var(--black), rgba(69, 10, 10, 0.2));
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-image: linear-gradient(to bottom right, var(--black), rgba(69, 10, 10, 0.3));
  border: 1px solid rgba(127, 29, 29, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.02);
}

.feature-icon {
  margin-bottom: 1rem;
  color: var(--red-500);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--gray-300);
}

/* Key features section */
.key-features-section {
  padding: 4rem 1rem;
  background-image: linear-gradient(to bottom, rgba(69, 10, 10, 0.2), var(--black));
}

.feature-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list-icon {
  margin-top: 0.25rem;
  background-color: var(--red-500);
  padding: 0.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-tiny {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--black);
}

.feature-list-text {
  font-size: 1.125rem;
}

/* Footer */
.footer {
  padding: 2rem 1rem;
  border-top: 1px solid rgba(127, 29, 29, 0.3);
}

.copyright {
  text-align: center;
  color: var(--gray-500);
}