
/* ============================================
   AI DATA SCIENTIST - PREMIUM STYLESHEET
   Enterprise AI Product Website
   ============================================ */

/* CSS Variables */
:root {
  --bg-dark: #030308;
  --bg-dark-2: #070710;
  --bg-light: #f8f9fc;
  --bg-light-2: #eef1f8;
  --glass-dark: rgba(255, 255, 255, 0.03);
  --glass-dark-border: rgba(255, 255, 255, 0.08);
  --glass-light: rgba(255, 255, 255, 0.65);
  --glass-light-border: rgba(255, 255, 255, 0.5);
  --primary: #00d4ff;
  --primary-dim: rgba(0, 212, 255, 0.15);
  --secondary: #7c3aed;
  --secondary-dim: rgba(124, 58, 237, 0.15);
  --accent: #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.15);
  --text-dark: #ffffff;
  --text-dark-secondary: rgba(255, 255, 255, 0.7);
  --text-light: #0f172a;
  --text-light-secondary: rgba(15, 23, 42, 0.7);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Light Theme */
[data-theme="light"] {
  --bg: var(--bg-light);
  --bg-secondary: var(--bg-light-2);
  --glass: var(--glass-light);
  --glass-border: var(--glass-light-border);
  --text: var(--text-light);
  --text-secondary: var(--text-light-secondary);
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.12);
  --glow-primary: rgba(0, 212, 255, 0.3);
  --glow-secondary: rgba(124, 58, 237, 0.3);
}

/* Dark Theme (default) */
[data-theme="dark"],
:root:not([data-theme]) {
  --bg: var(--bg-dark);
  --bg-secondary: var(--bg-dark-2);
  --glass: var(--glass-dark);
  --glass-border: var(--glass-dark-border);
  --text: var(--text-dark);
  --text-secondary: var(--text-dark-secondary);
  --shadow: rgba(0, 0, 0, 0.4);
  --shadow-lg: rgba(0, 0, 0, 0.6);
  --glow-primary: rgba(0, 212, 255, 0.4);
  --glow-secondary: rgba(124, 58, 237, 0.4);
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.6s ease;
  cursor: none;
  min-height: 100vh;
}

::selection {
  background: var(--primary);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.display-2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
}

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

/* ============================================
   GLASSMORPHISM COMPONENTS
   ============================================ */
.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: var(--transition);
}

.glass:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 
    0 16px 48px var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 
    0 24px 64px var(--shadow-lg),
    0 0 60px var(--glow-primary),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.glass-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dim), var(--secondary-dim));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-btn:hover::before {
  opacity: 1;
}

.glass-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--glow-primary);
  transform: translateY(-2px);
}

.glass-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: #000;
}

.glass-btn-primary:hover {
  box-shadow: 0 0 50px var(--glow-primary);
}

.glass-input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.glass-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow-primary);
}

.glass-input::placeholder {
  color: var(--text-secondary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  transform: translateY(0);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.scrolled {
  background: rgba(3, 3, 8, 0.8);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.75rem 0;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 249, 252, 0.85);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 20px var(--glow-primary);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  cursor: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: var(--transition);
  color: var(--text);
  font-size: 1.2rem;
}

.theme-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow-primary);
  transform: rotate(15deg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: none;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.dashboard-mockup {
  position: absolute;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/10;
  background: var(--glass);
  backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 
    0 32px 64px var(--shadow-lg),
    0 0 80px var(--glow-primary);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.6s ease;
  overflow: hidden;
}

.dashboard-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: calc(100% - 40px);
}

.mockup-chart {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  opacity: 0.7;
}

.floating-panel {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 16px 32px var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.floating-panel:nth-child(2) {
  top: -20px;
  right: -30px;
  animation-delay: -2s;
}

.floating-panel:nth-child(3) {
  bottom: 20px;
  left: -40px;
  animation-delay: -4s;
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-secondary);
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-highlight {
  color: var(--primary);
  font-weight: 600;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--primary);
  transform: translateX(8px);
}

.tech-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-dim), var(--secondary-dim));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

/* ============================================
   WHY CHOOSE / FEATURE CARDS
   ============================================ */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.choose-card {
  composes: glass-card;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.choose-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.choose-card:hover::after {
  opacity: 0.3;
}

.choose-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px var(--glow-primary);
}

.choose-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.choose-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Zig Zag Layout */
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.zigzag-item:nth-child(even) {
  direction: rtl;
}

.zigzag-item:nth-child(even) > * {
  direction: ltr;
}

.zigzag-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zigzag-visual-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dim), var(--secondary-dim));
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.zigzag-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

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

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.testimonial-card {
  padding: 2.5rem;
  position: relative;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--glow-primary) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

textarea.glass-input {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 16px;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  cursor: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.contact-info-card {
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--primary);
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--glass);
  border: none;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: none;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dim), var(--secondary-dim));
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  position: relative;
  border-top: 1px solid var(--glass-border);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  margin-bottom: 60px;
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  cursor: none;
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px var(--glow-primary);
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: none;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
  box-shadow: 0 8px 24px var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--glow-primary);
  color: var(--primary);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--glow-primary);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 12px;
  color: #000;
  font-weight: 600;
  cursor: none;
  transition: var(--transition);
}

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

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 60px var(--glow-primary);
  animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px var(--glow-primary); }
  50% { transform: scale(1.05); box-shadow: 0 0 100px var(--glow-primary); }
}

.loading-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}

.loading-percent {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor.hover {
  width: 50px;
  height: 50px;
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--secondary);
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10002;
  transform: translate(-50%, -50%);
}

/* ============================================
   THREE.JS BACKGROUND
   ============================================ */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .zigzag-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .zigzag-item:nth-child(even) {
    direction: ltr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    height: 400px;
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }
  .nav-desktop {
    display: none !important;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .section {
    padding: 80px 0;
  }
  .hero-cta {
    justify-content: center;
  }
  .display-1 {
    text-align: center;
  }
  .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cursor, .cursor-dot {
    display: none;
  }
  body {
    cursor: auto;
  }
  .glass-btn, .theme-toggle, .hamburger, .social-link, .back-to-top, .faq-question, .submit-btn, .newsletter-btn {
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .display-1 {
    font-size: 2.5rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.glow-text {
  text-shadow: 0 0 40px var(--glow-primary);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.position-relative { position: relative; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
