/* ==========================================================================
   ACTINN SOLUTIONS - GLOBAL CORE DESIGN SYSTEM (style-global.css)
   - Brand Cohesive: Electric Blue (#0D6EFD) & Midnight Navy System
   - Layout: Reduced Inter-Section Dead Space & Mobile Optimized
   ========================================================================== */

/* 1. DESIGN TOKENS */
:root {
  /* Brand Identity Colors (From Actinn Solutions Logo) */
  --color-primary: #0D6EFD;            /* Electric Blue Accent */
  --color-primary-dark: #0052CC;
  --color-primary-glow: rgba(13, 110, 253, 0.4);
  --color-accent-gold: #F97316;        /* Idea Bulb Orange Accent */
  --color-accent-amber: #FB923C;

  /* Surfaces & Background System */
  --bg-deep: #030B17;                  /* Core Deep Background */
  --bg-surface: #07152B;               /* Secondary Surface */
  --bg-surface-elevated: #0C1E3D;      /* Card & Component Surfaces */
  --bg-glass: rgba(7, 21, 43, 0.82);

  /* Typography & Borders */
  --text-main: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(13, 110, 253, 0.35);

  /* Typography Scale */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);

  /* Layout Spacers & Transitions */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition-default: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE CSS RESET & NORMALIZATION */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.theme-dark {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Radial Glow */
body.theme-dark::before {
  content: '';
  position: fixed;
  top: -15vw;
  right: -15vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, rgba(3, 11, 23, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

/* 3. FLUID TYPOGRAPHY HIERARCHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-default);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4. UTILITIES & COMPACT SECTION SPACING */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }

/* Reduced vertical section spacing from 100px down to 65px */
.py-100 {
  padding-top: 65px;
  padding-bottom: 65px;
}

.bg-surface { 
  background-color: var(--bg-surface); 
}

/* Text Accents & Badges */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #60A5FA 60%, var(--color-accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-subtitle {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* Compact Section Header (Dead-space removed) */
.section-header {
  margin-bottom: 36px; /* Reduced from 60px */
}

.section-header .section-title {
  margin-top: 6px;
}

/* 5. RESPONSIVE BREAKPOINTS (MOBILE & TABLET) */
@media (max-width: 768px) {
  /* Tightly spaced sections on mobile for quick scrolling */
  .py-100 { 
    padding-top: 40px; 
    padding-bottom: 40px; 
  }
  
  .container { 
    padding-left: 16px; 
    padding-right: 16px; 
  }

  .section-header {
    margin-bottom: 26px;
  }
}