/* ============================================
   MINIMALIST DESIGN - Based on mikhailkarpov.ru
   ============================================ */

:root {
  /* Colors - Premium Professional Palette - Unique Design */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-accent: #f5f5f5;
  --text-primary: #0a0a0a;
  --text-secondary: #2c2c2c;
  --text-muted: #6b6b6b;
  /* Новая уникальная палитра - Индиго & Коралл */
  --accent-primary: #6366f1; /* Индиго - основной акцент */
  --accent-secondary: #ec4899; /* Розовый/Маджента - вторичный */
  --accent-tertiary: #f59e0b; /* Янтарный - третичный */
  --accent-quaternary: #10b981; /* Изумрудный - четвертичный */
  --accent-yellow: #fcd34d; /* Мягкий желтый */
  --accent-pink: #f472b6; /* Светло-розовый */
  --accent-green: #34d399; /* Мягкий зеленый */
  --border-color: #e8e8e8;
  --border-accent: #d0d0d0;

  /* Premium Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow-indigo: 0 0 40px rgba(99, 102, 241, 0.3);
  --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);
  --shadow-glow-amber: 0 0 40px rgba(245, 158, 11, 0.3);
  --shadow-glow-emerald: 0 0 40px rgba(16, 185, 129, 0.3);

  /* Typography */
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing - Professional 8px Grid System */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;
  --spacing-xxxl: 96px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  padding: 16px 0;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

header:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Animated background decoration */
.header-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(236, 72, 153, 0.05) 0%,
      transparent 50%
    );
  background-size: 200% 100%;
  animation: headerGradientShift 15s ease infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

@keyframes headerGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.95);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.logo:hover {
  color: var(--accent-primary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Navigation Links */
.header-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
  max-width: 600px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.nav-link:hover {
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
  text-shadow: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.header-cta-secondary {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(0, 0, 0, 0.8);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-cta-secondary:active {
  background: rgba(255, 255, 255, 0.6);
}

.header-cta {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #ffffff;
  padding: 8px 20px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border-radius: 8px;
  box-shadow:
    0 4px 16px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.header-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s,
    height 0.4s;
}

.header-cta:hover::before {
  width: 200px;
  height: 200px;
}

.header-cta:hover {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  background: linear-gradient(
    135deg,
    var(--accent-secondary),
    var(--accent-primary)
  );
}

.header-cta:active {
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.3);
  transform: translateY(1px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: calc(100vh - 80px); /* Вернул изначальную высоту */
  display: flex;
  padding-top: var(--spacing-xl);
  padding-bottom: 0;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #ffffff 100%);
}

.hero > .container {
  display: flex;
  flex: 1;
  width: 100%;
}

/* Floating abstract shapes for Hero */
.hero .floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero .floating-shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(99, 102, 241, 0.1)
  );
  top: 10%;
  right: 5%;
  animation: floatShape1 20s ease-in-out infinite;
}

.hero .floating-shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.25),
    rgba(236, 72, 153, 0.1)
  );
  bottom: 15%;
  left: 8%;
  animation: floatShape2 25s ease-in-out infinite;
}

.hero .floating-shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(16, 185, 129, 0.05)
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -80px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 60px) scale(0.9);
  }
}

@keyframes floatShape2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, -100px) scale(1.15);
  }
}

@keyframes floatShape3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(99, 102, 241, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 70%
    );
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
  opacity: 0.7;
  z-index: 0;
  filter: blur(40px);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(
      0deg,
      transparent 24%,
      rgba(99, 102, 241, 0.03) 25%,
      rgba(99, 102, 241, 0.03) 26%,
      transparent 27%,
      transparent 74%,
      rgba(236, 72, 153, 0.03) 75%,
      rgba(236, 72, 153, 0.03) 76%,
      transparent 77%,
      transparent
    ),
    linear-gradient(
      90deg,
      transparent 24%,
      rgba(99, 102, 241, 0.03) 25%,
      rgba(99, 102, 241, 0.03) 26%,
      transparent 27%,
      transparent 74%,
      rgba(236, 72, 153, 0.03) 75%,
      rgba(236, 72, 153, 0.03) 76%,
      transparent 77%,
      transparent
    );
  background-size: 60px 60px;
  animation: grid-move 20s linear infinite;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

@keyframes float-light {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes grid-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

@keyframes particle-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, -30px) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, -60px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(30px, -30px) rotate(270deg);
    opacity: 0.6;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: var(--spacing-xxl);
  align-items: stretch; /* Вернул изначальное позиционирование */
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-image {
  order: 1;
}

.hero-text {
  order: 2;
}

.hero-text {
  max-width: 600px;
  position: relative;
  z-index: 1;
  align-self: center; /* Центрируем по вертикали классически */
}

