/* ============================================
   HYPER ASSIST - Futuristic Landing Page Styles
   ============================================
   
   Table of Contents:
   1. CSS Variables (Colors, Spacing, Typography)
   2. Reset & Base Styles
   3. Utility Classes
   4. Navbar
   5. Hero Section
   6. AI Brain Animation
   7. Social Proof Strip
   8. Solutions Section
   9. Use Cases Section
   10. Proof/Testimonials Section
   11. Contact/Booking Section
   12. Footer
   13. Animations & Keyframes
   14. Responsive Breakpoints
   
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* Primary Colors */
  --primary-blue: #0D5FC2;
  --deep-blue: #0350B5;
  --light-blue: #81A7DA;
  --accent-cyan: #22B5D6;
  
  /* Neutral Colors */
  --near-black: #0B0F14;
  --dark-bg: #0f1620;
  --card-bg: #151c28;
  --white: #FFFFFF;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Glow & Accent Colors */
  --glow-blue: rgba(13, 95, 194, 0.4);
  --glow-cyan: rgba(34, 181, 214, 0.3);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 95, 194, 0.3), transparent);
  --gradient-dark: linear-gradient(180deg, var(--near-black) 0%, var(--dark-bg) 100%);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px var(--glow-blue);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Force light mode to prevent browser dark mode from affecting the site */
  color-scheme: light;
  background-color: #ffffff;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-900);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  background-color: #ffffff; /* Explicit background to override dark mode */
  background-attachment: fixed;
  overflow-x: hidden;
  cursor: none;
}

/* Fallback for browsers that don't support custom cursor */
@media (hover: none) {
  body {
    cursor: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  font-weight: 600;
  font-size: var(--font-size-base);
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--glow-blue);
}

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

.btn--outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--primary-blue);
  background: rgba(13, 95, 194, 0.1);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(13, 95, 194, 0.2);
}

.btn--accent {
  background: var(--accent-cyan);
  color: var(--near-black);
}

.btn--accent:hover {
  background: #1da3c2;
}

.btn--lg {
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
}

.btn--full {
  width: 100%;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
  background: rgba(13, 95, 194, 0.08);
  border: 1px solid rgba(13, 95, 194, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: rgba(13, 95, 194, 0.15);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.15);
}

.chip--active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.3);
}

/* Hidden honeypot field */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  transition: opacity 0.3s ease;
  display: none; /* Hidden by default, enabled by JS on desktop only */
}

/* Only show cursor on desktop (non-touch devices) */
body.has-custom-cursor .custom-cursor {
  display: block;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--primary-blue);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 10px rgba(13, 95, 194, 0.5);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

/* Cursor hover states */
.custom-cursor.hover .cursor-dot {
  width: 14px;
  height: 14px;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(34, 181, 214, 0.7);
}

.custom-cursor.hover .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: var(--accent-cyan);
  opacity: 1;
  animation: cursorExpand 0.6s ease-out;
}

/* Hero section cursor animation */
.hero .custom-cursor .cursor-outline,
.cursor-in-hero .custom-cursor .cursor-outline {
  width: 50px;
  height: 50px;
  border-width: 3px;
  animation: cursorPulseHero 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(13, 95, 194, 0.4), 0 0 40px rgba(34, 181, 214, 0.2);
}

.hero .custom-cursor .cursor-dot,
.cursor-in-hero .custom-cursor .cursor-dot {
  width: 12px;
  height: 12px;
  animation: dotGlow 2s ease-in-out infinite;
}

.hero .custom-cursor.hover .cursor-outline,
.cursor-in-hero .custom-cursor.hover .cursor-outline {
  width: 70px;
  height: 70px;
  border-width: 3px;
  box-shadow: 0 0 30px rgba(13, 95, 194, 0.6), 0 0 60px rgba(34, 181, 214, 0.4);
}

.hero .custom-cursor.hover .cursor-dot,
.cursor-in-hero .custom-cursor.hover .cursor-dot {
  width: 16px;
  height: 16px;
}

@keyframes cursorPulseHero {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    border-color: var(--primary-blue);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15) rotate(90deg);
    border-color: var(--accent-cyan);
    opacity: 1;
  }
}

@keyframes dotGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(13, 95, 194, 0.6), 0 0 25px rgba(13, 95, 194, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(34, 181, 214, 0.9), 0 0 40px rgba(13, 95, 194, 0.5), 0 0 60px rgba(34, 181, 214, 0.2);
  }
}

@keyframes cursorExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Hide cursor on touch devices and mobile */
@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .custom-cursor {
    display: none !important;
  }
}

/* ============================================
   4. NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 95, 194, 0.1);
  transition: all var(--transition-base);
  box-shadow: 0 2px 20px rgba(13, 95, 194, 0.08);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(13, 95, 194, 0.15);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.navbar__logo {
  height: 36px;
  width: auto;
}

.navbar__name {
  font-size: var(--font-size-lg);
  font-weight: 900;
  font-style: italic;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: var(--spacing-8);
}

.navbar__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--primary-blue);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  display: none;
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-2);
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  background: var(--white);
  border-top: 1px solid rgba(13, 95, 194, 0.1);
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile-link {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--gray-700);
  padding: var(--spacing-3) 0;
  transition: color var(--transition-fast);
}

.navbar__mobile-link:hover {
  color: var(--primary-blue);
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(72px + var(--spacing-8)) 0 var(--spacing-12);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Cursor spotlight effect */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(13, 95, 194, 0.15),
    rgba(34, 181, 214, 0.08) 25%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.hero.has-cursor::after {
  opacity: 1;
}

