/* =========================================================
   Branded Inbox — Custom CSS
   Dark, glassmorphic, vibrant violet/indigo palette
   ========================================================= */

/* --- Nav glassmorphism --- */
.nav-glass {
  background: rgba(8, 12, 24, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* --- Glow button --- */
.btn-glow {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: box-shadow 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-glow:hover {
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.7), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}
.btn-glow:active { transform: translateY(0); }

/* --- Secondary outline button --- */
.btn-outline {
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(124, 58, 237, 0.08);
  color: #c4b5fd;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(124, 58, 237, 0.18);
  color: #fff;
}

/* --- Glass card --- */
.glass-card {
  background: rgba(20, 25, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
}

/* --- Pricing card highlight --- */
.pricing-highlight {
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(79,70,229,0.1));
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* --- Hero gradient orbs --- */
.hero-orb-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
  bottom: -100px;
  right: 10%;
  pointer-events: none;
}

/* --- Envelope animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes floatDelay {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}
.envelope-main { animation: float 6s ease-in-out infinite; }
.envelope-bg { animation: floatDelay 8s ease-in-out infinite; }

/* --- Shimmer badge --- */
.badge-shimmer {
  background: linear-gradient(90deg, rgba(124,58,237,0.2), rgba(79,70,229,0.3), rgba(124,58,237,0.2));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
  border: 1px solid rgba(139,92,246,0.3);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Gradient text --- */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Feature icon --- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(79,70,229,0.15));
  border: 1px solid rgba(139,92,246,0.25);
  margin-bottom: 16px;
}

/* --- Ticker/stat numbers --- */
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c4b5fd, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* --- Testimonial card --- */
.testimonial-card {
  background: rgba(20, 25, 41, 0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4rem;
  color: rgba(139,92,246,0.3);
  line-height: 1;
  font-family: Georgia, serif;
}

/* --- Pricing toggle --- */
.toggle-pill {
  background: rgba(30, 38, 64, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 4px;
  display: inline-flex;
}
.toggle-btn {
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  color: #9ca3af;
  background: transparent;
}
.toggle-btn.active {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: white;
  box-shadow: 0 2px 12px rgba(124,58,237,0.4);
}

/* --- Platform logo row --- */
.platform-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.2s;
}
.platform-logo:hover {
  color: #d1d5db;
  border-color: rgba(139,92,246,0.3);
  background: rgba(124,58,237,0.08);
}

/* --- Separator line with glow --- */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), rgba(79,70,229,0.5), transparent);
}

/* --- Checkmark list items --- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #d1d5db;
}
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52,211,153,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