.hero-title {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hero-name {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--text-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-secondary);
  opacity: 0.85;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  align-self: end; /* Ставим фото на пол */
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  background: transparent;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 85vh; /* Вернул изначальные лимиты */
  display: block;
  object-fit: contain;
  object-position: bottom center; /* Сместил позиционирование с bottom right на bottom center */
  mix-blend-mode: multiply;
  transform: scale(1.15) translateX(-5%); /* Сдвигаем влево для компенсации белой зоны */
  transform-origin: bottom center;
}

/* Fallback if image doesn't load */
.image-wrapper img[src=""],
.image-wrapper img:not([src]) {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 600;
}

.image-wrapper img[src=""]::after,
.image-wrapper img:not([src])::after {
  content: "Дмитрий Котенко";
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border: none;
  box-shadow:
    0 8px 24px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 24px;
  min-width: 64px;
  border-radius: 4px;
  transition:
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5855eb 0%, #7c3aed 100%);
  box-shadow:
    0 12px 32px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 4px 16px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:disabled {
  background: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.26);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-primary.loading {
  pointer-events: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  color: #6366f1;
  border: 2px solid rgba(99, 102, 241, 0.3);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 14px;
  padding: 10px 24px;
  min-width: 64px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 12px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
  color: #5855eb;
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 4px 12px rgba(99, 102, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-large {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  min-height: 48px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */

.experience {
  padding: var(--spacing-xxxl) 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #f0f8ff 100%);
  position: relative;
  overflow: hidden;
}

/* Abstract decorative elements for Experience */
.experience .abstract-blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.experience .abstract-blob-1 {
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.4),
    rgba(99, 102, 241, 0.1)
  );
  top: -100px;
  right: 10%;
  animation: blobMorph1 15s ease-in-out infinite;
}

.experience .abstract-blob-2 {
  width: 280px;
  height: 280px;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.35),
    rgba(236, 72, 153, 0.1)
  );
  bottom: -80px;
  left: 5%;
  animation: blobMorph2 18s ease-in-out infinite;
}

@keyframes blobMorph1 {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: translate(30px, -20px) rotate(90deg);
  }
  50% {
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    transform: translate(-20px, 40px) rotate(180deg);
  }
  75% {
    border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
    transform: translate(40px, 20px) rotate(270deg);
  }
}

@keyframes blobMorph2 {
  0%,
  100% {
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    transform: translate(-40px, -30px) rotate(180deg);
  }
}

.experience::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
  animation: float-light 15s ease-in-out infinite;
}

.experience::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
  animation: float-light 18s ease-in-out infinite reverse;
}

.experience-header {
  margin-bottom: var(--spacing-xl);
}

.experience-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: var(--spacing-sm);
}

.experience-number-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.experience-decorative {
  position: absolute;
  top: 0;
  right: -60px;
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0.3;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 20px;
  right: 20px;
  border-color: var(--accent-primary);
  animation: float 6s ease-in-out infinite;
}

.circle-2 {
  width: 120px;
  height: 120px;
  top: 60px;
  right: 0;
  border-color: var(--accent-secondary);
  animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
  width: 60px;
  height: 60px;
  top: 0;
  right: 80px;
  border-color: var(--accent-tertiary);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.experience-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.experience-intro {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  max-width: 700px;
  margin-bottom: var(--spacing-md);
}

.experience-list-compact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 800px;
}

.experience-list-item-compact {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s;
}

.experience-list-item-compact:last-child {
  border-bottom: none;
}

.experience-list-item-compact:hover {
  padding-left: var(--spacing-sm);
}

.list-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-heading);
  min-width: 40px;
  opacity: 0.4;
  transition: all 0.3s;
}

.experience-list-item-compact:nth-child(1) .list-number {
  color: var(--accent-primary);
}

.experience-list-item-compact:nth-child(2) .list-number {
  color: var(--accent-secondary);
}

.experience-list-item-compact:nth-child(3) .list-number {
  color: var(--accent-tertiary);
}

.experience-list-item-compact:nth-child(4) .list-number {
  color: var(--accent-quaternary);
}

.experience-list-item-compact:hover .list-number {
  opacity: 1;
  transform: scale(1.1);
}

.list-line {
  width: 40px;
  height: 2px;
  border-radius: 1px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.experience-list-item-compact:nth-child(1) .list-line {
  background: var(--accent-primary);
}

.experience-list-item-compact:nth-child(2) .list-line {
  background: var(--accent-secondary);
}

.experience-list-item-compact:nth-child(3) .list-line {
  background: var(--accent-tertiary);
}

.experience-list-item-compact:nth-child(4) .list-line {
  background: var(--accent-quaternary);
}

.experience-list-item-compact:hover .list-line {
  width: 60px;
  box-shadow: 0 0 10px currentColor;
}

.list-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  flex-grow: 1;
  transition: color 0.3s;
}

.experience-list-item-compact:hover .list-text {
  color: var(--text-secondary);
}

