/* ===== KARUN VENTURES - STYLESHEET =====
 * Optimized for performance and maintainability
 * Last updated: 2024
 */

/* ===== CSS RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #f8fafc;
  overflow-y: auto;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.011em;
  font-size: 16px;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* ===== LAYOUT COMPONENTS ===== */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
}

section {
  min-height: 100vh;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  width: 100%;
}

/* ===== NAVIGATION ===== */
nav {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(25px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-feature-settings: 'ss01', 'ss02';
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #f8fafc;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  letter-spacing: -0.012em;
}

.nav-links a:hover {
  opacity: 1;
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ===== HERO TYPOGRAPHY ===== */
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  max-width: 900px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #0099cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
  position: relative;
  z-index: 2;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.75);
  max-width: 700px;
  line-height: 1.55;
  margin: 0;
  opacity: 0;
  animation: fadeIn 2s ease-out 0.3s forwards;
  position: relative;
  z-index: 2;
  letter-spacing: -0.008em;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 600px;
  margin: 2rem 0;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: fadeIn 2s ease-out 0.5s forwards;
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeIn 2s ease-out 1s forwards;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.cta-button::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: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.cta-button.primary {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.01em;
  font-size: 0.9rem;
  backdrop-filter: blur(20px);
  text-transform: none;
}

.cta-button.primary:hover {
  background: rgba(0, 212, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
  color: #ffffff;
}

.cta-button.large {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.cta-button.large:hover .cta-arrow {
  transform: translateX(5px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== EXPERTISE TAGS ===== */
.expertise {
  opacity: 0;
  animation: fadeIn 2s ease-out 0.7s forwards;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.expertise-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
  margin: 0 auto;
  letter-spacing: -0.008em;
  text-align: center;
  max-width: 100%;
  width: 100%;
}

.highlight {
  color: rgba(0, 212, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s ease;
}

.highlight:hover {
  color: rgba(0, 212, 255, 1);
}


/* ===== CLIENTS SECTION ===== */
.clients {
  min-height: 60vh;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.clients-header {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

      .clients-title {
        margin-bottom: 1.5rem;
        font-family: 'Crimson Pro', serif;
        font-weight: 400;
        letter-spacing: -0.0125em;
        line-height: 1.05;
        font-feature-settings: "liga" on, "calt" on;
        background: linear-gradient(135deg, #ffffff 0%, #4a90e2 70%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
      }
}

.clients-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.008em;
}

/* ===== CLIENT LOGOS ===== */
.floating-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-item {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(100%) brightness(200%);
  transition: opacity 0.2s ease;
}

.logo-item:hover {
  opacity: 1;
}

/* Logo specific adjustments for consistency */
.logo-item[alt="Mercedes"] {
  height: 45px;
}

.logo-item[alt="DHL"] {
  height: 40px;
}

.logo-item[alt="Giesecke+Devrient"] {
  height: 35px;
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(232, 244, 253, 0.005);
}

.case-studies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(138, 43, 226, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

.case-studies-header {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.case-studies-title {
  margin-bottom: 1.5rem;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  letter-spacing: -0.0125em;
  line-height: 1.05;
  font-feature-settings: "liga" on, "calt" on;
  background: linear-gradient(135deg, #ffffff 0%, #4a90e2 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-studies-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.008em;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.case-study-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.case-study-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(138, 43, 226, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.case-study-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(74, 144, 226, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
              0 8px 32px rgba(74, 144, 226, 0.1);
}

.case-study-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.12), rgba(138, 43, 226, 0.12));
  color: rgba(74, 144, 226, 0.9);
  padding: 0.6rem 1.2rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(74, 144, 226, 0.15);
  backdrop-filter: blur(10px);
}

.case-study-period {
  color: rgba(248, 250, 252, 0.4);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-study-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.case-study-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.case-study-achievement {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(138, 43, 226, 0.08));
  border: 1px solid rgba(74, 144, 226, 0.12);
  color: rgba(74, 144, 226, 0.95);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-top: auto;
  margin-bottom: 0;
  text-align: left;
  letter-spacing: 0.005em;
  backdrop-filter: blur(10px);
  position: relative;
  flex-shrink: 0;
}

.case-study-btn {
  background: linear-gradient(135deg, #4a90e2, #8a2be2);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  width: 100%;
}

.case-study-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
  background: linear-gradient(135deg, #5ba0f2, #9a3bf2);
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(232, 244, 253, 0.01);
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.services-header {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.services-title {
  margin-bottom: 1.5rem;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  letter-spacing: -0.0125em;
  line-height: 1.05;
  font-feature-settings: "liga" on, "calt" on;
  background: linear-gradient(135deg, #ffffff 0%, #8a2be2 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.008em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(232, 244, 253, 0.02);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(138, 43, 226, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1),
              0 0 40px rgba(0, 212, 255, 0.05);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
  color: rgba(0, 212, 255, 0.8);
  transition: all 0.3s ease;
}

.ai-icon {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    transform: scale(1.05);
  }
}

.service-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(248, 250, 252, 0.95);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.service-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.55;
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: -0.008em;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(138, 43, 226, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 30% 70%, rgba(74, 144, 226, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-header {
  margin-bottom: 4rem;
}

.contact-title {
  margin-bottom: 1.5rem;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  letter-spacing: -0.0125em;
  line-height: 1.05;
  font-feature-settings: "liga" on, "calt" on;
  background: linear-gradient(135deg, #ffffff 0%, #4a90e2 50%, #8a2be2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
}

.contact-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}

.contact-cta {
  margin-bottom: 4rem;
}

.contact-info {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
}

.contact-info a {
  color: rgba(74, 144, 226, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: rgba(74, 144, 226, 1);
}

.email-link {
  color: rgba(74, 144, 226, 0.9);
  transition: all 0.3s ease;
  text-decoration: none;
}

.email-link:hover {
  color: rgba(74, 144, 226, 1);
  text-decoration: underline;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(74, 144, 226, 0.2);
  box-shadow: 0 15px 35px rgba(74, 144, 226, 0.1);
}

.contact-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-text {
  text-align: left;
}

.contact-text h4 {
  font-family: 'Crimson Pro', serif;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-feature-settings: "liga" on, "calt" on;
  margin: 0 0 0.5rem 0;
}

.contact-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: rgba(0, 0, 0, 0.8);
  padding: 8rem 2rem;
}

/* ===== APPROACH SECTION ===== */
.approach {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.01);
}

.approach::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 40% 60%, rgba(74, 144, 226, 0.04) 0%, transparent 70%),
              radial-gradient(circle at 60% 40%, rgba(138, 43, 226, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.approach-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.approach-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.7);
  max-width: 600px;
  margin: 0 auto 4rem auto;
  line-height: 1.55;
  letter-spacing: -0.008em;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.approach-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: background 0.2s ease;
}

.approach-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.approach-number {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(74, 144, 226, 0.8);
  margin-bottom: 1rem;
}

.approach-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(248, 250, 252, 0.95);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.approach-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: -0.008em;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.028em;
  line-height: 1.15;
  background: linear-gradient(45deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.portfolio-item img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.portfolio-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* ===== GLASS MORPHISM EFFECTS ===== */
.glass-effect {
  backdrop-filter: blur(25px);
  background: rgba(232, 244, 253, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }

  .hero {
    padding: 1.5rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-content {
    gap: 2rem;
  }

  .expertise {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .tag {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .clients {
    padding: 4rem 1.5rem;
    min-height: 60vh;
  }

  .clients-header {
    margin-bottom: 3rem;
  }

  .clients-title {
    font-size: 2rem;
  }

  .clients-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .services {
    padding: 4rem 1.5rem;
  }

  .services-title {
    font-size: 2rem;
  }

  .services-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .case-studies {
    padding: 4rem 1.5rem;
  }

  .case-studies-title {
    font-size: 2rem;
  }

  .case-studies-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-study-card {
    padding: 1.5rem 1rem;
  }

  .case-study-title {
    font-size: 1.25rem;
  }

  .case-study-description {
    font-size: 0.9rem;
  }

  .contact {
    padding: 4rem 1.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .cta-button.large {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-item {
    padding: 1.5rem;
    gap: 1rem;
  }

  .contact-icon {
    font-size: 2rem;
  }

  .contact-text h4 {
    font-size: 1.1rem;
  }

  .floating-logos {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .logo-item {
    height: 40px;
    max-width: 120px;
  }

  .logo-item[alt="Mercedes"] {
    height: 35px;
  }

  .logo-item[alt="DHL"] {
    height: 30px;
  }

  .logo-item[alt="Giesecke+Devrient"] {
    height: 25px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .expertise {
    font-size: 0.9rem;
    padding: 0 1rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
  }

  .tag {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .client-logos {
    gap: 1.5rem;
  }

  .client-logo {
    font-size: 1rem;
  }
}

/* ===== CASE STUDY MODAL ===== */
.case-study-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-study-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.case-study-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-40%) scale(0.95);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: rgba(10, 10, 15, 0.95);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(74, 144, 226, 0.2);
  overflow-y: auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(248, 250, 252, 0.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.case-study-modal-close:hover {
  background: rgba(74, 144, 226, 0.1);
  color: #ffffff;
  transform: scale(1.1);
}

.case-study-modal-header {
  margin-bottom: 2rem;
  padding-right: 3rem;
}

.case-study-modal-header h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.case-study-modal-period {
  color: #4a90e2;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.025em;
}

.case-study-modal-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-study-section h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #4a90e2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.case-study-section p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.8);
  line-height: 1.6;
  letter-spacing: -0.005em;
}

/* Modal responsive styles */
@media (max-width: 768px) {
  .case-study-modal-content {
    width: 95%;
    padding: 1.5rem;
    max-height: 95vh;
  }

  .case-study-modal-header h2 {
    font-size: 1.5rem;
    padding-right: 2rem;
  }

  .case-study-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  .case-study-section h3 {
    font-size: 1.25rem;
  }

  .case-study-section p {
    font-size: 0.95rem;
  }
}
