/* PartnerCloud AI - Critical CSS */
/* Theme: Dark Futurism / SaaS Premium */

:root {
  /* HSL Color System */
  --bg-dark: 222 47% 6%;
  /* Deepest Navy/Black */
  --bg-card: 222 47% 10%;
  /* Slightly lighter for cards */
  --bg-glass: 222 47% 10%;
  /* For glass effects */

  /* Brand Colors - "Ellie" Neon Blue & Violet */
  --primary-h: 190;
  --primary-s: 100%;
  --primary-l: 50%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  /* Cyan Neon */

  --secondary-h: 260;
  --secondary-s: 100%;
  --secondary-l: 65%;
  --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
  /* Violet Neon */

  --accent: #00d4ff;
  --success: #00ff9d;
  --error: #ff0055;

  /* Text */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  /* Glassmorphism */
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-surface: rgba(15, 23, 42, 0.6);
  --glass-blur: 16px;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  background-color: hsl(var(--bg-dark));
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 60ch;
}

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

.grid {
  display: grid;
  gap: 2rem;
}

/* Button Reset & Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: rotate(45deg) translate(-100%, 0);
  transition: transform 0.6s;
}

.btn-glow:hover::after {
  transform: rotate(45deg) translate(100%, 0);
}

/* Header/Nav */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.3s;
  border-bottom: 1px solid transparent;
}

header.navbar.scrolled {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span.highlight {
  color: var(--primary);
}