/* Modern Tech Design System - Cyan/Violet Theme - Checkout Page */

/* ========== GLOBAL STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0B132B, #111827);
  color: #d1d5db;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 224, 255, 0.2);
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(10px);
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #00E0FF, #7A5FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Language Toggle */
.lang-switch {
  display: flex;
  gap: 0.5rem;
}

.lang-switch button {
  background: transparent;
  border: 1px solid rgba(0, 224, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #00E0FF;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 40px;
}

.lang-switch button.active {
  background: #00E0FF;
  color: #0B132B;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}

.lang-switch button:hover:not(.active) {
  background: rgba(0, 224, 255, 0.1);
  border-color: #00E0FF;
}

/* ========== CHECKOUT WRAPPER ========== */
.checkout-wrapper {
  flex-grow: 1;
  padding: 3rem 2rem;
}

.checkout-container {
  max-width: 700px;
  margin: 0 auto;
}

/* ========== CHECKOUT HERO ========== */
.checkout-hero {
  background: rgba(17, 24, 39, 0.6);
  border: 2px solid rgba(0, 224, 255, 0.3);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.checkout-headline {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00E0FF, #7A5FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.checkout-subheadline {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Countdown Timer */
.countdown-timer {
  background: rgba(0, 224, 255, 0.05);
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #d1d5db;
}

.timer-value {
  font-weight: 800;
  font-size: 1.5rem;
  color: #00E0FF;
}

.timer-value.urgent {
  animation: pulse 1s infinite;
  color: #ef4444;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

/* ========== VALUE STACK BOX ========== */
.value-stack-box {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 224, 255, 0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.value-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00E0FF;
  margin-bottom: 1.5rem;
  text-align: center;
}

.value-list {
  margin-bottom: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: #F9FAFB;
  line-height: 2;
}

.value-item.highlighted {
  color: #00E0FF;
  font-weight: 600;
}

.check {
  color: #00E0FF;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.price-comparison {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2rem;
}

.old-price {
  text-decoration: line-through;
  color: #6b7280;
  font-size: 1.5rem;
}

.arrow {
  color: #00E0FF;
  font-size: 2rem;
}

.new-price {
  color: #00E0FF;
  font-size: 2.5rem;
}

/* ========== PAYMENT SECTION ========== */
.payment-section {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 224, 255, 0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

/* Buttons */
.btn {
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  text-align: center;
  text-decoration: none;
}

.btn-checkout {
  background: linear-gradient(135deg, #00E0FF, #00B8D4);
  color: #0B132B;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.5);
}

.btn-checkout:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.7);
}

.btn:active {
  transform: scale(0.98);
}

/* Trust Section */
.trust-section {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #9ca3af;
}

.trust-row {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.separator {
  color: #6b7280;
}

/* Payment Badges */
.payment-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.payment-badges img {
  height: 30px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.2s ease;
}

.payment-badges img:hover {
  filter: grayscale(50%) brightness(1);
  transform: scale(1.05);
}

/* ========== TESTIMONIAL STRIPE ========== */
.testimonial-stripe {
  background: rgba(0, 224, 255, 0.05);
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #F9FAFB;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.testimonial-attribution {
  font-size: 0.95rem;
  color: #9ca3af;
  font-weight: 600;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 224, 255, 0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.faq-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: #00E0FF;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 224, 255, 0.2);
  text-align: left;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: #F9FAFB;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* ========== MOBILE STICKY CTA ========== */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  border-top: 2px solid rgba(0, 224, 255, 0.3);
  display: none;
}

.sticky-mobile-cta .btn {
  margin: 0;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 224, 255, 0.2);
  background: rgba(11, 19, 43, 0.8);
  margin-top: auto;
}

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

/* ========== ACCESSIBILITY ========== */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #00E0FF;
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 1024px) {
  .checkout-headline {
    font-size: 1.75rem;
  }

  .new-price {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Show sticky CTA on mobile */
  .sticky-mobile-cta {
    display: block;
  }

  header {
    padding: 1rem;
  }

  .logo {
    font-size: 1rem;
  }

  .checkout-wrapper {
    padding: 2rem 1.5rem 5rem;
  }

  .checkout-hero {
    padding: 2rem 1.5rem;
  }

  .checkout-headline {
    font-size: 1.5rem;
  }

  .checkout-subheadline {
    font-size: 1rem;
  }

  .countdown-timer {
    font-size: 1rem;
  }

  .timer-value {
    font-size: 1.3rem;
  }

  .value-stack-box,
  .payment-section,
  .faq-section {
    padding: 2rem 1.5rem;
  }

  .price-comparison {
    font-size: 1.5rem;
  }

  .old-price {
    font-size: 1.2rem;
  }

  .new-price {
    font-size: 2rem;
  }

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

  .testimonial-quote {
    font-size: 1.1rem;
  }

  /* Touch target enhancement */
  .lang-switch button {
    padding: 0.6rem 1rem;
    min-width: 44px;
  }
}

@media (max-width: 480px) {
  .checkout-headline {
    font-size: 1.3rem;
  }

  .checkout-subheadline {
    font-size: 0.95rem;
  }

  .value-heading {
    font-size: 1.3rem;
  }

  .faq-heading {
    font-size: 1.5rem;
  }

  .price-comparison {
    font-size: 1.3rem;
  }

  .new-price {
    font-size: 1.75rem;
  }
}
