/* ===================================
   FONTS
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

:root {
  /* Gaming Color Palette - Opera GX inspired */
  --primary-red: #ff1f4d;
  --primary-red-hover: #e6002f;
  --dark-bg: #1a1a1f;
  --dark-card: #232329;
  --dark-lighter: #2d2d35;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --success: #10b981;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ===================================
   HEADER
   =================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-sm);
  min-height: 64px;
}

.logo {
  height: 32px;
  width: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  background: var(--primary-red);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.cta-button:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 31, 77, 0.3);
}

.cta-button:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 3px;
}

.cta-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-header {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 31, 77, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(3.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-highlight {
  color: #ff1744;
  background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.375rem);
  color: #d1d5db;
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 400;
}

.benefits-list {
  list-style: none;
  margin-bottom: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: left;
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 1rem;
  color: #d1d5db;
  font-weight: 500;
}

.cta-primary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.trust-note {
  font-size: 0.9375rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ===================================
   SECTIONS
   =================================== */

.features,
.why-section,
.testimonials,
.faq,
.footer-cta {
  padding: var(--spacing-2xl) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ===================================
   CARDS GRID
   =================================== */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 77, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 77, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
}

.card-description {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 1rem;
}

/* ===================================
   WHY SECTION
   =================================== */

.why-section {
  background: var(--dark-card);
}

.why-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 31, 77, 0.05);
  border: 1px solid rgba(255, 31, 77, 0.2);
  border-radius: 12px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1rem;
  color: #d1d5db;
  font-weight: 500;
}

.disclaimer {
  font-size: 0.9375rem;
  color: #d1d5db;
  padding: var(--spacing-lg);
  background: rgba(255, 31, 77, 0.08);
  border: 1px solid rgba(255, 31, 77, 0.3);
  border-left: 4px solid var(--primary-red);
  border-radius: 8px;
  line-height: 1.8;
  text-align: left;
}

.disclaimer strong {
  color: #ffffff;
  font-size: 1.0625rem;
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
  border-color: rgba(255, 31, 77, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 31, 77, 0.2);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.author-role {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ===================================
   FAQ
   =================================== */

.faq {
  background: var(--dark-card);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.faq-item {
  background: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.faq-item:hover {
  border-color: rgba(255, 31, 77, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.faq-item[open] {
  border-color: var(--primary-red);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  list-style: none;
  user-select: none;
  color: #ffffff;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--primary-red);
}

.faq-question:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: -3px;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
  color: #d1d5db;
  line-height: 1.7;
  font-size: 1rem;
}

/* ===================================
   FOOTER CTA
   =================================== */

.footer-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.footer-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
}

.footer-cta-subtitle {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: var(--spacing-xl);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--dark-card);
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-link {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition-fast);
  font-family: var(--font-main);
}

.footer-link:hover {
  color: var(--primary-red);
}

.footer-link:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #9ca3af;
  text-align: center;
  opacity: 0.8;
}

/* ===================================
   STICKY BOTTOM CTA
   =================================== */

.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(26, 26, 31, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm) 0;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-bottom-cta.visible {
  transform: translateY(0);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
}

.sticky-cta-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-sticky {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* ===================================
   MODAL
   =================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all var(--transition-fast);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-close:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

.modal-body {
  padding: var(--spacing-lg);
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: var(--spacing-md);
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.7;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body strong {
  color: #ffffff;
  font-weight: 600;
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 639px) {
  .hero-title {
    font-size: clamp(2.25rem, 8vw, 2.5rem); /* 36-40px */
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.125rem); /* 16-18px */
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.875rem); /* 24-30px */
    margin-bottom: var(--spacing-xl);
  }

  .cards-grid {
    gap: var(--spacing-lg);
  }

  .card {
    padding: var(--spacing-lg);
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .cta-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .benefit-text {
    font-size: 0.9375rem;
  }

  .testimonials-grid {
    gap: var(--spacing-lg);
  }

  .testimonial-card {
    padding: var(--spacing-lg);
  }

  .faq-question {
    font-size: 1rem;
    padding: var(--spacing-md);
  }

  .faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    font-size: 0.9375rem;
  }
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (min-width: 640px) {
  .container {
    padding: 0 var(--spacing-lg);
  }

  .benefits-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .benefit-item {
    flex: 1 1 calc(50% - var(--spacing-sm));
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: clamp(3rem, 6vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
  }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media (min-width: 1024px) {
  .hero {
    padding: calc(var(--spacing-2xl) * 1.5) 0;
  }

  .hero-title {
    font-size: clamp(3.5rem, 5vw, 4rem); /* 56-64px */
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.375rem); /* 20-22px */
  }

  .section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-item {
    flex: 1 1 auto;
  }

  .card {
    padding: var(--spacing-2xl);
  }

  .card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
  }

  .card-description {
    font-size: 1.0625rem;
  }

  .testimonial-card {
    padding: var(--spacing-2xl);
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 3px;
}

/* High contrast support */
@media (prefers-contrast: high) {
  .card,
  .testimonial-card,
  .faq-item {
    border-width: 2px;
  }
}
