/* ============================================
   IPTV Pro — Premium Dark Theme Stylesheet
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;

  --accent-primary: #6c5ce7;
  --accent-secondary: #00cec9;
  --accent-gradient: linear-gradient(135deg, #6c5ce7, #00cec9);
  --accent-gradient-hover: linear-gradient(135deg, #7d6ff0, #1ae0da);
  --accent-glow: rgba(108, 92, 231, 0.35);
  --accent-green: #00b894;
  --accent-orange: #fdcb6e;
  --accent-red: #ff6b6b;

  --border-color: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(108, 92, 231, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;

  /* Rounded corners */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent-primary);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #1ae0da;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ---------- Utility ---------- */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ---------- Animated Background Blobs ---------- */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.bg-blob--purple {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  animation: blobFloat 18s ease-in-out infinite alternate;
}

.bg-blob--teal {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  animation: blobFloat 22s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, -40px) scale(1.15); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: all var(--transition-base);
  z-index: 1000;
}

.navbar-custom.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem !important;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  margin-right: 10px;
  font-size: 1.1rem;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-primary) !important;
  background: var(--bg-glass);
}

.navbar-toggler {
  border: 1px solid var(--border-color) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-cta {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 22px !important;
  border-radius: 50px !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Hero Section ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

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

.hero-stat .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero visual (right column) */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.hero-card .channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.channel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

.channel-item:hover {
  background: rgba(108, 92, 231, 0.1);
  border-color: var(--border-accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.channel-item i {
  font-size: 1.3rem;
  margin-bottom: 6px;
  display: block;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--accent-glow);
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px var(--accent-glow);
  color: #fff;
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-secondary-custom:hover {
  background: var(--bg-glass);
  border-color: var(--border-accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ---------- Advantages Section ---------- */
#avantages {
  padding: var(--section-padding);
  position: relative;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.advantage-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.advantage-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.advantage-card:hover::after {
  transform: scaleX(1);
}

.advantage-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: rgba(108, 92, 231, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.advantage-card:hover .advantage-icon {
  background: var(--accent-gradient);
  transform: scale(1.1) rotate(-5deg);
}

.advantage-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ---------- Pricing Section ---------- */
#offres {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  background: rgba(108, 92, 231, 0.06);
  transform: scale(1.04);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.pricing-card.popular:hover {
  transform: translateY(-8px) scale(1.04);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 6px;
  line-height: 1;
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--accent-secondary);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: var(--accent-green);
  font-size: 0.85rem;
}

.pricing-card .btn-primary-custom {
  width: 100%;
  justify-content: center;
}

/* ---------- Payment Section ---------- */
#paiement {
  padding: var(--section-padding);
  position: relative;
}

.payment-steps {
  counter-reset: step;
}

.payment-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.payment-step:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.step-number {
  counter-increment: step;
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.wallet-box {
  background: rgba(108, 92, 231, 0.08);
  border: 1px dashed var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 20px;
}

.wallet-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.wallet-address {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--accent-secondary);
  word-break: break-all;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wallet-address .copy-btn {
  background: none;
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.wallet-address .copy-btn:hover {
  background: var(--accent-primary);
  color: #fff;
}

.wallet-network {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 4px 14px;
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-green);
}

/* ---------- Confirmation Form ---------- */
#confirmation {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-label-custom {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

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

/* Upload area */
.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--accent-primary);
  background: rgba(108, 92, 231, 0.05);
}

.upload-area input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.upload-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.upload-text strong {
  color: var(--accent-primary);
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Image preview */
.image-preview {
  margin-top: 16px;
  display: none;
}

.image-preview.active {
  display: block;
}

.image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.image-preview .remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: var(--accent-red);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.image-preview .remove-btn:hover {
  background: rgba(255, 107, 107, 0.2);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.active {
  display: block;
}

.form-success .success-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 184, 148, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-green);
  margin-bottom: 20px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-secondary);
}

/* ---------- FAQ Section ---------- */
#faq {
  padding: var(--section-padding);
  position: relative;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item.active {
  border-color: var(--accent-primary);
  background: rgba(108, 92, 231, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-question .faq-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.faq-item.active .faq-toggle {
  background: var(--accent-gradient);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ---------- Contact Section ---------- */
#contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-base);
  height: 100%;
}

.contact-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.contact-icon.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-icon.email {
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent-primary);
}

.contact-icon.telegram {
  background: rgba(0, 136, 204, 0.1);
  color: #0088cc;
}

.contact-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 360px;
  line-height: 1.7;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-secondary);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  z-index: 999;
  transition: all var(--transition-base);
  text-decoration: none;
  animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

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

.whatsapp-float .tooltip-text {
  position: absolute;
  right: 70px;
  background: #1e1e2e;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .tooltip-text {
  opacity: 1;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  font-size: 1rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Animations (supplement AOS) ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-stats {
    justify-content: center;
  }

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat .stat-number {
    font-size: 1.7rem;
  }

  .channel-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .payment-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .wallet-address {
    flex-direction: column;
    font-size: 0.82rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .whatsapp-float .tooltip-text {
    display: none;
  }

  .scroll-top {
    bottom: 85px;
    right: 22px;
  }
}

@media (max-width: 576px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .pricing-price {
    font-size: 2.6rem;
  }

  .form-card {
    padding: 24px 18px;
  }
}

/* ---------- Loading / Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 92, 231, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 92, 231, 0.5);
}

/* ---------- Error states ---------- */
.form-control-custom.error {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.error-message {
  color: var(--accent-red);
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

.error-message.visible {
  display: block;
}
