/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
  --primary: #667eea;
  --primary-dark: #5569d6;
  --primary-light: #8b9ff5;
  --secondary: #764ba2;
  --secondary-dark: #5e3a82;
  --secondary-light: #9b6fc4;
  --accent: #f093fb;
  --accent-dark: #d870e0;
  --accent-light: #f5b5fd;

  --white: #ffffff;
  --off-white: #f8f9ff;
  --gray-50: #f0f1f8;
  --gray-100: #e4e6f0;
  --gray-200: #c8cbe0;
  --gray-300: #a0a4c0;
  --gray-400: #7a7ea0;
  --gray-500: #5c6080;
  --gray-600: #454860;
  --gray-700: #2e3148;
  --gray-800: #1a1d30;
  --gray-900: #0d0f1a;

  --gradient-mesh-1:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(102, 126, 234, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(118, 75, 162, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(240, 147, 251, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 90% 90%,
      rgba(102, 126, 234, 0.15) 0%,
      transparent 40%
    );

  --gradient-mesh-2:
    radial-gradient(
      ellipse at 10% 20%,
      rgba(240, 147, 251, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 90% 50%,
      rgba(102, 126, 234, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 40% 90%,
      rgba(118, 75, 162, 0.2) 0%,
      transparent 50%
    );

  --gradient-text: linear-gradient(
    135deg,
    var(--primary),
    var(--accent),
    var(--secondary)
  );
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
  --gradient-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 249, 255, 0.9)
  );

  --shadow-sm:
    0 1px 3px rgba(13, 15, 26, 0.06), 0 1px 2px rgba(13, 15, 26, 0.04);
  --shadow-md:
    0 4px 12px rgba(13, 15, 26, 0.08), 0 2px 4px rgba(13, 15, 26, 0.04);
  --shadow-lg:
    0 12px 40px rgba(13, 15, 26, 0.12), 0 4px 12px rgba(13, 15, 26, 0.06);
  --shadow-xl:
    0 24px 60px rgba(13, 15, 26, 0.16), 0 8px 20px rgba(13, 15, 26, 0.08);
  --shadow-glow:
    0 0 40px rgba(102, 126, 234, 0.2), 0 0 80px rgba(118, 75, 162, 0.1);
  --shadow-glow-accent:
    0 0 40px rgba(240, 147, 251, 0.2), 0 0 80px rgba(102, 126, 234, 0.1);

  --font-display: "Outfit", sans-serif;
  --font-heading: "Sora", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--off-white);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--secondary);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */

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

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(102, 126, 234, 0.15);
  box-shadow: 0 -8px 40px rgba(13, 15, 26, 0.1);
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-text h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 640px;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.btn-cookie-reject {
  padding: 12px 28px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.btn-cookie-reject:hover {
  background: var(--gray-200);
}

.btn-cookie-settings {
  padding: 12px 20px;
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.main-nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 4px 20px rgba(13, 15, 26, 0.06);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gray-800);
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(102, 126, 234, 0.06);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: white !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-left: 8px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.35);
  color: white !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Legal nav */
.legal-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

.nav-back:hover {
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-mesh-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh-1);
  z-index: 0;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: meshFloat 20s ease-in-out infinite;
}

.mesh-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.4),
    transparent 70%
  );
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.mesh-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(118, 75, 162, 0.35),
    transparent 70%
  );
  top: 20%;
  right: -10%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.mesh-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(240, 147, 251, 0.3),
    transparent 70%
  );
  bottom: -5%;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.mesh-blob-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.25),
    transparent 70%
  );
  top: 60%;
  left: 10%;
  animation-delay: -15s;
  animation-duration: 18s;
}

.mesh-blob-5 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(240, 147, 251, 0.2),
    transparent 70%
  );
  top: 5%;
  right: 30%;
  animation-delay: -8s;
  animation-duration: 28s;
}

@keyframes meshFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -20px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 30px) scale(0.95);
  }
  75% {
    transform: translate(20px, 20px) scale(1.02);
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-line-1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--gray-800);
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.title-line-2 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--gray-800);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.title-line-3 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: 1.12rem;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--gray-700);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(102, 126, 234, 0.15);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-secondary:hover {
  background: white;
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-plus,
.stat-percent {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gray-200),
    transparent
  );
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(13, 15, 26, 0.3) 100%
  );
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 3;
}

.hero-floating-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
}

