/* ==========================================================================
   Future Up Limited — Global Styles
   ========================================================================== */

:root {
  /* Brand palette */
  --fu-purple-deep: #6a4fb6;
  --fu-purple-indigo: #5c6bc0;
  --fu-purple-soft: #b39ddb;
  --fu-purple-glow: #8b6fd9;

  /* Neutrals */
  --fu-bg: #f5f5f5;
  --fu-bg-alt: #ffffff;
  --fu-dark: #1a1a2e;
  --fu-dark-alt: #252540;
  --fu-charcoal: #333333;
  --fu-text: #1a1a2e;
  --fu-text-muted: #6b6b7d;
  --fu-text-light: #a0a0b5;
  --fu-border: rgba(106, 79, 182, 0.12);
  --fu-border-dark: rgba(179, 157, 219, 0.18);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6a4fb6 0%, #5c6bc0 50%, #b39ddb 100%);
  --grad-primary-dark: linear-gradient(135deg, #4a3488 0%, #6a4fb6 100%);
  --grad-radial: radial-gradient(circle at 30% 30%, #b39ddb 0%, #6a4fb6 40%, #5c6bc0 100%);
  --grad-text: linear-gradient(135deg, #b39ddb 0%, #ffffff 100%);
  --grad-neon: linear-gradient(90deg, #b39ddb, #6a4fb6, #5c6bc0, #b39ddb);

  /* Shadows */
  --shadow-glow: 0 8px 32px rgba(106, 79, 182, 0.25);
  --shadow-glow-hover: 0 12px 48px rgba(106, 79, 182, 0.4);
  --shadow-card: 0 4px 24px rgba(26, 26, 46, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(106, 79, 182, 0.18);
  --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-heading: "Space Grotesk", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Noto Sans TC", "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fu-text);
  background: var(--fu-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fu-text);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
.section-dark { background: var(--fu-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-eyebrow { color: var(--fu-purple-soft); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fu-purple-deep);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: currentColor;
}
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header p {
  color: var(--fu-text-muted);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 620px;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #b39ddb, #6a4fb6);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-hover); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--fu-text);
  border-color: var(--fu-border);
}
.section-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-ghost:hover {
  border-color: var(--fu-purple-deep);
  color: var(--fu-purple-deep);
  background: rgba(106, 79, 182, 0.05);
}
.section-dark .btn-ghost:hover {
  border-color: var(--fu-purple-soft);
  color: var(--fu-purple-soft);
  background: rgba(179, 157, 219, 0.08);
}

.btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(0px);
  background: transparent;
}
.nav.scrolled {
  background: rgba(245, 245, 245, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--fu-border);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav-brand img { width: 36px; height: 36px; }
.nav-brand-horizontal {
  width: auto !important;
  height: 44px !important;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.nav.scrolled .nav-brand-horizontal { height: 40px !important; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--fu-text);
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--grad-primary);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--fu-purple-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--fu-text); border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--fu-bg);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, #b39ddb 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, #6a4fb6 0%, transparent 70%);
  animation-delay: -4s;
  opacity: 0.35;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(106,79,182,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,79,182,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 500;
  color: var(--fu-purple-deep);
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fu-purple-deep);
  box-shadow: 0 0 0 4px rgba(106,79,182,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(106,79,182,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(106,79,182,0.05); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero h1 .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--fu-text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--fu-border);
}
.hero-meta-item .num {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.hero-meta-item .label {
  font-size: 0.82rem;
  color: var(--fu-text-muted);
  margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.hero-core {
  position: absolute; inset: 15%;
  border-radius: 50%;
  background: var(--grad-radial);
  filter: blur(2px);
  animation: coreRotate 20s linear infinite;
  box-shadow:
    inset 0 0 80px rgba(255,255,255,0.4),
    0 0 100px rgba(106,79,182,0.5);
}
@keyframes coreRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-ring {
  position: absolute; inset: 0;
  border: 1px solid var(--fu-border);
  border-radius: 50%;
  animation: ringSpin 30s linear infinite;
}
.hero-ring::before, .hero-ring::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border-radius: 50%; background: var(--fu-purple-deep);
  box-shadow: 0 0 20px var(--fu-purple-deep);
}
.hero-ring::before { top: -6px; left: 50%; transform: translateX(-50%); }
.hero-ring::after { bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--fu-purple-soft); }
.hero-ring-2 {
  inset: 8%;
  animation: ringSpin 24s linear infinite reverse;
}
.hero-ring-2::before, .hero-ring-2::after {
  width: 8px; height: 8px;
  background: var(--fu-purple-indigo);
  box-shadow: 0 0 15px var(--fu-purple-indigo);
}
.hero-ring-3 { inset: 22%; animation: ringSpin 18s linear infinite; }
.hero-ring-3::before, .hero-ring-3::after { width: 6px; height: 6px; }
@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-chip {
  position: absolute;
  padding: 8px 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600;
  font-family: var(--font-heading);
  color: var(--fu-text);
  box-shadow: var(--shadow-card);
  animation: chipFloat 6s ease-in-out infinite;
}
.hero-chip::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fu-purple-deep); margin-right: 8px;
  vertical-align: middle;
}
/* 6 chips evenly distributed around the orb — clock positions 1/3/5/7/9/11 */
.hero-chip-1 { top: 12%; right: 0; animation-delay: -1s; }        /* 2 o'clock — Start-up 成長 */
.hero-chip-2 { top: 48%; right: -4%; animation-delay: -2s; }      /* 3 o'clock — GEO + SEO */
.hero-chip-3 { bottom: 10%; right: 8%; animation-delay: -3s; }    /* 5 o'clock — 中小企 AI 轉型 */
.hero-chip-4 { bottom: 6%; left: 20%; animation-delay: -4s; }     /* 7 o'clock — 一站式方案 */
.hero-chip-5 { top: 48%; left: -6%; animation-delay: -5s; }       /* 9 o'clock — ROI 導向 */
.hero-chip-6 { top: 12%; left: 4%; animation-delay: -6s; }        /* 11 o'clock — 品牌定位 */
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--fu-bg) 0%, #ffffff 100%);
}
.intro-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: 0 24px;
}
.intro-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: var(--fu-text);
  font-weight: 500;
}
.intro-quote .highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700;
}
.intro-signature {
  margin-top: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--fu-text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--fu-bg-alt);
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-primary);
  opacity: 0; transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.service-card::after {
  content: attr(data-num);
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  color: var(--fu-text-light);
  letter-spacing: 0.1em;
  transition: color 0.4s var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon-box { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card:hover h3, .service-card:hover p { color: #fff; }
.service-card:hover::after { color: rgba(255,255,255,0.6); }
.service-card:hover .service-tags span { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.2); }

.service-icon-box {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(106,79,182,0.08);
  border: 1px solid var(--fu-border);
  border-radius: 14px;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.service-icon svg {
  width: 26px; height: 26px;
  stroke: var(--fu-purple-deep);
  stroke-width: 1.6;
  fill: none;
  transition: stroke 0.4s var(--ease);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  transition: color 0.4s var(--ease);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--fu-text-muted);
  line-height: 1.65;
  transition: color 0.4s var(--ease);
  margin-bottom: 20px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags span {
  padding: 4px 10px;
  font-size: 0.72rem;
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-pill);
  color: var(--fu-text-muted);
  transition: all 0.4s var(--ease);
}

/* Featured service card — highlights the core Start-up brand-building offer */
.service-card-featured {
  background: linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
  border-color: rgba(106, 79, 182, 0.3);
  position: relative;
}
.service-card-featured::before {
  background: var(--grad-primary);
}
.service-featured-badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 5px 12px;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 4px 16px rgba(106,79,182,0.3);
}
.service-card-featured::after { display: none; }
.service-card-featured .service-icon-box {
  width: 64px; height: 64px;
  background: var(--grad-primary);
  border-color: transparent;
}
.service-card-featured .service-icon svg { stroke: #fff; }
.service-card-featured:hover .service-icon-box { background: rgba(255,255,255,0.15); }
.service-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fu-purple-deep);
  margin-top: 6px;
  letter-spacing: 0;
}
.service-card-featured:hover .service-sub { color: rgba(255,255,255,0.85); }
.service-card-featured p strong {
  color: var(--fu-purple-deep);
  font-weight: 600;
}
.service-card-featured:hover p strong { color: #fff; }
/* Highlights list — used in all service cards */
.service-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 20px;
  padding: 16px 18px;
  background: rgba(106, 79, 182, 0.04);
  border-left: 2px solid var(--fu-purple-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all 0.4s var(--ease);
}
.service-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--fu-text);
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.4s var(--ease);
}
.service-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--grad-primary);
  border-radius: 2px;
  transform: rotate(45deg);
}
.service-card:hover .service-highlights {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.6);
}
.service-card:hover .service-highlights li { color: #fff; }
.service-card:hover .service-highlights li::before {
  background: rgba(255, 255, 255, 0.9);
}

/* Featured card highlights — kept single column to match other cards */
.service-card-featured .service-highlights {
  background: rgba(106, 79, 182, 0.06);
  border-left-color: var(--fu-purple-deep);
}


/* ==========================================================================
   Why Future Up (dark)
   ========================================================================== */
.why {
  background: var(--fu-dark);
  position: relative; overflow: hidden;
}
.why::before {
  content: ""; position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(106,79,182,0.25), transparent 70%);
  filter: blur(60px);
}
.why-inner { position: relative; z-index: 1; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 60px;
}
.why-item {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--fu-border-dark);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.why-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.why-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(179,157,219,0.3);
  transform: translateY(-4px);
}
.why-item:hover::before { transform: scaleX(1); }
.why-num {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 16px;
}
.why-item h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.why-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ==========================================================================
   Client Logos Wall — infinite marquee loop with real brand images
   ========================================================================== */