/* Premium Geometric Icons */
.icon-geometric {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-code {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(99, 102, 241, 0.05)
  );
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.icon-code::before {
  content: "";
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.8;
}

.icon-code::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  top: 8px;
  right: 8px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.icon-business {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.15),
    rgba(236, 72, 153, 0.05)
  );
  border-radius: 12px;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.icon-business::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-secondary);
  border-radius: 4px;
  position: relative;
}

.icon-business::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--accent-secondary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

.icon-global {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.15),
    rgba(245, 158, 11, 0.05)
  );
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.icon-global::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-tertiary);
  border-radius: 50%;
  position: relative;
}

.icon-global::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--accent-tertiary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.icon-ai {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15),
    rgba(16, 185, 129, 0.05)
  );
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.icon-ai::before {
  content: "";
  width: 20px;
  height: 20px;
  background: linear-gradient(
    135deg,
    var(--accent-quaternary),
    var(--accent-primary)
  );
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.8;
}

.icon-ai::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-quaternary);
  border-radius: 50%;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.experience-display {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  position: relative;
  z-index: 1;
}

.experience-number {
  display: flex;
  flex-direction: column;
}

.number-main {
  font-size: clamp(100px, 12vw, 180px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 50%,
    var(--accent-tertiary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
  animation: gradient-shift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.number-label {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  font-weight: 400;
}

.experience-text {
  display: grid;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bullet {
  color: var(--accent-primary);
  font-size: 20px;
  line-height: 1.5;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.experience-item:hover .bullet {
  transform: scale(1.3);
  color: var(--accent-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: var(--spacing-xxxl) 0;
  position: relative;
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 50%, #fafbff 100%);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(99, 102, 241, 0.22) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(236, 72, 153, 0.18) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(245, 158, 11, 0.12) 0%,
      transparent 60%
    );
  background-size: 300% 300%;
  animation: gradient-shift 18s ease infinite;
  opacity: 0.8;
  z-index: 0;
  filter: blur(50px);
}

.services::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(99, 102, 241, 0.03) 2px,
      rgba(99, 102, 241, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(236, 72, 153, 0.03) 2px,
      rgba(236, 72, 153, 0.03) 4px
    );
  background-size: 80px 80px;
  animation: grid-move 25s linear infinite;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.section-header {
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

/* Ensure all content is above decorative elements */
.services .container,
.experience .container,
.formats .container,
.hero .container,
.timeline .container {
  position: relative;
  z-index: 1;
}

/* Ensure content is above decorative elements */
.services .container,
.experience .container,
.formats .container,
.hero .container {
  position: relative;
  z-index: 1;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-top: var(--spacing-sm);
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: var(--spacing-xl);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: var(--spacing-xl);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-md);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Old styles removed - using .service-card now */

.service-number {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  line-height: 1;
  position: relative;
  margin-bottom: var(--spacing-xs);
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
  letter-spacing: -0.02em;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

/* Service Icons */
.icon-strategy {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12),
    rgba(236, 72, 153, 0.08)
  );
  border-radius: 18px;
  border: 1.5px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.icon-strategy::before {
  content: "";
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  clip-path: polygon(50% 0%, 0% 50%, 50% 100%, 100% 50%);
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}

.icon-strategy::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  border-radius: 50%;
  top: 12px;
  right: 12px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.icon-architecture {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.12),
    rgba(245, 158, 11, 0.08)
  );
  border-radius: 18px;
  border: 1.5px solid rgba(236, 72, 153, 0.25);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.1);
}

.icon-architecture::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--accent-secondary);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.3);
}

.icon-architecture::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-secondary);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.icon-devops {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.12),
    rgba(16, 185, 129, 0.08)
  );
  border-radius: 18px;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.icon-devops::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 2.5px solid var(--accent-tertiary);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.icon-devops::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--accent-tertiary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.icon-transformation {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.12),
    rgba(99, 102, 241, 0.08)
  );
  border-radius: 18px;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.icon-transformation::before {
  content: "";
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    var(--accent-quaternary),
    var(--accent-primary)
  );
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.icon-transformation::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-quaternary);
  border-radius: 50%;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
  animation: pulse 2s ease-in-out infinite;
}

