/* ==========================================================================
   CORSZA - Premium Design System
   Inspired by the world's finest restaurants and luxury brands
   ========================================================================== */

/* Import Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* ==========================================================================
   CSS Custom Properties - Premium Design Tokens
   ========================================================================== */

:root {
  /* ===== COLOR PALETTE ===== */
  /* Primary Colors - Sophisticated Neutrals */
  --color-ivory: #fafaf8;
  --color-charcoal: #1a1a1a;
  --color-slate: #2d3748;
  --color-stone: #78716c;
  
  /* Accent Colors - Refined Hues */
  --color-bronze: #cd7f32;
  --color-gold: #d4af37;
  --color-copper: #b87333;
  --color-rose: #e11d48;
  
  /* Semantic Colors */
  --color-primary: var(--color-charcoal);
  --color-secondary: var(--color-stone);
  --color-accent: var(--color-bronze);
  --color-background: var(--color-ivory);
  --color-surface: #ffffff;
  --color-border: #e5e7eb;
  --color-text: var(--color-charcoal);
  --color-text-secondary: var(--color-stone);
  --color-text-muted: #9ca3af;
  
  /* ===== TYPOGRAPHY SYSTEM ===== */
  /* Font Families - Premium Combinations */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
  
  /* Font Sizes - Sophisticated Scale */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */
  --font-size-7xl: 4.5rem;    /* 72px */
  --font-size-8xl: 6rem;      /* 96px */
  --font-size-9xl: 8rem;      /* 128px */
  
  /* Line Heights - Refined Spacing */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  --leading-loose: 2;
  
  /* ===== SPACING SYSTEM ===== */
  /* Inspired by the golden ratio and fine typography */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  --space-40: 10rem;    /* 160px */
  --space-48: 12rem;    /* 192px */
  
  /* ===== LAYOUT & COMPONENTS ===== */
  --container-max-width: 1400px;
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 24px;
  --border-radius-full: 9999px;
  
  /* ===== SHADOWS & DEPTH ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* ===== TRANSITIONS & ANIMATIONS ===== */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* ===== Z-INDEX SYSTEM ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================================================
   BASE STYLES - Sophisticated Foundation
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM - Premium Type Hierarchy
   ========================================================================== */

/* Display Typography - For Hero Sections */
.display-1 {
  font-family: var(--font-display);
  font-size: var(--font-size-9xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.display-2 {
  font-family: var(--font-display);
  font-size: var(--font-size-8xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.display-3 {
  font-family: var(--font-display);
  font-size: var(--font-size-7xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

/* Heading Typography */
h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--font-size-6xl);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-5xl);
  font-weight: 500;
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-4xl);
  font-weight: 500;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  font-weight: 500;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

h5, .h5 {
  font-family: var(--font-body);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

h6, .h6 {
  font-family: var(--font-body);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

/* Body Typography */
p {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.lead {
  font-size: var(--font-size-xl);
  line-height: var(--leading-relaxed);
  font-weight: 300;
  color: var(--color-text);
}

.text-small {
  font-size: var(--font-size-sm);
  line-height: var(--leading-normal);
}

.text-large {
  font-size: var(--font-size-2xl);
  line-height: var(--leading-relaxed);
}

/* Monospace Typography */
.code {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  background: var(--color-surface);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   PROSE STYLES - Sophisticated Content Typography
   ========================================================================== */

.prose {
  max-width: 65ch;
  margin: 0 auto;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  color: var(--color-primary);
}

.prose h1:first-child,
.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child,
.prose h5:first-child,
.prose h6:first-child {
  margin-top: 0;
}

.prose h1 { font-size: var(--font-size-4xl); }
.prose h2 { font-size: var(--font-size-3xl); }
.prose h3 { font-size: var(--font-size-2xl); }
.prose h4 { font-size: var(--font-size-xl); }
.prose h5 { font-size: var(--font-size-lg); }
.prose h6 { font-size: var(--font-size-base); }

.prose p {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.prose ul,
.prose ol {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose li::marker {
  color: var(--color-accent);
}

.prose blockquote {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin: var(--space-8) 0;
  padding: var(--space-6) var(--space-8);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: var(--border-radius);
}

.prose strong {
  font-weight: 600;
  color: var(--color-primary);
}

.prose em {
  font-style: italic;
  color: var(--color-text);
}

.prose a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-base);
}

.prose a:hover {
  border-bottom-color: var(--color-accent);
}

.prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: var(--space-12) 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
}

.prose th,
.prose td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.prose th {
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-surface);
}

.prose code {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  background: var(--color-surface);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
}

.prose pre {
  background: var(--color-primary);
  color: var(--color-background);
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  overflow-x: auto;
  margin: var(--space-8) 0;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

/* ==========================================================================
   LAYOUT SYSTEM - Sophisticated Grid & Spacing
   ========================================================================== */

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

.container-fluid {
  width: 100%;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Section Spacing */
.section {
  padding: var(--space-32) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-48) 0;
}

.section-xl {
  padding: var(--space-40) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

/* ==========================================================================
   NAVIGATION - Premium Navigation Experience
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  z-index: var(--z-fixed);
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(250, 250, 248, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 40px;
  width: auto;
  transition: var(--transition-base);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: var(--transition-base);
  padding: var(--space-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-background);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-base);
  border: 2px solid var(--color-primary);
}

.nav-cta:hover {
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-base);
  transform-origin: center;
}

/* ==========================================================================
   HERO SECTION - Sophisticated First Impression
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-background) 0%, #f5f5f3 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, var(--font-size-8xl));
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: var(--space-8);
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--color-accent);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-xl);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-12);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(205, 127, 50, 0.1), rgba(212, 175, 55, 0.1));
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

/* ==========================================================================
   BUTTON SYSTEM - Sophisticated Interactions
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-base);
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid transparent;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--color-border);
}

/* ==========================================================================
   CARD SYSTEM - Premium Content Presentation
   ========================================================================== */

.card {
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  transform: scaleX(0);
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: white;
  font-size: var(--font-size-2xl);
}

.card h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.card p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   STATS SECTION - Sophisticated Data Presentation
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-12);
  margin-top: var(--space-16);
}

.stat-item {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--font-size-6xl);
  font-weight: 400;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   CASE STUDIES - Premium Storytelling
   ========================================================================== */

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.case-study-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid var(--color-border);
  position: relative;
}

.case-study-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  transform: scaleX(0);
  transition: var(--transition-base);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.case-study-card:hover::before {
  transform: scaleX(1);
}

.case-study-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.case-study-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(205, 127, 50, 0.2), rgba(212, 175, 55, 0.2));
  z-index: 1;
  opacity: 0;
  transition: var(--transition-base);
}

.case-study-card:hover .case-study-image::before {
  opacity: 1;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: var(--space-8);
}

.case-study-content h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.case-study-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.case-study-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-base);
  position: relative;
}

.case-study-link::after {
  content: '→';
  margin-left: var(--space-2);
  transition: var(--transition-base);
}

.case-study-link:hover {
  color: var(--color-primary);
}

.case-study-link:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   CTA SECTION - Sophisticated Call to Action
   ========================================================================== */

.cta-section {
  background: var(--color-primary);
  color: var(--color-background);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-6);
  color: var(--color-background);
}

