/* ========================================
   REF.ID — Futuristic AI Commerce Platform
   Custom Styles & Animations
   ======================================== */

/* ---------- 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;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Colors */
  --green-primary: #00C853;
  --green-light: #00E676;
  --green-dark: #009624;
  --gold-primary: #FFD700;
  --gold-light: #FFE44D;
  --gold-dark: #FFC107;
  --blue-primary: #2979FF;
  --blue-light: #00B0FF;
  --blue-dark: #0D47A1;

  /* Rainbow Gradients */
  --rainbow-1: linear-gradient(135deg, #00C853, #00B0FF, #FFD700, #FF6D00, #AA00FF);
  --rainbow-2: linear-gradient(135deg, #00E676, #2979FF, #FFE44D, #FF9100, #E040FB);
  --rainbow-subtle: linear-gradient(135deg, rgba(0,200,83,0.15), rgba(41,121,255,0.15), rgba(255,215,0,0.15));

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-light: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

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

/* ---------- Base Reset ---------- */
*,
*::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: #f8fbff;
  color: #1a1a2e;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---------- Animated Background Mesh ---------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(0, 200, 83, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 10%, rgba(41, 121, 255, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(224, 64, 251, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f0f7ff 0%, #f8fbff 50%, #fffdf5 100%);
}

.bg-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(0, 176, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 230, 118, 0.06) 0%, transparent 40%);
  animation: meshFloat 20s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ---------- Glassmorphism Utilities ---------- */
.glass {
  background: var(--glass-bg-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-dark {
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 200, 83, 0.15);
  border-color: rgba(0, 200, 83, 0.3);
}

/* ---------- Rainbow Border Glow ---------- */
.rainbow-border {
  position: relative;
  border: none !important;
}

.rainbow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--rainbow-1);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rainbow-border:hover::before {
  opacity: 1;
}

.rainbow-border-always::before {
  opacity: 1;
  animation: rainbowRotate 4s linear infinite;
}

@keyframes rainbowRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ---------- Gradient Texts ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-rainbow {
  background: var(--rainbow-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

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

/* ---------- Gradient Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 200, 83, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: #1a1a2e;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 14px;
  border: 1px solid rgba(0, 200, 83, 0.2);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(0, 200, 83, 0.08);
  border-color: var(--green-primary);
  transform: translateY(-2px);
}

/* ---------- Floating Particles ---------- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.5;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---------- Floating Animation ---------- */
.float-animation {
  animation: floatUpDown 6s ease-in-out infinite;
}

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

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

/* ---------- Pulse Glow ---------- */
.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 200, 83, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 200, 83, 0.4), 0 0 80px rgba(0, 200, 83, 0.1); }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Stagger Children ---------- */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 200, 83, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 8px 0;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  text-decoration: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(41, 121, 255, 0.1));
  border: 1px solid rgba(0, 200, 83, 0.2);
  color: var(--green-dark);
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(0, 200, 83, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #555;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 200, 83, 0.15);
}

/* Floating stat cards around hero image */
.hero-float-card {
  position: absolute;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  white-space: nowrap;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -20px;
  animation: floatUpDown 5s ease-in-out infinite;
}

.hero-float-card.card-2 {
  bottom: 20%;
  left: -30px;
  animation: floatUpDown 5s ease-in-out 1.5s infinite;
}

.hero-float-card.card-3 {
  bottom: 5%;
  right: 10%;
  animation: floatUpDown 5s ease-in-out 3s infinite;
}

/* ---------- Marquee / Ticker ---------- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #f8fbff, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #f8fbff, transparent);
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #999;
  white-space: nowrap;
}

/* ---------- Feature Cards ---------- */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.glass-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ---------- WhatsApp Chat Mockup ---------- */
.chat-mockup {
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.chat-header {
  background: linear-gradient(135deg, #075E54, #128C7E);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.chat-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chat-body {
  background: #ECE5DD;
  padding: 20px 16px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5 L35 15 L30 10 L25 15 Z' fill='%23d4ccba' opacity='0.1'/%3E%3C/svg%3E");
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.chat-msg.sent {
  align-self: flex-end;
  background: #DCF8C6;
  border-bottom-right-radius: 4px;
}

.chat-msg.received {
  align-self: flex-start;
  background: white;
  border-bottom-left-radius: 4px;
}

.chat-msg.ai-badge::after {
  content: '🤖 AI';
  position: absolute;
  top: -18px;
  left: 8px;
  font-size: 0.65rem;
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.chat-msg.visible {
  animation: chatMsgAppear 0.5s ease forwards;
}

@keyframes chatMsgAppear {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chat-time {
  font-size: 0.65rem;
  color: #999;
  text-align: right;
  margin-top: 4px;
}

/* Typing Indicator */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  opacity: 0;
}

.typing-indicator.visible {
  animation: chatMsgAppear 0.3s ease forwards;
}

.typing-indicator.hidden {
  display: none;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

/* ---------- AI Agent Nodes Animation ---------- */
.ai-nodes-container {
  position: relative;
  width: 100%;
  height: 400px;
}

.ai-node {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 2;
}

.ai-node.center {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  animation: pulseGlow 2s ease-in-out infinite;
}

.ai-connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 200, 83, 0.3), rgba(41, 121, 255, 0.3));
  transform-origin: left center;
  z-index: 1;
}

.ai-data-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-primary);
  animation: dataFlow 2s linear infinite;
}

@keyframes dataFlow {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ---------- Steps / How It Works ---------- */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(28px + 50%);
  width: calc(100% - 56px);
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
  opacity: 0.2;
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.popular {
  transform: scale(1.05);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--rainbow-1);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

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

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

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rainbow-1);
  color: white;
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.price-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}

.price-check svg {
  flex-shrink: 0;
  color: var(--green-primary);
}

/* ---------- Testimonial Carousel ---------- */
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  width: 350px;
  max-width: 100%;
  flex-shrink: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.testimonial-stars {
  color: var(--gold-primary);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 200, 83, 0.05),
    rgba(41, 121, 255, 0.05),
    rgba(255, 215, 0, 0.05)
  );
  z-index: 0;
}

/* ---------- Footer ---------- */
.footer-link {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--green-primary);
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.2);
}

/* ---------- Counter Animation ---------- */
.counter {
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums;
}

/* ---------- Toggle Switch (Pricing) ---------- */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.toggle-switch {
  width: 56px;
  height: 28px;
  background: #ddd;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(28px);
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
  transition: color 0.3s ease;
}

.toggle-label.active {
  color: var(--green-dark);
  font-weight: 600;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

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

  .testimonial-card {
    width: 280px;
    max-width: 100%;
  }

  .chat-mockup {
    max-width: 320px;
  }

  .hero-float-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }
}

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

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-primary), var(--blue-primary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-dark);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(0, 200, 83, 0.2);
  color: var(--green-dark);
}

/* ---------- Stat Card Gradient Backgrounds ---------- */
.stat-green { background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 230, 118, 0.05)); }
.stat-blue { background: linear-gradient(135deg, rgba(41, 121, 255, 0.1), rgba(0, 176, 255, 0.05)); }
.stat-gold { background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.05)); }
.stat-purple { background: linear-gradient(135deg, rgba(170, 0, 255, 0.1), rgba(224, 64, 251, 0.05)); }

/* ---------- Orb Decorations ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
}

.orb-green {
  background: var(--green-primary);
}

.orb-blue {
  background: var(--blue-primary);
}

.orb-gold {
  background: var(--gold-primary);
}

.orb-purple {
  background: #AA00FF;
}
