/* ===================================
   VALUE PROPS SECTION CSS - FULL SCREEN
   =================================== */

/* ===== VALUE PROPS SECTION VARIABLES ===== */
:root {
  /* Value Props Theme Colors */
  --valueprops-text-primary: #ffffff;
  --valueprops-text-secondary: #f0f9ff;
  --valueprops-card-bg: linear-gradient(
    135deg,
    rgba(6, 12, 34, 0.95) 0%,
    rgba(12, 20, 69, 0.9) 25%,
    rgba(29, 58, 138, 0.85) 50%,
    rgba(37, 99, 235, 0.8) 75%,
    rgba(59, 130, 246, 0.75) 100%
  );
  --valueprops-card-border: rgba(255, 255, 255, 0.25);
  --valueprops-card-shadow: rgba(0, 0, 0, 0.15);

  /* Value Props Layout */
  --valueprops-section-height: 100vh;
  --valueprops-section-padding: 0 25px;
  --valueprops-container-width: calc(100% - 210px);
  --valueprops-container-padding: 80px 60px;
  --valueprops-container-radius: 32px;
  --valueprops-content-min-height: 600px;

  /* Value Props Typography */
  --valueprops-title-size: clamp(2.5rem, 5vw, 4.5rem);
  --valueprops-number-size: 3rem;
  --valueprops-label-size: 1rem;
  --valueprops-sublabel-size: 0.8rem;

  /* Value Props Grid */
  --valueprops-grid-gap: 20px;
  --valueprops-card-tall: 280px;
  --valueprops-card-medium: 200px;
  --valueprops-card-small: 140px;

  /* Value Props Animation */
  --valueprops-animation-duration: 0.3s;
  --valueprops-animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --valueprops-hover-lift: -8px;
  --valueprops-hover-scale: 1.02;

  /* Value Props Card Colors */
  --valueprops-card-primary-bg: #1f1f5b;
  --valueprops-card-primary-color: white;
  --valueprops-card-light-bg: #a9e4fc;
  --valueprops-card-light-color: #1f1f5b;
  --valueprops-card-white-bg: white;
  --valueprops-card-white-color: #1f1f5b;
  --valueprops-card-white-border: #e5e7eb;
  --valueprops-icon-primary-color: #00aeef;
  --valueprops-icon-secondary-color: #1f1f5b;
  --valueprops-shine-color: rgba(255, 255, 255, 0.2);
  --valueprops-wave-color: rgba(255, 255, 255, 0.05);
}

/* Dark Theme Adjustments */
[data-theme="dark"] {
  --valueprops-text-primary: #f1f5f9;
  --valueprops-card-bg: linear-gradient(
    135deg,
    rgba(6, 12, 34, 0.95) 0%,
    rgba(12, 20, 69, 0.9) 25%,
    rgba(29, 58, 138, 0.85) 50%,
    rgba(37, 99, 235, 0.8) 75%,
    rgba(59, 130, 246, 0.75) 100%
  );
  --valueprops-card-border: rgba(59, 130, 246, 0.2);
  --valueprops-card-shadow: rgba(0, 0, 0, 0.35);
  --valueprops-card-primary-bg: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
  --valueprops-card-light-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --valueprops-card-light-color: #60a5fa;
  --valueprops-card-white-bg: linear-gradient(135deg, #334155 0%, #475569 100%);
  --valueprops-card-white-color: #f1f5f9;
  --valueprops-card-white-border: rgba(59, 130, 246, 0.2);
  --valueprops-icon-secondary-color: #60a5fa;
  --valueprops-shine-color: rgba(59, 130, 246, 0.15);
  --valueprops-wave-color: rgba(59, 130, 246, 0.08);
}

/* ===== VALUE PROPS SECTION LAYOUT ===== */
.valueprops-section-wrapper {
  height: var(--valueprops-section-height);
  padding: var(--valueprops-section-padding);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  contain: layout style;
  position: relative;
  overflow: visible;
  margin: 0;
  box-sizing: border-box;
}

.valueprops-section-container {
  position: relative;
  width: var(--valueprops-container-width);
  max-width: none;
  background: var(--valueprops-card-bg);
  border-radius: var(--valueprops-container-radius);
  padding: var(--valueprops-container-padding);
  overflow: hidden;
  box-shadow:
    0 25px 50px var(--valueprops-card-shadow),
    0 12px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px var(--valueprops-card-border);
  min-height: var(--valueprops-content-min-height);
  border: 2px solid var(--valueprops-card-border);
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  transition: all var(--valueprops-animation-duration) var(--valueprops-animation-easing);
  will-change: transform, box-shadow;
  contain: content;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valueprops-section-container:hover {
  transform: translateY(var(--valueprops-hover-lift)) scale(var(--valueprops-hover-scale));
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.2),
    0 15px 35px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
}

/* ===== VALUE PROPS BACKGROUND ANIMATION ===== */
.valueprops-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  contain: strict;
}

