/* ===================================
   Nuxpro - Lean Software Solutions
   Color Theme: Vibrant Blue (matching logo)
   =================================== */

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

/* Design Tokens */
:root {
  /* Brand Blue - matching the Nuxpro logo */
  --nux-blue: #2196F3;
  --nux-blue-dark: #1565C0;
  --nux-blue-deeper: #0D47A1;
  --nux-blue-light: #64B5F6;
  --nux-blue-pale: #E3F2FD;

  /* Neutrals - cool tinted to match blue */
  --white: #FFFFFF;
  --off-white: #F8FAFD;
  --gray-50: #F1F5F9;
  --gray-100: #E8EEF4;
  --gray-200: #D4DEE8;
  --gray-400: #8899A8;
  --gray-600: #4A5A6A;
  --gray-800: #1A2A3A;
  --gray-900: #0C1824;

  /* Typography - Plus Jakarta Sans (modern, geometric, professional) */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Sizing */
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-shape--1 {
  width: 600px;
  height: 600px;
  background: var(--nux-blue);
  opacity: 0.4;
  top: -200px;
  right: -100px;
}

.hero-shape--2 {
  width: 400px;
  height: 400px;
  background: var(--nux-blue-light);
  opacity: 0.3;
  bottom: -100px;
  left: 10%;
}

.hero-shape--3 {
  width: 300px;
  height: 300px;
  background: var(--nux-blue-deeper);
  opacity: 0.5;
  top: 40%;
  right: 20%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  margin-bottom: var(--space-xl);
}

.hero-logo img {
  height: clamp(70px, 12vw, 110px);
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-title-line {
  display: block;
  color: var(--white);
}

.hero-title-line--accent {
  color: var(--nux-blue-light);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-400);
  max-width: 540px;
}

/* ===================================
   Philosophy Section
   =================================== */
.philosophy {
  padding: var(--space-2xl) 0;
  background: var(--nux-blue);
  text-align: center;
  position: relative;
}

.philosophy::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: clamp(10rem, 25vw, 18rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.philosophy-quote {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.philosophy-text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nux-blue);
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ===================================
   Services Section
   =================================== */
.services {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--nux-blue);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(33, 150, 243, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--nux-blue-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.service-description {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===================================
   Clients Section
   =================================== */
.clients {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-md);
}

.client-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all 0.25s ease;
}

.client-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.25s ease;
}

.client-item:hover {
  border-color: var(--nux-blue);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.1);
}

.client-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===================================
   Footer
   =================================== */
.footer {
  padding: var(--space-xl) 0;
  background: var(--gray-900);
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-info p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--space-xl) 0;
  }

  .hero-shape--1 {
    width: 350px;
    height: 350px;
    top: -100px;
    right: -80px;
  }

  .hero-shape--2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: -50px;
  }

  .hero-shape--3 {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 5%;
  }

  .philosophy::before {
    font-size: 8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .client-item {
    min-height: 80px;
    padding: var(--space-sm);
  }

  .client-item img {
    max-height: 45px;
  }
}

/* ===================================
   Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}