/* ==========================================================================
   XNIXA - Luxury + Technology + Minimal Design System
   Brand Colors: Deep Obsidian Black, Cyber Purple, Electric Cyan Neon, Pure White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand Palette from Xnixa Logo */
  --bg-black: #060609;
  --bg-surface: #0d0d14;
  --bg-card: #12121e;
  --bg-card-hover: #181829;
  --bg-glass: rgba(18, 18, 30, 0.65);
  --bg-glass-strong: rgba(13, 13, 20, 0.85);
  
  /* Cyber Accents */
  --neon-purple: #9B51E0;
  --neon-purple-bright: #B026FF;
  --neon-magenta: #E024FF;
  --neon-cyan: #00F0FF;
  --neon-cyan-dark: #0080FF;
  --purple-glow: rgba(176, 38, 255, 0.35);
  --cyan-glow: rgba(0, 240, 255, 0.35);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00F0FF 0%, #9B51E0 50%, #E024FF 100%);
  --grad-purple: linear-gradient(135deg, #B026FF 0%, #7928CA 100%);
  --grad-cyan: linear-gradient(135deg, #00F0FF 0%, #0080FF 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(28, 24, 46, 0.6) 0%, rgba(13, 13, 20, 0.9) 100%);
  --grad-glow-radial: radial-gradient(circle at 50% 0%, rgba(176, 38, 255, 0.18), transparent 70%);

  /* Typography Colors */
  --text-pure: #FFFFFF;
  --text-muted: #A09EB5;
  --text-subtle: #6D6A87;
  --text-dark: #12121a;

  /* Borders & Highlights */
  --border-subtle: rgba(160, 158, 181, 0.12);
  --border-active: rgba(176, 38, 255, 0.4);
  --border-cyan: rgba(0, 240, 255, 0.4);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);
  --font-tech: 'Orbitron', monospace;

  /* Spacings & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px -5px rgba(128, 0, 255, 0.12);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 35px 2px rgba(176, 38, 255, 0.3);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-pure);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-pure);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Cyber Grid Lines & Ambient Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 600px;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.15) 0%, rgba(0, 240, 255, 0.05) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-purple {
  color: var(--neon-purple-bright);
}

.text-cyan {
  color: var(--neon-cyan);
}

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

.font-tech {
  font-family: var(--font-tech);
}

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

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

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(176, 38, 255, 0.5), 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.btn-purple {
  background: var(--grad-purple);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--purple-glow);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(176, 38, 255, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-glow-purple {
  background: rgba(176, 38, 255, 0.15);
  color: var(--neon-magenta);
  border: 1px solid rgba(224, 36, 255, 0.3);
}

.badge-glow-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-pill {
  background: #191629;
  color: var(--text-pure);
  border: 1px solid var(--border-subtle);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-header .section-tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header .section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-header .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Glass Card */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-active);
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-control:focus {
  border-color: var(--neon-purple-bright);
  box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.form-control::placeholder {
  color: var(--text-subtle);
}

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

/* Pakistani Rupees Price styling */
.price-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-pure);
}


.price-original {
  font-size: 0.95rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Keyframes */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
