/* ============================================================================
   HERO SECTION - Modern Design for Main Page
   ============================================================================ */

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  background: none;
  z-index: 1;
  text-align: center;
  margin-bottom: 0;
}

/* Ensure all direct children are vertically stacked */
.hero-section > * {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-main {
  width: 100%;
  max-width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hero-logo-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.hero-logo {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}

.hero-logo-accent {
  color: var(--color-primary, #00ff88);
  text-shadow: 0 0 24px var(--color-primary, #00ff88);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: rgba(0,255,136,0.13);
  border: 2px solid rgba(0,255,136,0.25);
  border-radius: 999px;
  font-size: 1.25rem;
  color: var(--color-primary, #00ff88);
  padding: 0.4em 1.5em;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 var(--space-6) 0;
  color: #fff;
  width: 100%;
}

.title-highlight {
  color: var(--color-primary, #00ff88);
  text-shadow: 0 0 32px var(--color-primary, #00ff88), 0 0 64px var(--color-primary, #00ff88);
}

.title-subtitle {
  color: var(--color-accent-orange, #fb923c);
  text-shadow: 0 0 18px var(--color-accent-orange, #fb923c);
  font-weight: 900;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  color: var(--color-text-secondary);
  text-align: center;
  margin: 0 auto var(--space-8);
  max-width: 800px;
  line-height: 1.4;
  width: 100%;
}

.ai-accent {
  background: linear-gradient(90deg, #9d4edd, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.accuracy-highlight {
  color: var(--color-primary, #00ff88);
  font-weight: 700;
  text-shadow: 0 0 12px var(--color-primary, #00ff88);
}

/* Removed duplicate .hero-row definition - using one below */

/* Removed duplicate .hero-stats definition - using one below */

.stat-card {
  background: rgba(30,40,30,0.92);
  border-radius: 1.5rem;
  border: 2px solid rgba(255,255,255,0.10);
  min-width: 140px;
  padding: 1.5rem 2rem 1.2rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,255,136,0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
}

.stat-card.premium {
  border: 2px solid #ffd700;
  background: rgba(255,215,0,0.13);
  color: #ffd700;
  font-weight: 800;
  box-shadow: 0 0 24px #ffd70033;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.3em;
}

.stat-label {
  font-size: 1.1rem;
  color: #b0b0b0;
  font-weight: 600;
}

/* Removed duplicate .hero-cta definition - using one below */

.hero-cta-btn {
  min-width: 160px;
  padding: 1rem 1.5rem;
  border-radius: 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
}

.hero-cta-btn.primary {
  background: linear-gradient(135deg, #00ff88 0%, #39ff14 100%);
  color: #18181b;
  box-shadow: 0 2px 16px #00ff8833;
}

.hero-cta-btn.primary:hover {
  background: linear-gradient(135deg, #39ff14 0%, #00ff88 100%);
  box-shadow: 0 4px 32px #00ff8844;
}

.hero-cta-btn.secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.hero-cta-btn.secondary:hover {
  background: rgba(255,255,255,0.15);
}

.hero-upload {
  margin-top: 2.8rem;
  background: rgba(20, 40, 30, 0.82);
  border: 2.5px dashed var(--color-primary, #00ff88);
  border-radius: 1.5rem;
  box-shadow: 0 8px 48px rgba(0,255,136,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(100%, 600px);
  min-height: 240px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  backdrop-filter: blur(16px);
}

.hero-upload:hover {
  border-color: var(--green-electric, #39ff14);
  box-shadow: 0 12px 60px rgba(0,255,136,0.18);
}

.upload-visual {
  margin-bottom: 1.1rem;
}

.upload-icon {
  font-size: 2.8rem;
  color: var(--color-primary, #00ff88);
  filter: drop-shadow(0 0 12px var(--color-primary, #00ff88));
}

.upload-text h3 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.upload-specs {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  margin-top: 1.2em;
  font-size: 1.1em;
  color: #b0b0b0;
  justify-content: center;
  flex-wrap: wrap;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4em;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 0.3em 1.2em;
  font-size: 1em;
}

/* Hero Background Elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Hero Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.13;
  animation: float 6s ease-in-out infinite;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00ff88 0%, transparent 80%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #9d4edd 0%, transparent 80%);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #fb923c 0%, transparent 80%);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* Hero Grid */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.08;
  filter: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Modern hero layout - using flexbox for better support */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80vh;
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--space-4);
}

/* Restore original hero-row behavior for vertical layout */
.hero-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  margin-top: var(--space-8);
}

/* Horizontal stats layout */
.hero-stats {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

/* CTA button layout */
.hero-cta {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
}

/* Features Section */
.features-section {
  padding: var(--space-20) 0;
  margin-bottom: var(--space-20);
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.features-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-xl);
  backdrop-filter: var(--backdrop-blur);
  text-align: center;
  transition: all var(--duration-300) var(--ease-out);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
  display: block;
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.feature-description {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Upload Section Header */
.upload-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.upload-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.upload-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
}

/* Animations */
@keyframes float {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

@keyframes glow {
  0% { 
    text-shadow: 0 0 32px var(--color-primary); 
  }
  100% { 
    text-shadow: 0 0 48px var(--color-primary), 0 0 64px var(--color-primary); 
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.5; 
    transform: scale(1); 
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.05); 
  }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-main { max-width: 98vw; }
  .hero-title { font-size: 2.8rem; }
  .hero-logo { font-size: 2.2rem; }
  .hero-upload { min-width: 80vw; }
  .stat-card { min-width: 100px; font-size: 1rem; }
}

@media (max-width: 800px) {
  .hero-main { gap: 2rem; }
  .hero-title { font-size: 1.7rem; }
  .hero-logo { font-size: 1.2rem; }
  .hero-upload { min-width: 98vw; min-height: 160px; }
  .hero-stats { flex-wrap: wrap; gap: 0.7rem; }
  .stat-card { min-width: 80px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-main { padding: 0; }
  .hero-title { font-size: 1.1rem; }
  .hero-logo { font-size: 1.1rem; }
  .hero-upload { min-width: 100vw; min-height: 120px; border-radius: 0.7rem; }
  .stat-card { min-width: 60px; font-size: 0.85rem; }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-logo-icon,
  .mockup-glow {
    animation: none;
  }

  .hero-grid {
    animation: none;
  }

  .hero-brand,
  .hero-headline,
  .hero-stats,
  .hero-cta,
  .hero-visual {
    animation: none;
  }

  .hero-cta-btn:hover,
  .feature-card:hover,
  .stat-card:hover {
    transform: none;
  }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  .hero-orb {
    opacity: 0.1;
  }

  .hero-grid {
    background-image: 
      linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
  }

  .stat-card,
  .feature-card {
    border-width: 2px;
  }
}

/* Trust Indicators - Horizontal layout for badges */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  width: 100%;
}

.trust-badge {
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius-full);
  font-weight: 600;
  white-space: nowrap;
}

/* Search Container */
.search-container {
  max-width: 600px;
  margin: 0 auto var(--space-12);
  position: relative;
  width: 100%;
}

/* Quick Stats Grid */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto var(--space-12);
  width: 100%;
} 