.icon-paper {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.12),
    rgba(245, 158, 11, 0.05)
  );
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.icon-paper::before {
  content: "";
  width: 24px;
  height: 32px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.3),
    rgba(245, 158, 11, 0.1)
  );
  border: 1.5px solid var(--accent-tertiary);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.icon-paper::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--accent-tertiary);
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.service-card:nth-child(1) .service-number {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card:nth-child(2) .service-number {
  background: linear-gradient(
    135deg,
    var(--accent-secondary),
    var(--accent-tertiary)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card:nth-child(3) .service-number {
  background: linear-gradient(
    135deg,
    var(--accent-tertiary),
    var(--accent-quaternary)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card:nth-child(4) .service-number {
  background: linear-gradient(
    135deg,
    var(--accent-quaternary),
    var(--accent-primary)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  line-height: 1.2;
  flex-grow: 0;
  letter-spacing: -0.01em;
}

.service-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  flex-grow: 0;
}

.service-details {
  margin-top: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-details-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.service-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-list-item {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 14px;
  padding-left: var(--spacing-sm);
  position: relative;
  transition: color 0.3s;
}

.service-list-item::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 600;
}

.service-card:nth-child(1) .service-list-item::before {
  color: var(--accent-primary);
}

.service-card:nth-child(2) .service-list-item::before {
  color: var(--accent-secondary);
}

.service-card:nth-child(3) .service-list-item::before {
  color: var(--accent-tertiary);
}

.service-card:nth-child(4) .service-list-item::before {
  color: var(--accent-quaternary);
}

.service-note {
  margin-top: var(--spacing-xs);
  padding-top: var(--spacing-xs);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.4;
}

/* ============================================
   CYBERSECURITY SECTION
   ============================================ */

.cybersecurity {
  padding: var(--spacing-xxxl) 0;
  background: linear-gradient(135deg, #fff5f0 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.cybersecurity::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(245, 158, 11, 0.15) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 15% 20%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 50%
    );
  background-size:
    100% 100%,
    200% 200%,
    200% 200%;
  animation: gradient-shift 22s ease infinite;
  opacity: 0.6;
  z-index: 0;
  filter: blur(50px);
  pointer-events: none;
}

.cybersecurity::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    30deg,
    transparent,
    transparent 4px,
    rgba(245, 158, 11, 0.02) 4px,
    rgba(245, 158, 11, 0.02) 8px
  );
  background-size: 150px 150px;
  animation: grid-move 28s linear infinite;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.section-intro {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cybersecurity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

/* Decorative elements for Cybersecurity */
.cybersecurity .cyber-decoration {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.cybersecurity .cyber-decoration-1 {
  width: 180px;
  height: 180px;
  background: linear-gradient(
    135deg,
    var(--accent-tertiary),
    var(--accent-secondary)
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 15%;
  right: 8%;
  filter: blur(35px);
  animation: cyberBlob1 16s ease-in-out infinite;
}

.cybersecurity .cyber-decoration-2 {
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-quaternary)
  );
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  bottom: 20%;
  left: 10%;
  filter: blur(25px);
  animation: cyberBlob2 14s ease-in-out infinite;
}

@keyframes cyberBlob1 {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: translate(40px, -50px) rotate(180deg);
  }
}

@keyframes cyberBlob2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-30px, 40px) rotate(90deg);
  }
}

.subsection-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(
    135deg,
    var(--accent-tertiary),
    var(--accent-quaternary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.publication-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.publication-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-left: 5px solid var(--accent-tertiary);
  padding: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.publication-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(8px) translateY(-4px);
}

.publication-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.pub-link-icon {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  font-size: 24px;
  color: var(--accent-tertiary);
  opacity: 0;
  transition: all 0.3s;
  transform: translateX(-10px);
}

.publication-card:hover {
  border-color: var(--accent-tertiary);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
  transform: translateX(8px) translateY(-3px);
}

.publication-card:hover::before {
  opacity: 1;
}

.publication-card:hover .pub-link-icon {
  opacity: 1;
  transform: translateX(0);
}

.publication-card:hover .pub-title {
  color: var(--accent-tertiary);
}

.pub-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
}

.publication-card:hover .pub-icon {
  transform: scale(1.05);
}

.pub-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pub-source {
  font-size: 14px;
  color: var(--text-muted);
}

.practice-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.practice-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.check-shape {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-secondary);
  background: var(--accent-secondary);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: all 0.3s;
}

.practice-item:hover .check-shape {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.check-shape::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.practice-item span {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
}

/* ============================================
   WHEN TO WORK SECTION
   ============================================ */

.when-to-work {
  padding: var(--spacing-xxxl) 0;
  position: relative;
}

.when-to-work-bg-wrapper {
  background: linear-gradient(135deg, var(--accent-tertiary) 0%, #fcd34d 100%);
  padding: var(--spacing-xl);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
}

.when-to-work-bg-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float-light 10s ease-in-out infinite;
}

.when-to-work-content-card {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: var(--spacing-xl);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.when-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}

.when-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-xl);
}

.when-card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 20px 20px 0 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.when-card-1 .when-card-border {
  background: linear-gradient(90deg, var(--accent-secondary), #f472b6);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.when-card-2 .when-card-border {
  background: linear-gradient(90deg, var(--accent-quaternary), #34d399);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.when-card-3 .when-card-border {
  background: linear-gradient(90deg, var(--accent-primary), #818cf8);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.when-card-4 .when-card-border {
  background: linear-gradient(90deg, var(--accent-tertiary), #fbbf24);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.when-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.when-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
  opacity: 0.1;
  transition: all 0.4s;
}

.when-card-1 .when-number {
  color: var(--accent-secondary);
}

.when-card-2 .when-number {
  color: var(--accent-quaternary);
}

.when-card-3 .when-number {
  color: var(--accent-primary);
}

.when-card-4 .when-number {
  color: var(--accent-tertiary);
}

.when-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  transition: color 0.3s;
}

.when-card-1 .when-card-title {
  color: var(--accent-secondary);
}

.when-card-2 .when-card-title {
  color: var(--accent-quaternary);
}

.when-card-3 .when-card-title {
  color: var(--accent-primary);
}

.when-card-4 .when-card-title {
  color: var(--accent-tertiary);
}

.when-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

.when-card:hover {
  transform: translateY(-10px) scale(1.01);
}

.when-card-1:hover {
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.25);
}

.when-card-2:hover {
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.25);
}

.when-card-3:hover {
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}

.when-card-4:hover {
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.25);
}

