:root {
  --brand: #6366f1;
  --brand-dark: #4f46e5;
  --brand-light: #818cf8;
  --accent: #ec4899;
  --accent-dark: #db2777;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* 3D Perspective Containers */
.perspective-container {
  perspective: 2000px;
  perspective-origin: 50% 50%;
}

/* 3D Card Effects */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.card-3d:hover {
  transform: translateZ(50px) rotateY(5deg) rotateX(5deg);
}

/* Floating 3D Animation */
.float-3d {
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes float3d {
  0%,
  100% {
    transform: translateY(0px) translateZ(0px) rotateX(0deg);
  }
  25% {
    transform: translateY(-20px) translateZ(30px) rotateX(5deg);
  }
  50% {
    transform: translateY(-10px) translateZ(50px) rotateX(-3deg);
  }
  75% {
    transform: translateY(-25px) translateZ(30px) rotateX(5deg);
  }
}

/* Scroll-Based 3D Reveal */
.scroll-reveal-3d {
  opacity: 0;
  transform: perspective(1000px) rotateX(-25deg) translateY(80px)
    translateZ(-100px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal-3d.revealed {
  opacity: 1;
  transform: perspective(1000px) rotateX(0) translateY(0) translateZ(0);
}

/* Tilt Effect */
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

/* Rotating Rings Background */
.rotating-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.1;
  animation: rotateRing 20s linear infinite;
}

.ring:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  border-color: var(--brand);
  animation-duration: 15s;
}

.ring:nth-child(2) {
  width: 500px;
  height: 500px;
  top: 40%;
  right: 10%;
  border-color: var(--accent);
  animation-duration: 25s;
  animation-direction: reverse;
}

.ring:nth-child(3) {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 50%;
  border-color: var(--success);
  animation-duration: 18s;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

/* Morphing Blob Background */
.morphing-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 15s ease-in-out infinite;
  opacity: 0.1;
  filter: blur(40px);
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--success) 100%);
  bottom: -5%;
  left: -5%;
  animation-delay: 5s;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 70% 30% 40% 60% / 40% 70% 60% 30%;
    transform: rotate(270deg) scale(1.05);
  }
}

/* Parallax Layers */
.parallax-layer {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* 3D Flip Cards */
.flip-card-3d {
  perspective: 1500px;
  height: 100%;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card-3d:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
}

/* Depth Shadows */
.depth-shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(99, 102, 241, 0.1);
}

.depth-shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07),
    0 15px 30px rgba(99, 102, 241, 0.15);
}

.depth-shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1),
    0 20px 50px rgba(99, 102, 241, 0.2);
}

/* Glowing Pulse Effect */
.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4),
      0 0 40px rgba(236, 72, 153, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6),
      0 0 80px rgba(236, 72, 153, 0.4);
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  transform-style: preserve-3d;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--light-gray);
  transform: translateZ(50px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.nav-logo:hover {
  transform: scale(1.05) translateZ(10px);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.nav-logo:hover .nav-logo-icon {
  transform: rotateY(360deg);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.nav-toggle:active {
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  position: relative;
  transform-style: preserve-3d;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
  white-space: nowrap;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.btn::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 ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px) translateZ(10px);
  box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-3px) translateZ(10px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  perspective: 2000px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.08) 0%,
    transparent 70%
  );
  animation: float 20s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
  transform-style: preserve-3d;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(236, 72, 153, 0.1) 100%
  );
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-badge i {
  color: var(--accent);
  animation: spin 3s linear infinite;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
  animation: slideInLeft 0.8s ease-out 0.3s both;
  transform-style: preserve-3d;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
  background-size: 200% 200%;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 90%;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: slideInLeft 0.8s ease-out 0.5s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.stat-item {
  text-align: left;
  animation: slideInUp 0.8s ease-out both;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.stat-item:nth-child(1) {
  animation-delay: 0.6s;
}
.stat-item:nth-child(2) {
  animation-delay: 0.7s;
}
.stat-item:nth-child(3) {
  animation-delay: 0.8s;
}
.stat-item:nth-child(4) {
  animation-delay: 0.9s;
}

.stat-item:hover {
  transform: translateY(-5px) translateZ(20px);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: countUp 2s ease-out;
}

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

.stat-label {
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Hero Images */
.hero-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  animation: fadeIn 1s ease-out 0.3s both;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform-style: preserve-3d;
}

.image-column:nth-child(1) {
  animation: slideInRight 1s ease-out 0.4s both;
}

.image-column:nth-child(2) {
  margin-top: 3rem;
  animation: slideInRight 1s ease-out 0.6s both;
}

.image-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  transform-style: preserve-3d;
}

.image-card:hover {
  transform: translateY(-15px) translateZ(50px) rotateY(5deg);
  box-shadow: var(--shadow-2xl), 0 0 50px rgba(99, 102, 241, 0.3);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.1) rotateZ(2deg);
}

