/* Custom CSS for BrandPiko Landing Page */

:root {
  --primary-purple: #7c3aed;
  --primary-pink: #ec4899;
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}


body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  overflow-x: hidden;
}

.font-space-grotesk {
  font-family: 'Space Grotesk', sans-serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed, #ec4899);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #6d28d9, #db2777);
}

/* Floating animations */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-20px) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-1deg); }
}

/* Navbar effects */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

/* Button hover effects */
.primary-cta {
  position: relative;
  overflow: hidden;
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.primary-cta:hover::before {
  left: 100%;
}

.secondary-cta {
  position: relative;
  background: transparent;
}

.secondary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 9999px;
}

.secondary-cta:hover::before {
  width: 100%;
}

/* Card hover effects */
.problem-card, .solution-step, .feature-card {
  transition: var(--transition-smooth);
  position: relative;
}

.problem-card:hover, .solution-step:hover, .feature-card:hover {
  transform: translateY(-8px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  border-radius: 1rem;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.05;
}

/* Form enhancements */
.form-input {
  transition: var(--transition-smooth);
}

.form-input:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* FAQ animations */
.faq-item button i {
  transition: transform 0.3s ease;
}

.faq-item.active button i {
  transform: rotate(180deg);
}

.faq-content {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.faq-item.active .faq-content {
  max-height: 200px;
  display: block !important;
}

/* Progress bar animation */
.progress-bar {
  animation: progressFill 2s ease-out forwards;
  animation-delay: 1s;
  width: 0;
}

@keyframes progressFill {
  to { width: 47.4%; }
}

/* Counter animation */
.counter {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gradient text animation */
.gradient-text {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Modal animations */
.modal-enter {
  animation: modalEnter 0.3s ease-out;
}

.modal-exit {
  animation: modalExit 0.3s ease-in;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalExit {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
}

/* Mobile menu animations */
.mobile-menu-enter {
  transform: translateX(0) !important;
}

.mobile-menu-exit {
  transform: translateX(100%) !important;
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-element {
    display: none;
  }
  
  .text-4xl, .text-5xl, .text-6xl {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .text-3xl {
    font-size: 1.75rem !important;
  }
  
  .py-16 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .py-24 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

/* Tabs container */
#stepsTabs{
  display:flex;
  gap:0.5rem;
}
.tab-btn{
  flex:1;
  padding:0.75rem 1rem;
  border-radius:9999px;
  transition:all .35s ease;
  color:#4b5563;
  position:relative;
  overflow:hidden;
}
.tab-btn .tab-number{
  display:inline-block;
  width:20px;
  height:20px;
  line-height:20px;
  border-radius:50%;
  background:#d1d5db;
  color:#fff;
  font-size:12px;
  margin-right:6px;
  transition:all .35s ease;
}
.tab-btn.active{
  background:var(--gradient-primary);
  color:#fff;
  box-shadow:0 8px 20px rgba(124,58,237,.35);
}
.tab-btn.active .tab-number{
  background:#fff;
  color:var(--primary-purple);
}

/* Cards */
.tab-card{
  background:#fff;
  border-radius:1.5rem;
  padding:2.5rem;
  box-shadow:0 10px 30px rgba(124,58,237,.08);
  position:relative;
  overflow:hidden;
  display:none;
  animation:fadeIn .6s ease forwards;
}
.tab-card.active{display:block;}
.tab-title{
  font-size:1.5rem;
  font-weight:700;
  background:var(--gradient-primary);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:.75rem;
}
.tab-desc{
  color:#4b5563;
  margin-bottom:1.25rem;
}
.tab-list{
  list-style:disc inside;
  color:#6b7280;
  font-size:.875rem;
  display:grid;
  gap:.375rem;
}
.tab-glow{
  position:absolute;
  inset:-50%;
  background:var(--gradient-primary);
  opacity:.05;
  filter:blur(50px);
  z-index:0;
  pointer-events:none;
}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}


.benefit-card{
  position:relative;
  background:#fff;
  border-radius:2rem;
  padding:2.5rem 2rem;
  box-shadow:0 8px 30px rgba(124,58,237,.08);
  overflow:hidden;
  transition:transform .4s ease,box-shadow .4s ease;
}
.benefit-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(124,58,237,.18);
}
.benefit-icon{
  width:60px;
  height:60px;
  background:var(--gradient-primary);
  color:#fff;
  border-radius:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:1.25rem;
}
.benefit-title{
  font-size:1.375rem;
  font-weight:700;
  color:#111827;
  margin-bottom:.75rem;
}
.benefit-desc{
  font-size:.9375rem;
  color:#4b5563;
  line-height:1.6;
}
.benefit-glow{
  position:absolute;
  inset:-40%;
  background:var(--gradient-primary);
  opacity:.06;
  filter:blur(60px);
  z-index:0;
  pointer-events:none;
}
.benefit-card>*{position:relative;z-index:1;}

/* entrance animation */
@keyframes slideUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}
.benefit-card{
  animation:slideUp .6s ease forwards;
}
.benefit-card:nth-child(2){animation-delay:.15s;}
.benefit-card:nth-child(3){animation-delay:.3s;}
/* Custom utilities */
.bg-gradient-brand {
  background: var(--gradient-primary);
}

.step{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  position:relative;
  z-index:2;
}
/* Numbered ball */
.step-ball{
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--gradient-primary);
  color:#fff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(124,58,237,.35);
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.1);}
}

