/* Base Styles */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4338ca;
  --primary-light: #8b5cf6;
  --accent-color: #f59e0b;
  --accent-secondary: #10b981;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #e2e8f0;
  --bg-gaming: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --gaming-font: 'Orbitron', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-family: var(--gaming-font);
}

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

ul {
  list-style: none;
}

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

.section-title {
  font-size: 2.5rem;
  font-family: var(--gaming-font);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--bg-gaming);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::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 ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--bg-gaming);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--bg-gaming);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo i {
  font-size: 2rem;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-weight: 500;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--bg-gaming);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--bg-gaming);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .tagline {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--gaming-font);
}

.hero-content .description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 90%;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-height: 600px;
  filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

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

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gaming);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  margin: 0 auto 25px;
  background: var(--bg-gaming);
  border-radius: 50%;
  position: relative;
}

.feature-card .icon i {
  font-size: 35px;
  color: white;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
}

.screenshot-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin-bottom: 30px;
  border-radius: 15px;
}

.screenshot {
  min-width: 100%;
  padding: 0 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot img {
  max-height: 600px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 8px solid white;
}

.screenshot p {
  margin-top: 25px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-color);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.carousel-controls button {
  background: var(--bg-gaming);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-controls button:hover {
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 10px;
}

.carousel-indicators span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  display: block;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicators span.active {
  background: var(--bg-gaming);
  transform: scale(1.3);
}

/* Download Section */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
}

.download-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: var(--text-light);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #1a1a1a;
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.download-btn i {
  font-size: 2.5rem;
}

.download-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.download-btn small {
  font-size: 0.9rem;
  font-weight: 300;
}

.quiz-categories {
  max-width: 1000px;
  margin: 0 auto;
}

.quiz-categories h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-family: var(--gaming-font);
  color: var(--primary-color);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.category-card i {
  font-size: 3rem;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.category-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.category-card p {
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.testimonials-slider {
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

.testimonial {
  background-color: white;
  border-radius: 15px;
  padding: 35px;
  box-shadow: var(--shadow);
  margin: 15px;
  transition: var(--transition);
}

.testimonial .quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  padding-left: 30px;
  color: var(--text-color);
}

.testimonial .quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author h4 {
  margin-bottom: 5px;
  color: var(--text-color);
}

.author p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  display: block;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-controls span.active {
  background: var(--bg-gaming);
  transform: scale(1.2);
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact .container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--text-light);
}

.contact-info ul {
  margin-bottom: 30px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info li i {
  font-size: 1.5rem;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-gaming);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 80px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  flex: 2;
  min-width: 250px;
}

.footer-logo i {
  font-size: 2.5rem;
  background: var(--bg-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: var(--gaming-font);
}

.footer-logo p {
  color: #9ca3af;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-newsletter {
  flex: 2;
  min-width: 250px;
}

.footer-newsletter h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-newsletter p {
  color: #9ca3af;
  margin-bottom: 20px;
}

.footer-newsletter form {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-family: inherit;
  background-color: rgba(255,255,255,0.1);
  color: white;
}

.footer-newsletter input::placeholder {
  color: #9ca3af;
}

.footer-newsletter button {
  padding: 12px 20px;
  background: var(--bg-gaming);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    padding: 150px 0 80px;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 130px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}