:root{
  --primary:#ff5e7e;          /* warm pink CTA */
  --accent:#ffb703;          /* highlight */
  --dark:#1a1a1a;
  --light:#ffffff;
  --gradient-primary: linear-gradient(135deg, #ff5e7e 0%, #ff8a80 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:"Poppins",sans-serif;
  color:var(--dark);
  background:var(--light);
  line-height:1.6;
}

header{
  min-height:95vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
}

.video-background{
  position:absolute;
  top:50%;
  left:50%;
  min-width:100%;
  min-height:100%;
  width:auto;
  height:auto;
  transform:translateX(-50%) translateY(-50%);
  z-index:0;
  object-fit:cover;
}

header::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1;
}

.hero{
  position:relative;
  max-width:700px;
  padding:1rem 2rem;
  color:#fff;
  z-index:2;
  text-align:center;
}

.hero img {
  width: 180px;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.hero h1{
  font-size:3rem;
  font-weight:700;
  margin-bottom:1rem;
}

.hero p{
  font-size:1.2rem;
  margin-bottom:2rem;
}

.btn{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:1rem 2.5rem;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.btn:hover{
  transform:scale(1.05);
  box-shadow:0 5px 15px rgba(255,94,126,0.4);
}

.btn::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(255,255,255,0.2);
  transform:translateX(-100%);
  transition:transform 0.6s ease;
}

.btn:hover::after{
  transform:translateX(100%);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255,94,126,0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255,94,126,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,94,126,0);
  }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

.btn-shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

section{
  padding:4rem 1.5rem;
  max-width:1100px;
  margin:auto;
}

h2{
  font-size:2rem;
  margin-bottom:1.5rem;
  color:var(--primary);
}

.grid{
  display:grid;
  gap:2rem;
}

.two{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

ul{
  list-style:none;
}

ul li{
  margin-bottom:.75rem;
  position:relative;
  padding-left:1.5rem;
}

ul li::before{
  content:"✔";
  color:var(--accent);
  position:absolute;
  left:0;
}

.price{
  font-size:2.5rem;
  font-weight:700;
  color:var(--accent);
  margin:1rem 0 2rem;
}

.dates span{
  display:inline-block;
  background:var(--accent);
  color:#000;
  padding:.3rem .8rem;
  border-radius:4px;
  margin:.25rem .4rem .25rem 0;
  font-size:.95rem;
}

.testimonial{
  background:#f9f9f9;
  border-left:4px solid var(--primary);
  padding:1rem 1.5rem;
  border-radius:6px;
  font-size:.95rem;
}

footer{
  background:var(--dark);
  color:#bbb;
  text-align:center;
  padding:2rem 1rem;
  font-size:.85rem;
}

/* Critical Mobile-First CSS Optimizations for Bali Girls Trip */

/* 1. Enhanced Mobile Video Handling */
.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  /* Mobile optimization */
  will-change: transform;
  backface-visibility: hidden;
}

