/* ============================================
   PREMIUM IT CONSULTING - DESIGN SYSTEM V2
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Deep Slate Tech Palette */
  --color-primary: #0F1115;
  --color-primary-light: #2A2F36;
  --color-primary-dark: #000000;
  --color-secondary: #2A2F36;
  --color-accent: #7FA9C9;
  
  /* Neutral Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #F5F6F7;
  --color-bg-tertiary: #E8EAEC;
  --color-surface: #ffffff;
  
  /* Text Colors */
  --color-text-primary: #0A0A0A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-inverse: #ffffff;
  
  /* Borders */
  --color-border-light: #e2e8f0;
  --color-border-medium: #cbd5e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F1115 0%, #2A2F36 100%);
  --gradient-secondary: linear-gradient(135deg, #7FA9C9 0%, #2A2F36 100%);
  --gradient-subtle: linear-gradient(180deg, #ffffff 0%, #F5F6F7 100%);
  
  /* Spacing System (8px base) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 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-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

p {
  margin-bottom: var(--space-md);
}

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

a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.header .container {
  padding: 0 var(--space-md);
  max-width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  gap: var(--space-lg);
  min-height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
  color: white;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-main {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Navigation */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
  padding: var(--space-xs) var(--space-sm);
  display: block;
}

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

.nav-links a:hover {
  color: var(--color-text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* Language Toggle */
.language-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 16px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.language-toggle:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.language-toggle:active {
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* Mobile Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  white-space: nowrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--text-base);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

.btn-outline:hover {
  background: var(--color-text-primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--color-border-medium));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--color-bg-secondary);
}

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

.service-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.service-card.featured {
  border: 2px solid var(--color-primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.02) 0%, white 50%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: var(--space-xl);
  padding: 4px 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.service-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.service-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise-section {
  background: white;
}

.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.expertise-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.expertise-item {
  display: flex;
  gap: var(--space-md);
}

.expertise-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.expertise-item h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.expertise-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.tech-stack {
  background: var(--color-bg-secondary);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.tech-category h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tech-badges span {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.tech-badges span:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach-section {
  background: white;
}

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

.approach-step {
  padding: var(--space-xl);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.approach-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.approach-step .step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.step-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */
.case-studies-section {
  background: var(--color-bg-secondary);
}

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

.case-study-card {
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.case-study-image {
  width: 100%;
  height: 200px;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-placeholder {
  opacity: 0.3;
}

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

.case-study-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.case-study-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.case-study-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.case-study-results {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

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

.result-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.result-value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.case-study-link:hover {
  gap: var(--space-sm);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-primary);
  padding: var(--space-4xl) 0;
  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 width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
  opacity: 0.5;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-text-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  justify-content: space-between;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  flex: 2;
}

.footer-brand .logo-main,
.footer-brand .logo-sub {
  color: white;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-column h4 {
  color: white;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--text-sm);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   RESPONSIVE
   ============================================ */

/* Mobile Navigation Trigger (Laptop & below) */
@media (max-width: 1200px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.875rem;
  }
  
  .logo {
    flex-shrink: 0;
    min-width: 0;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  
  .logo-main {
    font-size: 0.9rem;
  }
  
  .logo-sub {
    font-size: 0.65rem;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }
  
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 100px var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition-base);
    z-index: 1000;
    overflow-y: auto;
    gap: 0;
  }
  
  .nav-wrapper.open {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: var(--space-lg);
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-bg-secondary);
    display: block;
    width: 100%;
    margin-bottom: var(--space-sm);
    font-size: 1rem;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
    gap: var(--space-md);
  }
  
  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: var(--space-md);
  }
  
  .nav-actions .language-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* Tablet specific content layout adjustments */
@media (max-width: 1024px) {
  .expertise-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .logo-main {
    font-size: 0.75rem;
  }
  
  .logo-sub {
    font-size: 0.6rem;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
  
  .nav-wrapper {
    width: 85vw;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }
}

/* ============================================
   CONTENT PAGES STYLES
   ============================================ */

/* Content Card */
.content-card {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
}

.content-section {
  margin-bottom: var(--space-2xl);
}

.content-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.content-subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.content-text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.content-note {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-lg);
}

.lead-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* Personal Introduction */
.personal-intro {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.profile-image-container {
  flex-shrink: 0;
  position: relative;
}

.profile-frame {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: 4px;
  position: relative;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
  animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 10px 50px rgba(99, 102, 241, 0.5);
  }
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  background: var(--color-bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-md);
}

.profile-icon {
  font-size: 60px;
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

.profile-text {
  font-size: var(--text-xs);
  opacity: 0.7;
}

.profile-decoration {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

.intro-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Services Grid for Content Pages */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  padding: var(--space-xl);
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.service-text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* Highlight Card */
.highlight-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
  background: rgba(100, 100, 255, 0.05);
  border-left: 4px solid var(--color-primary);
}

.highlight-card-danger {
  background: rgba(255, 100, 100, 0.05);
  border-left-color: #ff6b6b;
}

.highlight-card-success {
  background: rgba(100, 255, 100, 0.05);
  border-left-color: #51cf66;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.highlight-text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.highlight-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-lg);
}

.feature-list li {
  padding: var(--space-sm) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-base);
  line-height: 1.8;
}

.feature-list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

/* Implementation Steps */
.implementation-steps {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.step-item {
  padding: var(--space-lg);
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  display: flex;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.step-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-lg);
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.step-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Responsive for Content Pages */
@media (max-width: 768px) {
  .content-card {
    padding: var(--space-lg);
  }

  .personal-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-text {
    min-width: 100%;
  }

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

  .highlight-actions {
    flex-direction: column;
  }

  .highlight-actions .btn {
    width: 100%;
  }
}


/* ============================================
   BLOG STYLES
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  height: 240px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
}

.blog-card-placeholder {
  font-size: 4rem;
  opacity: 0.8;
}

.blog-card-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.blog-date {
  color: var(--color-text-secondary);
}

.blog-category {
  color: var(--color-primary);
}

.blog-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .btn-text {
  font-weight: 600;
  color: var(--color-primary);
  font-size: var(--text-sm);
  margin-top: auto;
}

/* Blog Post Detail */
.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  padding: var(--space-2xl);
}

.blog-post-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.blog-post-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.blog-post-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

.blog-post-content ul, 
.blog-post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
  color: var(--color-text-secondary);
}

.blog-post-content li {
  margin-bottom: var(--space-xs);
}

.blog-post-content strong {
  color: var(--color-text-primary);
}

.blog-meta-large {
  display: flex;
  gap: var(--space-md);
  font-size: var(--text-sm);
  margin-top: var(--space-md);
}

.blog-tools-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.blog-tool-card {
  padding: var(--space-xl);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.blog-tool-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-card-image {
    height: 200px;
  }
  
  .blog-post-content {
    padding: var(--space-lg);
  }
  
  .blog-tool-card > div {
    grid-template-columns: 1fr !important;
  }
}

.blog-tool-section {
  background: var(--color-bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
  margin: var(--space-lg) 0;
}

.blog-tool-section ul {
  margin: 0;
  padding-left: var(--space-lg);
}

.blog-tool-section li {
  margin-bottom: var(--space-xs);
}

.blog-comparison-table {
  overflow-x: auto;
}

.blog-comparison-table table {
  font-size: var(--text-sm);
}

.blog-comparison-table th {
  font-weight: 600;
  color: var(--color-text-primary);
}

.blog-comparison-table td {
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .blog-comparison-table table {
    font-size: var(--text-xs);
  }
  
  .blog-comparison-table th,
  .blog-comparison-table td {
    padding: var(--space-sm);
  }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: var(--space-md) var(--space-lg);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.cookie-message {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.btn-small {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  min-width: auto;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: var(--space-md);
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
  }

  .cookie-message {
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}