/* Enhanced Texture Layers */
.valueprops-texture-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  pointer-events: none;
  will-change: transform;
}

.valueprops-texture-layer-1 {
  background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(147, 197, 253, 0.08) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  animation: valueprops-texture-drift-1 25s linear infinite;
}

.valueprops-texture-layer-2 {
  background-image: linear-gradient(45deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(147, 197, 253, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: valueprops-texture-drift-2 35s linear infinite reverse;
}

.valueprops-texture-layer-3 {
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  animation: valueprops-texture-pulse 8s ease-in-out infinite;
}

/* Enhanced Floating Dots */
.valueprops-floating-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(147, 197, 253, 0.4) 100%);
  border-radius: 50%;
  filter: blur(1px);
  will-change: transform;
}

.valueprops-floating-dot:nth-child(4) {
  top: 15%;
  left: 10%;
  animation: valueprops-dot-float 20s ease-in-out infinite;
}

.valueprops-floating-dot:nth-child(5) {
  top: 25%;
  right: 15%;
  animation: valueprops-dot-float 25s ease-in-out infinite reverse;
}

.valueprops-floating-dot:nth-child(6) {
  bottom: 30%;
  left: 20%;
  animation: valueprops-dot-float 30s ease-in-out infinite;
}

.valueprops-floating-dot:nth-child(7) {
  bottom: 20%;
  right: 25%;
  animation: valueprops-dot-float 22s ease-in-out infinite reverse;
}

.valueprops-floating-dot:nth-child(8) {
  top: 60%;
  left: 70%;
  animation: valueprops-dot-float 28s ease-in-out infinite;
}

.valueprops-floating-dot:nth-child(9) {
  top: 80%;
  right: 60%;
  animation: valueprops-dot-float 24s ease-in-out infinite reverse;
}

/* ===== VALUE PROPS CONTENT ===== */
.valueprops-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.valueprops-section-title {
  text-align: center;
  font-size: var(--valueprops-title-size);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 50px 0;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 20%, #dbeafe 40%, #bfdbfe 60%, #93c5fd 80%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
  transition: all var(--valueprops-animation-duration) var(--valueprops-animation-easing);
  will-change: filter, transform;
  animation: valueprops-title-shimmer 6s ease-in-out infinite;
  font-family: "Inter", sans-serif;
}

.valueprops-section-container:hover .valueprops-section-title {
  filter: drop-shadow(0 0 35px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 70px rgba(147, 197, 253, 0.4));
  transform: scale(1.03);
}

/* ===== VALUE PROPS GRID ===== */
.valueprops-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--valueprops-grid-gap);
  align-items: end;
  max-width: 1400px;
  width: 100%;
  contain: layout;
}

.valueprops-value-card {
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--valueprops-animation-duration) ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: transform, box-shadow;
  contain: layout style;
}

.valueprops-value-card:hover {
  transform: translateY(var(--valueprops-hover-lift)) scale(var(--valueprops-hover-scale));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Shining Animation */
.valueprops-card-shine {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent 30%, var(--valueprops-shine-color) 50%, transparent 70%);
  transform: translateX(-100%) translateY(-100%);
  animation: valueprops-card-shine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Wave Background Animation */
.valueprops-card-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, var(--valueprops-wave-color) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--valueprops-wave-color) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--valueprops-wave-color) 0%, transparent 50%);
  animation: valueprops-wave-float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Different Heights */
.valueprops-card-tall {
  height: var(--valueprops-card-tall);
}

.valueprops-card-medium {
  height: var(--valueprops-card-medium);
}

.valueprops-card-small {
  height: var(--valueprops-card-small);
}

