:root {
  --green: #1b5e20;
  --orange: #FF8F00;
  --purple: #6C63FF;
  --bg: #FAFAFA;
  --text: #222222;
  --muted: #666666;
  --border: #E0E0E0;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--green);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.welcome-title {
  font-family: 'Poppins', sans-serif;
  color: var(--green);
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.welcome-line-1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: block;
}

.welcome-line-2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--green);
  opacity: 0.9;
  display: block;
}

@supports not (-webkit-background-clip: text) {
  .welcome-title {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--green);
  }
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(27, 94, 32, 0.05) 100%);
  padding: 6rem 0;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Launch Strip */
.launch-strip {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: inline-block;
  max-width: 600px;
  margin-top: 3rem;
  border: 1px solid rgba(27, 94, 32, 0.1);
}

.countdown {
  text-align: center;
}

.countdown-text {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.time-unit {
  text-align: center;
  background: rgba(27, 94, 32, 0.05);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  min-width: 80px;
  border: 1px solid rgba(27, 94, 32, 0.1);
}

.time-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.time-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.live-banner {
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

/* Components */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-protein {
  background: var(--green);
  color: white;
}

.badge-price {
  background: var(--orange);
  color: white;
}

/* Products */
.products {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-image {
  position: relative;
  margin-bottom: 1rem;
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.badge-protein {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.product-name {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefit-icon svg {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon svg {
  transform: scale(1.1);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.benefit-description {
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
}

/* Waitlist */
.waitlist {
  background: var(--white);
}

.waitlist-content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

.waitlist-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-height: 44px;
  font-family: inherit;
}

.input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.error-message {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

/* Toast */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--green);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-text a {
  color: var(--orange);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text);
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(27, 94, 32, 0.1);
}

.footer-social a:hover {
  color: #1b5e20;
  transform: translateY(-2px);
  background: rgba(27, 94, 32, 0.2);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.social-link {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .header-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .launch-strip {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    max-width: 100%;
  }
  
  .countdown-timer {
    gap: 1rem;
  }
  
  .time-unit {
    padding: 1rem 0.75rem;
    min-width: 70px;
  }
  
  .time-value {
    font-size: 2rem;
  }
  
  .products-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    text-align: center;
    flex-direction: column;
  }
  
  .toast {
    right: 1rem;
    left: 1rem;
    width: auto;
    transform: translateY(-100px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .launch-strip {
    padding: 1rem;
  }
  
  .card {
    padding: 1rem;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.input:focus,
.social-link:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow: rgba(0, 0, 0, 0.3);
    --border: #999999;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* FAQ Section */
.faq {
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text);
  line-height: 1.6;
}

/* Stats Section */
.stats {
  background: #1b5e20;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Newsletter Section */
.newsletter {
  background: var(--white);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.newsletter-form {
  margin-top: 2rem;
}

.newsletter-input-group {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--green);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Welcome Section */
.hero-welcome {
  background: var(--white);
  padding: 4rem 0 2rem;
  text-align: center;
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ZeTrack Hero Section */
.hero-zetrack {
  background: var(--bg);
  padding: 3rem 0;
  text-align: center;
}

.zetrack-content {
  max-width: 800px;
  margin: 0 auto;
}

.zetrack-logo-container {
  margin-bottom: 2rem;
}

.zetrack-logo {
  height: 80px;
  width: auto;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

.zetrack-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.zetrack-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.zetrack-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Outline Button Style */
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-welcome {
    padding: 3rem 0 1.5rem;
  }
  
  .hero-zetrack {
    padding: 2rem 0;
  }
  
  .zetrack-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-large {
    width: 100%;
    max-width: 280px;
  }
  
  .welcome-subtitle {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-welcome {
    padding: 2rem 0 1rem;
  }
  
  .zetrack-logo {
    height: 50px;
  }
}