.cta-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-12);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER - Sophisticated Closure
   ========================================================================== */

.footer {
  background: var(--color-primary);
  color: var(--color-background);
  padding: var(--space-32) 0 var(--space-8);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.footer-logo {
  height: 40px;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  font-weight: 300;
}

.footer-section h4 {
  color: var(--color-background);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-base);
  font-size: var(--font-size-sm);
}

.footer-links a:hover {
  color: var(--color-background);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
}

.footer-bottom-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: var(--transition-base);
}

.footer-legal a:hover {
  color: var(--color-background);
}

/* ==========================================================================
   RESPONSIVE DESIGN - Sophisticated Mobile Experience
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-16);
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, var(--font-size-6xl));
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-background);
    flex-direction: column;
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--color-border);
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero {
    min-height: 80vh;
    padding: var(--space-16) 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero {
    padding: var(--space-8) 0;
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, var(--font-size-4xl));
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .display-1 {
    font-size: var(--font-size-6xl);
  }
  
  .display-2 {
    font-size: var(--font-size-5xl);
  }
  
  .display-3 {
    font-size: var(--font-size-4xl);
  }
}

/* ==========================================================================
   ANIMATIONS - Sophisticated Motion Design
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-in-right {
  animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale {
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger animations for grid items */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* ==========================================================================
   UTILITY CLASSES - Premium Helper Classes
   ========================================================================== */

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

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-surface); }
.bg-accent { background-color: var(--color-accent); }

.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-2xl { border-radius: var(--border-radius-2xl); }
.rounded-full { border-radius: var(--border-radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.transition { transition: var(--transition-base); }
.transition-fast { transition: var(--transition-fast); }
.transition-slow { transition: var(--transition-slow); }

.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

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

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

.select-none { user-select: none; }
.select-text { user-select: text; }

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.scale-0 { transform: scale(0); }
.scale-50 { transform: scale(0.5); }
.scale-75 { transform: scale(0.75); }
.scale-90 { transform: scale(0.9); }
.scale-100 { transform: scale(1); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }
.scale-150 { transform: scale(1.5); }

.translate-x-0 { transform: translateX(0); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-x-2 { transform: translateX(0.5rem); }
.translate-x-4 { transform: translateX(1rem); }
.translate-x-8 { transform: translateX(2rem); }

.translate-y-0 { transform: translateY(0); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.translate-y-4 { transform: translateY(1rem); }
.translate-y-8 { transform: translateY(2rem); }

.rotate-0 { transform: rotate(0deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }

/* ==========================================================================
   PRINT STYLES - Sophisticated Print Experience
   ========================================================================== */

@media print {
  .navbar,
  .nav-toggle,
  .hero-actions,
  .cta-section,
  .footer {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-8) 0;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .section {
    padding: var(--space-8) 0;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--color-border);
  }
  
  * {
    color: black !important;
    background: white !important;
  }
} 