:root {
  --primary: #5E2BFF; /* Vibrant purple */
  --secondary: #00F0FF; /* Neon Cyan */
  --bg-dark: #0A0A0F;
  --bg-card: rgba(20, 20, 30, 0.6);
  --text-main: #FFFFFF;
  --text-muted: #A0A0B0;
  --border-glass: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--text-main), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

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

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

section {
  padding: 6rem 0;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(94, 43, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--secondary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 1.5rem 0 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 1.5rem;
  color: var(--secondary);
}

.stat-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  background: radial-gradient(circle at right, rgba(94, 43, 255, 0.1) 0%, transparent 50%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

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

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: 20px;
}

.stars {
  color: #FFD700;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.reviewer-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

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

.faq-item {
  border-bottom: 1px solid var(--border-glass);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #12121A;
  border: 1px solid var(--border-glass);
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Footer */
footer {
  background: #050508;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-glass);
}

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

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

/* Policies Pages */
.policy-page {
  padding-top: 10rem;
}

.policy-content {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  margin-bottom: 4rem;
}

.policy-content h2 {
  text-align: left;
  margin-top: 2rem;
  color: var(--secondary);
}

.policy-content p {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Mobile Support Popup */
.support-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.support-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (min-width: 769px) {
  .support-modal-overlay {
    display: none !important;
  }
}

.support-modal-content {
  background: #1A1A24;
  border: 1px solid var(--secondary);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.support-modal-overlay.active .support-modal-content {
  transform: translateY(0) scale(1);
}

.close-support {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Support popup is intended to be non-closable */
.support-modal-overlay .close-support {
  display: none;
}

.sxm-logo-popup {
  width: 180px;
  margin: 0 auto 1.5rem;
  display: block;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}

.support-modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.support-modal-content p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.support-list {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.3);
  padding: 1.5rem;
  border-radius: 12px;
}

.support-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.support-list li:last-child {
  margin-bottom: 0;
}

.support-list i {
  color: var(--secondary);
}

.pulse-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
  display: block;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 240, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}