/* Background Pattern */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13, 95, 194, 0.08), transparent 70%),
    radial-gradient(circle at 80% 20%, rgba(34, 181, 214, 0.06), transparent 50%);
  pointer-events: none;
}

/* Circuit pattern overlay */
.hero__bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(13, 95, 194, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 95, 194, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

/* Animated dots */
.hero__bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--primary-blue) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.15;
  animation: dotMove 20s linear infinite;
}

@keyframes dotMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: center;
  order: 2;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--spacing-6);
}

.hero__title-main {
  display: block;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(10deg);
  }
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto var(--spacing-8);
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-10);
  align-items: center;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4) var(--spacing-6);
}

.hero__benefit {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  padding: var(--spacing-2) var(--spacing-4);
  background: rgba(13, 95, 194, 0.05);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hero__benefit:hover {
  background: rgba(13, 95, 194, 0.1);
  transform: translateY(-2px);
}

.hero__benefit-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-blue);
}

/* Hero Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1;
  margin-bottom: var(--spacing-8);
}

.hero__visual-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
  margin: 0 auto;
}

/* ============================================
   6. AI BRAIN ANIMATION
   ============================================ */
.ai-brain {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-brain__svg {
  width: 300px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(13, 95, 194, 0.3));
}

/* Brain Hemispheres */
.brain-hemisphere {
  fill: rgba(13, 95, 194, 0.1);
  stroke: var(--primary-blue);
  stroke-width: 2;
  animation: brainPulse 4s ease-in-out infinite;
}

.brain-left {
  transform-origin: 70px 100px;
  animation-delay: 0s;
}

.brain-right {
  transform-origin: 130px 100px;
  animation-delay: 0.2s;
}

@keyframes brainPulse {
  0%, 100% {
    fill: rgba(13, 95, 194, 0.1);
    stroke-width: 2;
  }
  50% {
    fill: rgba(13, 95, 194, 0.2);
    stroke-width: 2.5;
  }
}

/* Neural Network Lines */
.neural-line {
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.6;
  animation: neuralPulse 3s ease-in-out infinite;
}

.neural-center {
  stroke-width: 2;
  opacity: 0.8;
}

@keyframes neuralPulse {
  0%, 100% {
    opacity: 0.4;
    stroke-width: 1.5;
  }
  50% {
    opacity: 1;
    stroke-width: 2;
  }
}

/* Neural Nodes */
.neural-node {
  fill: var(--accent-cyan);
  filter: drop-shadow(0 0 4px var(--accent-cyan));
  animation: nodePulse 2s ease-in-out infinite;
}

.neural-node:nth-child(2n) {
  animation-delay: 0.3s;
}

.neural-node:nth-child(3n) {
  animation-delay: 0.6s;
}

.neural-core {
  fill: var(--primary-blue);
  filter: drop-shadow(0 0 8px var(--primary-blue));
}

@keyframes nodePulse {
  0%, 100% {
    r: 3;
    opacity: 1;
  }
  50% {
    r: 4;
    opacity: 0.7;
  }
}

/* Energy Particles */
.energy-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 30%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  left: 40%;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  left: 50%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  left: 60%;
  animation-delay: 2s;
}

.particle:nth-child(6) {
  left: 70%;
  animation-delay: 2.5s;
}

.particle:nth-child(7) {
  left: 80%;
  animation-delay: 3s;
}

.particle:nth-child(8) {
  left: 90%;
  animation-delay: 3.5s;
}

@keyframes particleFloat {
  0% {
    bottom: 0%;
    opacity: 0;
    transform: translateX(-20px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(20px);
  }
}

/* Floating Data Cards */
.hero__data-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 95, 194, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-4);
  box-shadow: 0 10px 40px rgba(13, 95, 194, 0.15);
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  min-width: 140px;
}

.hero__data-card--1 {
  top: 15%;
  right: -10%;
  animation: float 6s ease-in-out infinite;
}

.hero__data-card--2 {
  bottom: 20%;
  left: -10%;
  animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.data-card-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.data-card-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.data-card-value {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}

.data-card-label {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating Tech Icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tech-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(13, 95, 194, 0.1);
  border: 2px solid rgba(13, 95, 194, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--primary-blue);
  animation: iconFloat 8s ease-in-out infinite;
}

.tech-icon svg {
  width: 20px;
  height: 20px;
}

.tech-icon--1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.tech-icon--2 {
  top: 50%;
  right: 5%;
  animation-delay: 2s;
}

.tech-icon--3 {
  bottom: 15%;
  right: 15%;
  animation-delay: 4s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  75% {
    transform: translateY(15px) rotate(-5deg);
  }
}

/* ============================================
   7. SOCIAL PROOF STRIP
   ============================================ */
.social-proof {
  padding: var(--spacing-12) 0;
  border-top: 1px solid rgba(13, 95, 194, 0.1);
  border-bottom: 1px solid rgba(13, 95, 194, 0.1);
  background: rgba(248, 250, 252, 0.5);
}

.social-proof__label {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-6);
}

.social-proof__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-8);
}

.social-proof__logo {
  font-size: var(--font-size-lg);
    font-weight: 600;
  color: var(--gray-400);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.social-proof__logo:hover {
  opacity: 1;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* ============================================
   8. SOLUTIONS SECTION
   ============================================ */
.solutions {
  padding: var(--spacing-24) 0;
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
}

.solution-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 95, 194, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.solution-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(13, 95, 194, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 95, 194, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-5);
}

.solution-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-blue);
}

