/* tagweb - Custom Styling & High-Converting Marketing Effects */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --whatsapp-color: #25D366;
  --whatsapp-hover: #20ba5a;
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --dark-bg: #0b0f19;
  --dark-surface: #111827;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dark-bg);
  color: #f3f4f6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Background Gradients & Glows */
.bg-mesh {
  background-image: 
    radial-gradient(at 15% 15%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),
    radial-gradient(at 85% 20%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 60%, rgba(6, 182, 212, 0.12) 0px, transparent 55%),
    radial-gradient(at 20% 85%, rgba(37, 211, 102, 0.10) 0px, transparent 50%);
}

.glow-pill {
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.35);
}

.glow-whatsapp {
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.45);
}

.glow-card {
  box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.25);
}

.glow-card-green {
  box-shadow: 0 10px 40px -10px rgba(37, 211, 102, 0.3);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #34d399 0%, #22c55e 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
  background: rgba(23, 32, 54, 0.85);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}

/* Browser Frame Mockup */
.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e293b;
}

.browser-header {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-address {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  flex-grow: 1;
  max-width: 320px;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out 2s infinite;
}

/* Pulse animation for CTA */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-button {
  animation: pulse-ring 2.5s infinite;
}

/* Badge Shimmer */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* Pricing Card Featured Ribbon */
.ribbon-popular {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* WhatsApp Floating Box Transition */
.whatsapp-chat-popup {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.whatsapp-chat-popup.hidden {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.whatsapp-chat-popup:not(.hidden) {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Custom Checkbox Toggle */
.toggle-checkbox:checked {
  right: 0;
  border-color: #6366f1;
}
.toggle-checkbox:checked + .toggle-label {
  background-color: #6366f1;
}

/* Code Tag & Speed Score Indicator */
.score-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.warning-panel {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 40px -10px rgba(239, 68, 68, 0.15);
}

/* Official Google Brand Colors */
.google-blue { color: #4285F4; }
.google-red { color: #EA4335; }
.google-yellow { color: #FBBC05; }
.google-green { color: #34A853; }


/* Cookie Banner Transition */
.cookie-banner {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.cookie-banner:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   Hero Section - Floating 3D Mobile Showcase (tagwebmobile)
   ============================================================ */
.hero-phone-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-phone-glow {
  position: absolute;
  inset: 15% 15% 10% 15%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(6, 182, 212, 0.3) 35%, rgba(99, 102, 241, 0.15) 65%, transparent 75%);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: heroAuraBreath 5s ease-in-out infinite;
}

@keyframes heroAuraBreath {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

.hero-phone-card {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: heroPhoneFloat 6s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  cursor: pointer;
}

@keyframes heroPhoneFloat {
  0%, 100% {
    transform: rotateY(-6deg) rotateX(4deg) translateY(0px);
  }
  50% {
    transform: rotateY(-3deg) rotateX(1deg) translateY(-14px);
  }
}

.hero-phone-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.03);
}

.hero-phone-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(6, 182, 212, 0.35));
  transition: filter 0.5s ease;
}

.hero-phone-card:hover .hero-phone-img {
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(16, 185, 129, 0.55));
}

.phone-light-sheen {
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(6, 182, 212, 0.25) 53%,
    rgba(16, 185, 129, 0.15) 58%,
    transparent 70%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 3;
  animation: heroSheenSweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes heroSheenSweep {
  0%, 45% {
    left: -120%;
  }
  75%, 100% {
    left: 220%;
  }
}

.hero-phone-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.25);
  animation: float 4.5s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero-phone-badge {
    padding: 6px 10px;
    gap: 6px;
  }
}




