/* Dark Theme with Orange Accent - Sellr AI */

:root {
  /* Backgrounds - Dark Theme Foundation */
  --bg-primary: #000000;
  --bg-secondary: #121212;
  --bg-overlay: rgba(255, 255, 255, 0.1);
  
  /* Text - High Contrast for Dark Theme */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: #4D4D4D;
  
  /* Borders - Subtle Dark Theme */
  --border-subtle: rgba(255, 255, 255, 0.25);
  --border-medium: rgba(255, 255, 255, 0.4);
  
  /* MAIN ACCENT COLORS - Orange Brand with Electric Energy */
  --brand-primary: #FF6B35;
  --brand-hover: rgba(255, 107, 53, 0.1);
  --brand-active: #FF8C5A;
  --brand-glow: rgba(255, 107, 53, 0.3);
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Buttons */
.btn-primary {
  background: var(--brand-primary);
  color: #000000;
  border: none;
  border-radius: 0px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  min-height: 56px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.2;
  letter-spacing: 0;
}

.btn-primary:hover {
  background: var(--brand-active);
  box-shadow: 0 0 30px var(--brand-glow);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--brand-glow); }
  50% { box-shadow: 0 0 40px var(--brand-glow); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

/* Grid Pattern Background */
.grid-pattern {
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 1px, transparent 1px, transparent 7.6923%),
    repeating-linear-gradient(-90deg, #fff, #fff 1px, transparent 1px, transparent 7.6923%);
  background-size: 100% 100%;
  opacity: 0.03;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

/* Header */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 7.6923%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 7.6923% 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1510906594845-bc082582c8cc');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

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

.hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  animation: glow 2s ease-in-out infinite;
}

.hero-headline {
  font-size: 66px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.62px;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-headline .highlight {
  color: var(--brand-primary);
}

.hero-subheadline {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 16px;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
  min-height: 56px;
}

.waitlist-input:focus {
  border-color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.15);
}

.trust-line {
  font-size: 14px;
  color: var(--text-muted);
  animation: fadeIn 1s ease-out 0.6s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.error-message {
  font-size: 14px;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.success-message {
  font-size: 14px;
  color: #4CAF50;
  margin-bottom: 12px;
}

/* Section Styles */
.section {
  padding: 100px 7.6923%;
  position: relative;
}

.section-bg-secondary {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 40px 30px;
  position: relative;
  transition: all 0.4s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-8px);
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 7.6923%;
  margin-top: 100px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.footer-text {
  font-size: 16px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .header-nav {
    display: none;
  }
  
  .waitlist-form {
    flex-direction: column;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Icon styles */
.icon {
  width: 64px;
  height: 64px;
  stroke: var(--brand-primary);
  stroke-width: 2;
  fill: none;
}

.icon-sm {
  width: 20px;
  height: 20px;
}