.solution-card__title {
  font-size: var(--font-size-xl);
    font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.solution-card__desc {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   9. USE CASES SECTION
   ============================================ */
.use-cases {
  padding: var(--spacing-24) 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5), rgba(13, 95, 194, 0.03), rgba(248, 250, 252, 0.5));
}

.use-cases__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-10);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
}

.use-case-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 95, 194, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--spacing-6);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.use-case-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(13, 95, 194, 0.15);
}

.use-case-card.hidden {
  display: none;
}

.use-case-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-2);
}

.use-case-card__desc {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-bottom: var(--spacing-4);
  line-height: 1.6;
}

.use-case-card__outcome {
  font-size: var(--font-size-sm);
  color: var(--gray-700);
  padding-top: var(--spacing-4);
  border-top: 1px solid rgba(13, 95, 194, 0.15);
}

.use-case-card__metric {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-blue);
}

/* ============================================
   10. PROOF/TESTIMONIALS SECTION
   ============================================ */
.proof {
  padding: var(--spacing-24) 0;
}

.proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 95, 194, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--spacing-6);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(13, 95, 194, 0.15);
}

.testimonial-card__quote {
  font-size: var(--font-size-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--spacing-6);
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '"';
  font-size: var(--font-size-3xl);
  color: var(--primary-blue);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: var(--spacing-1);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 95, 194, 0.3);
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-card__role {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

/* Metrics Card */
.metrics-card {
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.1), rgba(34, 181, 214, 0.05));
  border: 2px solid rgba(13, 95, 194, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-4);
  text-align: center;
  backdrop-filter: blur(10px);
}

.metric__value {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-1);
}

.metric__label {
  font-size: var(--font-size-sm);
  color: var(--gray-700);
  font-weight: 500;
}

/* Audit Card */
.audit-card {
  position: relative;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-8);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(13, 95, 194, 0.3);
}

.audit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
  pointer-events: none;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10%, -10%);
  }
}

.audit-card__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-4);
}

.audit-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-3);
}

.audit-card__desc {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-6);
  line-height: 1.6;
}

/* ============================================
   11. CONTACT/BOOKING SECTION
   ============================================ */
.contact {
  padding: var(--spacing-24) 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5), rgba(13, 95, 194, 0.04));
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-12);
  align-items: start;
}

.contact__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
}

.contact__desc {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  margin-bottom: var(--spacing-6);
  line-height: 1.7;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  color: var(--gray-700);
  font-weight: 500;
}

.contact__list svg {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

/* Contact Form */
.contact__form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(13, 95, 194, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--spacing-8);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(13, 95, 194, 0.15);
}

.contact-form__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-6);
  text-align: center;
}

.form-group {
  margin-bottom: var(--spacing-5);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--spacing-2);
}

.form-group .required {
  color: var(--accent-cyan);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-3) var(--spacing-4);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  color: var(--gray-900);
  transition: all var(--transition-fast);
  font-size: var(--font-size-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(13, 95, 194, 0.1);
  background: var(--white);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: var(--spacing-10);
}

.form-group select option {
  background: var(--white);
  color: var(--gray-900);
}

/* Checkbox */
.form-group--checkbox {
  margin-top: var(--spacing-6);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  line-height: 1.5;
  position: relative;
  vertical-align: middle;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label > span:last-child {
  display: inline-block;
  vertical-align: middle;
}

.checkbox-custom {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  background: var(--white);
  border: 2px solid var(--gray-500);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
  vertical-align: middle;
  margin-top: -2px;
  z-index: 10;
}

.checkbox-custom:hover {
  border-color: var(--primary-blue);
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  display: block;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  z-index: 11;
}

/* Form Trust Line */
.contact-form__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  margin-top: var(--spacing-4);
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.contact-form__trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

/* Form Success Message */
.contact-form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3);
  text-align: center;
  padding: var(--spacing-6);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-6);
  animation: successSlideIn 0.4s ease-out;
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form__success:not([hidden]) {
  display: flex;
}

.contact-form__success svg {
  width: 48px;
  height: 48px;
  color: #22c55e;
}

.contact-form__success p {
  color: var(--gray-700);
}

/* ============================================
   12. FOOTER
   ============================================ */
.footer {
  padding: var(--spacing-12) 0;
  border-top: 1px solid rgba(13, 95, 194, 0.15);
  background: rgba(248, 250, 252, 0.8);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-6);
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__name {
  font-size: var(--font-size-lg);
  font-weight: 900;
  font-style: italic;
  color: var(--primary-blue);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4) var(--spacing-6);
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.footer__links a:hover {
  color: var(--primary-blue);
}

.footer__links a:hover::after {
  width: 100%;
}

