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

:root {
  --color-bg: #0a0612;
  --color-surface: #130d20;
  --color-surface-border: #2a1f3d;
  --color-text: #e8e0f0;
  --color-text-muted: #9088a0;
  --color-neon-orange: #ff6a00;
  --color-neon-cyan: #00e5ff;
  --color-neon-magenta: #ff2d95;
  --color-neon-yellow: #ffd000;
  --color-sunset-top: #ff6a00;
  --color-sunset-bottom: #ff2d95;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(var(--color-bg) 0%, transparent 30%, transparent 70%, var(--color-bg) 100%),
    linear-gradient(90deg, rgba(255, 45, 149, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 45, 149, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
}

/* ===== NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 5, 18, 0.8);
  border-bottom: 1px solid rgba(255, 45, 149, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s, text-shadow 0.3s;
}

nav ul a:hover {
  color: var(--color-neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* ===== SECTIONS ===== */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.neon-text {
  background: linear-gradient(135deg, var(--color-neon-orange), var(--color-neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, rgba(255, 45, 149, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -60%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); }
}

.hero-logo {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 106, 0, 0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-neon-orange), var(--color-neon-magenta));
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 45, 149, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 30px rgba(255, 45, 149, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-neon-cyan);
  border: 1px solid var(--color-neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== ABOUT ===== */
.about p {
  color: var(--color-text-muted);
  max-width: 700px;
  font-size: 1.1rem;
}

.about p + p {
  margin-top: 1.5rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.glow-card {
  background: var(--color-surface);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-surface-border);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon-orange), var(--color-neon-magenta), var(--color-neon-cyan));
  opacity: 0;
  transition: opacity 0.4s;
}

.glow-card:hover {
  border-color: rgba(255, 45, 149, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(255, 45, 149, 0.1);
}

.glow-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.glow-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.glow-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.product-card {
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-surface-border);
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 50px rgba(255, 106, 0, 0.12);
  border-color: rgba(255, 106, 0, 0.3);
}

.product-card-header {
  padding: 2rem 2rem 1.5rem;
  position: relative;
}

.product-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-surface-border), transparent);
}

.product-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.product-tagline {
  color: var(--color-neon-cyan);
  font-size: 0.85rem;
  font-weight: 500;
}

.product-card-body {
  padding: 1.5rem 2rem;
}

.product-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 20px;
  background: rgba(255, 106, 0, 0.1);
  color: var(--color-neon-orange);
  border: 1px solid rgba(255, 106, 0, 0.2);
  letter-spacing: 0.5px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-neon-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.product-link:hover {
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.product-link .arrow {
  transition: transform 0.3s;
}

.product-link:hover .arrow {
  transform: translateX(4px);
}

.product-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-live {
  background: rgba(0, 229, 100, 0.15);
  color: #00e564;
  border: 1px solid rgba(0, 229, 100, 0.3);
}

.status-beta {
  background: rgba(255, 208, 0, 0.15);
  color: var(--color-neon-yellow);
  border: 1px solid rgba(255, 208, 0, 0.3);
}

.status-coming-soon {
  background: rgba(0, 229, 255, 0.1);
  color: var(--color-neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

/* ===== CONTACT ===== */
.contact {
  text-align: center;
}

.contact p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-surface-border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-logo {
    width: 160px;
    height: 160px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

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

  nav ul {
    gap: 1rem;
  }

  .nav-logo span {
    display: none;
  }
}
