/* ==========================================================================
   DO AD — DESIGN SYSTEM
   Theme: AI Marketing Intelligence Command Center
   Palette: Royal Plum Brand (#37003c) + Metallic Slate Grey (#727476) + Neon Violet Accent
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;700&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-primary: #07070a;
  --bg-secondary: #0c0e16;
  --bg-surface: #111420;
  --bg-surface-glass: rgba(17, 20, 32, 0.75);
  --bg-card: rgba(14, 18, 28, 0.85);
  --bg-card-hover: rgba(22, 28, 44, 0.95);

  /* Primary Brand Color: Royal Plum #37003C (Official DO AD Brand Color) */
  --brand-color: #37003c;
  --brand-purple: #37003c;
  --brand-orange: #37003c; /* Replaced orange with #37003c */
  --neon-yellow: #d946ef; /* Luminous plum-magenta accent for high-contrast typography */
  --neon-brand: #d946ef;
  --neon-brand-core: #37003c;
  --neon-yellow-glow: rgba(217, 70, 239, 0.45);
  --neon-brand-glow: rgba(217, 70, 239, 0.45);
  --neon-yellow-soft: rgba(55, 0, 60, 0.5);
  --neon-brand-soft: rgba(55, 0, 60, 0.5);
  --neon-yellow-ultra-soft: rgba(55, 0, 60, 0.2);
  --neon-brand-ultra-soft: rgba(55, 0, 60, 0.2);
  --neon-yellow-bright: #f0abfc;
  --neon-brand-bright: #f0abfc;
  --neon-yellow-dim: #37003c;
  --neon-brand-dim: #37003c;

  /* Secondary Brand Color: Slate Grey #727476 */
  --brand-slate: #727476;
  --slate-color: #727476;
  --slate-soft: rgba(114, 116, 118, 0.15);
  --slate-glow: rgba(114, 116, 118, 0.35);
  --border-slate: rgba(114, 116, 118, 0.35);
  --border-slate-bright: rgba(114, 116, 118, 0.75);

  --cyan-accent: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #a1a7b8;
  --text-muted: #8b92a5;
  --text-inverse: #07070a;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(114, 116, 118, 0.28);
  --border-yellow: rgba(217, 70, 239, 0.35);
  --border-brand: rgba(217, 70, 239, 0.35);
  --border-yellow-bright: rgba(217, 70, 239, 0.85);
  --border-brand-bright: rgba(217, 70, 239, 0.85);

  /* Typography */
  --font-display: 'Syne', 'Space Grotesk', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-devanagari: 'Syne', -apple-system, sans-serif;

  /* Shadows & Glows */
  --glow-sm: 0 0 10px rgba(55, 0, 60, 0.6);
  --glow-md: 0 0 20px rgba(217, 70, 239, 0.35);
  --glow-lg: 0 0 35px rgba(217, 70, 239, 0.45);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1400px;
  --header-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 14px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Background Cyber Grid & Noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(114, 116, 118, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(114, 116, 118, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(55, 0, 60, 0.45) 0%, rgba(7, 7, 10, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-slate);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-purple);
}

/* Selection */
::selection {
  background: var(--brand-purple);
  color: #ffffff;
}

/* Global Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon {
  color: var(--neon-brand);
  text-shadow: 0 0 12px var(--neon-brand-glow);
}

.text-slate {
  color: var(--brand-slate);
}

.text-mono {
  font-family: var(--font-mono);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-brand-bright);
  background: rgba(55, 0, 60, 0.6);
  border: 1px solid var(--border-brand);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-brand);
  box-shadow: 0 0 8px var(--neon-brand);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}

/* Custom Cursor Glow */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(55, 0, 60, 0.5) 0%, rgba(55, 0, 60, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  opacity: 0;
}

#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--neon-brand-bright);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 10px var(--neon-brand);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* HUD Glassmorphism Card */
.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-slate);
  border-radius: var(--border-radius-md);
  position: relative;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--neon-brand-ultra-soft);
}

/* Tech Corner Brackets */
.corner-brackets {
  position: relative;
}
.corner-brackets::before,
.corner-brackets::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--neon-brand);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}
.corner-brackets::before {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}
.corner-brackets::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
}
.corner-brackets:hover::before,
.corner-brackets:hover::after {
  opacity: 1;
}

/* Utility Animations */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(1000%); }
}

.animate-float {
  animation: float-gentle 4s ease-in-out infinite;
}

/* Imigo डिजि Devanagari Brand Typography */
.brand-devanagari {
  font-family: var(--font-devanagari);
  font-weight: 700;
  color: var(--neon-brand);
  text-shadow: 0 0 15px var(--neon-brand-soft);
  margin-left: 2px;
}

