/* ===================================
   MAIN STYLES
   Layout, typography, and components
   =================================== */

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

html {
  scroll-behavior: smooth;
  background: #000000 !important;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #ffffff !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #000000 !important;
  background-size: 100% 100% !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Removed gradient and star animations */

/* ===================================
   LAYOUT
   =================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 48px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  font-size: 1.2rem;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  z-index: 10;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
  padding: 120px 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.feature-icon img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.feature-description {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}

/* ===================================
   VISUAL DEMO SECTION
   =================================== */

.visual-demo {
  padding: 120px 0;
  text-align: center;
}

.demo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.demo-image {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 32px;
}

.demo-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   WISHLIST SECTION
   =================================== */

.wishlist {
  padding: 120px 0;
  text-align: center;
}

.wishlist-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 32px;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.form-input {
  width: 100%;
}

.form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: #ffffff;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.form-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.form-select option {
  background: #000000;
  color: #ffffff;
}

.submit-button {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 32px;
}

.success-message {
  display: none;
  padding: 24px;
  border-radius: 16px;
  margin-top: 24px;
  text-align: center;
  animation: slideIn 0.5s ease;
}

.success-message.show {
  display: block;
}

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

.error-message {
  color: #FF71CE;
  font-size: 0.9rem;
  margin-top: 8px;
  display: none;
}

.error-message.show {
  display: block;
}

/* Loading state */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   FOOTER
   =================================== */

footer {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
}

.status-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #05FFA1;
}

.copyright {
  color: #ffffff;
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .features,
  .visual-demo,
  .wishlist {
    padding: 80px 0;
  }

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

  .wishlist-form-container {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .social-links {
    gap: 16px;
  }

  .status-badges {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 80px;
    height: 80px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .wishlist-form-container {
    padding: 24px 20px;
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

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

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--vw-cyan);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