.footer__copyright {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

/* ============================================
   13. ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 60px var(--glow-blue), 0 0 100px var(--glow-cyan);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 80px var(--glow-blue), 0 0 120px var(--glow-cyan);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

@keyframes barGrow {
  0% { width: 0; }
  50% { width: 75%; }
  100% { width: 75%; }
}

/* ============================================
   14. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .hero__title {
    font-size: var(--font-size-5xl);
  }
  
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }
  
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .use-cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .metrics-card {
    grid-column: span 2;
  }
  
  .audit-card {
    grid-column: span 2;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .navbar__links {
    display: flex;
  }
  
  .navbar__cta {
    display: inline-flex;
  }
  
  .navbar__toggle {
    display: none;
  }
  
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
  }
  
  .hero__content {
    text-align: left;
    order: 1;
  }
  
  .hero__visual {
    order: 2;
    margin-bottom: 0;
  }
  
  .hero__title {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
  
  .hero__title-main {
    white-space: nowrap;
  }
  
  .hero__subtitle {
    margin: 0 0 var(--spacing-8);
  }
  
  .hero__ctas {
    justify-content: flex-start;
    flex-direction: row;
  }
  
  .hero__benefits {
    justify-content: flex-start;
  }
  
  .solutions__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .use-cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .proof__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .testimonial-card:first-child {
    grid-column: span 2;
  }
  
  .metrics-card {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .audit-card {
    grid-column: span 2;
  }
  
  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
  }
  
  .contact__title {
    font-size: var(--font-size-4xl);
  }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
  :root {
    --container-max: 1280px;
  }
  
  .hero__title {
    font-size: 4.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero__visual,
  .social-proof,
  .contact__form-wrapper {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}


/* ============================================
   CUSTOM SELECT DROPDOWNS
   ============================================ */

/* Hide native select, keep it functional for form submission */
.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Custom select container */
.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

/* Trigger (the main button) */
.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background-color: #FFFFFF;
  border: 2px solid rgba(13, 95, 194, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #0B0F14;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.04);
}

.custom-select__trigger:hover {
  border-color: rgba(13, 95, 194, 0.4);
  box-shadow: 
    0 4px 12px rgba(13, 95, 194, 0.08),
    0 0 0 3px rgba(13, 95, 194, 0.05);
}

.custom-select.open .custom-select__trigger {
  border-color: #0D5FC2;
  box-shadow: 
    0 4px 16px rgba(13, 95, 194, 0.12),
    0 0 0 4px rgba(13, 95, 194, 0.1);
}

/* Custom arrow */
.custom-select__arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0D5FC2;
  transition: transform 0.3s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

/* Options container */
.custom-select__options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 2px solid rgba(13, 95, 194, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 24px rgba(13, 95, 194, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-10px);
}

.custom-select.open .custom-select__options {
  max-height: 300px;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar for options */
.custom-select__options::-webkit-scrollbar {
  width: 8px;
}

.custom-select__options::-webkit-scrollbar-track {
  background: #F7FAFC;
  border-radius: 0 12px 12px 0;
}

.custom-select__options::-webkit-scrollbar-thumb {
  background: rgba(13, 95, 194, 0.3);
  border-radius: 4px;
}

.custom-select__options::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 95, 194, 0.5);
}

/* Individual option */
.custom-select__option {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #0B0F14;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.custom-select__option:first-child {
  border-radius: 10px 10px 0 0;
}

.custom-select__option:last-child {
  border-radius: 0 0 10px 10px;
}

.custom-select__option:hover:not(.custom-select__option--disabled) {
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.08) 0%, rgba(129, 167, 218, 0.08) 100%);
  color: #0D5FC2;
  padding-left: 20px;
}

/* Selected option */
.custom-select__option--selected {
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.12) 0%, rgba(129, 167, 218, 0.12) 100%);
  color: #0D5FC2;
  font-weight: 600;
  padding-left: 36px;
}

.custom-select__option--selected::before {
  content: '✓';
  position: absolute;
  left: 16px;
  font-weight: 700;
  color: #0D5FC2;
}

/* Disabled option */
.custom-select__option--disabled {
  color: #A0AEC0;
  background-color: #F7FAFC;
  font-style: italic;
  font-weight: 400;
  cursor: not-allowed;
}

/* Fallback for browsers that don't support custom dropdowns */
@supports not (appearance: none) {
  .custom-select {
    display: none;
  }
  
  .custom-select-wrapper select {
    position: relative;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============================================
   STUDIU.HTML SPECIFIC STYLES
   ============================================
   Styles for the case study page (studiu.html)
   ============================================ */

/* ============================================
   CSS VARIABLES (from context.md)
   ============================================ */
:root {
  --primary-blue: #0D5FC2;
  --deep-blue: #0350B5;
  --light-blue: #81A7DA;
  --near-black: #0B0F14;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
}

/* ============================================
   BASE STYLES
   ============================================ */
/* Override main body styles for studiu.html only */
body.studiu-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  background-color: #ffffff !important; /* Explicit background to override dark mode */
  color: var(--near-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: auto !important; /* Override cursor: none from main styles */
}

/* ============================================
   TYPOGRAPHY (scoped to studiu.html)
   ============================================ */
body.studiu-page h1, 
body.studiu-page h2, 
body.studiu-page h3, 
body.studiu-page h4, 
body.studiu-page h5, 
body.studiu-page h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--near-black);
}

body.studiu-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

body.studiu-page h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

body.studiu-page h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

body.studiu-page p {
  color: var(--gray-600);
}

/* ============================================
   LAYOUT
   ============================================ */
/* Container for studiu.html - override main container max-width */
body.studiu-page .container {
  max-width: 1280px;
  padding: 0 1.5rem;
}

body.studiu-page section {
  margin-bottom: 4rem;
}

/* ============================================
   HEADER (scoped to studiu.html)
   ============================================ */
body.studiu-page header {
  background: linear-gradient(135deg, var(--near-black) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(13, 95, 194, 0.2);
  position: relative;
  overflow: hidden;
}

body.studiu-page header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(13, 95, 194, 0.1) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(13, 95, 194, 0.05) 2px, rgba(13, 95, 194, 0.05) 4px);
  pointer-events: none;
}

body.studiu-page header .container {
  position: relative;
  z-index: 1;
}

body.studiu-page header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

body.studiu-page header h1 span {
  color: var(--light-blue);
}