.when-card:hover .when-card-border {
  height: 6px;
  box-shadow: 0 4px 20px currentColor;
}

.when-card:hover .when-number {
  opacity: 0.2;
  transform: scale(1.1);
}

.when-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(30px);
}

.when-card-1::before {
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.2) 0%,
    transparent 70%
  );
}

.when-card-2::before {
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.2) 0%,
    transparent 70%
  );
}

.when-card-3::before {
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 70%
  );
}

.when-card-4::before {
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.2) 0%,
    transparent 70%
  );
}

.when-card:hover::before {
  opacity: 1;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.timeline {
  padding: var(--spacing-xxxl) 0;
  background: linear-gradient(135deg, #f0f8ff 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at top left,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 30%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(236, 72, 153, 0.06) 0%,
      transparent 50%
    );
  background-size:
    100% 100%,
    200% 200%,
    200% 200%;
  animation: gradient-shift 25s ease infinite;
  opacity: 0.6;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 3px,
    rgba(99, 102, 241, 0.015) 3px,
    rgba(99, 102, 241, 0.015) 6px
  );
  background-size: 120px 120px;
  animation: grid-move 35s linear infinite;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.timeline-container {
  position: relative;
  padding: var(--spacing-md) 0;
  z-index: 1;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-quaternary)
  );
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
  filter: blur(1px);
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 7px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-quaternary)
  );
  opacity: 0.3;
  filter: blur(4px);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--spacing-lg) - 6px);
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border: 3px solid var(--bg-secondary);
  box-shadow:
    0 0 0 2px rgba(99, 102, 241, 0.2),
    0 0 15px rgba(99, 102, 241, 0.4);
  transition: all 0.4s;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.timeline-item:hover::before {
  transform: scale(1.4);
  box-shadow:
    0 0 0 6px rgba(99, 102, 241, 0.25),
    0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-item:nth-child(1)::before {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
}

.timeline-item:nth-child(2)::before {
  background: linear-gradient(
    135deg,
    var(--accent-secondary),
    var(--accent-tertiary)
  );
}

.timeline-item:nth-child(3)::before {
  background: linear-gradient(
    135deg,
    var(--accent-tertiary),
    var(--accent-quaternary)
  );
}

.timeline-item:nth-child(4)::before {
  background: linear-gradient(
    135deg,
    var(--accent-quaternary),
    var(--accent-primary)
  );
}

.timeline-date {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-mono);
}

.timeline-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  padding: var(--spacing-md);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.timeline-card:hover {
  transform: translateX(8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.timeline-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
  transform: translateX(10px);
}

.timeline-card:hover::before {
  opacity: 1;
}

.timeline-content {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

/* ============================================
   FORMATS SECTION
   ============================================ */

.formats {
  padding: var(--spacing-xxxl) 0;
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

/* Animated background for Formats */
.formats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(236, 72, 153, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 60%
    );
  background-size: 200% 200%;
  animation: gradient-shift 20s ease infinite;
  opacity: 0.6;
  z-index: 0;
  filter: blur(50px);
  pointer-events: none;
}

.formats::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(99, 102, 241, 0.02) 2px,
    rgba(99, 102, 241, 0.02) 4px
  );
  background-size: 100px 100px;
  animation: grid-move 30s linear infinite;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Floating geometric shapes */
.formats .geometric-shape {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.formats .geometric-shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  top: 10%;
  right: 8%;
  animation: geometricFloat1 12s ease-in-out infinite;
}

.formats .geometric-shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--accent-secondary),
    var(--accent-tertiary)
  );
  border-radius: 20px;
  bottom: 15%;
  left: 10%;
  animation: geometricFloat2 15s ease-in-out infinite;
}

.formats .geometric-shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--accent-quaternary),
    var(--accent-primary)
  );
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 50%;
  left: 5%;
  animation: geometricFloat3 18s ease-in-out infinite;
}

@keyframes geometricFloat1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(40px, -60px) rotate(180deg);
  }
}

@keyframes geometricFloat2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50px, 50px) rotate(90deg) scale(1.2);
  }
}

@keyframes geometricFloat3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(60px, -40px) rotate(-180deg);
  }
}

.formats-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.format-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  padding: var(--spacing-xl);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

.format-marker {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
  position: relative;
}