.hero-floating-card span {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.card-top {
  top: 12%;
  left: -12%;
  animation: floatCard 6s ease-in-out infinite;
}

.card-bottom {
  bottom: 15%;
  right: -8%;
  animation: floatCard 6s ease-in-out 3s infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.2s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.hero-scroll-indicator span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(102, 126, 234, 0.08);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.section-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.mesh-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.2),
    transparent 70%
  );
  top: -10%;
  right: -5%;
  animation: meshFloat 25s ease-in-out infinite;
}

.mesh-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(240, 147, 251, 0.15),
    transparent 70%
  );
  bottom: -10%;
  left: -5%;
  animation: meshFloat 20s ease-in-out 5s infinite;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.2);
}

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

.service-card.featured {
  border-color: rgba(102, 126, 234, 0.2);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(240, 243, 255, 0.95)
  );
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(102, 126, 234, 0.1);
}

.service-card.featured .card-glow {
  opacity: 1;
  height: 4px;
  background: var(--gradient-text);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 14px;
  background: var(--gradient-accent);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(102, 126, 234, 0.1);
  transform: scale(1.05);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.7;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.service-cta:hover {
  color: var(--secondary);
  gap: 12px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.about-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh-wave {
  position: absolute;
  filter: blur(120px);
  opacity: 0.3;
}

.mesh-wave-1 {
  width: 100%;
  height: 300px;
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.2),
    rgba(118, 75, 162, 0.15),
    rgba(240, 147, 251, 0.1)
  );
  top: 20%;
  animation: meshFloat 30s ease-in-out infinite;
}

.mesh-wave-2 {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    90deg,
    rgba(240, 147, 251, 0.1),
    rgba(102, 126, 234, 0.15),
    rgba(118, 75, 162, 0.1)
  );
  bottom: 10%;
  animation: meshFloat 25s ease-in-out 8s infinite;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
  aspect-ratio: 3/4;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: floatCard 5s ease-in-out infinite;
}

.exp-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.exp-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.3;
}

.about-content .section-tag {
  margin-bottom: 12px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.06);
  border-radius: var(--radius-md);
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
  padding: 24px;
  background: rgba(102, 126, 234, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 126, 234, 0.08);
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    var(--off-white),
    white,
    var(--off-white)
  );
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 40px 20px 32px;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  transition: all var(--transition-slow);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.15);
}

.team-avatar {
  margin-bottom: 20px;
}

.avatar-gradient {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
  transition: transform var(--transition-base);
}

.team-card:hover .avatar-gradient {
  transform: scale(1.08);
}

.avatar-2 {
  background: linear-gradient(135deg, #764ba2, #f093fb);
  box-shadow: 0 8px 24px rgba(118, 75, 162, 0.25);
}
.avatar-3 {
  background: linear-gradient(135deg, #f093fb, #667eea);
  box-shadow: 0 8px 24px rgba(240, 147, 251, 0.25);
}
.avatar-4 {
  background: linear-gradient(135deg, #667eea, #43e97b);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}
.avatar-5 {
  background: linear-gradient(135deg, #764ba2, #667eea);
  box-shadow: 0 8px 24px rgba(118, 75, 162, 0.25);
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.02em;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.84rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO / CASE STUDIES
   ============================================ */

.portfolio {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.portfolio-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0.08;
  animation: meshFloat 20s ease-in-out infinite;
}

.mesh-ring-1 {
  width: 600px;
  height: 600px;
  border-color: var(--primary);
  top: -15%;
  left: -10%;
}

.mesh-ring-2 {
  width: 400px;
  height: 400px;
  border-color: var(--accent);
  bottom: -10%;
  right: -5%;
  animation-delay: -8s;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px;
}

.case-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

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

.case-large {
  grid-row: span 2;
}

.case-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.case-large .case-image {
  aspect-ratio: auto;
  height: 280px;
}

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

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

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(13, 15, 26, 0.15) 100%
  );
}

.case-image-gradient {
  aspect-ratio: 16/10;
}

.case-gradient-bg {
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh-2), var(--gradient-primary);
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

.case-content {
  padding: 28px;
}

.case-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(102, 126, 234, 0.08);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-results {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.case-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-stat span {
  font-size: 0.76rem;
  color: var(--gray-400);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--off-white), white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar.avatar-t2 {
  background: linear-gradient(135deg, #764ba2, #f093fb);
}
.author-avatar.avatar-t3 {
  background: linear-gradient(135deg, #f093fb, #667eea);
}
.author-avatar.avatar-t4 {
  background: linear-gradient(135deg, #667eea, #43e97b);
}

.author-avatar span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.contact-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.mesh-sphere-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.25),
    transparent 70%
  );
  top: -15%;
  left: -10%;
  animation: meshFloat 22s ease-in-out infinite;
}

.mesh-sphere-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(240, 147, 251, 0.2),
    transparent 70%
  );
  bottom: -10%;
  right: -5%;
  animation: meshFloat 18s ease-in-out 5s infinite;
}

.mesh-sphere-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  animation: meshFloat 24s ease-in-out 10s infinite;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 12px;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.08);
  border-radius: var(--radius-md);
  color: var(--primary);
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-item a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  padding: 44px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
  min-height: 1.2em;
}

.form-consent {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.form-message {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  padding: 80px 0 0;
  background: var(--gray-900);
  color: var(--gray-300);
  overflow: hidden;
}

.footer-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh-foot {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.mesh-foot-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -30%;
  left: -10%;
}

.mesh-foot-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  bottom: -30%;
  right: -10%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer .nav-logo {
  margin-bottom: 16px;
}

.footer .logo-text {
  color: white;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.mt-footer {
  margin-top: 28px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--accent-light);
}

.legal-footer {
  padding-top: 0;
  background: var(--gray-900);
}

.legal-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 15, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-slow);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 50%;
  color: var(--gray-500);
  transition: all var(--transition-fast);
  z-index: 1;
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.modal-content {
  padding: 44px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.2;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-details {
  margin-bottom: 28px;
}

.modal-details h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.modal-details ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-details li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.modal-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.modal-cta {
  width: 100%;
  justify-content: center;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
  background: var(--off-white);
}

.legal-content {
  position: relative;
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.legal-mesh-bg .mesh-blob-1 {
  width: 400px;
  height: 400px;
  top: 0;
  right: -10%;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.15),
    transparent 70%
  );
}

.legal-mesh-bg .mesh-blob-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -5%;
  background: radial-gradient(
    circle,
    rgba(240, 147, 251, 0.1),
    transparent 70%
  );
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gray-800);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.legal-section {
  margin-bottom: 40px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.legal-section:hover {
  box-shadow: var(--shadow-md);
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-primary) 1;
}

