:root {
  --bg-color: #000000;
  --bg-white: #0a0a0a;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1A6;
  --accent-color: #FFFFFF;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

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

/* Button */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 40px; /* Pill shape */
  background-color: var(--text-primary);
  color: var(--bg-color);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  background-color: var(--bg-white);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 1000px;
}

.hero p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Section Common */
section {
  padding: 10rem 5%;
  background-color: var(--bg-color);
}

.section-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Product Presentation */
.product-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.product-row.reverse {
  flex-direction: row-reverse;
}

.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  /* Applying an invert filter so white background becomes black */
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen; 
  transition: transform 0.5s ease;
}

.product-image img:hover {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
  max-width: 500px;
}

.product-info h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-info h4 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 2rem;
}

.product-info p {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

/* Waitlist Section */
.waitlist-content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.waitlist h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.waitlist p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

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

#email-input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #333336;
  background-color: #111111;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.3s ease;
}

#email-input:focus {
  border-color: var(--accent-color);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.form-message.hidden {
  display: none;
}

.form-message.success {
  color: #FFFFFF;
  background-color: #1b5e20;
}

.form-message.error {
  color: #FFFFFF;
  background-color: #b71c1c;
}

/* Footer */
footer {
  padding: 4rem 5%;
  background-color: var(--bg-color);
  border-top: 1px solid #333336;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.copyright {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
  section {
    padding: 8rem 5%;
  }
  .product-showcase {
    gap: 6rem;
  }
}

@media (max-width: 900px) {
  .product-row, .product-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .product-info {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .product-info h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 1rem 5%;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .logo {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero p {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
  }

  section {
    padding: 5rem 5%;
  }

  .section-header {
    margin-bottom: 4rem;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .waitlist h2 {
    font-size: 2.5rem;
  }

  .footer-links {
    gap: 1.5rem;
  }
}

@media (max-width: 360px) {
  .navbar {
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
}
