/* ==========================================================================
   SM4U - Social Media Marketing 4U Custom Stylesheet
   Theme: Meta Blue (#0064E0, #0081FB) & Instagram Sunset Gradient
          (#833AB4, #C13584, #E1306C, #FD1D1D, #F77737) Fusion
   ========================================================================== */

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

:root {
  --bg-primary: #080C16;
  --bg-secondary: #0F172A;
  --bg-card: #131D33;
  --bg-card-hover: #192642;
  
  /* Meta Brand Palette */
  --meta-blue: #0064E0;
  --meta-blue-light: #0081FB;
  --meta-blue-glow: rgba(0, 100, 224, 0.4);

  /* Instagram Brand Palette */
  --insta-purple: #833AB4;
  --insta-magenta: #C13584;
  --insta-pink: #E1306C;
  --insta-red: #FD1D1D;
  --insta-orange: #F77737;
  --insta-yellow: #FCAF45;

  /* Fusion Gradients */
  --grad-meta-insta: linear-gradient(135deg, #0064E0 0%, #7928CA 35%, #E1306C 70%, #FD5949 100%);
  --grad-insta-meta: linear-gradient(135deg, #E1306C 0%, #833AB4 50%, #0081FB 100%);
  --grad-sunset: linear-gradient(135deg, #405DE6 0%, #5851DB 25%, #833AB4 50%, #C13584 70%, #E1306C 85%, #FD1D1D 100%);
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: #1E293B;
  --border-glow: rgba(225, 48, 108, 0.4);
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #060911;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0064E0, #E1306C);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0081FB, #FD1D1D);
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(30, 41, 59, 0.85);
}

.glass-card-subtle {
  background: rgba(19, 29, 51, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.6);
}

/* Glow Gradients - Meta Blue & Instagram Fuchsia */
.glow-ambient-meta {
  background: radial-gradient(circle 600px at 20% 0%, rgba(0, 100, 224, 0.22), transparent 70%);
}

.glow-ambient-insta {
  background: radial-gradient(circle 600px at 80% 10%, rgba(225, 48, 108, 0.2), transparent 70%);
}

.glow-corner {
  background: radial-gradient(circle 500px at 90% 40%, rgba(131, 58, 180, 0.18), transparent 75%);
}

/* Gradient Text */
.text-gradient-meta-insta {
  background: linear-gradient(135deg, #0081FB 0%, #A855F7 35%, #EC4899 70%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-insta {
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 40%, #8134AF 75%, #515BD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-meta {
  background: linear-gradient(135deg, #0081FB 0%, #00C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Badge Styles */
.btn-primary {
  background: linear-gradient(135deg, #0064E0 0%, #7928CA 40%, #E1306C 80%, #FF6433 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35), 0 2px 10px rgba(0, 100, 224, 0.3);
}

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

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.5), 0 4px 15px rgba(0, 100, 224, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid rgba(0, 129, 251, 0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: #E1306C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 129, 251, 0.25);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(225, 48, 108, 0.35);
  color: #F1F5F9;
  box-shadow: 0 0 15px rgba(0, 100, 224, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0081FB, #E1306C);
  box-shadow: 0 0 10px #E1306C;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* Marquee Banner */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  user-select: none;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marqueeScroll 28s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Floating Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1.5deg); }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}

/* Hover Card Transitions */
.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card-hover-effect:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 48, 108, 0.55);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 100, 224, 0.2);
}

/* Interactive Floating WhatsApp Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.floating-whatsapp-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: rippleEffect 2s cubic-bezier(0.65, 0, 0.34, 1) infinite;
}

@keyframes rippleEffect {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.floating-whatsapp-tooltip {
  background: #0F172A;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(0, 129, 251, 0.4);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.floating-whatsapp:hover .floating-whatsapp-btn {
  transform: scale(1.08) rotate(5deg);
  background-color: #20BA5A;
}

/* Accordion Styling */
.faq-accordion-item {
  border: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.65);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: rgba(0, 129, 251, 0.5);
}

.faq-accordion-item.active {
  border-color: #E1306C;
  background: rgba(19, 29, 51, 0.9);
  box-shadow: 0 4px 25px rgba(225, 48, 108, 0.15);
}

.faq-trigger {
  width: 100%;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: #E1306C;
  flex-shrink: 0;
}

.faq-accordion-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #0081FB;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
}

.faq-accordion-item.active .faq-content {
  max-height: 400px;
  padding: 0 1.6rem 1.4rem 1.6rem;
  transition: max-height 0.4s ease-in-out, padding 0.35s ease;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 17, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #0F172A;
  border: 1px solid rgba(225, 48, 108, 0.3);
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 100, 224, 0.2);
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

/* Form Styles */
.form-input-luxury {
  width: 100%;
  background: rgba(8, 12, 22, 0.8);
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-input-luxury:focus {
  outline: none;
  border-color: #E1306C;
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.2), 0 0 15px rgba(0, 100, 224, 0.25);
  background: rgba(8, 12, 22, 0.98);
}

.form-input-luxury::placeholder {
  color: #64748B;
}

/* Custom Checkbox Pill */
.checkbox-pill-input {
  display: none;
}

.checkbox-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(8, 12, 22, 0.8);
  border: 1px solid #1E293B;
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.checkbox-pill-input:checked + .checkbox-pill-label {
  background: linear-gradient(135deg, rgba(0, 100, 224, 0.2), rgba(225, 48, 108, 0.25));
  border-color: #E1306C;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.25);
}

/* Gradient Borders */
.border-gradient-meta-insta {
  border: 2px solid transparent;
  background: linear-gradient(#0F172A, #0F172A) padding-box,
              linear-gradient(135deg, #0081FB, #E1306C, #F77737) border-box;
}

/* Container */
.container-custom {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