.legal-section p {
  font-size: 0.94rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0;
  padding-left: 0;
}

.legal-section ul li,
.legal-section ol li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

.legal-section ol {
  counter-reset: legal-counter;
}

.legal-section ol li {
  counter-increment: legal-counter;
}

.legal-section ol li::before {
  content: counter(legal-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* GDPR-specific */
.gdpr-highlight {
  background: linear-gradient(
    145deg,
    rgba(102, 126, 234, 0.04),
    rgba(240, 147, 251, 0.03)
  );
  border-color: rgba(102, 126, 234, 0.12);
}

.gdpr-info-box {
  padding: 20px 24px;
  background: rgba(102, 126, 234, 0.04);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 16px 0;
}

.gdpr-info-box p {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.gdpr-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.gdpr-right {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.gdpr-right:hover {
  border-color: rgba(102, 126, 234, 0.2);
  box-shadow: var(--shadow-md);
}

.right-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.gdpr-right h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.gdpr-right p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

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

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-card:nth-child(4),
  .team-card:nth-child(5) {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .card-top {
    left: 0;
  }

  .card-bottom {
    right: 0;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-tag {
    text-align: center;
    display: block;
  }

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

  .case-large {
    grid-row: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info .section-title {
    text-align: center;
  }

  .contact-info .section-tag {
    display: block;
    text-align: center;
  }

  .contact-desc {
    text-align: center;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: right var(--transition-slow);
    box-shadow: -8px 0 40px rgba(13, 15, 26, 0.1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    text-align: center;
    display: block;
    padding: 14px 24px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .title-line-1,
  .title-line-2,
  .title-line-3 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .gdpr-rights-grid {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding: 24px;
  }

  .contact-form {
    padding: 28px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .btn-cookie-accept,
  .btn-cookie-reject {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero-floating-card {
    display: none;
  }

  .about-img-secondary {
    width: 50%;
    right: -20px;
    bottom: -20px;
  }

  .about-experience-badge {
    width: 100px;
    height: 100px;
    right: 10px;
    top: -15px;
  }

  .exp-number {
    font-size: 2rem;
  }

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

  .case-results {
    flex-wrap: wrap;
    gap: 16px;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .main-nav,
  .cookie-banner,
  .hero-mesh-bg,
  .mesh-blob,
  .mesh-orb,
  .mesh-wave,
  .mesh-ring,
  .mesh-sphere,
  .mesh-foot,
  .hero-grain,
  .hero-scroll-indicator,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .gradient-text {
    -webkit-text-fill-color: var(--gray-800);
  }
}