/* Mobile-first: Use static image instead of video on small screens */
@media (max-width: 768px) {
  .video-background {
    display: none;
  }
  
  header {
    background-image: url('img/hero-bali-girls-mobile.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Better mobile performance */
    min-height: 100vh;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive sizing */
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero img {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1rem;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2rem);
  }
  
  .hero img {
    width: 140px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  header {
    min-height: 100vh;
  }
}

/* 2. Improved Touch Targets and Interactions */
.btn, .cta-btn, .faq-item {
  min-height: 44px; /* Apple/Google recommended minimum */
  min-width: 44px;
  touch-action: manipulation; /* Prevent double-tap zoom */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Enhanced mobile button styles */
@media (max-width: 768px) {
  .btn {
    padding: 1.2rem 2rem; /* Larger padding for easier tapping */
    font-size: 1.1rem;
    border-radius: 8px; /* Slightly less rounded for mobile */
  }
  
  .cta-btn {
    padding: 1.3rem 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
  }
}

/* 3. Optimized FAQ for Mobile Performance */
.faq-container {
  display: grid;
  gap: 1rem; /* Reduced gap for mobile */
}

@media (max-width: 768px) {
  .faq-item {
    /* Simplified styles for better performance */
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease; /* Faster transitions */
  }
  
  .faq-item:active {
    transform: none; /* Remove transform on mobile for better performance */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .faq-question {
    padding: 1.2rem;
    min-height: 60px; /* Ensure adequate touch area */
  }
  
  .faq-answer {
    /* Optimized animation for mobile */
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* 4. Performance-Optimized Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
  /* Use subgrid where supported for better performance */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1rem;
  }
  
  .two {
    grid-template-columns: 1fr; /* Override two-column layout */
  }
}

/* 5. Optimized Image Handling */
img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Performance optimizations */
  loading: lazy;
  decoding: async;
}

/* 6. Enhanced Typography for Mobile Readability */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Prevent iOS zoom */
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }
  
  h1 {
    font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive sizing */
    line-height: 1.2;
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.3;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
}

/* 7. Optimized Animation Performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile-optimized animations */
@media (max-width: 768px) {
  .fade-in,
  .scale-in,
  .slide-in-left,
  .slide-in-right {
    transition-duration: 0.3s; /* Faster transitions for mobile */
  }
  
  /* Disable complex animations on mobile for performance */
  .floating-element {
    animation: none;
  }
  
  .btn-pulse {
    animation: none; /* Remove pulse on mobile */
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Image Fixes */
.testimonial img {
  width: 100% !important;
  height: auto !important;
  max-width: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

.grid img {
  width: 100% !important;
  height: auto !important;
  max-width: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: block;
}

.grid img:hover {
  transform: scale(1.05);
}

/* Ensure proper image sizing in all contexts */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Simple, reliable FAQ Section */
.faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem 1rem 2rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.faq-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 1rem;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: white;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e0e0;
  outline: none;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.faq-item:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 126, 0.2);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(255, 94, 126, 0.2);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
  margin-right: 1rem;
  line-height: 1.4;
}

.faq-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-icon i {
  font-size: 1rem;
  color: white;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  background: #e91e63;
  transform: rotate(45deg);
}

.faq-answer {
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Display will be controlled by JavaScript */
}

.faq-answer-content {
  padding: 1.5rem 2rem;
}

.faq-answer-content p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* 8. Enhanced Payment Section Mobile Optimization */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1rem 1rem 1rem;
  }
  
  .faq-header {
    margin-bottom: 2rem;
  }
  
  .faq-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  
  .faq-subtitle {
    font-size: 1rem;
  }
  
  .faq-question {
    padding: 1.5rem;
    min-height: 60px; /* Ensure touch target is large enough */
  }
  
  .faq-question-text {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .faq-icon {
    width: 40px;
    height: 40px;
    min-width: 40px; /* Prevent shrinking */
  }
  
  .faq-icon i {
    font-size: 1rem;
  }
  
  .faq-answer-content {
    padding: 1.5rem;
  }
  
  .faq-answer-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Improve touch targets */
  .faq-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .faq-item:active {
    transform: none; /* Remove any transform on active state */
  }
  
  .payment-container { 
    margin: 1rem;
    border-radius: 16px;
  }
  
  .payment-header { 
    padding: 2rem 1.5rem 1.5rem; 
  }
  
  .payment-title { 
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .price-display {
    margin: 1.5rem 1rem;
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .price-amount { 
    font-size: 2.5rem; 
  }
  
  .trust-badges { 
    grid-template-columns: 1fr; 
    gap: 1rem;
    padding: 0 1rem 1.5rem; 
  }
  
  .payment-methods, .price-display { 
    margin: 1rem; 
  }
  
  .cta-buttons { 
    flex-direction: column; 
    gap: 1rem;
    padding: 1.5rem 1rem; 
  }
  
  .cta-btn { 
    min-width: auto; 
    font-size: 0.85rem;
  }
  
  .payment-icons { 
    gap: 1rem; 
  }
  
  .payment-icon { 
    width: 50px; 
    height: 35px; 
    font-size: 1.5rem; 
  }
}

/* Enhanced Payment Section */
.payment-container {
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  margin: 2rem auto;
}

.payment-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

.payment-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  position: relative;
  overflow: hidden;
}

.payment-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 94, 126, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(255, 94, 126, 0.3);
  animation: pulse-glow 2s ease-in-out infinite alternate;
  position: relative;
  z-index: 1;
}

@keyframes pulse-glow {
  from { box-shadow: 0 10px 30px rgba(255, 94, 126, 0.3); }
  to { box-shadow: 0 15px 40px rgba(255, 94, 126, 0.5); }
}

.lock-icon i {
  font-size: 2rem;
  color: white;
}

.payment-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.payment-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.price-display {
  background: var(--gradient-accent);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
  transform: perspective(1000px) rotateX(5deg);
  transition: transform 0.3s ease;
}

.price-display:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price-detail {
  font-size: 1rem;
  opacity: 0.9;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s ease;
}

.trust-badge:hover::before {
  left: 100%;
}

.trust-badge:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-badge:nth-child(1) .trust-badge-icon {
  background: linear-gradient(135deg, #2a9d8f, #21b3a6);
  color: white;
}

.trust-badge:nth-child(2) .trust-badge-icon {
  background: linear-gradient(135deg, #e9c46a, #f4a261);
  color: white;
}

.trust-badge:nth-child(3) .trust-badge-icon {
  background: linear-gradient(135deg, #e76f51, #f4a261);
  color: white;
}

.trust-badge-text {
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

/* Desktop-specific: Slightly smaller trust badge text */
@media (min-width: 769px) {
  .trust-badge-text {
    font-size: 0.9rem;
  }
}

.payment-methods {
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  border-radius: 15px;
  margin: 2rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.payment-methods-title {
  text-align: center;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
}

.payment-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.payment-icon:hover::before {
  opacity: 0.1;
}

.payment-icon i {
  position: relative;
  z-index: 1;
}

.visa { color: #1a1f71; }
.mastercard { color: #eb001b; }
.amex { color: #2e77bb; }
.discover { color: #ff6000; }
.paypal { color: #003087; }
.apple-pay { color: #000; }
.google-pay { color: #4285F4; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.cta-btn {
  flex: 1;
  min-width: 250px;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 94, 126, 0.3);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 94, 126, 0.4);
}

.cta-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.cta-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.security-note {
  text-align: center;
  padding: 1rem 2rem 2rem;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.security-note i {
  color: #2a9d8f;
}

/* Enhanced Countdown Timer Styles */
.countdown-container {
  position: relative;
  background: var(--gradient-primary);
  padding: 4rem 2rem;
  margin: 4rem 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.countdown-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.3;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg); 
    opacity: 0.6;
  }
}

.countdown-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.countdown-header {
  margin-bottom: 3rem;
}

.countdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

.countdown-icon i {
  font-size: 2rem;
  color: white;
}

.countdown-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  min-width: 120px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.countdown-unit:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  font-weight: 600;
}

.countdown-separator {
  font-size: 2.5rem;
  font-weight: 700;
  opacity: 0.6;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 0.6; }
  51%, 100% { opacity: 0.2; }
}

.countdown-urgency {
  margin: 2rem 0;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  animation: urgent-pulse 2s ease-in-out infinite;
}

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

.urgency-badge i {
  color: #FFD700;
  animation: fire-flicker 1.5s ease-in-out infinite alternate;
}

@keyframes fire-flicker {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.countdown-cta {
  margin: 3rem 0 2rem;
}

.countdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: var(--primary);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.countdown-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.countdown-btn:hover .btn-shine {
  left: 100%;
}

.countdown-trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

.trust-item i {
  color: #FFD700;
}

/* 9. Countdown Timer Mobile Optimization */
@media (max-width: 768px) {
  .countdown-container {
    padding: 2.5rem 1rem;
    margin: 1.5rem 0;
  }
  
  .countdown-title {
    font-size: 2rem;
  }
  
  .countdown-display {
    flex-direction: column;
    gap: 1rem;
  }
  
  .countdown-unit {
    min-width: 200px;
    padding: 1.2rem 1rem;
  }
  
  .countdown-number {
    font-size: 2.5rem;
  }
  
  .countdown-label {
    font-size: 0.8rem;
  }
  
  .countdown-separator {
    display: none;
  }
  
  .countdown-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .countdown-trust {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
}

/* Loading Animation */
.countdown-container.loading {
  animation: containerPulse 1.5s ease-in-out infinite;
}

@keyframes containerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Enhanced Guarantee Section */
.guarantee-container {
  position: relative;
  background: linear-gradient(135deg, #fff7f8 0%, #ffeef1 100%);
  padding: 5rem 2rem;
  margin: 4rem 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.guarantee-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.guarantee-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 94, 126, 0.1), rgba(255, 138, 128, 0.1));
  animation: float-guarantee 8s ease-in-out infinite;
}

.guarantee-shape-1 {
  width: 200px;
  height: 200px;
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.guarantee-shape-2 {
  width: 150px;
  height: 150px;
  bottom: -5%;
  left: -5%;
  animation-delay: 3s;
}

.guarantee-shape-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 10%;
  animation-delay: 6s;
}

@keyframes float-guarantee {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.3;
  }
  50% { 
    transform: translateY(-30px) rotate(180deg); 
    opacity: 0.6;
  }
}

.guarantee-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.guarantee-header {
  margin-bottom: 4rem;
}

.guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: 0 15px 40px rgba(255, 94, 126, 0.3);
  animation: pulse-glow 3s ease-in-out infinite;
  position: relative;
}

.guarantee-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 94, 126, 0.3), transparent);
  animation: rotate 4s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.guarantee-icon i {
  font-size: 2.5rem;
  color: white;
}

.guarantee-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(255, 94, 126, 0.2);
}

.guarantee-subtitle {
  font-size: 1.3rem;
  color: #666;
  opacity: 0.8;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.guarantee-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 94, 126, 0.1), transparent);
  transition: left 0.8s ease;
}

.guarantee-card:hover::before {
  left: 100%;
}

.guarantee-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(255, 94, 126, 0.2);
}

.guarantee-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
  transition: all 0.3s ease;
}

