:root {
  --primary: #00ffff;
  --secondary: #ff00ff;
  --accent: #ff0080;
  --background: #0a0a0a;
  --surface: #1a1a1a;
  --surface-light: #2a2a2a;
  --text: #ffffff;
  --text-secondary: #b0b0b0;
  --border: #333333;
  --success: #00ff00;
  --error: #ff0000;
  --font-heading: 'Rajdhani', 'Arial Black', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
  --glow: 0 0 20px rgba(0, 255, 255, 0.3);
  --glow-secondary: 0 0 20px rgba(255, 0, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-shadow: var(--glow);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
  text-shadow: var(--glow-secondary);
}

/* Header & Navigation */
header {
  background-color: var(--surface);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: var(--glow);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.logo a {
  color: var(--primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .logo img {
    height: 30px;
  }
  
  .logo span {
    font-size: 1.2rem !important;
  }
  
  nav {
    width: 100%;
    order: 3;
    display: block !important;
  }
  
  nav ul {
    display: flex !important;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  nav ul::-webkit-scrollbar {
    display: none;
  }
  
  nav a {
    padding: 0.25rem 0;
    font-size: 0.85rem;
  }
}

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

main {
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: var(--glow), inset 0 0 20px rgba(0, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

/* Sections */
section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-child {
  border-bottom: none;
}

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

.card {
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

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

.card h3 {
  margin-bottom: 1rem;
}

.card-rating {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.star {
  color: var(--secondary);
  text-shadow: var(--glow-secondary);
}

.star.empty {
  color: var(--border);
  text-shadow: none;
}

/* Buttons */
button, .btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--background);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--glow);
  font-family: var(--font-heading);
}

button:hover, .btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow), 0 0 30px rgba(255, 0, 128, 0.5);
}

button:active, .btn:active {
  transform: scale(0.98);
}

button.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

button.secondary:hover {
  background-color: rgba(0, 255, 255, 0.1);
  box-shadow: var(--glow);
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--surface);
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: 5px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--glow);
}

input.error, textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.error-message {
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  display: none;
}

.error-message.show {
  display: block;
}

.success-message {
  background-color: rgba(0, 255, 0, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  display: none;
  text-align: center;
}

.success-message.show {
  display: block;
}

/* Table wrapper for horizontal scroll */
.table-wrapper {
  display: block;
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

/* Tables */
table {
  min-width: 700px;
  width: max-content;
  border-collapse: collapse;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
}

th {
  padding: 1rem;
  text-align: left;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tr:hover {
  background-color: rgba(0, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .table-wrapper {
    margin: 1rem -1rem;
    padding: 0 1rem;
    width: calc(100% + 2rem);
  }
  
  table {
    font-size: 0.85rem;
  }
  
  th, td {
    padding: 0.75rem 0.5rem;
  }
}

/* Footer */
footer {
  background-color: var(--surface);
  border-top: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  margin-top: 3rem;
  padding: 3rem 2rem 1rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: var(--glow);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
}

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

.contact-info {
  margin: 1rem 0;
  font-size: 0.95rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--surface-light);
  border: 2px solid var(--primary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--background);
  box-shadow: var(--glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--background);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--glow);
  z-index: 999;
  transition: all 0.3s ease;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow), 0 0 30px rgba(255, 0, 128, 0.5);
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table table {
  min-width: 100%;
}

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

.stat-card {
  background-color: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--glow);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  text-shadow: var(--glow);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.2rem;
  }

  button, .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.7rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }

  .cards-grid {
    gap: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  form {
    max-width: 100%;
  }

  input, textarea, select {
    padding: 0.7rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  }
}

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

.slide-in {
  animation: slideInLeft 0.6s ease-out;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
