/* ========================================
   UPFIGURE — style.css
   Full-Service Creative Agency Website
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(255,255,255,0.04);
  --accent-blue: #00AAFF;
  --accent-purple: #8B00FF;
  --accent-grad: linear-gradient(135deg, #00AAFF, #8B00FF);
  --accent-glow-blue: 0 0 30px rgba(0,170,255,0.4);
  --accent-glow-purple: 0 0 30px rgba(139,0,255,0.4);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #555555;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: blur(12px);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; cursor: auto; }
body.light-mode { --bg-primary: #f0f0f0; --bg-secondary: #e0e0e0; --bg-card: rgba(0,0,0,0.04); --text-primary: #111111; --text-secondary: #444444; --glass-bg: rgba(0,0,0,0.04); --glass-border: rgba(0,0,0,0.1); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 3px; }

#cursor { width: 12px; height: 12px; background: var(--accent-blue); border-radius: 50%; position: fixed; pointer-events: none; z-index: 99999; display: none; transform: translate(-50%, -50%); transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s; box-shadow: 0 0 12px var(--accent-blue); }
#cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(0,170,255,0.5); border-radius: 50%; position: fixed; pointer-events: none; z-index: 99998; display: none; transform: translate(-50%, -50%); transition: transform 0.15s, width 0.2s, height 0.2s; }
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  body { cursor: none; }
  #cursor, #cursor-ring { display: block; }
  body:hover #cursor { opacity: 1; }
  a:hover ~ #cursor, button:hover ~ #cursor { width: 20px; height: 20px; }
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
.gradient-text { background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-blue); display: inline-block; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-sub { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; }
section { padding: 100px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.glass { background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: var(--radius); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; border: none; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 4px 20px rgba(0,170,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,170,255,0.45); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--glass-border); }
.btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); box-shadow: var(--accent-glow-blue); }

.reveal { opacity: 0; transform: perspective(1000px) translateY(40px) rotateX(5deg); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0deg); }
.reveal-left { opacity:0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity:0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity:1; transform: translateX(0); }

#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: var(--transition); }
#navbar.scrolled { background: rgba(5,5,12,0.94); backdrop-filter: blur(20px); padding: 14px 0; border-bottom: 1px solid var(--glass-border); box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 1px 0 rgba(0,170,255,0.11); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent-grad); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.theme-toggle { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-primary); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.theme-toggle:hover { border-color: var(--accent-blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; width: 42px; height: 42px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--text-primary); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,10,10,0.97); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-primary); text-decoration: none; font-family: var(--font-head); font-size: 2rem; font-weight: 700; transition: var(--transition); }
.mobile-menu a:hover { color: var(--accent-blue); }

#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px;
  background:
    radial-gradient(ellipse 78% 58% at 72% 36%, rgba(139,0,255,0.26), transparent 52%),
    radial-gradient(ellipse 60% 48% at 24% 66%, rgba(0,170,255,0.20), transparent 46%),
    radial-gradient(ellipse 40% 28% at 50% 5%,  rgba(0,170,255,0.09), transparent 38%),
    radial-gradient(ellipse 30% 20% at 80% 80%, rgba(139,0,255,0.10), transparent 40%),
    linear-gradient(158deg, rgba(16,4,36,0.55) 0%, rgba(5,5,18,0.2) 55%, transparent 100%),
    #0a0a0a;
}
#hero::before { content: ''; position: absolute; inset: auto -10% 0 -10%; height: 38%; background-image: linear-gradient(rgba(0,170,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(139,0,255,0.12) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(700px) rotateX(62deg) translateY(25%); transform-origin: bottom center; opacity: 0.34; pointer-events: none; }
#hero .container { width: 100%; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.6; }
#threejs-canvas { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: 50%; height: min(860px, 92%); z-index: 1; pointer-events: none; opacity: 0.95; filter: drop-shadow(0 0 60px rgba(0,170,255,0.30)) drop-shadow(0 0 100px rgba(139,0,255,0.14)); }
#threejs-canvas canvas { position: absolute; inset: 0; z-index: 1; }
.holo-orb-fallback { position: absolute; inset: 13% 5% 8% 0; z-index: 0; display: grid; place-items: center; border-radius: 50%; opacity: 1; transition: opacity 0.5s ease; transform-style: preserve-3d; animation: fallback-orb-drift 8s ease-in-out infinite; }
#threejs-canvas.three-ready .holo-orb-fallback { opacity: 0; }
.holo-orb-fallback::before, .holo-orb-fallback::after { content: ''; position: absolute; border-radius: 50%; }
.holo-orb-fallback::before { width: min(78%, 430px); aspect-ratio: 1; background: radial-gradient(circle at 48% 45%, rgba(139,0,255,0.16), transparent 34%), repeating-radial-gradient(circle, rgba(0,170,255,0.18) 0 1px, transparent 1px 21px), repeating-conic-gradient(from 8deg, rgba(0,170,255,0.28) 0 1deg, transparent 1deg 11deg); border: 1px solid rgba(0,170,255,0.38); box-shadow: inset 0 0 44px rgba(0,170,255,0.2), 0 0 62px rgba(139,0,255,0.28); animation: fallback-orb-spin 16s linear infinite; }
.holo-orb-fallback::after { width: min(36%, 190px); aspect-ratio: 1; background: radial-gradient(circle, rgba(139,0,255,0.5), rgba(0,170,255,0.1) 62%, transparent 68%); filter: blur(1px); animation: fallback-core-pulse 3.2s ease-in-out infinite; }
.orb-ring { position: absolute; width: min(88%, 500px); aspect-ratio: 1; border: 4px solid rgba(0,170,255,0.74); border-left-color: transparent; border-right-color: rgba(139,0,255,0.72); border-radius: 50%; box-shadow: 0 0 22px rgba(0,170,255,0.22); }
.orb-ring-1 { transform: rotateX(68deg) rotateZ(12deg); animation: fallback-ring-1 8s linear infinite; }
.orb-ring-2 { transform: rotateY(72deg) rotateZ(-24deg); animation: fallback-ring-2 10s linear infinite; }
.orb-ring-3 { width: min(70%, 390px); border-width: 2px; opacity: 0.72; transform: rotateX(20deg) rotateY(70deg); animation: fallback-ring-3 12s linear infinite; }
.orb-core { position: absolute; width: min(31%, 160px); aspect-ratio: 1; border: 1px solid rgba(139,0,255,0.62); border-radius: 18px; transform: rotate(45deg); box-shadow: inset 0 0 22px rgba(139,0,255,0.3), 0 0 30px rgba(0,170,255,0.16); animation: fallback-core-turn 7s linear infinite; }
.orb-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-blue); box-shadow: 0 0 18px var(--accent-blue); }
.orb-dot-1 { top: 17%; left: 35%; animation: fallback-dot 4s ease-in-out infinite; }
.orb-dot-2 { top: 33%; right: 18%; animation: fallback-dot 4.8s ease-in-out infinite 0.4s; }
.orb-dot-3 { bottom: 22%; left: 22%; background: var(--accent-purple); box-shadow: 0 0 18px var(--accent-purple); animation: fallback-dot 5.2s ease-in-out infinite 0.8s; }
.orb-dot-4 { bottom: 17%; right: 28%; animation: fallback-dot 4.4s ease-in-out infinite 1.1s; }
@keyframes fallback-orb-drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-12px,0); } }
@keyframes fallback-orb-spin { to { transform: rotate(360deg); } }
@keyframes fallback-ring-1 { to { transform: rotateX(68deg) rotateZ(372deg); } }
@keyframes fallback-ring-2 { to { transform: rotateY(72deg) rotateZ(-384deg); } }
@keyframes fallback-ring-3 { to { transform: rotateX(20deg) rotateY(70deg) rotateZ(360deg); } }
@keyframes fallback-core-turn { to { transform: rotate(405deg); } }
@keyframes fallback-core-pulse { 0%,100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 0.92; transform: scale(1.08); } }
@keyframes fallback-dot { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: 0.8; } 50% { transform: translate3d(8px,-16px,0) scale(1.4); opacity: 1; } }

.orbital-label { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid rgba(0,170,255,0.32); border-radius: 999px; background: rgba(8,8,18,0.74); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: rgba(255,255,255,0.9); font-family: var(--font-head); font-size: 0.74rem; font-weight: 700; box-shadow: 0 12px 40px rgba(0,0,0,0.38), 0 0 0 1px rgba(0,170,255,0.07), inset 0 1px 0 rgba(255,255,255,0.07); animation: orbit-label-float 5.5s ease-in-out infinite; }
.orbital-label i { color: var(--accent-blue); }
.orbital-label:nth-of-type(1) { top: 28%; left: 50%; animation-delay: 0s; }
.orbital-label:nth-of-type(2) { top: 22%; right: 6%; left: auto; animation-delay: 0.8s; }
.orbital-label:nth-of-type(3) { top: 42%; right: 8%; left: auto; bottom: auto; animation-delay: 1.4s; }
.orbital-label:nth-of-type(4) { bottom: 26%; left: 44%; top: auto; right: auto; animation-delay: 2s; }
.orbital-label:nth-of-type(5) { top: 16%; left: 7%; right: auto; bottom: auto; animation-delay: 2.8s; }
@keyframes orbit-label-float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-12px,0); } }

.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-content::before { content: ''; position: absolute; left: -60px; top: 20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,170,255,0.05) 0%, transparent 65%); pointer-events: none; z-index: -1; border-radius: 50%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(0,170,255,0.28); padding: 8px 22px; border-radius: 50px; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 28px; box-shadow: 0 8px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.10); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.hero-badge span { color: var(--accent-blue); font-weight: 600; }
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #00ff88; display: block; box-shadow: 0 0 8px #00ff88; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title { font-size: clamp(2.8rem, 5.4vw, 5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -2px; filter: drop-shadow(0 0 60px rgba(0,170,255,0.07)); }
.hero-title .word { display: inline-block; opacity: 0; transform: perspective(600px) rotateX(-90deg) translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; margin-right: 0.25em; }
.hero-title .word.flip-in { opacity: 1; transform: perspective(600px) rotateX(0deg) translateY(0); }
.hero-sub { color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 0.75rem; }
.hero-typing-line { font-size: 1.25rem; font-weight: 600; margin-bottom: 2rem; display: flex; align-items: center; gap: 10px; }
.hero-typing-label { color: var(--text-secondary); }
.typed-text { background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }
.typed-cursor { display: inline-block; width: 2px; height: 1.2em; background: var(--accent-blue); animation: blink 0.7s infinite; vertical-align: middle; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.shape-3d { position: absolute; pointer-events: none; z-index: 1; transition: transform 0.1s ease-out; }
.shape-cube { width: 60px; height: 60px; border: 2px solid rgba(0,170,255,0.3); animation: float-shape 6s ease-in-out infinite; transform-style: preserve-3d; }
.shape-ring { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(139,0,255,0.3); animation: float-shape 8s ease-in-out infinite reverse; }
.shape-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(0,170,255,0.4); animation: float-shape 5s ease-in-out infinite; box-shadow: 0 0 20px rgba(0,170,255,0.4); }
@keyframes float-shape { 0%,100%{transform: translateY(0) rotate(0deg)} 50%{transform: translateY(-20px) rotate(180deg)} }

#trust-bar { padding: 18px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: rgba(0,170,255,0.03); overflow: hidden; }
.trust-inner { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-secondary); white-space: nowrap; font-weight: 500; transition: color 0.25s ease; }
.trust-item:hover { color: var(--text-primary); }
.trust-item i { color: var(--accent-blue); font-size: 0.9rem; }

#ticker { padding: 20px 0; overflow: hidden; background: var(--bg-secondary); }
.ticker-track { display: flex; gap: 0; white-space: nowrap; animation: ticker-scroll 30s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 16px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); padding-right: 32px; }
.ticker-item::after { content: '•'; color: var(--accent-blue); font-size: 1.2rem; }
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

#services { background: var(--bg-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 60px; }
.service-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 18px; padding: 32px 28px; cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-style: preserve-3d; will-change: transform; position: relative; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.04); }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,170,255,0.08), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-11px) !important; border-color: rgba(0,170,255,0.30); box-shadow: 0 28px 72px rgba(0,170,255,0.13), 0 8px 28px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08); }
.service-icon { width: 52px; height: 52px; background: var(--accent-grad); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,170,255,0.22), 0 0 0 1px rgba(0,170,255,0.12); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 60px; justify-items: center; }
.why-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 36px 28px; text-align: center; transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1); box-shadow: 0 4px 24px rgba(0,0,0,0.16); width: 100%; }
.why-card:hover { transform: translateY(-11px); box-shadow: 0 22px 58px rgba(0,170,255,0.11), 0 6px 24px rgba(0,0,0,0.24); border-color: rgba(0,170,255,0.24); }
.why-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-grad); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; }
.why-card h3, .why-card p { text-align: center; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--text-secondary); font-size: 0.88rem; }

#stats, #approach { background: var(--bg-secondary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; justify-items: stretch; align-items: stretch; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(145deg, rgba(255,255,255,0.058) 0%, rgba(0,170,255,0.038) 55%, rgba(139,0,255,0.030) 100%); border: 1px solid rgba(255,255,255,0.072); border-radius: 20px; padding: 46px 24px; position: relative; overflow: hidden; width: 100%; box-shadow: 0 4px 28px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.07); transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease; perspective: 600px; }
.stat-card::after { content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,170,255,0.55), transparent); pointer-events: none; }
.stat-card:hover { transform: translateY(-9px); border-color: rgba(0,170,255,0.26); box-shadow: 0 22px 68px rgba(0,170,255,0.15), 0 8px 28px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.10); }
.stat-number-wrap { width: 100%; text-align: center; perspective: none; margin-bottom: 8px; }
.stat-number { font-family: var(--font-head); font-size: 3.4rem; font-weight: 900; letter-spacing: -2.5px; background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; transform: translateY(22px); opacity: 0; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease; text-align: center; width: 100%; margin: 0 auto; filter: drop-shadow(0 0 18px rgba(0,170,255,0.38)); }
.stat-number.flipped { transform: translateY(0); opacity: 1; }
.stat-label { color: rgba(155,155,175,0.85); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.045em; text-align: center; display: block; width: 100%; margin-top: 10px; }

.clients-marquee { overflow: hidden; margin-top: 48px; }
.clients-row { display: flex; gap: 20px; padding: 8px 0; }
.clients-row-1 { animation: marquee-left 25s linear infinite; }
.clients-row-2 { animation: marquee-right 25s linear infinite; margin-top: 16px; }
@keyframes marquee-left { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes marquee-right { from{transform:translateX(-50%)} to{transform:translateX(0)} }
.client-logo { min-width: 160px; height: 72px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); filter: grayscale(1); transition: all 0.3s ease; cursor: default; }
.client-logo:hover { filter: grayscale(0); color: var(--accent-blue); border-color: rgba(0,170,255,0.2); transform: scale(1.05); background: rgba(0,170,255,0.06); }

#reviews { background: var(--bg-secondary); }
.reviews-top-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 10px 20px; border-radius: 50px; margin-bottom: 48px; font-size: 0.88rem; color: var(--text-secondary); }
.stars-gold { color: #FFD700; }
.reviews-carousel { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform 0.5s ease; gap: 24px; }
.review-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 18px; padding: 28px 24px; position: relative; flex-shrink: 0; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.review-card:hover { transform: translateY(-7px); border-color: rgba(0,170,255,0.22); box-shadow: 0 18px 52px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06); }
.review-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: #fff; }
.reviewer-name { font-weight: 600; font-size: 0.95rem; }
.reviewer-company { color: var(--accent-blue); font-size: 0.8rem; }
.google-g { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #4285F4; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.review-stars { color: #FFD700; font-size: 0.85rem; margin-bottom: 12px; }
.review-text { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; margin-bottom: 12px; }
.review-date { color: var(--text-muted); font-size: 0.75rem; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-primary); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.carousel-btn:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.carousel-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--accent-blue); width: 24px; border-radius: 4px; }

#process { overflow: hidden; }
.process-timeline { display: flex; gap: 0; margin-top: 64px; position: relative; flex-wrap: wrap; }
.process-timeline::before { content: ''; position: absolute; top: 28px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); z-index: 0; box-shadow: 0 0 12px rgba(0,170,255,0.2); }
.process-step { flex: 1; min-width: 140px; text-align: center; position: relative; z-index: 1; padding: 0 12px; margin-bottom: 24px; }
.process-num { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0 auto 20px; box-shadow: 0 0 0 7px rgba(0,170,255,0.09), 0 0 36px rgba(0,170,255,0.28); transition: all 0.3s ease; }
.process-step:hover .process-num { box-shadow: 0 0 0 10px rgba(0,170,255,0.14), 0 0 56px rgba(0,170,255,0.48); transform: scale(1.09); }
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; }

#cta { text-align: center; padding: 80px 0; background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,170,255,0.07), transparent 60%), radial-gradient(ellipse 55% 45% at 15% 70%, rgba(139,0,255,0.06), transparent 55%), radial-gradient(ellipse 40% 32% at 85% 25%, rgba(0,170,255,0.05), transparent 50%); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
#cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; filter: drop-shadow(0 0 44px rgba(0,170,255,0.12)); }
#cta p { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.1rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }

footer { background: linear-gradient(180deg, #111111 0%, rgba(6, 6, 14, 0.98) 100%); border-top: 1px solid var(--glass-border); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 60px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 20px; font-weight: 600; }
.footer-col p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--accent-blue); padding-left: 5px; }
.footer-links a::before { content: '→'; font-size: 0.7rem; color: var(--accent-blue); opacity: 0; transition: opacity 0.2s; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-secondary); font-size: 0.88rem; }
.footer-contact i { color: var(--accent-blue); margin-top: 2px; min-width: 14px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link { width: 38px; height: 38px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.social-link:hover { background: var(--accent-grad); color: #fff; border-color: transparent; transform: translateY(-3px) scale(1.1); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

.float-whatsapp { position: fixed; bottom: 28px; right: 28px; z-index: 9000; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4); animation: pulse-wa 2.5s infinite; }
@keyframes pulse-wa { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 40px rgba(37,211,102,0.7)} }
.float-whatsapp:hover { transform: scale(1.1); }
.float-back-top { position: fixed; bottom: 96px; right: 28px; z-index: 9000; width: 44px; height: 44px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-primary); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); opacity: 0; pointer-events: none; }
.float-back-top.show { opacity: 1; pointer-events: all; }
.float-back-top:hover { background: var(--accent-grad); border-color: transparent; }

.float-chatbot-btn { position: fixed; bottom: 160px; right: 28px; z-index: 9000; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-grad); color: #fff; cursor: pointer; font-size: 0; display: flex; align-items: center; justify-content: center; border: none; box-shadow: 0 4px 20px rgba(139,0,255,0.4); transition: var(--transition); overflow: visible; }
.float-chatbot-btn::after { content: '\f544'; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 1.28rem; line-height: 1; }
.float-chatbot-btn:hover { transform: scale(1.1); }
.chat-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: #ff4444; color: #fff; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.chat-badge.show { opacity: 1; }

.float-review-badge { position: fixed; bottom: 28px; left: 28px; z-index: 9000; background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); border-radius: 50px; padding: 10px 18px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary); text-decoration: none; max-width: calc(100vw - 120px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: slide-in-left 1s ease 2s both; }
.float-review-badge:hover { border-color: rgba(0,170,255,0.4); }
@keyframes slide-in-left { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

#chatbot-panel { position: fixed; bottom: 100px; right: 28px; z-index: 8999; width: 350px; height: 500px; background: rgba(15,15,20,0.95); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; transform: scale(0) translateY(20px); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
#chatbot-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--glass-border); background: rgba(139,0,255,0.12); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; font-size: 0; color: #fff; }
.chat-header-info { flex: 1; }
.chat-header-name { font-weight: 600; font-size: 0.9rem; }
.chat-header-status { font-size: 0.72rem; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; }
.chat-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #00ff88; box-shadow: 0 0 6px #00ff88; }
.chat-close { background: none; border: none; color: var(--text-secondary); font-size: 1.1rem; cursor: pointer; padding: 4px; transition: var(--transition); }
.chat-close:hover { color: var(--text-primary); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--glass-border) transparent; }
.chat-msg { max-width: 85%; animation: msg-in 0.3s ease; }
@keyframes msg-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble { padding: 10px 14px; border-radius: 14px; font-size: 0.83rem; line-height: 1.6; white-space: pre-wrap; }
.bot .chat-bubble { background: rgba(255,255,255,0.07); border: 1px solid var(--glass-border); border-bottom-left-radius: 4px; color: var(--text-primary); }
.user .chat-bubble { background: var(--accent-grad); color: #fff; border-bottom-right-radius: 4px; }
.chat-time { font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; }
.bot .chat-time { text-align: left; }
.user .chat-time { text-align: right; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick-reply-btn { background: var(--glass-bg); border: 1px solid rgba(0,170,255,0.3); color: var(--accent-blue); padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; cursor: pointer; transition: var(--transition); font-family: var(--font-body); }
.quick-reply-btn:hover { background: rgba(0,170,255,0.1); }
.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 10px 14px; background: rgba(255,255,255,0.07); border: 1px solid var(--glass-border); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; width: fit-content; }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing-bounce 1s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.chat-input-area { padding: 12px 16px; border-top: 1px solid var(--glass-border); display: flex; gap: 8px; }
.chat-input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); border-radius: 50px; padding: 10px 16px; color: var(--text-primary); font-family: var(--font-body); font-size: 0.85rem; outline: none; transition: var(--transition); }
.chat-input:focus { border-color: var(--accent-blue); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad); border: none; color: #fff; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.chat-send:hover { transform: scale(1.1); }

.services-page-hero, .portfolio-hero, .about-hero, .contact-hero { position: relative; overflow: hidden; isolation: isolate; }
.services-page-hero::before, .portfolio-hero::before, .about-hero::before, .contact-hero::before { content: ''; position: absolute; inset: auto -12% -8% -12%; height: 44%; background-image: linear-gradient(rgba(0,170,255,0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(139,0,255,0.11) 1px, transparent 1px); background-size: 58px 58px; transform: perspective(620px) rotateX(62deg); transform-origin: bottom center; opacity: 0.25; z-index: -1; }
.services-page-hero::after, .portfolio-hero::after, .about-hero::after, .contact-hero::after { content: ''; position: absolute; right: 9%; top: 30%; width: 170px; height: 170px; border: 1px solid rgba(0,170,255,0.28); border-radius: 50%; box-shadow: inset 0 0 34px rgba(0,170,255,0.12), 0 0 42px rgba(139,0,255,0.14); animation: float-shape 9s ease-in-out infinite; z-index: -1; }

.section-title { letter-spacing: -0.5px; line-height: 1.15; }
.section-label { letter-spacing: 0.18em; text-shadow: 0 0 22px rgba(0,170,255,0.45); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #00AAFF 0%, #8B00FF 100%); box-shadow: 0 0 8px rgba(0,170,255,0.4); }

@media (max-width: 1180px) { #threejs-canvas { right: -15%; width: 56%; opacity: 0.55; } .hero-content { max-width: 590px; } }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } .review-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 900px) { #threejs-canvas { display: none; } }
@media (max-width: 768px) {
  section { padding: 70px 0; }
  .reveal, .reveal-left, .reveal-right { transform: translateY(28px); }
  .reveal.visible, .reveal-left.visible, .reveal-right.visible { transform: translateY(0); }
  .nav-links, .nav-right .btn, .theme-toggle { display: none; }
  .hamburger { display: flex; }
  #hero { padding: 110px 0 72px; align-items: center; }
  #hero::before { opacity: 0.16; }
  .hero-title { font-size: 2.4rem; }
  .hero-badge { max-width: 100%; flex-wrap: wrap; border-radius: 18px; }
  .trust-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 24px; }
  .process-timeline { flex-direction: column; gap: 32px; }
  .process-timeline::before { display: none; }
  .process-step { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .process-num { margin: 0; min-width: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .review-card { flex-basis: 100%; }
  #chatbot-panel { width: calc(100vw - 32px); right: 16px; bottom: 16px; border-radius: 16px; height: min(70vh, 560px); }
  .float-chatbot-btn { bottom: 96px; }
  .float-whatsapp { bottom: 24px; }
  .float-back-top { bottom: 164px; }
  .float-review-badge { left: 20px; bottom: 24px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .float-whatsapp { right: 20px; bottom: 20px; }
  .float-chatbot-btn { right: 20px; bottom: 92px; }
  .float-back-top { right: 26px; bottom: 158px; }
  .float-review-badge { left: 20px; bottom: 20px; max-width: calc(100vw - 116px); padding: 9px 14px; }
}