.format-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow-indigo);
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    rgba(99, 102, 241, 0.02) 100%
  );
}

/* Thematic Format Icons */

/* Consultation Icon - Compass/Navigation for Quick Direction */
.format-icon-consultation {
  background:
    radial-gradient(
      circle at 50% 20%,
      var(--accent-primary) 1.5px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 50% 80%,
      var(--accent-primary) 1.5px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 20% 50%,
      var(--accent-primary) 1.5px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 80% 50%,
      var(--accent-primary) 1.5px,
      transparent 1.5px
    ),
    linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.06));
  background-size:
    42px 42px,
    42px 42px,
    42px 42px,
    42px 42px,
    100% 100%;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
  border-radius: 18px;
  border: 2px solid rgba(99, 102, 241, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.format-icon-consultation::before {
  content: "";
  width: 42px;
  height: 42px;
  border: 3px solid var(--accent-primary);
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 0 0 2px rgba(99, 102, 241, 0.1),
    0 0 20px rgba(99, 102, 241, 0.4),
    inset 0 0 20px rgba(99, 102, 241, 0.1);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  z-index: 1;
}

.format-icon-consultation::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 14px solid var(--accent-primary);
  top: 50%;
  left: 50%;
  transform-origin: center bottom;
  transform: translate(-50%, -60%) rotate(45deg);
  filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.7));
  animation: compassRotate 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes compassRotate {
  0%,
  100% {
    transform: translate(-50%, -60%) rotate(45deg);
  }
  25% {
    transform: translate(-50%, -60%) rotate(135deg);
  }
  50% {
    transform: translate(-50%, -60%) rotate(225deg);
  }
  75% {
    transform: translate(-50%, -60%) rotate(315deg);
  }
}

/* Audit Icon - Architecture Grid/Blueprint for Detailed Analysis */
.format-icon-audit {
  background:
    radial-gradient(
      circle at 25% 25%,
      var(--accent-secondary) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 25%,
      var(--accent-secondary) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 25% 75%,
      var(--accent-secondary) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 75%,
      var(--accent-secondary) 2px,
      transparent 2px
    ),
    linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(236, 72, 153, 0.06));
  background-size:
    38px 38px,
    38px 38px,
    38px 38px,
    38px 38px,
    100% 100%;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
  border-radius: 18px;
  border: 2px solid rgba(236, 72, 153, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.15);
}

.format-icon-audit::before {
  content: "";
  width: 38px;
  height: 38px;
  background:
    linear-gradient(var(--accent-secondary) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--accent-secondary) 1.5px, transparent 1.5px),
    rgba(255, 255, 255, 0.05);
  background-size:
    7.5px 7.5px,
    7.5px 7.5px,
    100% 100%;
  border: 2.5px solid var(--accent-secondary);
  border-radius: 6px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(236, 72, 153, 0.2),
    0 0 20px rgba(236, 72, 153, 0.4),
    inset 0 0 15px rgba(236, 72, 153, 0.1);
  z-index: 1;
}

.format-icon-audit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent-secondary);
  border-radius: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 2px rgba(236, 72, 153, 0.3),
    0 0 0 4px rgba(236, 72, 153, 0.15),
    0 0 15px rgba(236, 72, 153, 0.7);
  animation: auditPulse 2.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes auditPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    box-shadow:
      0 0 0 2px rgba(236, 72, 153, 0.3),
      0 0 0 4px rgba(236, 72, 153, 0.15),
      0 0 15px rgba(236, 72, 153, 0.7);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.85;
    box-shadow:
      0 0 0 3px rgba(236, 72, 153, 0.4),
      0 0 0 6px rgba(236, 72, 153, 0.2),
      0 0 20px rgba(236, 72, 153, 0.9);
  }
}

/* Advisory Icon - Growth Network/Connection for Ongoing Support */
.format-icon-advisory {
  background:
    linear-gradient(
      135deg,
      transparent 40%,
      var(--accent-quaternary) 40%,
      var(--accent-quaternary) 42%,
      transparent 42%
    ),
    linear-gradient(
      225deg,
      transparent 40%,
      var(--accent-quaternary) 40%,
      var(--accent-quaternary) 42%,
      transparent 42%
    ),
    linear-gradient(
      90deg,
      transparent 45%,
      var(--accent-quaternary) 45%,
      var(--accent-quaternary) 47%,
      transparent 47%
    ),
    linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
  background-size:
    40px 40px,
    40px 40px,
    40px 40px,
    100% 100%;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  opacity: 1;
  border-radius: 18px;
  border: 2px solid rgba(16, 185, 129, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.format-icon-advisory::before {
  content: "";
  width: 40px;
  height: 40px;
  position: relative;
  background:
    radial-gradient(
      circle at 30% 25%,
      var(--accent-quaternary) 3px,
      transparent 3px
    ),
    radial-gradient(
      circle at 70% 25%,
      var(--accent-quaternary) 3px,
      transparent 3px
    ),
    radial-gradient(
      circle at 50% 75%,
      var(--accent-quaternary) 3px,
      transparent 3px
    );
  background-size: 40px 40px;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.4));
  z-index: 1;
}