/* Card */
.step-card{
  margin-top:1.25rem;
  background:#fff;
  border-radius:1.5rem;
  padding:1.5rem;
  max-width:260px;
  text-align:center;
  box-shadow:0 10px 30px rgba(124,58,237,.08);
  transition:transform .4s ease;
}
.step:hover .step-card{transform:translateY(-6px);}
.step-title{
  font-size:1.125rem;
  font-weight:700;
  color:#111827;
  margin-bottom:.5rem;
}
.step-desc{
  font-size:.875rem;
  color:#4b5563;
  line-height:1.5;
}

/* Connector line (desktop) */
@media(min-width:768px){
  .connector{
    position:absolute;
    top:28px;
    left:25%;
    width:50%;
    height:4px;
    background:var(--gradient-primary);
    z-index:1;
    animation:growLine 1.2s ease forwards;
    transform-origin:left;
    transform:scaleX(0);
  }
  @keyframes growLine{
    to{transform:scaleX(1);}
  }
}

/* stagger entrance */
.step:nth-child(1){animation:fadeUp .6s ease forwards;}
.step:nth-child(2){animation:fadeUp .6s ease forwards .15s;}
.step:nth-child(3){animation:fadeUp .6s ease forwards .3s;}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}
.text-gradient-brand {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-brand {
  box-shadow: var(--shadow-medium);
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              var(--gradient-primary) border-box;
}

/* Animation delays for staggered effects */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Pulse animation for CTAs */
.pulse-on-hover:hover {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea {
  transition: var(--transition-smooth);
}

/* Focus styles for accessibility */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

  /* track */
  #testimonialTrack{
    display:flex;
    width:400%;
  }
  .testimonial-card{
    flex:0 0 100%;
    padding:0 1rem;
  }
  @media (min-width:768px){
    #testimonialTrack{width:200%;}
    .testimonial-card{flex:0 0 50%;}
  }
  @media (min-width:1024px){
    #testimonialTrack{width:100%;}
    .testimonial-card{flex:0 0 33.333%;}
  }

  /* card */
  .card-inner{
    position:relative;
    background:#fff;
    border-radius:2rem;
    padding:2.5rem 2rem;
    box-shadow:0 10px 30px rgba(124,58,237,.08);
    overflow:hidden;
    transition:transform .4s ease, box-shadow .4s ease;
  }
  .card-inner:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(124,58,237,.18);
  }
  .avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:1rem;
  }
  blockquote{
    font-size:1.125rem;
    color:#111827;
    line-height:1.6;
    margin-bottom:1rem;
  }
  cite{
    font-size:.875rem;
    font-weight:600;
    background:var(--gradient-primary);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
  }

  /* glow */
  .card-inner::after{
    content:'';
    position:absolute;
    inset:-50%;
    background:var(--gradient-primary);
    opacity:.05;
    filter:blur(50px);
    z-index:0;
  }
  .card-inner>*{position:relative;z-index:1;}

  /* dots */
  .dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#d1d5db;
    transition:all .3s ease;
  }
  .dot.active{
    width:28px;
    background:var(--gradient-primary);
  }

  .cta-btn{
  background:var(--gradient-primary);
  color:#fff;
  font-weight:700;
  font-size:1.125rem;
  padding:1.125rem 2.5rem;
  border-radius:9999px;
  border:none;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(124,58,237,.35);
  transition:transform .3s ease, box-shadow .3s ease;
  position:relative;
  z-index:2;
}
.cta-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(124,58,237,.45);
}

