/* Adgenix AI Vault — Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --dark: #0a0a0f;
  --card: #12121a;
  --card-hover: #1a1a2e;
  --border: #1e1e2e;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Sticky Header */
.sticky-header {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-2 {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
}
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
}
.btn-lg { padding: 18px 40px; font-size: 1.15rem; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 12px 40px rgba(139,92,246,0.12);
}

/* Product Card Image Placeholder */
.card-img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 16px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue { background: rgba(59,130,246,0.15); color: var(--blue); }
.badge-purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.badge-green { background: rgba(16,185,129,0.15); color: #10b981; }

/* Glow ring */
.glow-ring {
  position: relative;
}
.glow-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: var(--gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.glow-ring:hover::before { opacity: 1; }

/* Section divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.faq-question .icon {
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* Countdown */
.countdown {
  display: inline-flex;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.countdown span {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 48px;
  text-align: center;
}

/* Pulse animation */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
}
.pulse { animation: pulse-glow 2s infinite; }

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float { animation: float 3s ease-in-out infinite; }

/* Fade in up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease-out both; }
.fade-in-d1 { animation-delay: 0.1s; }
.fade-in-d2 { animation-delay: 0.2s; }
.fade-in-d3 { animation-delay: 0.3s; }
.fade-in-d4 { animation-delay: 0.4s; }

/* Price styling */
.price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1.2rem;
}

/* Testimonial */
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--purple);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

/* Checklist */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.check-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Day badge for challenge */
.day-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Stack card */
.stack-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.25s;
}
.stack-card:hover {
  border-color: rgba(59,130,246,0.4);
  background: var(--card-hover);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }

/* Responsive helpers */
@media (max-width: 768px) {
  .price { font-size: 2.2rem; }
  .btn-lg { padding: 16px 28px; font-size: 1rem; }
}

/* Stripe-like shine effect on buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover::after { left: 100%; }

/* Urgency bar */
.urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: linear-gradient(90deg, #dc2626, #f59e0b);
  color: #fff;
  text-align: center;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.85rem;
}