/* Card Colors with Gradients */
.valueprops-value-card-primary {
  background: var(--valueprops-card-primary-bg);
  color: var(--valueprops-card-primary-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.valueprops-value-card-light {
  background: var(--valueprops-card-light-bg);
  color: var(--valueprops-card-light-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.valueprops-value-card-white {
  background: var(--valueprops-card-white-bg);
  color: var(--valueprops-card-white-color);
  border: 1px solid var(--valueprops-card-white-border);
}

.valueprops-value-number {
  font-size: var(--valueprops-number-size);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
  font-family: "Inter", sans-serif;
  position: relative;
  z-index: 2;
  transition: all var(--valueprops-animation-duration) ease;
  will-change: transform;
}

.valueprops-value-card:hover .valueprops-value-number {
  transform: scale(1.05);
}

.valueprops-value-label {
  font-size: var(--valueprops-label-size);
  line-height: 1.4;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  position: relative;
  z-index: 2;
  transition: all var(--valueprops-animation-duration) ease;
  will-change: transform;
}

.valueprops-value-sublabel {
  font-size: var(--valueprops-sublabel-size);
  opacity: 0.7;
  font-weight: 400;
}

/* Animated Icons */
.valueprops-value-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  opacity: 0.9;
  transition: all var(--valueprops-animation-duration) ease;
  z-index: 2;
  animation: valueprops-icon-float 3s ease-in-out infinite;
  will-change: transform;
}

.valueprops-value-card:hover .valueprops-value-icon {
  transform: scale(1.2) rotate(15deg);
  animation-play-state: paused;
}

/* Icon Colors */
.valueprops-value-card-primary .valueprops-value-icon {
  color: var(--valueprops-icon-primary-color);
}

.valueprops-value-card-light .valueprops-value-icon,
.valueprops-value-card-white .valueprops-value-icon {
  color: var(--valueprops-icon-secondary-color);
}

/* Specific Icon Animations */
.valueprops-gear-icon {
  animation: valueprops-gear-rotate 4s linear infinite;
}

.valueprops-puzzle-icon {
  animation: valueprops-puzzle-bounce 2s ease-in-out infinite;
}

.valueprops-globe-icon {
  animation: valueprops-globe-spin 6s linear infinite;
}

.valueprops-chart-icon {
  animation: valueprops-chart-pulse 2s ease-in-out infinite;
}

.valueprops-target-icon {
  animation: valueprops-target-ping 3s ease-in-out infinite;
}

/* Grid Item Positioning */
.valueprops-grid-item-1 {
  grid-column: 1;
  grid-row: 1;
}

.valueprops-grid-item-2 {
  grid-column: 2;
  grid-row: 1;
}

.valueprops-grid-item-3 {
  grid-column: 3;
  grid-row: 1;
}

.valueprops-grid-item-4 {
  grid-column: 4;
  grid-row: 1;
}

.valueprops-grid-item-5 {
  grid-column: 5;
  grid-row: 1;
}

/* ===== VALUE PROPS ANIMATIONS ===== */
@keyframes valueprops-texture-drift-1 {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-60px) translateY(-60px);
  }
}

@keyframes valueprops-texture-drift-2 {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(30px) translateY(30px) rotate(360deg);
  }
}

@keyframes valueprops-texture-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes valueprops-dot-float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-20px) translateX(15px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) translateX(-20px) scale(0.8);
    opacity: 0.9;
  }
  75% {
    transform: translateY(15px) translateX(10px) scale(1.1);
    opacity: 0.7;
  }
}

@keyframes valueprops-title-shimmer {
  0%,
  100% {
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.7)) drop-shadow(0 0 60px rgba(147, 197, 253, 0.3));
  }
}

@keyframes valueprops-card-shine {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  20%,
  100% {
    transform: translateX(100%) translateY(100%);
  }
}

@keyframes valueprops-wave-float {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.6;
  }
}

@keyframes valueprops-icon-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}

@keyframes valueprops-gear-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes valueprops-puzzle-bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes valueprops-globe-spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes valueprops-chart-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes valueprops-target-ping {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  :root {
    --valueprops-container-width: calc(100% - 250px);
    --valueprops-container-padding: 100px 80px;
    --valueprops-content-min-height: 700px;
    --valueprops-grid-gap: 25px;
    --valueprops-card-tall: 320px;
    --valueprops-card-medium: 240px;
    --valueprops-card-small: 160px;
  }
}

/* Desktop (1200px) */
@media (max-width: 1200px) {
  :root {
    --valueprops-container-width: calc(100% - 150px);
    --valueprops-container-padding: 60px 40px;
    --valueprops-title-size: clamp(2.2rem, 4.5vw, 3.8rem);
    --valueprops-card-tall: 220px;
    --valueprops-card-medium: 160px;
    --valueprops-card-small: 120px;
    --valueprops-grid-gap: 16px;
  }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
  :root {
    --valueprops-section-padding: 0 20px;
    --valueprops-container-width: calc(100% - 80px);
    --valueprops-container-padding: 50px 30px;
    --valueprops-content-min-height: 500px;
    --valueprops-container-radius: 24px;
  }

  .valueprops-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    max-width: 1000px;
  }

  .valueprops-card-tall,
  .valueprops-card-medium,
  .valueprops-card-small {
    height: 160px;
  }

  .valueprops-value-number {
    font-size: 2.5rem;
  }

  .valueprops-value-icon {
    width: 40px;
    height: 40px;
  }
}

