/* Overbet Premium Dark Theme */
:root {
  /* Brand Colors */
  --brand-chartreuse: #dae126;
  --brand-black: #0a0a0a;
  --brand-dark: #1a1a1a;
  --brand-darker: #121212;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-tertiary: #808080;
  
  /* Accent & Highlights */
  --accent-primary: var(--brand-chartreuse);
  --accent-hover: #c4cb1f;
  --accent-glow: rgba(218, 225, 38, 0.3);
  
  /* Backgrounds */
  --bg-primary: var(--brand-black);
  --bg-secondary: var(--brand-dark);
  --bg-tertiary: var(--brand-darker);
  --bg-elevated: #252525;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 32px var(--accent-glow);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-image {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--accent-primary);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent-primary);
  color: var(--brand-black) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
  padding: 4rem 2rem 4rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(218, 225, 38, 0.1);
  border: 1px solid rgba(218, 225, 38, 0.3);
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.btn-primary img {
  height: 56px;
  width: auto;
  transition: transform var(--transition-fast);
}

.btn-primary:hover img {
  transform: scale(1.05);
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  filter: drop-shadow(var(--shadow-lg));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Social Proof Strip */
.social-proof {
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-proof-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-primary);
}

.rating-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.trust-badge {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* Benefits Section */
.benefits {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.benefits-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  margin-top: -2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.benefit-card {
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 225, 38, 0.1);
  border-radius: 16px;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.benefit-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Screenshot Showcase */
.screenshots {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  overflow: hidden;
}

.screenshots-container {
  max-width: 1400px;
  margin: 0 auto;
}

.screenshot-carousel {
  position: relative;
  margin: 0 -2rem;
  padding: 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-tertiary);
}

.screenshot-carousel::-webkit-scrollbar {
  height: 8px;
}

.screenshot-carousel::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

.screenshot-carousel::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

.screenshot-track {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
}

.screenshot-item {
  flex: 0 0 300px;
  transition: transform var(--transition-normal);
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.screenshot-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Feature Grid */
.features-detailed {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-item {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.feature-item:hover {
  border-color: rgba(218, 225, 38, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 225, 38, 0.1);
  border-radius: 12px;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-value-props {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.value-prop-separator {
  color: var(--text-tertiary);
}

.btn-cta img {
  height: 56px;
  width: auto;
  transition: transform var(--transition-fast);
  margin: 0 auto;
}

.btn-cta:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--bg-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

/* Responsive Design */

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .benefit-card:hover,
  .feature-item:hover,
  .screenshot-item:hover {
    transform: none;
  }
  
  .benefit-card:active,
  .feature-item:active {
    transform: scale(0.98);
  }
  
  .nav-cta:active {
    transform: scale(0.95);
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 968px) {
  .nav-menu {
    gap: 1.5rem;
  }
  
  .nav-menu li:not(:last-child) {
    display: none;
  }
  
  .hero {
    padding: 4rem 2rem 3rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-value-props {
    flex-wrap: wrap;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 3rem 1rem 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .btn-primary img,
  .btn-cta img {
    height: 48px;
  }
  
  .benefits,
  .screenshots,
  .features-detailed,
  .cta {
    padding: 4rem 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .screenshot-item {
    flex: 0 0 250px;
  }
  
  .benefit-card {
    padding: 2rem 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .social-proof-container {
    gap: 2rem;
  }
  
  .trust-badge {
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0 0;
  }
  
  /* Improve tap targets on mobile */
  .nav-menu a,
  .footer-links a {
    padding: 0.5rem;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .nav-logo {
    gap: 0.5rem;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .logo-image {
    width: 32px;
    height: 32px;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll for screenshot carousel */
.screenshot-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-image {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-secondary: #e0e0e0;
    --text-tertiary: #c0c0c0;
  }
  
  .benefit-card,
  .feature-item {
    border-width: 2px;
  }
}

/* Dark mode support (already dark by default, but explicit) */
@media (prefers-color-scheme: dark) {
  /* Already dark theme, but can add overrides if needed */
}

/* Print styles */
@media print {
  .header,
  .nav-menu,
  .btn-primary,
  .btn-cta,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero,
  .benefits,
  .features-detailed {
    page-break-inside: avoid;
  }
}

/* Focus visible for better keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

/* Better selection colors */
::selection {
  background-color: var(--accent-primary);
  color: var(--brand-black);
}

::-moz-selection {
  background-color: var(--accent-primary);
  color: var(--brand-black);
}
