/* FPT WiFi Registration Styles with Animations */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #0066cc;
  --accent-color: #ff6b35;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
  --gradient-secondary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --fpt-orange: #ff6b35;
  --fpt-blue: #0066cc;
  --hero-min-h: clamp(520px, 60vh, 760px);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes counter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-slide-in-up {
  animation: slideInUp 0.8s ease-out;
}

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-gradient {
  background: linear-gradient(-45deg, #ff6b35, #e55a2b, #ff8c42, #ff6b35);
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Header Styles */
.header {
  background: var(--secondary-color);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 102, 204, 0.3);
  transition: var(--transition);
}

.header.scrolled {
  background: var(--secondary-color);
  box-shadow: 0 4px 30px rgba(0, 102, 204, 0.4);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.phone-number {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.phone-number:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

/* Speed Title Section */
.speed-title-section {
  background: linear-gradient(135deg, var(--fpt-orange) 0%, var(--fpt-blue) 100%);
  padding: 2rem 0;
  margin-top: 80px; /* Account for fixed header */
  position: relative;
  overflow: hidden;
}

.speed-title-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,.1) 0%, transparent 50%);
  pointer-events: none;
}

.speed-title-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.speed-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.speed-title .title-main {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  animation: fadeInUp 1s ease-out;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: var(--hero-min-h);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;

  /* Layer 1: diagonal orange→blue */
  background:
    linear-gradient(120deg, var(--fpt-orange) 0%, #ff7e52 14%, #ff8c66 23%, #2f7fd6 60%, var(--fpt-blue) 100%);

  /* Subtle vignette to improve readability */
  box-shadow: inset 0 0 160px rgba(0,0,0,.20);
}

/* Layer 2: soft waves */
.hero::before {
  content: "";
  position: absolute; 
  inset: 0;
  background:
    radial-gradient(1200px 600px at -10% 10%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(900px 520px at 110% 30%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(150deg, rgba(255,255,255,.06) 20%, rgba(255,255,255,0) 30%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Layer 3: dot grid */
.hero::after {
  content: "";
  position: absolute; 
  inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(255,255,255,.22) 0 1px, rgba(255,255,255,0) 1px);
  background-size: 14px 14px;
  opacity: .30;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.0), rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,.0));
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-main {
  text-align: center;
}

.hero-actions {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-main {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  animation: fadeInUp 1s ease-out;
}

.title-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.action-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.action-title:last-of-type {
  margin-bottom: 2rem;
}

.decorative-element {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: saturate(140%) blur(2px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Region Selector */
.region-selector {
  background: var(--white);
  padding: 2rem 0;
  box-shadow: var(--shadow-light);
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.region-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.region-content {
  position: relative;
  z-index: 2;
}

.region-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.region-title {
  font-size: 1.4rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.region-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.region-option {
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--dark-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 600;
  border: 2px solid #e1e5e9;
  box-shadow: var(--shadow-light);
  font-size: 1rem;
}

.region-option:hover,
.region-option.active {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-color);
  font-weight: 700;
}

.region-option.active {
  animation: pulse 2s infinite;
  position: relative;
}

.region-option.active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-color);
  border-radius: calc(var(--border-radius) + 2px);
  z-index: -1;
  opacity: 0.3;
  animation: pulse 2s infinite;
  animation-delay: 0.5s;
}

/* Packages Section */
.packages {
  padding: 4rem 0;
  background: var(--light-color);
}

.packages-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Package Card */
.package-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Prevent layout shift */
  display: flex;
  flex-direction: column;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.package-card:hover::before {
  transform: scaleX(1);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.package-card.bestseller {
  border: 2px solid var(--primary-color);
  position: relative;
}

.package-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  animation: pulse 2s infinite;
  z-index: 10;
}

.package-card.bestseller::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  opacity: 0.3;
  pointer-events: none;
}

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

.package-speed {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.package-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.package-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.package-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Registration Section */
.registration-section {
  padding: 4rem 0;
  background: var(--white);
}

.registration-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.registration-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  position: relative;
  overflow: hidden;
}

.registration-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e1e5e9;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Success Section */
.success-icon {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .speed-title {
    font-size: 2rem;
  }
  
  .speed-title-section {
    padding: 1.5rem 0;
    margin-top: 70px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .action-title {
    font-size: 1.4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-actions {
    padding: 1.5rem;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    overflow: hidden;
    position: relative;
    scroll-behavior: smooth;
  }
  
  .packages-grid .package-card {
    min-width: 100%;
    flex-shrink: 0;
    margin-right: 0;
  }
  
  .slider-nav-container {
    position: relative;
    margin-top: 2rem;
    text-align: center;
  }
  
  .slider-nav {
    position: static;
    transform: none;
    display: inline-block;
    margin: 0 0.5rem;
  }
  
  .slider-nav:hover {
    transform: scale(1.1);
  }
  
  .registration-form {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .package-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    top: -8px;
    right: -8px;
  }
  
  .statistics .counter {
    font-size: 2.5rem;
  }
  
  .statistics h3 {
    font-size: 1rem;
  }
  
  .statistics-bg {
    padding: 3rem 0;
  }
}

/* Loading Animation - Only load when needed */
.loading {
  display: none; /* Hidden by default */
}

.loading.show {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Counter Animation */
.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  animation: counter 0.8s ease-out;
}

/* Slider Styles */
.slider-container {
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-item {
  min-width: 100%;
  padding: 0 1rem;
}

.slider-nav-container {
  position: relative;
  margin-top: 2rem;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-nav.prev {
  left: 1rem;
}

.slider-nav.next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* SEO Features */
.seo-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.seo-feature {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.seo-feature h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.seo-feature h3 i {
  margin-right: 0.5rem;
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

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

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 4px;
  background: #e1e5e9;
  border-radius: 2px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  width: 0%;
  transition: width 0.3s ease;
}

/* Statistics Section */
.statistics-bg {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
              radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
  padding: 4rem 0;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.statistics {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.statistics-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(255, 107, 53, 0.1) 0%, 
    rgba(255, 140, 66, 0.1) 50%, 
    rgba(229, 90, 43, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.statistics .packages-content {
  position: relative;
  z-index: 2;
}

.statistics .counter {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
  animation: counter 0.8s ease-out;
}

.statistics h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
}

/* Floating Particles */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 6s infinite linear;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.particle:nth-child(2) {
  left: 30%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.particle:nth-child(3) {
  left: 50%;
  animation-delay: 4s;
  animation-duration: 12s;
}

.particle:nth-child(4) {
  left: 70%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.particle:nth-child(5) {
  left: 90%;
  animation-delay: 3s;
  animation-duration: 11s;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Live Feed Section */
.live-feed {
  background: var(--light-color);
  padding: 3rem 0;
  border-top: 1px solid #e1e5e9;
}

.live-feed-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.live-feed-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--dark-color);
  position: relative;
}

.live-feed-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.registration-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  animation: slideInFromRight 0.6s ease-out;
}

.registration-item:nth-child(1) { animation-delay: 0.1s; }
.registration-item:nth-child(2) { animation-delay: 0.2s; }
.registration-item:nth-child(3) { animation-delay: 0.3s; }
.registration-item:nth-child(4) { animation-delay: 0.4s; }

.registration-item:hover {
  transform: translateX(10px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

.registration-item.new {
  animation: newRegistration 0.8s ease-out;
}

@keyframes newRegistration {
  0% {
    opacity: 0;
    transform: translateX(50px) scale(0.8);
  }
  50% {
    transform: translateX(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.registration-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.registration-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
  opacity: 0.8;
  z-index: -1;
}

.registration-info {
  flex: 1;
}

.registration-name {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.registration-package {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.registration-location {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.registration-location::before {
  content: '📍';
  font-size: 0.7rem;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Live Indicator */
.live-indicator {
  width: 8px;
  height: 8px;
  background: #ff4757;
  border-radius: 50%;
  animation: pulse 2s infinite;
  position: relative;
}

.live-indicator::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: rgba(255, 71, 87, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
  animation-delay: 0.5s;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  margin: 0 auto;
  padding: 3rem;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-heavy);
  animation: slideInUp 0.4s ease-out;
  transform: scale(0.9);
  opacity: 0;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  transition: var(--transition);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
}

.close:hover {
  color: var(--dark-color);
  background: #e9ecef;
  transform: scale(1.1);
}

.modal .success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

.modal h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.modal p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal p:last-of-type {
  margin-bottom: 2rem;
}

.modal p strong {
  color: var(--primary-color);
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left: 4px solid var(--primary-color);
}

.notification.error {
  border-left: 4px solid #dc3545;
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