.format-icon-advisory::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-quaternary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  box-shadow:
    0 0 0 6px rgba(16, 185, 129, 0.12),
    0 0 0 12px rgba(16, 185, 129, 0.06);
  animation: networkExpand 3s ease-in-out infinite;
}

@keyframes networkExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.15;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

.format-card:hover .format-marker {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.format-card-1:hover .format-icon-consultation {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.3);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(99, 102, 241, 0.08)
  );
}

.format-card-2:hover .format-icon-audit {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.3);
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.15),
    rgba(236, 72, 153, 0.08)
  );
}

.format-card-3:hover .format-icon-advisory {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15),
    rgba(16, 185, 129, 0.08)
  );
}

/* Old format-card styles removed - using new bright design */

.format-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  line-height: 1.3;
}

.format-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.format-card:hover .format-name {
  color: var(--accent-primary);
}

.format-card-1:hover .format-name {
  color: var(--accent-primary);
}

.format-card-2:hover .format-name {
  color: var(--accent-secondary);
}

.format-card-3:hover .format-name {
  color: var(--accent-quaternary);
}

.format-card:hover {
  transform: translateY(-4px);
}

.format-card:hover .format-description {
  color: var(--text-primary);
}

.formats-cta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ============================================
   MODAL / FORMS - Material Design
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  padding: 0;
  max-width: 600px;
  width: 90%;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.96);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 32px;
  box-shadow:
    0 20px 60px rgba(99, 102, 241, 0.15),
    0 0 0 1px rgba(99, 102, 241, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.modal-content {
  padding: 40px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 1;
}

/* Decorative background elements - removed animations to avoid interference */
.modal-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.modal-container::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.04) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 5px;
  margin: 10px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(236, 72, 153, 0.3)
  );
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.5),
    rgba(236, 72, 153, 0.5)
  );
  background-clip: padding-box;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
  box-shadow:
    0 30px 80px rgba(99, 102, 241, 0.2),
    0 0 0 1px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(99, 102, 241, 0.08);
  border: none;
  color: rgba(99, 102, 241, 0.8);
  font-size: 20px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(99, 102, 241, 0.15);
  color: rgba(99, 102, 241, 1);
  transform: scale(1.1) rotate(90deg);
}