.image-card-tall {
  height: 350px;
  animation: imageFloat 4s ease-in-out infinite;
}

.image-card-short {
  height: 250px;
  animation: imageFloat 5s ease-in-out infinite;
  animation-delay: 1s;
}

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

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.image-card:hover .image-overlay {
  transform: translateY(0);
}

.image-label {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInUp 0.4s ease-out 0.2s both;
}

.floating-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
  animation: float3d 4s ease-in-out infinite;
  z-index: 100;
  pointer-events: none;
}

.floating-badge-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.floating-badge-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.floating-badge-text {
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-20px);
  }
}

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

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

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

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

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

/* Trust Section */
.trust-section {
  padding: 4rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}

.trust-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.trust-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray);
  opacity: 0.5;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.trust-logo:hover {
  opacity: 1;
  transform: scale(1.2) translateZ(20px);
  color: var(--brand);
}

/* Solutions Section */
.solutions {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.8;
}

.solutions-grid {
  display: grid;
  gap: 3rem;
  perspective: 2000px;
}

.solution-card {
  background: white;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--light-gray);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(236, 72, 153, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.solution-card:hover {
  transform: translateY(-15px) translateZ(30px) rotateX(5deg);
  box-shadow: var(--shadow-2xl);
  border-color: var(--brand);
}

.solution-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.solution-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  transition: transform 0.5s ease;
  animation: iconFloat 3s ease-in-out infinite;
}

.solution-card:hover .solution-icon {
  transform: rotateY(360deg) scale(1.1);
}

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

.solution-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.solution-subtitle {
  color: var(--gray);
  font-size: 1rem;
}

.solution-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.feature-group h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.solution-card:hover .feature-group h4 {
  transform: translateX(5px);
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 0.875rem 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  color: var(--brand);
  transform: translateX(10px);
}

.feature-list i {
  color: var(--brand);
  font-size: 1rem;
  width: 20px;
  transition: transform 0.3s ease;
}

.feature-list li:hover i {
  transform: scale(1.3) rotate(360deg);
}

.solution-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.solution-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.solution-images img:hover {
  transform: translateY(-10px) translateZ(20px) rotateY(5deg);
  box-shadow: var(--shadow-xl);
}

/* Events Section */
.events {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.events-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
}

.events-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.events-link:hover {
  gap: 1rem;
  transform: translateX(5px);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  perspective: 2000px;
}

.event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--light-gray);
  transform-style: preserve-3d;
  position: relative;
}

.event-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(236, 72, 153, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.event-card:hover::after {
  opacity: 1;
}

.event-card:hover {
  transform: translateY(-15px) translateZ(30px) rotateX(5deg);
  box-shadow: var(--shadow-2xl);
  border-color: var(--brand);
}

.event-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image {
  transform: scale(1.15) rotate(2deg);
}

.event-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
  transition: color 0.3s ease;
}

.event-card:hover .event-title {
  color: var(--brand);
}

