/* ==========================================================================
   Softac LLP CLOUD & SECURITY SYSTEMS - DESIGN SYSTEM & MAIN STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Dark Default */
  --bg-primary: #090d16;
  --bg-secondary: #111726;
  --bg-tertiary: #192238;
  --bg-card: rgba(17, 23, 38, 0.7);
  --bg-card-hover: rgba(25, 34, 56, 0.85);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(99, 102, 241, 0.4);
  --border-color-subtle: rgba(255, 255, 255, 0.05);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  /* Brand Accents */
  --primary: #6366f1; /* Electric Indigo */
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  
  --accent-cyan: #06b6d4; /* MDM & Cloud */
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  
  --accent-emerald: #10b981; /* Success / ERP */
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  
  --accent-rose: #f4395e; /* Anti-Theft / Security */
  --accent-rose-glow: rgba(244, 57, 94, 0.35);

  --accent-amber: #f59e0b; /* CRM / Analytics */

  /* Glassmorphism */
  --glass-bg: rgba(17, 23, 38, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-backdrop: blur(16px);

  /* Shadow & Glow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow-primary: 0 0 25px rgba(99, 102, 241, 0.25);
  --shadow-glow-rose: 0 0 25px rgba(244, 57, 94, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: #ffffff;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-glow: rgba(99, 102, 241, 0.5);
  --border-color-subtle: rgba(0, 0, 0, 0.04);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-sm {
  padding: 4rem 0;
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, var(--primary) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-rose {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-rose) 60%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-emerald) 60%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Section Title Styling */
.section-header {
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-primary {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-rose {
  background: rgba(244, 57, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 57, 94, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Ambient Background Glow Effects */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.glow-primary {
  background: var(--primary-glow);
  width: 500px;
  height: 500px;
}

.glow-cyan {
  background: var(--accent-cyan-glow);
  width: 450px;
  height: 450px;
}

.glow-rose {
  background: var(--accent-rose-glow);
  width: 400px;
  height: 400px;
}
