/* NOBBYO — Vibrant layer (loaded LAST, after styles.css + modern.css)
   Goal: more color, more motion, more delight — without breaking layout. */

/* ── Color palette tokens ────────────────────────────── */
:root {
  --c-pink: #FF4D8D;
  --c-violet: #8B5CF6;
  --c-cyan: #06B6D4;
  --c-amber: #F59E0B;
  --c-lime: #84CC16;
  --c-rose: #F43F5E;
  --grad-rainbow: linear-gradient(90deg, #FF4D8D, #8B5CF6, #06B6D4, #10B981, #F59E0B, #FF5A3C);
  --grad-sunset: linear-gradient(135deg, #FF4D8D 0%, #FF5A3C 50%, #F59E0B 100%);
  --grad-ocean: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  --grad-mint-violet: linear-gradient(135deg, #10B981 0%, #8B5CF6 100%);
}

/* ── Floating aurora blobs (decorate sections) ───────── */
.aurora { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0; }
.aurora.pink   { background: radial-gradient(circle, #FF4D8D, transparent 70%); }
.aurora.violet { background: radial-gradient(circle, #8B5CF6, transparent 70%); }
.aurora.cyan   { background: radial-gradient(circle, #06B6D4, transparent 70%); }
.aurora.coral  { background: radial-gradient(circle, #FF5A3C, transparent 70%); }
.aurora.mint   { background: radial-gradient(circle, #10B981, transparent 70%); }
.aurora.amber  { background: radial-gradient(circle, #F59E0B, transparent 70%); }

@keyframes auroraDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(60px,-40px) scale(1.1); }
  66%     { transform: translate(-40px,30px) scale(.95); }
}
@keyframes auroraDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,-60px) scale(1.15); }
}
.aurora.drift1 { animation: auroraDrift1 18s ease-in-out infinite; }
.aurora.drift2 { animation: auroraDrift2 22s ease-in-out infinite; }

/* ── HERO: extra sparkles + brighter gradient ────────── */
.hero {
  background:
    radial-gradient(at 18% 28%, rgba(139,92,246,.55), transparent 50%),
    radial-gradient(at 82% 18%, rgba(255,77,141,.45), transparent 45%),
    radial-gradient(at 65% 82%, rgba(6,182,212,.35), transparent 50%),
    radial-gradient(at 30% 90%, rgba(16,185,129,.3), transparent 50%),
    linear-gradient(135deg, #1B1450 0%, #2D1B69 40%, #3A1864 100%) !important;
  background-size: 250% 250% !important;
  animation: meshShift 22s ease-in-out infinite alternate !important;
}

/* sparkle dots floating in hero */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 28% 48%, #FFD2C4, transparent),
    radial-gradient(2px 2px at 45% 18%, #B8C0FF, transparent),
    radial-gradient(1px 1px at 62% 70%, #fff, transparent),
    radial-gradient(2.5px 2.5px at 78% 32%, #FF4D8D, transparent),
    radial-gradient(1.5px 1.5px at 88% 62%, #06B6D4, transparent),
    radial-gradient(2px 2px at 22% 78%, #84CC16, transparent),
    radial-gradient(1.5px 1.5px at 52% 88%, #fff, transparent);
  background-size: 100% 100%;
  animation: sparkleFloat 12s ease-in-out infinite;
}
@keyframes sparkleFloat {
  0%,100% { transform: translateY(0); opacity: .55; }
  50%     { transform: translateY(-12px); opacity: .85; }
}

/* hero h1 EN: more saturated rainbow shine */
.hero .h1-en {
  background: linear-gradient(90deg, #fff 0%, #FFD2C4 20%, #FF4D8D 40%, #FFD2C4 55%, #B8C0FF 75%, #fff 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important;
}

/* hero buttons get color */
.hero .btn-primary {
  background: var(--grad-sunset) !important;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite alternate;
  box-shadow: 0 12px 32px -8px rgba(255,77,141,.55);
}
.hero .btn-primary:hover { box-shadow: 0 18px 40px -8px rgba(255,77,141,.7); }

/* hero chips: rotate through 4 colors */
.hero-chips .chip:nth-child(5n+1) { border-color: rgba(255,77,141,.4); }
.hero-chips .chip:nth-child(5n+2) { border-color: rgba(6,182,212,.4); }
.hero-chips .chip:nth-child(5n+3) { border-color: rgba(245,158,11,.4); }
.hero-chips .chip:nth-child(5n+4) { border-color: rgba(132,204,22,.4); }
.hero-chips .chip:nth-child(5n+5) { border-color: rgba(139,92,246,.4); }
.hero-chips .chip:hover { background: rgba(255,255,255,.18) !important; transform: translateY(-3px) scale(1.06); }

/* search-bar: glowing border on focus */
.search-bar:focus-within { box-shadow: 0 32px 80px -20px rgba(0,0,0,.55), 0 0 0 3px rgba(255,77,141,.4) !important; }

/* hero floating cards: tilt on hover, brighter shadow */
.hero-card { box-shadow: 0 24px 60px -16px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.5) inset !important; }

/* ── SERVICE GRID: rainbow rotation per tile ─────────── */
.svc-grid { position: relative; }
.svc-grid::before {
  content: ""; position: absolute; left: -8%; top: 20%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,141,.18), transparent 70%);
  filter: blur(60px); pointer-events: none; z-index: 0;
  animation: auroraDrift1 20s ease-in-out infinite;
}
.svc-grid::after {
  content: ""; position: absolute; right: -8%; bottom: 10%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.15), transparent 70%);
  filter: blur(70px); pointer-events: none; z-index: 0;
  animation: auroraDrift2 24s ease-in-out infinite;
}
.svc-grid > * { position: relative; z-index: 1; }

/* svc card: animated border glow on hover */
.svc-card { position: relative; }
.svc-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: var(--grad-rainbow);
  background-size: 300% 100%;
  opacity: 0; transition: opacity .35s;
  z-index: -1;
  animation: rainbowSlide 4s linear infinite;
}
.svc-card:hover::before { opacity: 1; }
.svc-card { background-clip: padding-box; }
@keyframes rainbowSlide { from { background-position: 0% 0; } to { background-position: 300% 0; } }

/* svc icon bubble bounces with color */
.svc-card .ic { box-shadow: 0 8px 16px -6px currentColor; }
.svc-card:hover .ic { animation: iconBounce .6s var(--ease-spring); }
@keyframes iconBounce {
  0% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.25) rotate(-12deg); }
  70% { transform: scale(.95) rotate(6deg); }
  100% { transform: scale(1.12) rotate(-6deg); }
}

/* filler tile: more vivid */
.svc-card.filler {
  background: linear-gradient(135deg, #FF4D8D 0%, #8B5CF6 50%, #06B6D4 100%) !important;
  background-size: 250% 250% !important;
  animation: gradShift 10s ease infinite alternate;
}

/* ── HOW IT WORKS: section bg + colored steps ────────── */
.how { position: relative; overflow: hidden; }
.how::before {
  content: ""; position: absolute; left: 50%; top: -100px;
  width: 600px; height: 300px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(139,92,246,.12), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.how-step { position: relative; overflow: visible; }
.how-step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-rainbow); background-size: 300% 100%;
  animation: rainbowSlide 8s linear infinite;
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 0;
}
.how-step .num { z-index: 2; }
.how-step:nth-child(1) .num { background: linear-gradient(135deg, #FF4D8D, #FF5A3C) !important; box-shadow: 0 6px 16px -4px rgba(255,77,141,.5); }
.how-step:nth-child(2) .num { background: linear-gradient(135deg, #8B5CF6, #4F46E5) !important; box-shadow: 0 6px 16px -4px rgba(139,92,246,.5); }
.how-step:nth-child(3) .num { background: linear-gradient(135deg, #10B981, #06B6D4) !important; box-shadow: 0 6px 16px -4px rgba(16,185,129,.5); }
.how-step:nth-child(1) .ic  { background: rgba(255,77,141,.12) !important; color: #FF4D8D !important; }
.how-step:nth-child(2) .ic  { background: rgba(139,92,246,.12) !important; color: #8B5CF6 !important; }
.how-step:nth-child(3) .ic  { background: rgba(16,185,129,.12) !important; color: #10B981 !important; }

/* ── TRENDING: colorful filter pills + card glow ─────── */
.filter-pill.active {
  background: var(--grad-sunset) !important; color: #fff !important; border-color: transparent !important;
  box-shadow: 0 10px 24px -8px rgba(255,77,141,.55) !important;
}
.trend-card { position: relative; overflow: hidden; }
.trend-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease-out-expo);
}
.trend-card:hover::after { transform: translateX(100%); }

/* ── WHY: 4 cards each get unique tint accent ────────── */
.why-card { position: relative; overflow: hidden; border-top: 4px solid transparent !important; }
.why-card:nth-child(1) { border-top-color: #FF4D8D !important; }
.why-card:nth-child(2) { border-top-color: #06B6D4 !important; }
.why-card:nth-child(3) { border-top-color: #F59E0B !important; }
.why-card:nth-child(4) { border-top-color: #10B981 !important; }
.why-card:nth-child(1) .ic { background: linear-gradient(135deg, rgba(255,77,141,.18), rgba(255,90,60,.18)) !important; color: #FF4D8D !important; }
.why-card:nth-child(2) .ic { background: linear-gradient(135deg, rgba(6,182,212,.18), rgba(79,70,229,.18)) !important; color: #06B6D4 !important; }
.why-card:nth-child(3) .ic { background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(255,90,60,.18)) !important; color: #F59E0B !important; }
.why-card:nth-child(4) .ic { background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(6,182,212,.18)) !important; color: #10B981 !important; }

/* ── STATS: more colorful gradient bg ────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; padding: 0; overflow: hidden;
  background:
    radial-gradient(at 20% 30%, rgba(255,77,141,.5), transparent 50%),
    radial-gradient(at 80% 70%, rgba(139,92,246,.5), transparent 50%),
    linear-gradient(135deg, #1E2A78 0%, #4F46E5 50%, #7C3AED 100%) !important;
  background-size: 200% 200%, 200% 200%, 200% 200% !important;
  animation: gradShift 14s ease infinite alternate !important;
}
.stat-cell {
  position: relative; padding: 28px 24px 26px; text-align: left;
  transition: background .3s;
}
.stat-cell:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 18%; bottom: 18%;
  width: 1px; background: rgba(255,255,255,.12);
}
.stat-cell:hover { background: rgba(255,255,255,.04); }
.stat-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  font-size: 18px; margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.18);
}
.stat-sub {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.65);
  margin-top: 6px; letter-spacing: .01em;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2)::after { display: none; }
}
.stat-num {
  background: linear-gradient(180deg, #fff 0%, #FFD2C4 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 0 40px rgba(255,210,196,.4);
  font-size: 44px !important;
  line-height: 1.05;
  letter-spacing: -.03em !important;
}
.stat-label {
  color: rgba(255,255,255,.92) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* ── APP DOWNLOAD strip: sunset gradient ─────────────── */
.app-strip {
  background:
    radial-gradient(at 30% 30%, rgba(255,77,141,.45), transparent 50%),
    radial-gradient(at 80% 70%, rgba(6,182,212,.35), transparent 50%),
    linear-gradient(135deg, #4F46E5 0%, #8B5CF6 40%, #FF4D8D 100%) !important;
  background-size: 200% 200% !important;
  animation: gradShift 14s ease infinite alternate !important;
  position: relative; overflow: hidden;
}
.app-strip::before {
  content: ""; position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  top: -80px; right: 10%; animation: auroraDrift1 16s ease-in-out infinite;
}
.app-strip::after {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,196,.2), transparent 70%);
  bottom: -120px; left: 15%; animation: auroraDrift2 20s ease-in-out infinite;
}

/* ── TESTIMONIALS: pastel colorful cards ─────────────── */
.testimonials { position: relative; overflow: hidden; }
.testimonials::before {
  content: ""; position: absolute; left: 5%; top: 10%;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,141,.18), transparent 70%);
  filter: blur(50px); animation: auroraDrift1 22s ease-in-out infinite;
}
.testimonials::after {
  content: ""; position: absolute; right: 5%; bottom: 10%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.18), transparent 70%);
  filter: blur(50px); animation: auroraDrift2 24s ease-in-out infinite;
}
.testimonials > .container { position: relative; z-index: 1; }

.test-card { position: relative; overflow: hidden; }
.test-card::before {
  content: """; position: absolute; top: -20px; right: 10px;
  font-family: Georgia, serif; font-size: 120px; line-height: 1;
  background: var(--grad-rainbow); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rainbowSlide 8s linear infinite;
  opacity: .25; pointer-events: none;
}
.test-card:nth-child(3n+1) { border-left: 4px solid #FF4D8D; }
.test-card:nth-child(3n+2) { border-left: 4px solid #8B5CF6; }
.test-card:nth-child(3n+3) { border-left: 4px solid #06B6D4; }

/* ── FOOTER: rainbow top accent ──────────────────────── */
footer::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-rainbow); background-size: 200% 100%;
  animation: rainbowSlide 6s linear infinite;
  z-index: 2;
}

/* ── MARQUEE: colorful dots ──────────────────────────── */
.marquee-item:nth-child(6n+1) .dot { background: #FF4D8D !important; box-shadow: 0 0 8px rgba(255,77,141,.6); }
.marquee-item:nth-child(6n+2) .dot { background: #8B5CF6 !important; box-shadow: 0 0 8px rgba(139,92,246,.6); }
.marquee-item:nth-child(6n+3) .dot { background: #06B6D4 !important; box-shadow: 0 0 8px rgba(6,182,212,.6); }
.marquee-item:nth-child(6n+4) .dot { background: #10B981 !important; box-shadow: 0 0 8px rgba(16,185,129,.6); }
.marquee-item:nth-child(6n+5) .dot { background: #F59E0B !important; box-shadow: 0 0 8px rgba(245,158,11,.6); }
.marquee-item:nth-child(6n+6) .dot { background: #FF5A3C !important; box-shadow: 0 0 8px rgba(255,90,60,.6); }

/* ── NAV: rainbow underline on scrolled state ────────── */
.nav.scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-rainbow); background-size: 200% 100%;
  animation: rainbowSlide 6s linear infinite;
  opacity: .8;
}
.nav { position: fixed !important; left: 0; right: 0; width: 100%; }

/* ── Section eyebrows: kinetic shine ─────────────────── */
.eyebrow {
  background: var(--grad-rainbow) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text; background-clip: text;
  animation: rainbowSlide 6s linear infinite;
}

/* ── CTA secondary buttons get color hover ───────────── */
.btn-ghost:hover { background: rgba(255,77,141,.08) !important; border-color: #FF4D8D !important; color: #FF4D8D !important; }

/* ── Floating sparkle layer (homepage decoration) ────── */
.spark-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; opacity: .6; }
.spark.s1 { background: #FF4D8D; animation: sparkFloat 9s ease-in-out infinite; }
.spark.s2 { background: #06B6D4; animation: sparkFloat 11s ease-in-out infinite reverse; }
.spark.s3 { background: #F59E0B; animation: sparkFloat 13s ease-in-out infinite; }
.spark.s4 { background: #10B981; animation: sparkFloat 10s ease-in-out infinite reverse; }
.spark.s5 { background: #8B5CF6; animation: sparkFloat 12s ease-in-out infinite; }
@keyframes sparkFloat {
  0%,100% { transform: translate(0,0); opacity: .4; }
  25%     { transform: translate(20px,-30px); opacity: .8; }
  50%     { transform: translate(-15px,-50px); opacity: .6; }
  75%     { transform: translate(10px,-20px); opacity: .9; }
}

/* ── Scroll progress: rainbow ────────────────────────── */
.scroll-progress { background: var(--grad-rainbow) !important; background-size: 200% 100% !important; animation: rainbowSlide 4s linear infinite; height: 4px !important; }

/* ── Service tile EXPLORE arrow gets coral on hover ──── */
.svc-card:hover .explore { color: #FF4D8D !important; }

/* ── Logo cluster decoration in hero (small floating shapes) ── */
.hero-deco { position: absolute; pointer-events: none; z-index: 1; }
.hero-deco.shape {
  width: 16px; height: 16px; border-radius: 4px;
  animation: shapeFloat 8s ease-in-out infinite;
}
@keyframes shapeFloat {
  0%,100% { transform: translateY(0) rotate(0); opacity: .7; }
  50%     { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}
