
#cmsp-main-wrapper {
  position: relative;
  overflow: hidden;
}

.cmsp-hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-dark);
  overflow: hidden;
}

.cmsp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 200, 150, 0.15) 0%, transparent 50%);
  animation: cmsp-bg-move 20s ease-in-out infinite;
}

@keyframes cmsp-bg-move {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
}

.cmsp-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.cmsp-hero-content {
  position: relative;
  z-index: 10;
  animation: cmsp-fade-in-up 1s ease-out;
}

@keyframes cmsp-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cmsp-badge-floating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 24px;
  animation: cmsp-float 3s ease-in-out infinite;
}

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

.cmsp-hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cmsp-gradient-text {
  background: linear-gradient(135deg, #00c896 0%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cmsp-gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes cmsp-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cmsp-typed-text {
  position: relative;
  display: inline-block;
}

.cmsp-typed-text::after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: var(--secondary-color);
  animation: cmsp-blink 0.8s infinite;
}

@keyframes cmsp-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.cmsp-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

.cmsp-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ===========================
   3D Buttons
   =========================== */
.cmsp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cmsp-btn-3d {
  transform: perspective(1000px) rotateX(0deg);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 102, 204, 0.3);
}

.cmsp-btn-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 102, 204, 0.5);
}

.cmsp-btn-3d:active {
  transform: perspective(1000px) rotateX(5deg) translateY(2px);
}

.cmsp-btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}

.cmsp-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cmsp-btn-light {
  background: #fff;
  color: var(--primary-color);
}

.cmsp-btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.cmsp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===========================
   Stats Row
   =========================== */
.cmsp-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.cmsp-stat-item {
  display: flex;
  flex-direction: column;
}

.cmsp-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.cmsp-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================
   3D Card
   =========================== */
.cmsp-hero-image-wrapper {
  position: relative;
  perspective: 1500px;
}

.cmsp-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  animation: cmsp-card-float 6s ease-in-out infinite;
}

@keyframes cmsp-card-float {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(5deg); }
}

.cmsp-hero-img {
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: auto;
}

.cmsp-floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  animation: cmsp-float-element 3s ease-in-out infinite;
}

@keyframes cmsp-float-element {
  0%, 100% { transform: translateY(0) translateZ(50px); }
  50% { transform: translateY(-15px) translateZ(50px); }
}

.cmsp-float-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.cmsp-float-2 {
  bottom: 30%;
  left: -5%;
  animation-delay: 1s;
}

.cmsp-float-3 {
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

.cmsp-floating-element i {
  color: var(--secondary-color);
  font-size: 20px;
}

/* ===========================
   Scroll Indicator
   =========================== */
.cmsp-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.cmsp-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.cmsp-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: cmsp-scroll-down 2s infinite;
}

@keyframes cmsp-scroll-down {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 30px; }
}

/* ===========================
   Section Styles
   =========================== */
.cmsp-section {
  padding: 120px 0;
  position: relative;
}

.cmsp-section-dark {
  background: var(--gradient-dark);
  color: #fff;
}

.cmsp-section-header {
  margin-bottom: 60px;
}

.cmsp-section-tag {
  display: inline-block;
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.cmsp-section-dark .cmsp-section-tag {
  background: rgba(0, 200, 150, 0.1);
  color: var(--secondary-color);
  border-color: rgba(0, 200, 150, 0.2);
}

.cmsp-section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.cmsp-section-desc {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-medium);
  max-width: 800px;
  margin: 0 auto;
}

.cmsp-section-dark .cmsp-section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Benefit Cards
   =========================== */
.cmsp-benefit-card {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.cmsp-card-3d {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.cmsp-card-3d:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.cmsp-benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
  animation: cmsp-icon-pulse 3s ease-in-out infinite;
}

@keyframes cmsp-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cmsp-benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cmsp-benefit-card p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 0;
}

.cmsp-benefit-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 102, 204, 0.05);
  line-height: 1;
}

/* ===========================
   Service Cards
   =========================== */
.cmsp-service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cmsp-hover-lift:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 200, 150, 0.5);
  box-shadow: 0 20px 60px rgba(0, 200, 150, 0.2);
}

.cmsp-service-icon-wrapper {
  margin-bottom: 24px;
}

.cmsp-service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 200, 150, 0.3);
  transition: transform 0.3s ease;
}

.cmsp-service-card:hover .cmsp-service-icon {
  transform: rotateY(360deg);
}

.cmsp-service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.cmsp-service-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.cmsp-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.cmsp-service-link:hover {
  gap: 12px;
}

/* ===========================
   Image 3D Wrapper
   =========================== */
.cmsp-image-3d-wrapper {
  position: relative;
  perspective: 1500px;
}

.cmsp-rounded-img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cmsp-image-3d-wrapper:hover .cmsp-rounded-img {
  transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

.cmsp-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 20px;
  pointer-events: none;
}

/* ===========================
   Methodology List
   =========================== */
.cmsp-methodology-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cmsp-methodology-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 200, 150, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 200, 150, 0.1);
  transition: all 0.3s ease;
}

.cmsp-methodology-item:hover {
  background: rgba(0, 200, 150, 0.1);
  border-color: var(--secondary-color);
  transform: translateX(10px);
}

.cmsp-methodology-item i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.cmsp-methodology-item span {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===========================
   Technology Badges
   =========================== */
.cmsp-tech-category {
  margin-bottom: 40px;
}

.cmsp-tech-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmsp-tech-category-title i {
  color: var(--secondary-color);
}

.cmsp-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cmsp-tech-badge {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cmsp-tech-badge:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 200, 150, 0.3);
}

/* ===========================
   Process Steps
   =========================== */
.cmsp-process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cmsp-process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 30px;
  background: rgba(0, 102, 204, 0.03);
  border-radius: 16px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.cmsp-process-step:hover {
  background: rgba(0, 102, 204, 0.08);
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cmsp-process-number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.cmsp-process-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cmsp-process-content p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===========================
   CTA Section
   =========================== */
.cmsp-cta-section {
  position: relative;
  padding: 120px 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.cmsp-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 50%, rgba(0, 200, 150, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 102, 204, 0.2) 0%, transparent 50%);
  animation: cmsp-bg-move 15s ease-in-out infinite;
}

.cmsp-cta-content {
  position: relative;
  z-index: 10;
}

.cmsp-cta-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}

.cmsp-cta-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.cmsp-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cmsp-cta-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cmsp-cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.cmsp-cta-feature i {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 991px) {
  .cmsp-hero-title {
    font-size: 3rem;
  }

  .cmsp-section-title {
    font-size: 2.25rem;
  }

  .cmsp-cta-title {
    font-size: 2.25rem;
  }

  .cmsp-methodology-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .cmsp-hero-title {
    font-size: 2.5rem;
  }

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

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

  .cmsp-hero-buttons,
  .cmsp-cta-buttons {
    flex-direction: column;
  }

  .cmsp-btn {
    width: 100%;
    justify-content: center;
  }

  .cmsp-stats-row {
    flex-direction: column;
    gap: 20px;
  }

  .cmsp-floating-element {
    font-size: 12px;
    padding: 8px 16px;
  }

  .cmsp-section {
    padding: 80px 0;
  }
}

/* ===========================
   Animations
   =========================== */
@keyframes cmsp-rotate-3d {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes cmsp-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 200, 150, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 200, 150, 0.8);
  }
}

/* Scroll animations */
.cmsp-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.cmsp-fade-in.cmsp-visible {
  opacity: 1;
  transform: translateY(0);
}