/* Statistics & Revolution Sections Styles */

/* Common Styles */
.stat-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.title-underline {
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

/* Statistics Section */
.statistics-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  margin-top: 15%;
}

.statistics-wrapper {
  position: relative;
  z-index: 2;
}

.stats-row {
  position: relative;
}

.stat-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.stat-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(56, 189, 248, 0.1);
  border-radius: 50%;
  transform: scale(0);
}

.stat-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: #38bdf8;
  opacity: 0;
}

.stat-content {
  text-align: center;
}

.stat-value-wrapper {
  position: relative;
  height: 60px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-section-value {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  opacity: 0;
}

.stat-section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
}

.stat-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
}

.decoration-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0284c7);
}

.decoration-dot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  transform: translateY(6px);
}

/* Revolution Section */
.revolution-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.revolution-wrapper {
  position: relative;
  z-index: 2;
}

.revolution-image-container {
  position: relative;
  height: 400px;
  opacity: 0;
  transform: translateX(-30px);
}

.main-device {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 220px;
  z-index: 3;
}

.device-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
}

.screen-logo {
  width: 60%;
  opacity: 0;
  transform: scale(0.8);
}

.device-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 5px solid #333;
  border-radius: 12px;
  background: rgb(24, 21, 21);
  z-index: -1;
}

.device-stand {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 40px;
  background: linear-gradient(to bottom, #333, #555);
  border-radius: 0 0 10px 10px;
}

.payment-terminal {
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 100px;
  height: 170px;
  z-index: 2;
  transform: rotate(-10deg) translateY(50px);
  opacity: 0;
}

.terminal-body {
  width: 100%;
  height: 100%;
  background-color: #333;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.terminal-screen {
  width: 100%;
  height: 40px;
  background-color: #4a4a4a;
  border-radius: 5px;
  margin-bottom: 10px;
}

.terminal-keypad {
  width: 100%;
}

.keypad-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.key {
  width: 20px;
  height: 20px;
  background-color: #666;
  border-radius: 3px;
}

.key.red {
  background-color: #e74c3c;
}

.key.green {
  background-color: #2ecc71;
}

.mobile-device {
  position: absolute;
  bottom: 30px;
  right: 20px;
  width: 80px;
  height: 140px;
  background-color: #222;
  border-radius: 10px;
  padding: 5px;
  z-index: 2;
  transform: rotate(10deg) translateY(50px);
  opacity: 0;
}

.mobile-screen {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  padding: 5px;
}

.mobile-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stats-credit-card {
  width: 90%;
  height: 35px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
  position: relative;
}

.card-chip {
  width: 10px;
  height: 8px;
  background-color: #f1c40f;
  border-radius: 2px;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

.card-number,
.card-name {
  font-size: 3px;
  color: #fff;
  text-align: left;
}

.pay-button {
  width: 40px;
  height: 20px;
  background-color: #38bdf8;
  color: #fff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
}

.coffee-cup {
  position: absolute;
  bottom: 60%;
  right: -20px;
  width: 60px;
  height: 60px;
  z-index: 1;
  transform: rotate(15deg) translateY(50px);
  opacity: 0;
}

.cup-body {
  position: relative;
  width: 40px;
  height: 30px;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
}

.cup-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #f5f5f5;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.coffee {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #8b4513;
}

.cup-handle {
  position: absolute;
  top: 5px;
  right: -10px;
  width: 10px;
  height: 15px;
  border: 3px solid #fff;
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.cup-saucer {
  position: absolute;
  bottom: -5px;
  left: -5px;
  width: 50px;
  height: 5px;
  background-color: #f5f5f5;
  border-radius: 50%;
}

.world-map-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/world-map.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  opacity: 0;
}

.particle-1 {
  top: 20%;
  left: 30%;
}

.particle-2 {
  top: 40%;
  left: 70%;
}

.particle-3 {
  top: 60%;
  left: 20%;
}

.particle-4 {
  top: 30%;
  left: 80%;
}

.particle-5 {
  top: 70%;
  left: 40%;
}

.particle-6 {
  top: 50%;
  left: 60%;
}

.stats-revolution-content {
  padding: 20px;
  opacity: 0;
  transform: translateX(30px);
}

.stats-revolution-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.stats-revolution-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
  margin-bottom: 2rem;
}

.quote-container {
  padding: 20px 30px;
  background-color: #f8f9fa;
  border-left: 4px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

.quote-mark {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 3rem;
  color: rgba(56, 189, 248, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #495057;
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  text-align: right;
}

.cta-container {
  display: flex;
  gap: 15px;
  margin-top: 2rem;
}

.btn {
  padding: 12px 25px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #38bdf8;
  border-color: #38bdf8;
  color: #fff;
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #0284c7;
  border-color: #0284c7;
}

.btn-outline-primary:hover {
  background-color: rgba(56, 189, 248, 0.1);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s forwards;
}

.slide-up {
  animation: slideUp 0.8s forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s forwards;
}

.scale-in {
  animation: scaleIn 0.8s forwards;
}