body.studiu-page header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================================
   CARDS (12-16px border radius, soft shadows)
   ============================================ */
/* Note: Main .card styles are already defined above for index.html */
/* These are additional/override styles for studiu.html */
body.studiu-page .card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 
    0 2px 8px rgba(13, 95, 194, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 95, 194, 0.1);
}

body.studiu-page .card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 16px rgba(13, 95, 194, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Glassmorphism effect for special cards */
body.studiu-page .card-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 95, 194, 0.15);
}

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
/* .stat-highlight moved to STUDIU.HTML SPECIFIC COMPONENT STYLES section */

/* ============================================
   CHART CONTAINER
   ============================================ */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 300px;
}

@media (min-width: 768px) {
  .chart-container {
    height: 350px;
  }
}

/* ============================================
   GRID LAYOUTS (scoped to studiu.html)
   ============================================ */
/* Note: These grid classes are specific to studiu.html */
/* Main grid styles are already defined above for index.html */
body.studiu-page .grid {
  display: grid;
  gap: 2rem;
}

body.studiu-page .grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  body.studiu-page .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body.studiu-page .grid-2-lg {
    grid-template-columns: repeat(2, 1fr);
  }
}

body.studiu-page .grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  body.studiu-page .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body.studiu-page .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   SECTION STYLES (scoped to studiu.html)
   ============================================ */
body.studiu-page .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Extra spacing for first section header after dark header */
body.studiu-page main.container > section:first-child .section-header {
  margin-top: 2rem;
}

body.studiu-page .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-blue);
  display: inline-block;
  text-align: left;
}

body.studiu-page .section-title-orange {
  border-left-color: #F97316;
}

body.studiu-page .section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

/* Background section */
body.studiu-page .section-bg {
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.03) 0%, rgba(129, 167, 218, 0.05) 100%);
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  margin: 2rem -1.5rem;
}

/* ============================================
   CHAT STYLES
   ============================================ */
.chat-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.chat-user {
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.1) 0%, rgba(129, 167, 218, 0.15) 100%);
  color: var(--deep-blue);
  align-self: flex-end;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-ai {
  background: var(--gray-100);
  color: var(--gray-700);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--gray-200);
}

.typing-indicator span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--gray-400);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
  margin: 0 2px;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(13, 95, 194, 0.2);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 
    0 0 0 4px rgba(13, 95, 194, 0.1),
    0 2px 8px rgba(13, 95, 194, 0.08);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.3);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.3);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