.clients {
  padding: 90px 0 70px;
  background: #fff;
  border-top: 1px solid var(--fu-border);
  border-bottom: 1px solid var(--fu-border);
  overflow: hidden;
}
.clients-header {
  text-align: center;
  margin-bottom: 56px;
}
.clients-header h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--fu-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.clients-marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.clients-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: clientLoop 40s linear infinite;
  align-items: center;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clientLoop {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 20px)); }
}
.client-logo {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  height: 110px;
  padding: 18px 26px;
  background: #fff;
  border: 1px solid var(--fu-border);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s var(--ease);
}
.client-logo:hover {
  border-color: var(--fu-purple-soft);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}
@media (max-width: 600px) {
  .clients-track { gap: 20px; animation-duration: 30s; }
  .client-logo { width: 160px; height: 90px; padding: 14px 20px; }
  @keyframes clientLoop {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 10px)); }
  }
}

/* ==========================================================================
   Case Studies Carousel
   ========================================================================== */
.cases { background: var(--fu-bg); }
.cases-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 40px; flex-wrap: wrap;
}
.cases-carousel {
  position: relative;
}
.cases-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 30px;
  scrollbar-width: none;
}
.cases-track::-webkit-scrollbar { display: none; }
.case-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}
.case-visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--grad-primary);
}
.case-visual.v1 { background: linear-gradient(135deg, #6a4fb6 0%, #5c6bc0 100%); }
.case-visual.v2 { background: linear-gradient(135deg, #5c6bc0 0%, #b39ddb 100%); }
.case-visual.v3 { background: linear-gradient(135deg, #4a3488 0%, #6a4fb6 100%); }
.case-visual.v4 { background: linear-gradient(135deg, #b39ddb 0%, #6a4fb6 100%); }
.case-visual.v5 { background: linear-gradient(135deg, #6a4fb6 0%, #8b6fd9 50%, #b39ddb 100%); }
.case-visual.v6 { background: linear-gradient(135deg, #252540 0%, #6a4fb6 100%); }
.case-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 40%);
}
.case-visual-label {
  position: absolute; top: 20px; left: 20px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.7rem; font-weight: 600;
  color: var(--fu-purple-deep);
  letter-spacing: 0.05em;
}
.case-visual-metric {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  color: #fff;
}
.case-visual-metric .metric-num {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.case-visual-metric .metric-label {
  font-size: 0.82rem;
  margin-top: 4px;
  opacity: 0.9;
}
.case-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex; flex-direction: column;
}
.case-industry {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fu-purple-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.case-desc {
  font-size: 0.9rem;
  color: var(--fu-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.case-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 600;
  color: var(--fu-purple-deep);
}
.case-link svg { transition: transform 0.3s var(--ease); }
.case-card:hover .case-link svg { transform: translateX(4px); }

.carousel-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
}
.carousel-progress {
  flex: 1; max-width: 240px;
  height: 3px;
  background: var(--fu-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-right: 24px;
}
.carousel-progress-bar {
  height: 100%;
  background: var(--grad-primary);
  width: 25%;
  transition: width 0.4s var(--ease);
}
.carousel-buttons { display: flex; gap: 10px; }
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--fu-border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.carousel-btn svg { width: 18px; height: 18px; stroke: var(--fu-text); stroke-width: 2; fill: none; }
.carousel-btn:hover:not(:disabled) {
  background: var(--grad-primary);
  border-color: transparent;
  transform: scale(1.05);
}
.carousel-btn:hover:not(:disabled) svg { stroke: #fff; }
.carousel-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ==========================================================================
   Insights (Blog + FAQ preview)
   ========================================================================== */
.insights { background: #fff; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.insight-card {
  padding: 32px;
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  background: #fff;
  display: flex; flex-direction: column;
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: var(--fu-purple-soft);
  box-shadow: var(--shadow-card-hover);
}
.insight-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.7rem; font-weight: 600;
  color: var(--fu-purple-deep);
  background: rgba(106,79,182,0.08);
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  align-self: flex-start;
}
.insight-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}
.insight-card p {
  font-size: 0.88rem;
  color: var(--fu-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.insight-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--fu-border);
  font-size: 0.8rem;
  color: var(--fu-text-muted);
}
.insight-meta .read { color: var(--fu-purple-deep); font-weight: 600; }

.faq-section {
  border-top: 1px solid var(--fu-border);
  padding-top: 64px;
}
.faq-header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 40px;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--fu-border);
}
.faq-q {
  width: 100%;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fu-text);
  gap: 24px;
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--fu-purple-deep); }
.faq-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--fu-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
}
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 0 24px;
  font-size: 0.95rem;
  color: var(--fu-text-muted);
  line-height: 1.75;
  max-width: 760px;
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { background: var(--fu-dark); color: #fff; padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--fu-border-dark);
}
.stat:last-child { border-right: none; }
.stat-num,
.stat-num-static {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-num-static {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  padding-top: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CTA Block
   ========================================================================== */
.cta-block {
  padding: 100px 0;
  background: var(--fu-bg);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
  background: var(--fu-dark);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(179,157,219,0.4), transparent 70%);
  filter: blur(40px);
}
.cta-inner::after {
  content: ""; position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(106,79,182,0.4), transparent 70%);
  filter: blur(40px);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 {
  color: #fff;
  margin-bottom: 20px;
}
.cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-inner .btn-group {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-inner .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta-inner .btn-ghost:hover {
  border-color: var(--fu-purple-soft);
  background: rgba(179,157,219,0.1);
}

/* ==========================================================================
   Contact / Form
   ========================================================================== */
.contact {
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 20px;
}
.contact-info > p {
  color: var(--fu-text-muted);
  margin-bottom: 40px;
  font-size: 1.02rem;
}
.contact-methods {
  display: flex; flex-direction: column; gap: 20px;
}
.contact-method {
  display: flex; gap: 16px; align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--fu-border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
}
.contact-method:hover {
  border-color: var(--fu-purple-soft);
  background: rgba(106,79,182,0.03);
  transform: translateX(4px);
}
.contact-method-cta {
  background: var(--fu-dark);
  border-color: transparent;
  color: #fff;
}
.contact-method-cta:hover {
  background: var(--fu-dark);
  border-color: transparent;
}
.contact-method-cta .label { color: rgba(255,255,255,0.6); }
.contact-method-cta .value { color: #fff; }
.contact-method-cta .contact-method-icon-wa {
  background: #25d366;
}
.contact-method-content { flex: 1; }
.contact-method-arrow {
  color: var(--fu-purple-deep);
  stroke: currentColor;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.contact-method-cta .contact-method-arrow { color: #fff; }
.contact-method:hover .contact-method-arrow { transform: translateX(4px); }
.contact-address {
  font-size: 0.92rem !important;
  line-height: 1.45;
  font-weight: 500 !important;
}
.footer-address {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--fu-border-dark);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.footer-address-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fu-purple-soft);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-method-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-method-icon svg {
  width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none;
}
.contact-method-content .label {
  font-size: 0.78rem;
  color: var(--fu-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-method-content .value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fu-text);
}

.contact-form {
  padding: 48px;
  background: var(--fu-bg);
  border-radius: var(--radius-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fu-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group label .req { color: var(--fu-purple-deep); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--fu-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--fu-text);
  transition: all 0.3s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--fu-purple-deep);
  box-shadow: 0 0 0 4px rgba(106,79,182,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 16px;
  justify-content: center;
  margin-top: 8px;
}
.form-success {
  padding: 20px;
  background: rgba(106,79,182,0.08);
  border: 1px solid var(--fu-purple-soft);
  border-radius: var(--radius);
  color: var(--fu-purple-deep);
  font-weight: 600;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--fu-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--fu-border-dark);
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.footer-brand img { width: 40px; height: 40px; }
.footer-brand-horizontal {
  width: auto !important;
  height: 48px !important;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex; gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--fu-border-dark);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-3px);
}
.footer-social svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-col a:hover { color: var(--fu-purple-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 16px;
}

/* ==========================================================================
   Whatsapp Float
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: all 0.3s var(--ease);
  animation: waPulse 3s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 0 0 16px rgba(37,211,102,0); }
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ==========================================================================
   Reveal animation — only apply hidden state when JS confirms ready
   Fallback: without .js-ready on <html>, elements are visible by default
   High-specificity selectors defend against injected preview-env styles
   ========================================================================== */
html.js-ready .reveal:not(.in) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js-ready .reveal.in.in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .hero-meta { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--fu-border-dark); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav .btn { padding: 10px 20px; font-size: 0.85rem; }
  .nav-brand-horizontal { height: 32px !important; max-width: 140px; }
  .client-logo { min-width: 180px; padding: 22px 30px; }
  .client-logo-name { font-size: 1.15rem; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .hero-meta-item .num { font-size: 1.6rem; }

  .cases-header { flex-direction: column; align-items: flex-start; }
  .case-card { flex: 0 0 300px; }

  .insights-grid { grid-template-columns: 1fr; }

  .cta-inner { padding: 56px 28px; }

  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .hero-chip { font-size: 0.7rem; padding: 6px 10px; }
  .hero-chip-2 { right: 0; }
  .hero-chip-5 { left: -2%; }
  .hero-chip-6 { left: 0; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
}