.modal-close:active {
  background: rgba(99, 102, 241, 0.2);
  transform: scale(0.95) rotate(90deg);
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.modal-close:active {
  background-color: rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* Ensure form content is above decorative elements */
.contact-form {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form button[type="submit"] {
  margin-top: 8px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.contact-form .form-group:last-of-type {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(99, 102, 241, 0.15);
  color: rgba(0, 0, 0, 0.87);
  font-size: 16px;
  padding: 16px 20px;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  box-shadow:
    0 2px 8px rgba(99, 102, 241, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  outline: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 12px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-select:hover {
  transform: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(99, 102, 241, 0.6);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 6px 20px rgba(99, 102, 241, 0.15),
    0 0 0 4px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.form-select:focus {
  transform: none;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  color-scheme: light;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus {
  background-color: rgba(255, 255, 255, 0.95);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.3);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(0, 0, 0, 0.38);
  opacity: 1;
}

.form-input:focus ~ .form-label,
.form-select:focus ~ .form-label,
.form-textarea:focus ~ .form-label {
  color: #6366f1;
}

.form-select:focus ~ .form-label {
  transform: none;
}

.form-input:not(:placeholder-shown) ~ .form-label,
.form-select:not([value=""]) ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  color: rgba(0, 0, 0, 0.6);
}

.form-input:invalid:not(:placeholder-shown),
.form-select:invalid:not([value=""]),
.form-textarea:invalid:not(:placeholder-shown) {
  border-bottom-color: #d32f2f;
}

.form-input:invalid:not(:placeholder-shown) ~ .form-label,
.form-select:invalid:not([value=""]) ~ .form-label,
.form-textarea:invalid:not(:placeholder-shown) ~ .form-label {
  color: #d32f2f;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236366F1' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.form-select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%235855EB' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}

.form-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236366F1' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}

.form-select option {
  padding: 8px;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 16px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
  position: relative;
  z-index: 1;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  margin: 0 -4px 8px -4px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
}

.radio-item:hover,
.checkbox-item:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.radio-item:active,
.checkbox-item:active {
  transform: translateX(2px) scale(0.98);
}

.radio-item input,
.checkbox-item input {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  accent-color: #6366f1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-item input:checked,
.checkbox-item input:checked {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}

.radio-item label,
.checkbox-item label {
  cursor: pointer;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.87);
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
  letter-spacing: 0.01em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-item:hover label,
.checkbox-item:hover label {
  color: rgba(99, 102, 241, 0.9);
}

.radio-item input:checked ~ label,
.checkbox-item input:checked ~ label {
  color: rgba(99, 102, 241, 1);
  font-weight: 600;
}

.form-error {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  display: none;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: 0.4px;
}

.form-error.active {
  display: block;
  animation: fadeInUp 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group:has(.form-error.active) .form-input,
.form-group:has(.form-error.active) .form-select,
.form-group:has(.form-error.active) .form-textarea {
  border-bottom-color: #d32f2f;
}

.form-group:has(.form-error.active) .form-label {
  color: #d32f2f;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--spacing-xl);
}

.form-success.active {
  display: block;
}

.form-success-icon {
  font-size: 64px;
  margin-bottom: var(--spacing-md);
}

.form-success-message {
  font-size: 18px;
  color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: #0a0a0b;
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
  margin-top: var(--spacing-xxl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Minimal background decoration - no animation */
.footer-bg-decoration {
  display: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  flex-wrap: wrap;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex: 1;
  min-width: 0;
}

.footer-email,
.footer-company {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-email-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-copy-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.footer-copy-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--accent-primary);
}

.footer-copy-btn:active {
  opacity: 0.8;
}

.footer-copy-btn.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-quaternary);
}

.footer-copy-btn svg {
  width: 12px;
  height: 12px;
}

.footer-label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 13px;
  min-width: auto;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 14px;
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-nav-link:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-md);
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: var(--spacing-md);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 400;
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: var(--spacing-md) 0;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
  }

  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
    width: 100%;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    width: 100%;
  }

  .footer-bottom {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
  }
}

/* Responsive Header */
@media (max-width: 1024px) {
  header {
    padding: 12px 0;
  }

  .header-content {
    padding: 0 20px;
    gap: 16px;
  }

  .logo {
    font-size: 18px;
  }

  .header-nav {
    gap: 6px;
    max-width: none;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta-secondary {
    padding: 6px 12px;
    font-size: 13px;
  }

  .header-cta {
    padding: 6px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }

  .header-content {
    flex-wrap: wrap;
    padding: 0 16px;
    gap: 12px;
  }

  .logo {
    font-size: 18px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 4px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .header-cta-secondary {
    padding: 6px 12px;
    font-size: 12px;
  }

  .header-cta {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-text {
    padding-bottom: 0;
    height: auto;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    height: 45vh;
    min-height: 350px;
    margin: 0 auto;
  }

  .experience-display {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .experience-number {
    align-items: center;
  }

  .cybersecurity-content {
    grid-template-columns: 1fr;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .when-grid {
    grid-template-columns: 1fr;
  }

  .service-number {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .formats-bg-wrapper {
    padding: var(--spacing-md);
    border-radius: 16px;
  }

  .formats-content-card {
    padding: var(--spacing-md);
    border-radius: 16px;
  }

  .formats-grid {
    gap: var(--spacing-md);
  }

  .format-marker {
    width: 40px;
    height: 40px;
  }

  .format-name {
    font-size: 18px;
  }

  .format-description {
    font-size: 14px;
  }

  .hero {
    margin-top: 60px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .formats-cta {
    flex-direction: column;
  }

  .formats-cta .btn {
    width: 100%;
  }

  .spacing-xxxl {
    padding: var(--spacing-xxl) 0;
  }
}

/* ============================================
   LEGAL PAGES (Privacy Policy, Consents)
   ============================================ */

.legal-page-body {
  background-color: var(--bg-secondary);
}

.text-document-page {
  padding-top: 120px;
  padding-bottom: var(--spacing-xxxl);
  min-height: calc(100vh - 80px - 200px); /* header and footer approx height */
}

.text-document-card {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: var(--spacing-xxl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
}

.document-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  color: var(--text-primary);
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-md);
}

.document-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
}

.document-content {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.document-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}

.document-content p {
  margin-bottom: var(--spacing-md);
}

.document-content ul, 
.document-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.document-content li {
  margin-bottom: var(--spacing-xs);
}

.document-content a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.document-content a:hover {
  color: var(--accent-secondary);
}

@media (max-width: 768px) {
  .text-document-card {
    padding: var(--spacing-lg);
  }
}

/* Footer Legal Links */
.footer-legal {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--spacing-xs);
}

.footer-legal-link {
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ============================================
   CONSENT CHECKBOXES IN FORMS
   ============================================ */

.consent-checkboxes {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.consent-checkboxes .consent-error {
  margin-top: 2px;
  margin-bottom: 4px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: relative;
  top: 2px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: transparent;
  border: 1.5px solid var(--border-accent);
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent-primary);
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Error state for checkbox */
.checkbox-container.has-error .checkmark {
  border-color: #d32f2f;
  background-color: rgba(211, 47, 47, 0.05);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.checkbox-text a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.checkbox-text a:hover {
  color: var(--accent-primary);
  text-decoration-color: var(--accent-primary);
}

.checkbox-note {
  font-size: 10px;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}