.guarantee-card:hover .guarantee-card-icon {
  transform: scale(1.1) rotate(10deg);
}

.guarantee-card-icon i {
  font-size: 1.8rem;
  color: white;
}

.guarantee-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.guarantee-card-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 94, 126, 0.3);
}

.guarantee-cta {
  margin: 4rem 0 3rem;
}

.guarantee-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem 3.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(255, 94, 126, 0.4);
  border: 2px solid transparent;
}

.guarantee-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 94, 126, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.guarantee-btn:hover .btn-shine {
  left: 100%;
}

.guarantee-trust {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 94, 126, 0.2);
  transition: all 0.3s ease;
}

.trust-indicator:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.trust-indicator i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* 10. Guarantee Section Mobile Optimization */
@media (max-width: 768px) {
  .guarantee-container {
    padding: 3rem 1rem;
    margin: 2rem 0;
  }
  
  .guarantee-title {
    font-size: 2.2rem;
  }
  
  .guarantee-subtitle {
    font-size: 1.1rem;
  }
  
  .guarantee-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
  }
  
  .guarantee-card {
    padding: 2rem 1.5rem;
  }
  
  .guarantee-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
  }
  
  .guarantee-trust {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }
  
  .trust-indicator {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .guarantee-header {
    margin-bottom: 3rem;
  }
  
  .guarantee-icon {
    width: 80px;
    height: 80px;
  }
  
  .guarantee-icon i {
    font-size: 2rem;
  }
  
  .guarantee-card-icon {
    width: 60px;
    height: 60px;
  }
  
  .guarantee-card-icon i {
    font-size: 1.5rem;
  }
  
  .guarantee-card-title {
    font-size: 1.3rem;
  }
  
  .guarantee-card-text {
    font-size: 1rem;
  }
}