/* Mobile Large (768px) */
@media (max-width: 768px) {
  :root {
    --valueprops-section-padding: 0 15px;
    --valueprops-section-height: 100vh;
    --valueprops-container-width: calc(100% - 30px);
    --valueprops-container-padding: 40px 25px;
    --valueprops-container-radius: 20px;
    --valueprops-content-min-height: 450px;
    --valueprops-hover-lift: -4px;
    --valueprops-hover-scale: 1.01;
  }

  .valueprops-section-title {
    font-size: 1.9rem;
    margin-bottom: 25px;
  }

  .valueprops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 8px;
    aspect-ratio: 1;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Grid Item Positioning for Mobile */
  .valueprops-grid-item-1 {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .valueprops-grid-item-2 {
    grid-column: 2 / 4;
    grid-row: 1;
  }

  .valueprops-grid-item-3 {
    grid-column: 2;
    grid-row: 2;
  }

  .valueprops-grid-item-4 {
    grid-column: 3;
    grid-row: 2 / 4;
  }

  .valueprops-grid-item-5 {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .valueprops-value-card {
    padding: 12px;
    height: auto;
    min-height: auto;
    border-radius: 12px;
  }

  .valueprops-value-number {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .valueprops-value-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .valueprops-value-sublabel {
    font-size: 0.65rem;
  }

  .valueprops-value-icon {
    width: 20px;
    height: 20px;
    bottom: 8px;
    right: 8px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  :root {
    --valueprops-section-padding: 10px 10px;
    --valueprops-container-width: calc(100% - 20px);
    --valueprops-container-padding: 30px 20px;
    --valueprops-content-min-height: 400px;
    --valueprops-container-radius: 16px;
  }

  .valueprops-section-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .valueprops-grid {
    max-width: 380px;
    gap: 6px;
  }

  .valueprops-value-card {
    padding: 10px;
  }

  .valueprops-value-number {
    font-size: 1.4rem;
  }

  .valueprops-value-label {
    font-size: 0.7rem;
  }

  .valueprops-value-icon {
    width: 18px;
    height: 18px;
    bottom: 6px;
    right: 6px;
  }
}

/* Mobile Small (360px) */
@media (max-width: 360px) {
  :root {
    --valueprops-container-width: calc(100% - 10px);
    --valueprops-container-padding: 25px 15px;
  }
}

/* ===== REDUCED MOTION & ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .valueprops-texture-layer,
  .valueprops-floating-dot,
  .valueprops-card-shine,
  .valueprops-card-wave-bg,
  .valueprops-value-icon,
  .valueprops-section-title {
    animation: none !important;
  }

  .valueprops-section-container:hover {
    transform: none !important;
  }
}

/* Class-based reduced motion for performance */
.valueprops-reduced-motion .valueprops-texture-layer,
.valueprops-reduced-motion .valueprops-floating-dot,
.valueprops-reduced-motion .valueprops-card-shine,
.valueprops-reduced-motion .valueprops-card-wave-bg,
.valueprops-reduced-motion .valueprops-value-icon,
.valueprops-reduced-motion .valueprops-section-title {
  animation: none !important;
  transition: none !important;
}

.valueprops-reduced-motion .valueprops-card-shine {
  display: none;
}

.valueprops-reduced-motion .valueprops-card-wave-bg {
  opacity: 0.2;
  transform: none !important;
}

.valueprops-reduced-motion .valueprops-section-container:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px var(--valueprops-card-shadow) !important;
}

.valueprops-reduced-motion .valueprops-value-card:hover .valueprops-value-number {
  transform: scale(1.01) !important;
}

.valueprops-reduced-motion .valueprops-value-card:hover .valueprops-value-icon {
  transform: scale(1.05) !important;
  animation-play-state: running !important;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
* {
  will-change: auto;
}

.valueprops-section-container {
  will-change: transform, background-color, box-shadow;
}

.valueprops-section-title:hover {
  will-change: transform, filter;
}

.valueprops-value-card:hover {
  will-change: transform, box-shadow;
}