.event-details {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  }
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  perspective: 2000px;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--light-gray);
  transform-style: preserve-3d;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 6rem;
  font-weight: 900;
  color: var(--light-gray);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px) translateZ(30px) rotateY(3deg);
  box-shadow: var(--shadow-2xl);
  border-color: var(--brand);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-rating::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  opacity: 0.3;
}

.testimonial-text {
  color: var(--dark);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-gray);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  border-color: var(--brand);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.testimonial-info h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  color: var(--gray);
  font-size: 0.875rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  perspective: 2000px;
}

.pricing-card {
  background: white;
  border-radius: 28px;
  padding: 3rem;
  border: 2px solid var(--light-gray);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

.pricing-card:hover {
  border-color: var(--brand);
  transform: translateY(-15px) translateZ(30px);
  box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: translateY(-15px) translateZ(30px) scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-price {
  transform: scale(1.1);
}

.pricing-period {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pricing-description {
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-features li {
  padding: 1rem 0;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.pricing-features li:hover {
  transform: translateX(10px);
  color: var(--brand);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.pricing-features li:hover svg {
  transform: scale(1.3) rotate(360deg);
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(60px) translateY(60px);
  }
}

.cta-card {
  text-align: center;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  animation: ctaTitleFloat 3s ease-in-out infinite;
}

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

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-white {
  background: white;
  color: var(--brand);
}

.btn-white:hover {
  transform: translateY(-3px) translateZ(10px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.cta-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(236, 72, 153, 0.05) 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.footer-brand:hover {
  transform: translateX(10px);
}

.footer-brand .nav-logo-icon {
  width: 36px;
  height: 36px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 400px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(10px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  border: none;
  box-shadow: var(--shadow-2xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
  0%,
  100% {
    box-shadow: var(--shadow-2xl), 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  50% {
    box-shadow: var(--shadow-2xl), 0 0 0 10px rgba(99, 102, 241, 0);
  }
}

.chat-button::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-button:hover::before {
  opacity: 1;
}

.chat-button:hover {
  transform: scale(1.15) translateZ(10px);
}

.chat-button.active {
  background: var(--danger);
  animation: none;
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  display: none;
  animation: slideUpScale 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom right;
}

.chat-box.active {
  display: block;
}

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

.chat-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  padding: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}

.chat-body {
  padding: 2rem;
  max-height: 450px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.5s ease-out both;
}

.chat-message:nth-child(1) {
  animation-delay: 0.1s;
}
.chat-message:nth-child(2) {
  animation-delay: 0.2s;
}
.chat-message:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-message label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 0.9375rem;
}

.chat-message input,
.chat-message textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.chat-message input:focus,
.chat-message textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.chat-message textarea {
  resize: vertical;
  min-height: 120px;
}

.chat-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.chat-submit::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 ease, height 0.6s ease;
}

.chat-submit:hover::before {
  width: 400px;
  height: 400px;
}

.chat-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid,
  .solution-features {
    grid-template-columns: 1fr;
  }

  .hero-images {
    order: -1;
    margin-bottom: 2rem;
  }

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

  .section-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

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

  .floating-badge {
    padding: 1.25rem 1.5rem;
  }

  .floating-badge-icon {
    font-size: 2rem;
  }

  .floating-badge-text {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .chat-box {
    width: calc(100vw - 2rem);
    right: 1rem;
  }

  .solution-features {
    grid-template-columns: 1fr;
  }

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

  .floating-badge {
    padding: 1rem 1.25rem;
    top: 45%;
  }

  .floating-badge-icon {
    font-size: 1.75rem;
  }

  .floating-badge-text {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

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

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

  .stat-value {
    font-size: 1.75rem;
  }

  .image-column:nth-child(2) {
    margin-top: 0;
  }

  .floating-badge {
    padding: 0.875rem 1rem;
    border-radius: 16px;
    top: 40%;
  }

  .floating-badge-content {
    flex-direction: row;
    gap: 0.75rem;
  }

  .floating-badge-icon {
    font-size: 1.5rem;
  }

  .floating-badge-text {
    font-size: 0.75rem;
    font-weight: 700;
  }
}
