:root {
  /* Color System */
  --bg-primary: #050505;
  --bg-secondary: #0f172a;
  
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(20px);
  
  --primary-gradient: linear-gradient(135deg, #3b82f6, #60a5fa);
  --secondary-gradient: linear-gradient(135deg, #8b5cf6, #a78bfa);
  --highlight-gradient: linear-gradient(135deg, #e5e7eb, #f9fafb);
  
  --glow-blue: rgba(59, 130, 246, 0.45);
  --glow-purple: rgba(139, 92, 246, 0.35);
  
  --text-primary: #f9fafb;
  --text-secondary: #cbd5f5;
  --text-muted: #6b7280;
  
  /* Layout */
  --max-width: 1280px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.section-padding {
  padding: 120px 0;
}
@media (max-width: 1024px) { .section-padding { padding: 80px 0; } }
@media (max-width: 768px) { .section-padding { padding: 60px 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-blue);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  z-index: -1;
  border-radius: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-blue);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Header - Crazy Futuristic Float Nav */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.float-nav {
  width: 100%;
  max-width: 1000px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

/* Animated Neon Border */
.float-nav::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  border-radius: var(--radius-pill);
  z-index: -1;
  animation: borderGlow 4s linear infinite;
  opacity: 0.5;
}

.float-nav::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  border-radius: var(--radius-pill);
  z-index: -1;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.logo span {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.4);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.05);
}

.nav-links a {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--glow-blue);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 100%; max-width: 300px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(30px);
  z-index: 999;
  padding: 100px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--glass-border);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-right .btn-primary { display: none; }
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 60%);
  filter: blur(100px);
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Cinematic Projection Visual */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projector-lens {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background: #111;
  border-radius: 50%;
  border: 4px solid #333;
  box-shadow: 0 0 30px #000 inset, 0 0 50px var(--glow-blue);
  z-index: 3;
}

.projector-lens::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: radial-gradient(circle, #e0f2fe 0%, #3b82f6 50%, #1e3a8a 100%);
  border-radius: 50%;
  box-shadow: 0 0 20px #fff;
  animation: pulseLens 3s infinite alternate;
}

.light-beam {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 400px;
  background: linear-gradient(270deg, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  clip-path: polygon(100% 45%, 100% 55%, 0 100%, 0 0);
  z-index: 1;
  animation: flickerBeam 0.2s infinite alternate;
  pointer-events: none;
}

.projected-image {
  position: absolute;
  left: -50px;
  width: 400px;
  height: 250px;
  background-image: url('images/photo-1616423640778-28d1b53229bd.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  opacity: 0.8;
  box-shadow: 0 0 40px var(--glow-blue);
  transform: perspective(800px) rotateY(15deg);
  z-index: 2;
}

/* Particles */
.particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
  animation: floatParticles 20s linear infinite;
  z-index: 0;
}

@keyframes pulseLens {
  0% { box-shadow: 0 0 10px #fff; }
  100% { box-shadow: 0 0 30px #fff, 0 0 50px var(--glow-blue); }
}

@keyframes flickerBeam {
  0% { opacity: 0.85; }
  100% { opacity: 1; }
}

@keyframes floatParticles {
  0% { background-position: 0 0; }
  100% { background-position: 500px 500px; }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content p { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 400px; }
  .light-beam { right: auto; left: 50%; transform: translate(-50%, -50%) rotate(90deg); width: 400px; height: 300px; top: 100px; }
  .projector-lens { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%); }
  .projected-image { left: 50%; top: -50px; transform: translateX(-50%) perspective(800px) rotateX(-10deg); }
}

/* Section Headings */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Product Showcase (Products Section) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  padding: 40px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px var(--glow-purple);
}

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

.product-card:hover::before {
  left: 150%;
}

.product-image-wrap {
  position: relative;
  height: 240px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,0.8));
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.product-card .price {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  text-align: left;
}

.product-features-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features-list li::before {
  content: '⚡';
  font-size: 0.8rem;
}

.card-actions {
  display: flex;
  gap: 10px;
}
.card-actions .btn {
  flex: 1;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 15px var(--glow-blue);
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Internal Page Headers */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--bg-secondary) 0%, var(--bg-primary) 70%);
  border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 16px;
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-gallery {
  background: radial-gradient(circle at center, rgba(59,130,246,0.1) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.product-gallery img {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.product-info h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.product-price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 24px;
}

.product-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.spec-item {
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid #3b82f6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.spec-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-item strong {
  font-size: 1.1rem;
  color: var(--text-primary);
}

@media (max-width: 992px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  padding-right: 40px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method .icon {
  width: 40px; height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59,130,246,0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding-right: 0; }
  .contact-form { padding: 20px; }
}

/* Text Content Pages (About, Terms, Privacy) */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
}

.content-wrapper p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px;
  margin-top: 80px;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}