button {
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  box-shadow: 
    0 4px 16px rgba(13, 95, 194, 0.3),
    0 2px 8px rgba(13, 95, 194, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 24px rgba(13, 95, 194, 0.4),
    0 4px 12px rgba(13, 95, 194, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   CHAT INTERFACE
   ============================================ */
.chat-container {
  max-width: 48rem;
  margin: 0 auto;
  height: 500px;
  display: flex;
  flex-direction: column;
  border: 2px solid rgba(13, 95, 194, 0.15);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(13, 95, 194, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.chat-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.1), rgba(129, 167, 218, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 0.75rem;
  border: 1px solid rgba(13, 95, 194, 0.2);
}

.chat-status {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 0.25rem;
  animation: pulse 2s infinite;
}

.chat-output {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 12px;
  margin: 1rem;
  border: 1px solid var(--gray-200);
}

.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.chat-form {
  display: flex;
  gap: 0.75rem;
}

.chat-input {
  flex: 1;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
}

.chat-submit {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.3);
}

.chat-submit:hover {
  background: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 95, 194, 0.4);
}

/* ============================================
   BADGE / PILL
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(13, 95, 194, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   GRADIENT SECTION
   ============================================ */
.gradient-section {
  background: linear-gradient(135deg, rgba(13, 95, 194, 0.05) 0%, rgba(129, 167, 218, 0.08) 100%);
  padding: 3rem 1.5rem;
  border-radius: 24px;
  margin: 2rem -1.5rem;
  border: 1px solid rgba(13, 95, 194, 0.15);
}

/* ============================================
   DARK CARD
   ============================================ */
.card-dark {
  background: linear-gradient(135deg, var(--near-black) 0%, var(--deep-blue) 100%);
  color: var(--white);
}

.card-dark h3,
.card-dark strong {
  color: var(--white);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.card-dark .text-accent {
  color: var(--light-blue);
}

/* ============================================
   PROCESS CARDS
   ============================================ */
.process-card {
  text-align: center;
  border-top: 4px solid var(--gray-300);
}

.process-card-blue {
  border-top-color: var(--primary-blue);
}

.process-card-green {
  border-top-color: #22c55e;
}

.process-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ============================================
   FOOTER (scoped to studiu.html)
   ============================================ */
body.studiu-page footer {
  background: linear-gradient(135deg, var(--near-black) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 24px;
  margin-top: 3rem;
  box-shadow: 0 4px 24px rgba(13, 95, 194, 0.2);
}

body.studiu-page footer h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

body.studiu-page footer p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 
    0 4px 16px rgba(249, 115, 22, 0.3),
    0 2px 8px rgba(249, 115, 22, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 
    0 6px 24px rgba(249, 115, 22, 0.4),
    0 4px 12px rgba(249, 115, 22, 0.3);
  text-decoration: none;
  color: var(--white);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-16 { margin-top: 4rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

.hidden { display: none; }

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.w-full { width: 100%; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-full { height: 100%; }
.min-h-400 { min-height: 400px; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }

.text-primary { color: var(--primary-blue); }
.text-orange { color: #F97316; }
.text-green { color: #22c55e; }
.text-red { color: #ef4444; }

.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-200 { background-color: var(--gray-200); }

.border-l-4 { border-left-width: 4px; }
.border-l-blue { border-left-color: var(--primary-blue); }
.border-l-orange { border-left-color: #F97316; }

.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 14px; }
.rounded-3xl { border-radius: 24px; }
.rounded-full { border-radius: 50px; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* Loading overlay */
.loading-overlay {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 14px;
}

/* ============================================
   MOBILE RESPONSIVE STYLES FOR STUDIU.HTML
   ============================================ */

/* Mobile Base (up to 768px) */
@media (max-width: 768px) {
  /* Header mobile adjustments */
  body.studiu-page header {
    padding: 2rem 1rem;
  }
  
  body.studiu-page header h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  body.studiu-page header p {
    font-size: 0.9375rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }
  
  /* Main container mobile */
  body.studiu-page main.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Section spacing mobile */
  body.studiu-page section {
    margin-bottom: 2.5rem;
  }
  
  /* Section header mobile */
  body.studiu-page .section-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  body.studiu-page main.container > section:first-child .section-header {
    margin-top: 1.5rem;
  }
  
  /* Section title mobile */
  body.studiu-page .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding-left: 0.75rem;
    border-left-width: 3px;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
  }
  
  /* Section subtitle mobile */
  body.studiu-page .section-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }
  
  /* Section intro mobile */
  body.studiu-page .section-intro {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  body.studiu-page .section-intro h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  body.studiu-page .section-intro p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Background sections mobile */
  body.studiu-page .section-bg,
  body.studiu-page .gradient-section {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  
  /* Grid mobile - single column */
  body.studiu-page .grid {
    gap: 1.5rem;
  }
  
  body.studiu-page .grid-2,
  body.studiu-page .grid-2-lg,
  body.studiu-page .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Cards mobile */
  body.studiu-page .card {
    padding: 1.25rem;
    border-radius: 12px;
  }
  
  /* Chart container mobile */
  .chart-container {
    height: 250px;
    margin: 0 auto;
  }
  
  .chart-card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .chart-card-title-lg {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  .chart-source {
    font-size: 0.8125rem;
    margin-top: 0.75rem;
  }
  
  /* Stats container mobile */
  .stats-container {
    gap: 1.25rem;
  }
  
  /* Stat highlight mobile */
  .stat-highlight {
    font-size: 2rem;
  }
  
  /* Stat label mobile */
  .stat-label {
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
  }
  
  /* Stat description mobile */
  .stat-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  
  /* Stress test mobile */
  .stress-test-container {
    margin-bottom: 1.5rem;
  }
  
  .stress-test-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }
  
  .stress-test-label {
    font-size: 0.9375rem;
  }
  
  .stress-test-badge {
    font-size: 0.8125rem;
  }
  
  .stress-visual {
    padding: 0.75rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .stress-visual-item {
    min-width: 50px;
    padding: 0.375rem;
  }
  
  .stress-visual-icon {
    font-size: 1.25rem;
  }
  
  .stress-visual-label {
    font-size: 0.6875rem;
  }
  
  .stress-connector {
    width: 1.5rem;
  }
  
  .stress-waiting {
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  
  .stress-waiting-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
  }
  
  .stress-waiting-icon {
    font-size: 1.25rem;
  }
  
  .stress-result {
    font-size: 0.6875rem;
    margin-top: 0.5rem;
  }
  
  /* Calculation logic box mobile */
  .calc-logic-box {
    font-size: 0.6875rem;
    padding: 0.625rem;
    margin-bottom: 0.875rem;
  }
  
  .calc-logic-title {
    font-size: 0.75rem;
    margin-bottom: 0.375rem;
  }
  
  .calc-logic-item {
    margin-bottom: 0.1875rem;
    line-height: 1.4;
  }
  
  .calc-logic-note {
    margin-top: 0.375rem;
    font-size: 0.6875rem;
  }
  
  /* Feature card mobile */
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-card-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .feature-list {
    gap: 1.25rem;
  }
  
  .feature-item {
    gap: 0.875rem;
  }
  
  .feature-icon {
    font-size: 1.25rem;
  }
  
  .feature-title {
    font-size: 1rem;
    margin-bottom: 0.375rem;
  }
  
  .feature-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  
  /* Chat section mobile */
  .chat-section-container {
    padding: 0 0.5rem;
  }
  
  .chat-section-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .chat-section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  .chat-section-desc {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .chat-container {
    height: 450px;
    border-radius: 12px;
  }
  
  .chat-header {
    padding: 0.875rem 1rem;
  }
  
  .chat-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-right: 0.625rem;
  }
  
  .chat-header-title {
    font-size: 0.9375rem;
  }
  
  .chat-status {
    font-size: 0.6875rem;
  }
  
  .chat-output {
    padding: 0.875rem;
    margin: 0.75rem;
    border-radius: 10px;
  }
  
  .chat-bubble {
    max-width: 85%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .chat-input-area {
    padding: 0.875rem 1rem;
  }
  
  .chat-input {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .chat-submit {
    width: 44px;
    height: 44px;
    font-size: 0.875rem;
  }
  
  .typing-indicator-wrapper {
    top: -1.75rem;
    left: 0.75rem;
  }
  
  .typing-indicator-bubble {
    padding: 0.375rem 0.625rem;
  }
  
  /* ROI section mobile */
  .roi-section {
    margin-top: 2.5rem;
  }
  
  .roi-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
  
  .roi-form {
    gap: 0.875rem;
  }
  
  .roi-range-wrapper {
    gap: 0.375rem;
  }
  
  .roi-range-value {
    font-size: 0.875rem;
    width: 2.5rem;
  }
  
  .roi-range-hint {
    font-size: 0.6875rem;
  }
  
  .roi-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  /* Analysis result mobile */
  .analysis-result-placeholder {
    min-height: 300px;
    padding: 1.25rem;
  }
  
  .analysis-placeholder-content {
    padding: 1rem;
  }
  
  .analysis-placeholder-icon {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
  }
  
  .analysis-placeholder-content p {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .analysis-loader-spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
  }
  
  .analysis-loader-text {
    font-size: 0.875rem;
  }
  
  /* Heatmap section mobile */
  .heatmap-section {
    padding: 1.25rem;
    margin-top: 2.5rem;
  }
  
  .heatmap-header {
    margin-bottom: 1.25rem;
  }
  
  .heatmap-title {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
  }
  
  .heatmap-desc {
    font-size: 0.8125rem;
  }
  
  .heatmap-container {
    height: 300px;
  }
  
  /* Process section mobile */
  .process-section {
    margin-top: 2.5rem;
  }
  
  .process-section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .process-grid {
    gap: 1.25rem;
  }
  
  .process-card-title {
    font-size: 1rem;
    margin-bottom: 0.375rem;
  }
  
  .process-card-desc {
    font-size: 0.8125rem;
  }
  
  .process-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  /* Footer mobile */
  body.studiu-page footer {
    padding: 2rem 1rem;
    border-radius: 16px;
    margin-top: 2rem;
  }
  
  body.studiu-page footer h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  body.studiu-page footer p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .btn-cta {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }
  
  /* Form inputs mobile */
  input[type="text"],
  input[type="number"] {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  label {
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
  }
  
  /* Button mobile */
  .btn-primary {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: 50px;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  body.studiu-page header {
    padding: 1.5rem 0.75rem;
  }
  
  body.studiu-page header h1 {
    font-size: 1.375rem;
    line-height: 1.3;
  }
  
  body.studiu-page header p {
    font-size: 0.875rem;
  }
  
  body.studiu-page main.container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  body.studiu-page .section-header {
    margin-bottom: 1.25rem;
    padding: 0;
  }
  
  body.studiu-page main.container > section:first-child .section-header {
    margin-top: 1.25rem;
  }
  
  body.studiu-page .section-title {
    font-size: 1.375rem;
    padding-left: 0.5rem;
    border-left-width: 3px;
  }
  
  body.studiu-page .section-subtitle {
    font-size: 0.9375rem;
    padding: 0;
  }
  
  body.studiu-page .card {
    padding: 1rem;
  }
  
  .chart-container {
    height: 220px;
  }
  
  .stat-highlight {
    font-size: 1.75rem;
  }
  
  .feature-card-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  .feature-title {
    font-size: 0.9375rem;
  }
  
  .chat-container {
    height: 400px;
  }
  
  .stress-visual {
    flex-direction: column;
    align-items: stretch;
  }
  
  .stress-visual-item {
    width: 100%;
    min-width: auto;
  }
  
  .stress-connector {
    width: 100%;
    height: 2px;
  }
  
  .stress-waiting,
  .stress-waiting-grid {
    width: 100%;
    justify-content: center;
  }
  
  .stress-waiting-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .heatmap-container {
    height: 250px;
  }
  
  body.studiu-page .section-bg,
  body.studiu-page .gradient-section {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 1.25rem 0.75rem;
  }
  
  /* Card dark flex mobile (if still used) */
  .card-dark-flex {
    padding: 1rem;
  }
  
  .card-dark-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  /* Better touch targets for mobile */
  button,
  .btn-primary,
  .btn-cta,
  .chat-submit {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improved text readability on mobile */
  body.studiu-page p {
    line-height: 1.7;
  }
  
  /* Better spacing for lists on mobile */
  .feature-list {
    gap: 1rem;
  }
  
  .feature-item {
    gap: 0.75rem;
  }
  
  /* Improved chart readability */
  .chart-container {
    padding: 0.5rem;
  }
  
  /* Better form spacing */
  .form-group {
    margin-bottom: 1rem;
  }
  
  /* Improved ROI form on mobile */
  .roi-form-card {
    padding: 1rem;
  }
  
  .roi-input-group {
    margin-bottom: 0.875rem;
  }
  
  .roi-range-group {
    margin-bottom: 0.875rem;
  }
  
  /* Additional mobile improvements */
  .roi-result-wrapper {
    margin-top: 1.25rem;
  }
  
  .roi-result-card {
    padding: 1rem;
  }
  
  /* Better spacing for process cards */
  .process-card {
    padding: 1rem;
  }
  
  /* Improved badge visibility on mobile */
  .badge {
    padding: 0.375rem 0.875rem;
    font-size: 0.6875rem;
  }
  
  /* Better container padding on very small screens */
  body.studiu-page .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Improved section spacing */
  body.studiu-page section {
    margin-bottom: 2rem;
  }
  
  /* Better grid gap on mobile */
  body.studiu-page .grid.gap-3 {
    gap: 1.5rem;
  }
  
  /* Improved card hover states disabled on mobile for better touch */
  body.studiu-page .card:hover {
    transform: none;
  }
  
  /* Better text wrapping */
  body.studiu-page h1,
  body.studiu-page h2,
  body.studiu-page h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Improved line heights for mobile readability */
  body.studiu-page {
    line-height: 1.7;
  }
  
  body.studiu-page h1 {
    line-height: 1.3;
  }
  
  body.studiu-page h2 {
    line-height: 1.3;
  }
  
  body.studiu-page h3 {
    line-height: 1.4;
  }
}

/* ============================================
   STUDIU.HTML SPECIFIC COMPONENT STYLES
   ============================================ */

/* Main container padding */
body.studiu-page main.container {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

/* Grid alignments */
.grid.align-center {
  align-items: center;
}

.grid.align-start {
  align-items: flex-start;
}

.grid.gap-3 {
  gap: 3rem;
}

/* Chart card title */
.chart-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.chart-card-title-lg {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* Chart source text */
.chart-source {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
  text-align: center;
}

/* Stat cards container */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Stat card with colored border */
.stat-card {
  border-left: 4px solid var(--primary-blue);
}

.stat-card-orange {
  border-left-color: #F97316;
}

/* Stat label */
.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Stat highlight with color */
.stat-highlight {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-highlight-orange {
  color: #F97316;
}

/* Stat description */
.stat-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* Section intro container */
.section-intro {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.section-intro p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Card with flex center */
.card-flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Card with gray background */
.card-gray {
  background: var(--gray-50);
}

.card-gray-border {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

/* Stress test container */
.stress-test-container {
  margin-bottom: 2rem;
}

.stress-test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.stress-test-label {
  font-weight: 700;
  color: var(--gray-700);
}

.stress-test-badge {
  font-weight: 700;
  font-size: 0.875rem;
}

.stress-test-badge-red {
  color: #ef4444;
}

.stress-test-badge-green {
  color: #22c55e;
}

/* Stress test visualization */
.stress-visual {
  background: var(--gray-200);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.stress-visual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-300);
  min-width: 60px;
  flex-shrink: 0;
}

.stress-visual-item-ai {
  background: rgba(13, 95, 194, 0.1);
  border: 1px solid rgba(13, 95, 194, 0.3);
}

.stress-visual-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.25rem;
}

.stress-visual-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-align: center;
}

.stress-visual-label-blue {
  color: var(--primary-blue);
}

.stress-connector {
  height: 4px;
  width: 2rem;
  flex-shrink: 0;
}

.stress-connector-red {
  background: #f87171;
}

.stress-connector-green {
  background: #4ade80;
}

.stress-waiting {
  display: flex;
  gap: 0.5rem;
  opacity: 0.75;
  flex: 1;
  justify-content: flex-start;
}

.stress-waiting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  flex: 1;
}

.stress-waiting-icon {
  font-size: 1.5rem;
  display: block;
}

.stress-result {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 600;
}

.stress-result-red {
  color: #ef4444;
}

.stress-result-green {
  color: #22c55e;
}

/* Calculation logic box */
.calc-logic-box {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}

.calc-logic-title {
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.calc-logic-item {
  margin-bottom: 0.25rem;
}

.calc-logic-note {
  font-style: italic;
  margin-top: 0.5rem;
  color: var(--gray-600);
}

/* Card dark with flex */
/* Feature card - white card with dark text */
.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.feature-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 1.5rem;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.5;
}

.feature-content {
  flex: 1;
}

.feature-title {
  display: block;
  font-size: 1.125rem;
  color: var(--near-black);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.feature-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Chat section container */
.chat-section-container {
  max-width: 48rem;
  margin: 0 auto;
}

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

.chat-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.chat-section-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Chat header content */
.chat-header-content {
  flex: 1;
}

.chat-header-title {
  font-weight: 700;
  color: var(--near-black);
}

/* Chat output with flex */
.chat-output-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Chat input wrapper */
.chat-input-wrapper {
  position: relative;
}

.typing-indicator-wrapper {
  position: absolute;
  top: -2rem;
  left: 1rem;
}

.typing-indicator-bubble {
  background: var(--gray-200);
  padding: 0.5rem 0.75rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
}

/* ROI Section */
.roi-section {
  margin-top: 4rem;
}

.roi-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.roi-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roi-range-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.roi-range-value {
  color: var(--primary-blue);
  font-weight: 700;
  width: 3rem;
}

.roi-range-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.roi-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* Analysis result container */
.analysis-result-container {
  position: relative;
}

.analysis-result-placeholder {
  border: 2px solid transparent;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}

.analysis-placeholder-content {
  text-align: center;
  padding: 1.5rem;
}

.analysis-placeholder-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Analysis loader */
.analysis-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.analysis-loader-spinner {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  border-bottom: 2px solid var(--primary-blue);
  margin-bottom: 0.75rem;
}

.analysis-loader-text {
  color: var(--primary-blue);
  font-weight: 700;
  animation: pulse 2s infinite;
}

/* Heatmap section */
.heatmap-section {
  padding: 1.5rem;
  margin-top: 4rem;
}

.heatmap-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.heatmap-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.heatmap-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
  max-width: 42rem;
  margin: 0 auto;
}

.heatmap-container {
  width: 100%;
  height: 400px;
}

/* Process section */
.process-section {
  margin-top: 4rem;
}

.process-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 2rem;
  text-align: center;
}

/* Process grid */
.process-grid {
  text-align: center;
}

.process-card-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.process-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Chat message wrappers */
.chat-message-wrapper-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-message-wrapper-ai {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Analysis result styles */
.analysis-result-active {
  border: 2px solid var(--primary-blue) !important;
  box-shadow: 0 8px 32px rgba(13, 95, 194, 0.12) !important;
  overflow-y: auto;
  padding: 1.5rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.7;
}

.analysis-result-error {
  color: #ef4444;
  padding: 1rem;
}