/* ========================================
   Landing Page Styles
   ======================================== */

/* Pre-release Banner */
.prerelease-banner {
  background: #000000;
  color: white;
  padding: var(--spacing-sm) 0;
  text-align: center;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.prerelease-badge {
  background: #ffffff;
  color: #000000;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.prerelease-text {
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  background: #ffffff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: var(--spacing-2xl) 0 calc(var(--spacing-2xl) * 2);
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: var(--spacing-lg);
}

.brand-name {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: #000000;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: #000000;
  font-size: 0.875rem;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.hero-feature-item .feature-icon {
  width: 16px;
  height: 16px;
  color: #000000;
  stroke-width: 1.5;
}

/* Waitlist Form */
.waitlist-form-container {
  margin: var(--spacing-2xl) auto;
  max-width: 500px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.waitlist-input {
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: white;
  color: var(--color-text-primary);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.waitlist-submit {
  background: #000000;
  color: white;
  border: 1px solid #000000;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.waitlist-submit:hover:not(:disabled) {
  background: #333333;
  border-color: #333333;
}

.waitlist-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.waitlist-submit.btn-large {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1.125rem;
}

.waitlist-message {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  text-align: center;
}

.waitlist-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.waitlist-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.waitlist-disclaimer {
  margin-top: var(--spacing-md);
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  text-align: center;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  color: #000000;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.section-description {
  font-size: 1.125rem;
  color: #000000;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* Features Section */
.features-section {
  padding: calc(var(--spacing-2xl) * 2) 0;
  background: #ffffff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.feature-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--color-accent);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: #000000;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-card-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: #000000;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.feature-description {
  font-size: 0.9375rem;
  color: #000000;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* How It Works Section */
.how-it-works-section {
  padding: calc(var(--spacing-2xl) * 2) 0;
  background: var(--color-bg-secondary);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  position: relative;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.7) 0%, rgba(250, 250, 250, 0.4) 100%);
  pointer-events: none;
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.step-item {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #000000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.step-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: #000000;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.step-description {
  font-size: 0.9375rem;
  color: #000000;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Social Proof Section */
.social-proof-section {
  padding: calc(var(--spacing-2xl) * 2) 0;
  background: #ffffff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  position: relative;
}

.social-proof-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.testimonial-content {
  margin-bottom: var(--spacing-lg);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
  font-style: italic;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  background: var(--color-bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
}

.author-avatar-placeholder svg {
  width: 24px;
  height: 24px;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  color: #000000;
  margin-bottom: 2px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.author-title {
  font-size: 0.875rem;
  color: #000000;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.waitlist-count {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
}

.count-text {
  font-size: 1.125rem;
  color: #000000;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.count-number {
  font-weight: 900;
  font-size: 1.5rem;
  color: #000000;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
  padding: calc(var(--spacing-2xl) * 2) 0;
  background: #000000;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.cta-section .waitlist-form-container {
  margin-top: var(--spacing-xl);
}

.cta-section .waitlist-input {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.cta-section .waitlist-submit {
  background: white;
  color: #000000;
}

.cta-section .waitlist-submit:hover:not(:disabled) {
  background: var(--color-bg-secondary);
}

/* Footer */
.landing-footer {
  background: var(--color-text-primary);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 25px 25px;
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  position: relative;
}

.landing-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: var(--spacing-xl);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Landing Page Responsive Design */
@media (max-width: 768px) {
  .brand-name {
    font-size: 3rem;
  }

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

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

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

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

  .steps-container {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-features {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 2.5rem;
  }

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

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

  .cta-title {
    font-size: 1.75rem;
  }

  .prerelease-banner {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.main-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.signin-button {
  padding: 10px 24px;
  background: #4285F4;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.signin-button:hover {
  background: #3367D6;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.auth-prompt {
  padding: 32px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
}

.auth-prompt p {
  margin: 0 0 16px 0;
  color: #666;
  font-size: 15px;
}

.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.auth-modal-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.auth-modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.auth-modal-content h2 {
  margin: 0 0 12px 0;
  font-size: 28px;
  color: #1a1a1a;
}

.auth-modal-description {
  margin: 0 0 32px 0;
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

.google-signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  background: white;
  border: 2px solid #dadce0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #3c4043;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.google-signin-button:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-modal-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.auth-modal-footer p {
  margin: 0;
  font-size: 12px;
  color: #999;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.user-profile-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-profile-button:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #666;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
