:root {
  --bg-dark: #0a0a0a;
  --bg-section: #111111;
  --bg-card: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --accent: #c9a55c;
  --accent-hover: #ddb86a;
  --border: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
}

.nav {
  position: relative;
  z-index: 10;
  padding: 2rem 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 0 1.5rem 2rem;
  margin-top: -2rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-text {
  animation: fadeUp 0.8s ease-out;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2rem;
  text-align: left;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.subheadline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 500px;
  text-align: left;
  line-height: 1.7;
}

.hero-form-wrapper {
  animation: fadeUp 0.8s ease-out 0.2s both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  max-width: 200px;
  line-height: 1.4;
}

/* Learn More Button */
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.learn-more-btn svg {
  transition: transform 0.3s ease;
}

.learn-more-btn:hover svg {
  transform: translateY(3px);
}

/* Waitlist Form */
.waitlist-form {
  width: 100%;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.form-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-align: center;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-row input {
  flex: 1;
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-row input::placeholder {
  color: var(--text-secondary);
}

.form-row input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

.waitlist-form button[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.waitlist-form button[type="submit"]:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Google Prefill Button */
.google-prefill-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.google-prefill-btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.google-prefill-btn:active {
  transform: translateY(0);
}

.google-prefill-btn svg {
  flex-shrink: 0;
}

.google-prefill-btn.prefilled {
  background: rgba(201, 165, 92, 0.15);
  border: 1px solid var(--accent);
  color: var(--text-primary);
}

.google-prefill-btn.prefilled:hover {
  background: rgba(201, 165, 92, 0.25);
}

/* Form Divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Google Tooltip */
.google-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-primary);
  animation: fadeUp 0.3s ease-out;
}

.google-tooltip small {
  color: var(--text-secondary);
}

.google-tooltip-error {
  border-color: #e57373;
  background: rgba(229, 115, 115, 0.1);
}

.google-tooltip-error small {
  color: var(--text-primary);
}

/* Prefilled Input State */
.form-row input.prefilled {
  border-color: var(--accent);
  background: rgba(201, 165, 92, 0.1);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  max-width: 420px;
  background: rgba(201, 165, 92, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--accent);
  border-radius: 16px;
  animation: fadeUp 0.5s ease-out;
  text-align: center;
}

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

.checkmark {
  color: var(--accent);
  font-size: 1.5rem;
}

.submit-another-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.submit-another-btn:hover {
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease-out 0.6s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Industry Problem Section */
.industry-problem {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
  overflow: hidden;
}

.industry-problem::before {
  content: 'IMBALANCE\a POWER\a CONTROL';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: 0.08em;
  white-space: pre;
  text-align: center;
  line-height: 1.2;
  pointer-events: none;
  z-index: 0;
}

.industry-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.market-size {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.market-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.market-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.market-sublabel {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.industry-visual {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.flow-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.processors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.processor-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid #3a3a3a;
  border-radius: 50%;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}

.processor-circle:hover {
  transform: scale(1.15);
  z-index: 10;
}

.processor-circle.large {
  width: 140px;
  height: 140px;
  font-size: 1.1rem;
  border-color: #dc3545;
  box-shadow: 0 0 30px rgba(220, 53, 69, 0.3);
}

.processor-circle.large:hover {
  box-shadow: 0 0 50px rgba(220, 53, 69, 0.6), 0 0 100px rgba(220, 53, 69, 0.3);
  border-color: #ff4757;
}

.processor-circle.medium {
  width: 110px;
  height: 110px;
  font-size: 0.95rem;
  border-color: #e67e22;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
}

.processor-circle.medium:hover {
  box-shadow: 0 0 40px rgba(230, 126, 34, 0.5), 0 0 80px rgba(230, 126, 34, 0.25);
  border-color: #f39c12;
}

.processor-circle.small {
  width: 85px;
  height: 85px;
  font-size: 0.85rem;
}

.processor-circle.small:hover {
  box-shadow: 0 0 30px rgba(100, 100, 100, 0.4);
  border-color: #666;
}

.processor-circle .share {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  transition: all 0.3s ease;
}

.processor-circle:hover .share {
  color: var(--text-primary);
}

/* Processor circle tooltip */
.processor-circle::after {
  content: 'Taking the lion\'s share';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.processor-circle:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.money-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

.flow-arrow {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, #dc3545, transparent);
}

.flow-percent {
  font-size: 1.25rem;
  font-weight: 700;
  color: #dc3545;
  margin-top: 0.5rem;
}

.flow-percent.sad {
  color: var(--accent);
  opacity: 0.7;
}

.farmers-section {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.farmers-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 400px;
  margin: 0 auto;
}

.farmer-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: farmerPulse 3s ease-in-out infinite;
}

.farmer-dot:nth-child(odd) {
  animation-delay: 0.5s;
}

.farmer-dot:nth-child(3n) {
  animation-delay: 1s;
}

.farmer-dot:nth-child(5n) {
  animation-delay: 1.5s;
}

@keyframes farmerPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.trickle-flow {
  margin-top: 1.5rem;
}

.industry-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--text-primary);
  margin-top: 2rem;
}

.sources-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sources-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.sources-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.sources-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sources-links a:hover {
  color: var(--accent);
}

.source-divider {
  color: var(--border);
}

/* Responsive - Industry Problem */
@media (max-width: 768px) {
  .processor-circle.large {
    width: 100px;
    height: 100px;
    font-size: 0.9rem;
  }
  
  .processor-circle.medium {
    width: 80px;
    height: 80px;
    font-size: 0.8rem;
  }
  
  .processor-circle.small {
    width: 65px;
    height: 65px;
    font-size: 0.75rem;
  }
  
  .farmer-dot {
    width: 6px;
    height: 6px;
  }
}

/* How It Works */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-section);
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 4rem;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 3.5rem;
}

/* Why Choose Us */
.why-choose {
  padding: 6rem 2rem;
  background: var(--bg-dark);
}

.why-choose h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.column {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.column-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 165, 92, 0.08) 100%);
}

.column-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.column ul {
  list-style: none;
}

.column li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.column li:last-child {
  margin-bottom: 0;
}

.column li div {
  display: flex;
  flex-direction: column;
}

.column li strong {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.list-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.check {
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Pricing Philosophy */
.pricing-philosophy {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-section) 0%, rgba(201, 165, 92, 0.08) 100%);
  text-align: center;
}

.philosophy-content {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-philosophy h2 {
  font-size: 1.25rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.philosophy-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.4;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-info a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: var(--accent);
}

.divider {
  opacity: 0.4;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding: 2rem;
    padding-bottom: 6rem;
  }

  .hero-text {
    order: 1;
  }

  .hero h1 {
    text-align: center;
  }

  .subheadline {
    text-align: center;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .stat-item {
    text-align: left;
  }

  .learn-more-btn {
    margin: 2rem auto 0;
  }

  .hero-form-wrapper {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .waitlist-form {
    max-width: 450px;
  }

  .success-message {
    max-width: 450px;
    margin: 0 auto;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .nav {
    padding: 1.5rem 1.5rem;
  }

  .hero-content {
    padding: 1.5rem;
    padding-bottom: 5rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 280px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .waitlist-form {
    padding: 1.5rem;
    max-width: 100%;
  }

  .success-message {
    max-width: 100%;
  }

  .step-connector {
    display: none;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }

  .columns {
    grid-template-columns: 1fr;
  }

  .footer-info .divider {
    display: none;
  }

  .footer-info {
    flex-direction: column;
    gap: 0.75rem;
  }

  .google-prefill-btn {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