/* glowing ring */
.pulse-ring{
  position:absolute;
  inset:-8px;
  border-radius:9999px;
  border:2px solid var(--primary-purple);
  opacity:.5;
  animation:pulse-ring 2s infinite;
  pointer-events:none;
}
@keyframes pulse-ring{
  0%{transform:scale(1);opacity:.5;}
  100%{transform:scale(1.4);opacity:0;}
}
.footer-orb{
  position:absolute;
  top:-120px;
  right:-120px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:var(--gradient-primary);
  opacity:.15;
  filter:blur(80px);
  animation:floatOrb 12s ease-in-out infinite;
}
@keyframes floatOrb{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(-40px,40px) scale(1.15);}
}

footer a{transition:color .25s ease;}

.chat-widget{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:9999;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

/* launcher */
.chat-launcher{
  width:60px;
  height:60px;
  border-radius:50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:var(--gradient-primary);
  color:#fff;
  border:none;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(124,58,237,.35);
  transition:transform .3s ease;
  position:relative;
  animation:popIn .5s ease;
}
.chat-launcher:hover{transform:scale(1.1);}
.chat-badge{
  position:absolute;
  top:-4px;
  right:-4px;
  width:20px;
  height:20px;
  background:#ff4d4f;
  border-radius:50%;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:pulseBadge 2s infinite;
}
@keyframes popIn{
  from{transform:scale(0);}
  to{transform:scale(1);}
}
@keyframes pulseBadge{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.2);}
}

/* window */
.chat-window{
  position:absolute;
  bottom:80px;
  right:0;
  width:340px;
  height:420px;
  background:#fff;
  border-radius:1.5rem;
  box-shadow:0 12px 40px rgba(0,0,0,.15);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transform:scale(0) translateY(20px);
  transform-origin:bottom right;
  transition:transform .4s cubic-bezier(.175,.885,.32,1.275);
}
.chat-window.open{transform:scale(1) translateY(0);}
.chat-header{
  background:var(--gradient-primary);
  color:#fff;
  padding:1rem 1.25rem;
  font-weight:600;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

#chatClose{
  background:none;
  border:none;
  color:#fff;
  font-size:20px;
  cursor:pointer;
}
.chat-body{
  flex:1;
  padding:1rem;
  overflow-y:auto;
}
.chat-bubble{
  max-width:85%;
  padding:.75rem 1rem;
  border-radius:1rem;
  font-size:.875rem;
  line-height:1.4;
  margin-bottom:.5rem;
}
.chat-bubble.bot{
  background:#f3f0ff;
  color:#4c1d95;
}
.chat-quick-replies{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  margin-top:.5rem;
}
.quick-btn{
  background:#f3f0ff;
  color:#4c1d95;
  border:none;
  border-radius:1rem;
  padding:.5rem .75rem;
  font-size:.75rem;
  cursor:pointer;
  transition: background .2s;
}
.quick-btn:hover{background:#e5d7ff;}
.chat-footer{
  display:flex;
  padding:.75rem;
  border-top:1px solid #e5e7eb;
}
#chatInput{
  flex:1;
  border:none;
  outline:none;
  font-size:.875rem;
  padding:.5rem .75rem;
}
#chatSend{
  background:none;
  border:none;
  color:var(--primary-purple);
  cursor:pointer;
  padding:.5rem;
}
.chat-launcher img {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  object-fit: cover;
}

