/* RayZense Marketing Site Styles */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@600;700&family=Space+Grotesk:wght@600;700&display=swap');

/* CSS Variables for Color Palette */
:root {
  --bg-0: #030B0A;
  --bg-1: #071A15;
  --grad-start: #0E463D;
  --grad-end: #000000;
  --accent: #21F3C6;
  --accent-2: #66E3FF;
  --accent-3: #6ada34;
  --text: #E8F5F1;
  --text-muted: #9DB8B1;
  --success: #21F3C6;
  --warning: #FFB020;
  --danger: #FF5470;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(33, 243, 198, 0.2);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: block;
  text-decoration: none;
  position: relative;
  height: 70px;
  transition: all 0.3s ease;
}

.logo img {
  height: 70px;
  width: auto;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.logo .logo-transparent {
  opacity: 1;
}

.logo .logo-black {
  opacity: 0;
}

.header.scrolled .logo .logo-transparent {
  opacity: 0;
}

.header.scrolled .logo .logo-black {
  opacity: 1;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-links a {
  color: var(--text-muted);
  text-shadow: none;
}

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

.header.scrolled .nav-links a:hover {
  color: var(--accent);
}

/* Special styling for navbar CTA button */
.nav-links .btn-primary {
  background: #66E3FF;
  color: #000000;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-shadow: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .btn-primary:hover {
  background: #6ada34;
  color: #ffffff;
}

.header.scrolled .nav-links .btn-primary {
  background: #66E3FF;
  color: #000000;
  text-shadow: none;
}

.header.scrolled .nav-links .btn-primary:hover {
  background: #6ada34;
  color: #ffffff;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: text-shadow 0.3s ease;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.5rem;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.header.scrolled .mobile-menu-toggle {
  text-shadow: none;
}

.header.scrolled .hamburger-line {
  background: var(--text-muted);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-0);
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 1001;
  border-left: 1px solid rgba(33, 243, 198, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(33, 243, 198, 0.1);
  color: var(--accent);
}

.mobile-menu .nav-links {
  flex-direction: column;
  gap: 2rem;
  margin-top: 4rem;
  align-items: center;
}

.mobile-menu .nav-links a {
  font-size: 1.1rem;
  text-align: center;
  padding: 0.75rem 1.5rem;
  width: 100%;
  display: block;
}

.mobile-menu .nav-links .btn-primary {
  margin-top: 1rem;
  width: auto;
  display: inline-block;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .logo {
    height: 50px;
  }
  
  .logo img {
    height: 50px; /* Smaller logo on mobile */
  }
  
  .nav {
    padding: 1rem 0;
  }
  
  .header {
    padding: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 40px;
  }
  
  .logo img {
    height: 40px; /* Even smaller on very small screens */
  }
  
  .nav {
    padding: 0.75rem 0;
  }
  
  .header {
    padding: 0.25rem 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.3);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 70, 61, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-2);
  color: var(--bg-0);
}

.btn-primary:hover {
  background: var(--accent-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(33, 243, 198, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent-2);
}

.btn-secondary:hover {
  background: var(--accent-3);
  color: var(--bg-0);
  transform: translateY(-2px);
  border: 2px solid var(--accent-3);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-subtitle.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Social Proof */
.social-proof {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(33, 243, 198, 0.1);
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-card {
  background: rgba(7, 26, 21, 0.5);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(33, 243, 198, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 243, 198, 0.3);
  background: rgba(7, 26, 21, 0.7);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-0);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.step-description {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(7, 26, 21, 0.3);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(33, 243, 198, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 243, 198, 0.2);
  background: rgba(7, 26, 21, 0.5);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.feature-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: rgba(7, 26, 21, 0.3);
  border: 1px solid rgba(33, 243, 198, 0.1);
}

.gallery-item:hover {
  transform: translateY(-8px) rotateX(5deg);
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  background: rgba(7, 26, 21, 0.4);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(33, 243, 198, 0.1);
}

.stat-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.stat-description {
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(33, 243, 198, 0.1);
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

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

.faq-answer {
  padding: 0 0 1.5rem 0;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-answer.active {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-icon.rotated {
  transform: rotate(180deg);
}

/* Waitlist Form */
.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(7, 26, 21, 0.5);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(33, 243, 198, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(33, 243, 198, 0.2);
  border-radius: 8px;
  background: rgba(3, 11, 10, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33, 243, 198, 0.1);
}

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

.form-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

.form-success {
  background: rgba(33, 243, 198, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
}

.form-error {
  background: rgba(255, 84, 112, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--bg-0);
  border-top: 1px solid rgba(33, 243, 198, 0.1);
  padding: 3rem 0 2rem;
  text-align: center;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Gaming-style enhancements */
.gaming-title {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--text) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(33, 243, 198, 0.3);
}

/* How It Works Section Enhancements */
.how-it-works-section {
  position: relative;
}

.dashboard-showcase {
  margin: 4rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.dashboard-showcase.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.anti-cheat-info-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.anti-cheat-info-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(33, 243, 198, 0.2);
}

.dashboard-featured-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.dashboard-image-container:hover .dashboard-featured-image {
  transform: scale(1.02);
}

.dashboard-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(3, 11, 10, 0.8));
  pointer-events: none;
}

/* Gaming Cards */
.gaming-card {
  background: linear-gradient(145deg, rgba(7, 26, 21, 0.8), rgba(14, 70, 61, 0.3));
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.gaming-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 14px;
}

.gaming-card:hover::before {
  opacity: 0.1;
}

.gaming-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(33, 243, 198, 0.3);
}

.gaming-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gaming-number {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg-0);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 25px rgba(33, 243, 198, 0.4);
  border: 2px solid var(--accent-2);
}

.gaming-card-title {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(33, 243, 198, 0.3);
}

/* Features Section */
.gaming-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gaming-feature-card {
  background: linear-gradient(145deg, rgba(7, 26, 21, 0.6), rgba(14, 70, 61, 0.2));
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid rgba(33, 243, 198, 0.1);
}

.gaming-feature-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gaming-feature-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 50px rgba(33, 243, 198, 0.2);
  border-color: var(--accent);
}

.feature-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gaming-feature-card:hover .feature-image {
  transform: scale(1.1);
}

.feature-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(33, 243, 198, 0.1), rgba(102, 227, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gaming-feature-card:hover .feature-image-overlay {
  opacity: 1;
}

.gaming-feature-title {
  color: var(--accent);
  font-size: 1.3rem;
  margin: 1.5rem 1.5rem 1rem;
  text-shadow: 0 0 10px rgba(33, 243, 198, 0.3);
}

.gaming-feature-description {
  color: var(--text-muted);
  margin: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
}

/* Gallery Enhancements */
.gaming-gallery-item {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.gaming-gallery-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(33, 243, 198, 0.1), rgba(102, 227, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gaming-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Stats Cards */
.gaming-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gaming-stat-card {
  background: linear-gradient(145deg, rgba(7, 26, 21, 0.8), rgba(14, 70, 61, 0.3));
  border: 2px solid rgba(33, 243, 198, 0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.gaming-stat-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gaming-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(33, 243, 198, 0.3);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(33, 243, 198, 0.5);
}

/* FAQ Enhancements */
.gaming-faq-item {
  background: rgba(7, 26, 21, 0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(33, 243, 198, 0.1);
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.gaming-faq-item:hover {
  border-color: rgba(33, 243, 198, 0.3);
}

.gaming-faq-question {
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.gaming-faq-question:hover {
  color: var(--accent);
  background: rgba(33, 243, 198, 0.05);
}

.faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent);
  font-size: 0.9rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.faq-icon.rotated {
  transform: rotate(180deg);
}

/* Form Enhancements */
.gaming-form {
  background: linear-gradient(145deg, rgba(7, 26, 21, 0.8), rgba(14, 70, 61, 0.3));
  border: 2px solid rgba(33, 243, 198, 0.2);
  box-shadow: 0 20px 60px rgba(33, 243, 198, 0.1);
}

.gaming-input,
.gaming-select {
  background: rgba(3, 11, 10, 0.9);
  border: 2px solid rgba(33, 243, 198, 0.2);
  color: var(--text);
  transition: all 0.3s ease;
}

.gaming-input:focus,
.gaming-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 243, 198, 0.1), 0 0 20px rgba(33, 243, 198, 0.3);
  background: rgba(3, 11, 10, 1);
}

.gaming-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: 2px solid var(--accent);
  color: var(--bg-0);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 25px rgba(33, 243, 198, 0.3);
  transition: all 0.3s ease;
}

.gaming-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(33, 243, 198, 0.4);
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
}

.gaming-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: none;
  color: var(--bg-0);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 25px rgba(33, 243, 198, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gaming-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.gaming-btn-primary:hover::before {
  left: 100%;
}

.gaming-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(33, 243, 198, 0.4);
}

.gaming-form-success {
  background: linear-gradient(135deg, rgba(33, 243, 198, 0.1), rgba(33, 243, 198, 0.05));
  border: 2px solid var(--success);
  color: var(--success);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 5px 20px rgba(33, 243, 198, 0.2);
}

.gaming-form-error {
  background: linear-gradient(135deg, rgba(255, 84, 112, 0.1), rgba(255, 84, 112, 0.05));
  border: 2px solid var(--danger);
  color: var(--danger);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 5px 20px rgba(255, 84, 112, 0.2);
}

/* Animation delays */
.section-title { animation-delay: 0.1s; }
.section-subtitle { animation-delay: 0.2s; }
.dashboard-showcase { animation-delay: 0.3s; }
.anti-cheat-info-section { animation-delay: 0.7s; }

.gaming-card:nth-child(1) { animation-delay: 0.4s; }
.gaming-card:nth-child(2) { animation-delay: 0.5s; }
.gaming-card:nth-child(3) { animation-delay: 0.6s; }

.gaming-feature-card:nth-child(1) { animation-delay: 0.1s; }
.gaming-feature-card:nth-child(2) { animation-delay: 0.2s; }
.gaming-feature-card:nth-child(3) { animation-delay: 0.3s; }
.gaming-feature-card:nth-child(4) { animation-delay: 0.4s; }

.gaming-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gaming-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gaming-gallery-item:nth-child(3) { animation-delay: 0.3s; }

/* Rala.ai-style Features */
.features-list {
  margin-top: 4rem;
}

.feature-item.rala-style {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.feature-item.rala-style.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-item.rala-style.reverse {
  direction: rtl;
}

.feature-item.rala-style.reverse > * {
  direction: ltr;
}

.feature-content {
  padding: 2rem 0;
}

.feature-content .feature-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-content .feature-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 500px;
}

.feature-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(33, 243, 198, 0.2);
  transition: transform 0.4s ease;
}

.feature-visual:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 80px rgba(33, 243, 198, 0.3);
}

.feature-visual .feature-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.feature-visual:hover .feature-image {
  transform: scale(1.05);
}

/* Responsive for rala-style features */
@media (max-width: 768px) {
  .feature-item.rala-style,
  .feature-item.rala-style.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    direction: ltr;
  }
  
  .feature-content {
    order: 1; /* Content (text) comes first */ /* decides text order in mobile version */   
  }
  
  .feature-visual {
    order: 2; /* Image comes second */
  }
  
  .feature-content .feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-content .feature-description {
    font-size: 1rem;
  }
}

/* Animation delays for rala-style features */
.feature-item.rala-style:nth-child(1) { animation-delay: 0.1s; }
.feature-item.rala-style:nth-child(2) { animation-delay: 0.2s; }
.feature-item.rala-style:nth-child(3) { animation-delay: 0.3s; }
.feature-item.rala-style:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Gaming Styles */
@media (max-width: 768px) {
  .gaming-features-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-image-container {
    margin: 2rem 0;
  }
  
  .gaming-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }
  
  .feature-image-container {
    height: 160px;
  }
  
  /* FAQ Mobile Styles */
  .faq-list {
    max-width: none;
    margin: 0;
  }
  
  .gaming-faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .faq-icon {
    font-size: 0.8rem;
    margin-left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .gaming-faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 1.25rem 1rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .gaming-card,
  .gaming-feature-card,
  .gaming-gallery-item,
  .gaming-stat-card,
  .section-title,
  .section-subtitle,
  .dashboard-showcase,
  .anti-cheat-info-section {
    opacity: 1;
    transform: none;
  }
}

/* Recommendations List Styling */
.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(3, 11, 10, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(33, 243, 198, 0.1);
}

.recommendation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(7, 26, 21, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(33, 243, 198, 0.1);
  transition: all 0.3s ease;
}

.recommendation-item:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 243, 198, 0.3);
  background: rgba(7, 26, 21, 0.8);
}

.recommendation-item.high-priority {
  border-left: 4px solid #FF5470;
}

.recommendation-item.medium-priority {
  border-left: 4px solid #FFB020;
}

.recommendation-icon {
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 243, 198, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.recommendation-content {
  flex: 1;
}

.recommendation-title {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.priority-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.priority-badge.high {
  background: #FF5470;
  color: white;
}

.priority-badge.medium {
  background: #FFB020;
  color: #000000;
}

/* Responsive for recommendations */
@media (max-width: 768px) {
  .recommendation-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .recommendation-content {
    order: 1;
  }
  
  .priority-badge {
    order: 2;
  }
  
  .recommendation-icon {
    order: 0;
  }
}
