:root {
  --bg-color: #05050A;
  --text-primary: #FFFFFF;
  --text-secondary: #9BA1B0;
  
  --cyan-primary: #00F0FF;
  --cyan-hover: #00C3D0;
  --magenta-primary: #FF00E5;
  --magenta-hover: #D000BA;
  
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background effects */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
}
.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,240,255,0.15) 0%, rgba(0,0,0,0) 70%);
  top: -20%;
  left: -10%;
}
.shape-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,0,229,0.1) 0%, rgba(0,0,0,0) 70%);
  bottom: -20%;
  right: -10%;
}
.shape-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,56,255,0.1) 0%, rgba(0,0,0,0) 70%);
  top: 40%;
  left: 30%;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 0;
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-text .highlight {
  color: var(--cyan-primary);
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 5% 60px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(to right, var(--cyan-primary), var(--magenta-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 1);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Products Section */
.products-section {
  padding: 80px 0 120px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
}

.product-card {
  position: relative;
  border-radius: 24px;
  padding: 1px; /* space for gradient border */
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
  transform: translateY(-10px);
}

.card-content {
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 23px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(80px);
  top: -20px;
  right: -20px;
  z-index: 0;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.product-card:hover .card-glow {
  opacity: 0.6;
}

.glow-cyan { background: var(--cyan-primary); }
.glow-magenta { background: var(--magenta-primary); }

.product-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  height: 200px;
}

.product-icon {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  transition: transform 0.5s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.08) rotate(-2deg);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan-primary);
  margin-bottom: 20px;
  align-self: flex-start;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.badge-magenta {
  background: rgba(255, 0, 229, 0.1);
  color: var(--magenta-primary);
  border: 1px solid rgba(255, 0, 229, 0.2);
}

.product-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.file-size {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}

.btn-cyan {
  background: var(--cyan-primary);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-cyan:hover {
  background: var(--cyan-hover);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

.btn-magenta {
  background: var(--magenta-primary);
  box-shadow: 0 4px 15px rgba(255, 0, 229, 0.3);
}

.btn-magenta:hover {
  background: var(--magenta-hover);
  box-shadow: 0 6px 20px rgba(255, 0, 229, 0.5);
  transform: translateY(-2px);
}

.arrow {
  transition: transform 0.3s ease;
}

.download-btn:hover .arrow {
  transform: translateY(3px);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Animations */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpAnim 0.8s ease forwards;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .card-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
  }
}