.price-card{
  position:relative;
  background:#fff;
  border-radius:2rem;
  padding:2.5rem 2rem 3rem;
  box-shadow:0 8px 30px rgba(124,58,237,.08);
  display:flex;
  flex-direction:column;
  transition:transform .4s ease, box-shadow .4s ease;
  animation:fadeUp .6s ease forwards;
}
.price-card:nth-child(2){animation-delay:.15s;}
.price-card:nth-child(3){animation-delay:.3s;}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}
.price-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(124,58,237,.18);}
.price-card.popular{transform:scale(1.05);}
.price-card.popular:hover{transform:scale(1.08) translateY(-8px);}

.price-glow{
  position:absolute;
  inset:-40%;
  background:var(--gradient-primary);
  opacity:.04;
  filter:blur(60px);
  z-index:0;
  pointer-events:none;
}
.price-card>*{position:relative;z-index:1;}

.price-title{
  font-size:1.5rem;
  font-weight:700;
  color:#111827;
  margin-bottom:.5rem;
}
.price-amount{
  font-size:2.75rem;
  font-weight:800;
  background:var(--gradient-primary);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.price-period{
  font-size:1rem;
  font-weight:400;
  color:#6b7280;
}
.popular-badge{
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:var(--gradient-primary);
  color:#fff;
  font-size:.75rem;
  font-weight:600;
  padding:.25rem 1rem;
  border-radius:9999px;
}
.price-features{
  list-style:none;
  margin:1.5rem 0 2rem;
  font-size:.875rem;
  color:#4b5563;
  flex:1;
}
.price-features li{
  margin-bottom:.5rem;
  display:flex;
  align-items:center;
}
.price-features li::before{
  content:'✓';
  color:var(--primary-purple);
  margin-right:.5rem;
  font-weight:700;
}
.price-btn{
  width:100%;
  border:2px solid transparent;
  background:transparent;
  color:var(--primary-purple);
  font-weight:700;
  padding:.875rem 0;
  border-radius:9999px;
  cursor:pointer;
  transition:all .3s ease;
}
.price-btn.filled{
  background:var(--gradient-primary);
  color:#fff;
  box-shadow:0 8px 20px rgba(124,58,237,.25);
}
.price-btn.filled:hover{box-shadow:0 12px 28px rgba(124,58,237,.35);}
.price-btn:not(.filled):hover{
  background:var(--gradient-primary);
  color:#fff;
}

.platform-card{
  position:relative;
  background:#fff;
  border-radius:2rem;
  padding:3rem 2rem 2.5rem;
  box-shadow:0 10px 30px rgba(124,58,237,.08);
  text-align:center;
  transition:transform .4s ease, box-shadow .4s ease;
  animation:fadeUp .6s ease forwards;
}
.platform-card:nth-child(2){animation-delay:.15s;}
.platform-card:nth-child(3){animation-delay:.3s;}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;translate:0;}
}
.platform-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(124,58,237,.18);}

.platform-glow{
  position:absolute;
  inset:-40%;
  background:var(--gradient-primary);
  opacity:.04;
  filter:blur(60px);
  z-index:0;
}
.platform-card>*{position:relative;z-index:1;}

.platform-icon{
  font-size:2.5rem;
  margin-bottom:1rem;
}
.platform-title{
  font-size:1.5rem;
  font-weight:700;
  color:#111827;
  margin-bottom:.75rem;
}
.platform-desc{
  font-size:.875rem;
  color:#4b5563;
  line-height:1.5;
  margin-bottom:1.5rem;
}
.platform-metric .metric-value{
  font-size:1.75rem;
  font-weight:800;
  background:var(--gradient-primary);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.platform-metric .metric-label{
  display:block;
  font-size:.75rem;
  color:#6b7280;
}

/* brand colors */
.platform-card.ig .platform-icon{color:#e4405f;}
.platform-card.yt .platform-icon{color:#ff0000;}
.platform-card.tt .platform-icon{color:#000;}


.link-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #374151;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}
.link-item:hover {
  background: #f3f0ff;
  color: #7c3aed;
  transform: translateX(6px);
}