/* Luxury Typography System */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

/* Global Typography Reset */
* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Luxury Heading Typography */
h1,
h2,
h3,
.hero-title,
.section-title,
.transformation-title,
.solution-title {
  /* font-family: 'Playfair Display', Georgia, serif; */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Elegant Subheadings */
h4,
h5,
h6,
.features-title,
.performance-title,
.stat-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Body Text - Clean & Modern */
p,
.solution-description,
.transformation-description,
.insight-line {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
}

/* Luxury Numbers & Stats */
.stat-number,
.metric-value {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Premium Labels & Tags */
.badge-text,
.stat-detail,
.metric-label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Design Improvements Section Styles */
.improvements-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff1493, #9400d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
}

/* Performance Overview Styles */
.performance-overview {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 40px 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.performance-title {
  font-size: 1.8rem;
  font-weight: 600 !important;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.performance-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
}

.performance-metric {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 16px;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.performance-metric:hover {
  transform: translateY(-5px);
}

.metric-icon-wrapper {
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon {
  color: #6c757d;
  font-size: 24px;
  font-weight: 300;
}

.metric-content {
  text-align: center;
  margin-bottom: 20px;
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #28a745, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

/* Simplified Stats for Version Cards */
.stats-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.simple-stat {
  text-align: center;
  padding: 15px;
  background: rgba(248, 249, 250, 0.5);
  border-radius: 8px;
  min-width: 120px;
}

.simple-stat .stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2c3e50;
}

.simple-stat .stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value.positive {
  color: #2c3e50 !important;
}

.stat-value.negative {
  color: #dc3545;
}

.metric-description {
  display: block;
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
}

/* Progress Bar Styles */
.metric-progress {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 15px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 3px;
  transition: width 2s ease-in-out;
  width: 0%;
  animation: progressAnimation 2s ease-in-out forwards;
}

.progress-bar.bounce-rate {
  background: linear-gradient(90deg, #dc3545, #fd7e14);
}

@keyframes progressAnimation {
  from {
    width: 0%;
  }

  to {
    width: var(--progress-width, 100%);
  }
}

/* Version Cards Styles */
.version-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  padding: 24px;
}

.version-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.15);
}

.card-header {
  background: transparent;
  margin-bottom: 8px !important;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.card-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-before {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: white;
}

.badge-after {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

/* Image Container Styles */
.image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Conversion Rate Breakthrough Styles */
.conversion-breakthrough {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.breakthrough-container {
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: white;
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.breakthrough-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.breakthrough-header {
  margin-bottom: 30px;
}

.breakthrough-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
  opacity: 0.9;
}

.breakthrough-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.stat-before,
.stat-after {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.stat-symbol {
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.8;
  color: white;
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(62, 62, 62);
}

.stat-arrow {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.stat-arrow .material-icons-outlined {
  font-size: 24px;
}

.breakthrough-improvement {
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.improvement-text {
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0.95;
}

.breakthrough-badge {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.badge-icon {
  font-size: 18px;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Improvements Summary Styles */
.improvements-summary {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Floating Bubbles Background */
.floating-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  filter: blur(1px);
  animation: float 15s infinite ease-in-out;
}

.bubble-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.bubble-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 20%;
  animation-delay: 5s;
  animation-duration: 18s;
}

.bubble-3 {
  width: 40px;
  height: 40px;
  top: 30%;
  right: 10%;
  animation-delay: 10s;
  animation-duration: 22s;
}

.bubble-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 10%;
  animation-delay: 15s;
  animation-duration: 25s;
}

.bubble-5 {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 60%;
  animation-delay: 8s;
  animation-duration: 16s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.3;
  }

  25% {
    transform: translateY(-20px) translateX(10px) scale(1.1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-10px) translateX(-15px) scale(0.9);
    opacity: 0.4;
  }

  75% {
    transform: translateY(-30px) translateX(5px) scale(1.05);
    opacity: 0.6;
  }
}

.improvements-summary h3 {
  position: relative;
  z-index: 2;
}

.improvement-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.improvement-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
}

.improvement-icon {
  color: #2c3e50;
  font-size: 24px;
  margin-right: 15px;
  margin-top: 5px;
}

.improvement-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.improvement-content p {
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Key Solutions Delivered Section */
.solutions-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.solution-item {
  margin-bottom: 80px;
}

.solution-content {
  padding: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff1493, #9400d3);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.solution-badge .material-icons-outlined {
  font-size: 16px;
}

.solution-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.solution-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 30px;
}

.key-features {
  margin-top: 30px;
}

.features-title {
  font-size: 1.2rem;
  font-weight: 600 !important;
  color: #2c3e50;
  margin-bottom: 15px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 8px 0;
}

.feature-icon {
  color: #ff1493;
  font-weight: bold;
  margin-right: 12px;
  margin-top: 2px;
  font-size: 1.2rem;
}

.feature-text {
  color: #495057;
  font-size: 1rem;
  line-height: 1.5;
}

.solution-image {
  text-align: center;
  padding: 20px;
}

.solution-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0);
  transition: transform 0.3s ease;
}

.solution-image img:hover {
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .performance-metric {
    margin-bottom: 20px;
  }

  .metric-value {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .performance-title {
    font-size: 1.5rem;
  }

  .solution-title {
    font-size: 1.8rem;
  }

  .solution-content {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .solution-image {
    padding: 10px;
  }
}

/* Digital Transformation Section */
.digital-transformation-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.digital-transformation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 20, 147, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.transformation-content {
  position: relative;
  z-index: 2;
}

.transformation-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ff1493, #8a2be2, #00ced1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.transformation-description {
  font-size: 1.2rem;
  color: #b8c5d6;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 20, 147, 0.3);
  box-shadow: 0 20px 40px rgba(255, 20, 147, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}

.stat-decoration {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff1493, #8a2be2);
  border-radius: 2px;
  opacity: 0.7;
}

/* Responsive Design for Digital Transformation */
@media (max-width: 768px) {
  .transformation-title {
    font-size: 2.2rem;
  }

  .transformation-description {
    font-size: 1.1rem;
  }

  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .stat-card {
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .digital-transformation-section {
    padding: 60px 0;
  }
}