/* Loading Animation */
.guarantee-container.loading {
  animation: containerPulse 1.5s ease-in-out infinite;
}

@keyframes containerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

/* 11. Improved Focus States for Accessibility */
.btn:focus,
.cta-btn:focus,
.faq-item:focus {
  outline: 3px solid rgba(255, 94, 126, 0.6);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 94, 126, 0.2);
}

/* Accessibility */
.guarantee-card:focus-within {
  outline: 3px solid rgba(255, 94, 126, 0.5);
  outline-offset: 3px;
}

.guarantee-btn:focus {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* 12. Container Query Support (Progressive Enhancement) */
@supports (container-type: inline-size) {
  .payment-container {
    container-type: inline-size;
  }
  
  @container (max-width: 500px) {
    .trust-badges {
      grid-template-columns: 1fr;
    }
  }
}

/* 13. Critical CSS Loading Optimization */
/* Above-the-fold critical styles */
.hero {
  position: relative;
  max-width: 700px;
  padding: 1rem 1.5rem;
  color: #fff;
  z-index: 2;
  text-align: center;
  /* Critical styles inlined */
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem;
    max-width: 100%;
  }
}

/* 14. Performance Monitoring Hooks */
.perf-mark {
  /* Invisible elements for performance measurement */
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 15. Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .video-background {
    animation: none;
  }
  
  .floating-element {
    animation: none;
  }
  
  .btn-pulse {
    animation: none;
  }
}

/* 16. Dark Mode Support (Progressive Enhancement) */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #ff6b8a;
    --accent: #ffc947;
    --dark: #ffffff;
    --light: #1a1a1a;
  }
  
  body {
    background: var(--light);
    color: var(--dark);
  }
  
  .faq-item {
    background: #2a2a2a;
    border-color: #404040;
  }
}

/* 17. Print Styles */
@media print {
  .video-background,
  .floating-element,
  .countdown-container {
    display: none;
  }
  
  .hero {
    color: #000;
  }
  
  .btn {
    border: 2px solid #000;
    background: transparent;
    color: #000;
  }
}