:root {
  --bg-deep: #0a0c10;
  --bg-dark: #12151c;
  --bg-surface: #1a1e26;
  --accent-prontera: #3a86ff;
  /* Royal Prontera Blue */
  --accent-gold: #ffc300;
  /* Sunlight Gold */
  --accent-marble: #e0e6ed;
  /* Castle Marble */
  --text-main: #f8f9fa;
  --text-dim: #94a3b8;
  --neon-glow: 0 0 20px rgba(58, 134, 255, 0.4);
  --gold-glow: 0 0 15px rgba(255, 195, 0, 0.3);
  --font-main: 'Inter', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(58, 134, 255, 0.1);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 3rem;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dim);
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-prontera), #1b63e0);
  color: white;
  box-shadow: var(--neon-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(58, 134, 255, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: rgba(255, 195, 0, 0.1);
  box-shadow: var(--gold-glow);
}

/* --- Sections --- */
section {
  padding: 120px 0;
}

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

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.hero-content {
  flex: 1.2;
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 800;
}

h1 span {
  color: var(--accent-prontera);
  text-shadow: var(--neon-glow);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
}

.stat-item h4 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img-main {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s;
}

.hero-img-main:hover {
  transform: translateY(-10px);
}

/* Products Section */
.products {
  background: var(--bg-dark);
}

.products h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

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

.product-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(58, 134, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-image {
  height: 220px;
  background: #151820;
  position: relative;
}

.status-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.status-online {
  background: #00ff88;
  color: #050505;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.status-maint {
  background: #ffaa00;
  color: #050505;
}

.product-info {
  padding: 2rem;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 1.5rem 0;
}

/* Status Section */
.status-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}

.status-table th {
  background: rgba(58, 134, 255, 0.1);
  color: var(--accent-prontera);
  text-align: left;
  padding: 1.5rem;
  font-weight: 700;
}

.status-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.indicator.up {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
}

.indicator.down {
  background: #ff4444;
  box-shadow: 0 0 10px #ff4444;
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
  background: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-q {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.faq-a {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-dim);
  display: none;
}

/* Footer */
footer {
  padding: 100px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 60px;
}

.footer-logo p {
  color: var(--text-dim);
  margin-top: 1rem;
  max-width: 350px;
}

.footer-links h4 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
  color: var(--text-dim);
}

.security-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  opacity: 0.5;
  font-size: 0.75rem;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Mobile Menu & Responsive --- */
.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

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

.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 2000;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

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

.mobile-overlay a {
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: none;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 3rem;
  }

  .hero-container {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    height: 75px;
  }

  .logo-img {
    height: 40px;
  }

  .nav-links,
  .nav-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 130px;
    text-align: center;
  }

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

  h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin: 0 auto 3rem;
  }

  .hero-btns {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .hero-image {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-logo p {
    margin: 1rem auto;
  }

  .security-badges {
    justify-content: center;
  }

  .floating-cta {
    display: flex;
  }
}