/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  overflow-x: hidden;
  background: #0a0a0a;
}

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

/* ===== FLOATING PARTICLES ===== */
.particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== STATUS NOTIFICATION ===== */
#aiStatus {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: none;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { transform: translateX(400px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #a8edea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
  line-height: 1.2;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s backwards;
  max-width: 700px;
  line-height: 1.6;
}

/* ===== CTA BUTTON ===== */
.cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 18px 48px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  animation: fadeInUp 1s ease 0.4s backwards;
  position: relative;
  overflow: hidden;
}

.cta::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.5s;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

.cta:active {
  transform: translateY(-1px);
}

/* ===== FEATURES GRID ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 80px 0;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 18px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: default;
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

/* ===== CONTENT SECTIONS ===== */
.content-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 40px;
  padding: 60px 40px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}

.section:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
}

.section h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 20px;
  color: #a8edea;
}

.section p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.9;
}

/* ===== PRICE SECTION ===== */
.price-box {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-radius: 24px;
  margin: 80px 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.price {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.price-note {
  font-size: 18px;
  opacity: 0.8;
}

/* ===== ADMIN DASHBOARD ===== */
#adminDashboard {
  margin-top: 80px;
  padding: 40px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

#adminDashboard h2 {
  color: #a8edea;
  margin-bottom: 30px;
  font-size: 32px;
}

#adminDashboard p {
  font-size: 20px;
  margin: 16px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

#adminDashboard span {
  color: #00f2fe;
  font-weight: 700;
  font-size: 24px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-20px); }
  60% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator::before {
  content: '↓';
  font-size: 32px;
  opacity: 0.7;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PULSE ANIMATION (ADDED BY JS) ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .section {
    padding: 30px 20px;
  }

  #adminDashboard {
    padding: 30px 20px;
  }

  .features {
    gap: 20px;
  }
}