/* SCALIFY AGENCY — Design Tokens & Base Styles */
:root {
  --color-teal: #00B5B5;
  --color-teal-dark: #009090;
  --color-blue: #005792;
  --color-bg-page: #f5f5f0;
  --color-bg-elevated: #ffffff;
  --color-bg-dark: #0a0a0f;
  --color-bg-purple: #eef6fa;
  --color-bg-light: #ffffff;
  --color-bg-light-alt: #f7f7f2;
  --color-text-muted: rgba(10, 10, 15, 0.55);
  --color-text-dark: #0a0a0f;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-subtle: rgba(0, 0, 0, 0.05);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  font-family: var(--font-body);
  background: var(--color-bg-page);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open .scali-widget,
body.menu-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-eyebrow { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 1rem; }
.section-eyebrow--dark { color: rgba(0, 0, 0, 0.3); }

.btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 1.75rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: all var(--transition); }
.btn-primary { background: var(--color-teal); color: var(--color-bg-dark); box-shadow: 0 0 40px rgba(0, 181, 181, 0.2); }
.btn-primary:hover { background: #fff; transform: scale(1.05); }
.btn-outline { border: 1px solid rgba(0, 0, 0, 0.12); color: rgba(10, 10, 15, 0.6); }
.btn-outline:hover { border-color: var(--color-teal); color: var(--color-teal); }
.btn-link { color: rgba(10, 10, 15, 0.45); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: underline; text-underline-offset: 4px; }
.btn-link:hover { color: var(--color-text-dark); }
.btn-dark { background: var(--color-text-dark); color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.btn-dark:hover { background: #1a1a24; transform: translateY(-2px); }
.btn-link--dark { color: rgba(0,0,0,0.45); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.btn-link--dark:hover { color: var(--color-text-dark); }

/* NAVBAR */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); transition: background var(--transition), backdrop-filter var(--transition); }
body.menu-open .site-header { z-index: 10002; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 52px; width: auto; max-width: min(200px, 46vw); display: block; object-fit: contain; transition: transform var(--transition), filter var(--transition); }
.site-logo:hover img { transform: scale(1.03); filter: drop-shadow(0 0 10px rgba(92,225,230,0.4)); }
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 15, 0.5);
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 99px;
  background: var(--color-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover {
  color: var(--color-text-dark);
  transform: translateY(-1px);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--color-teal);
  background: rgba(0, 181, 181, 0.08);
}
.nav-links a.active::after {
  transform: scaleX(1);
  background: var(--color-teal);
}
.nav-cta { padding: 0.65rem 1.35rem; border-radius: var(--radius-sm); background: var(--color-teal); color: var(--color-bg-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; transition: background var(--transition), transform var(--transition), box-shadow var(--transition); }
.nav-cta:hover { background: var(--color-teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 181, 181, 0.25); }
.menu-toggle { display: none; flex-direction: column; gap: 6px; width: 40px; height: 40px; align-items: center; justify-content: center; z-index: 10003; position: relative; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text-dark); transition: all var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--color-bg-page); z-index: 10001; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; opacity: 0; pointer-events: none; transition: opacity var(--transition); padding: calc(var(--nav-height) + 1rem) 24px 2rem; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  position: relative;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 15, 0.55);
  transition: color 0.25s ease, transform 0.25s ease;
}
.mobile-menu a:hover {
  color: var(--color-teal);
  transform: translateX(4px);
}
.mobile-menu a.active {
  color: var(--color-teal);
}

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(165deg, #f5f5f0 0%, #eef8f8 45%, #f0f4ff 100%); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__nebula { position: absolute; border-radius: 50%; filter: blur(40px); animation: nebula-drift 40s ease-in-out infinite alternate; }
.hero__nebula--1 { left: 18%; top: 28%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(0, 181, 181, 0.12) 0%, transparent 65%); }
.hero__nebula--2 { left: 78%; top: 18%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(0, 87, 146, 0.1) 0%, transparent 65%); animation-delay: 6s; }
.hero__stars { position: absolute; inset: 0; }
.hero__star { position: absolute; border-radius: 50%; background: var(--color-teal); animation: star-twinkle 3s ease-in-out infinite; }
.hero__comet { position: absolute; top: 12%; left: -10%; width: 3px; height: 3px; border-radius: 50%; background: var(--color-teal); box-shadow: 0 0 8px rgba(0, 181, 181, 0.6); animation: shoot-star 10s linear 2s infinite; }
.hero__comet--2 { top: 35%; animation-delay: 6s; animation-duration: 12s; }
.hero__comet--3 { top: 58%; animation-delay: 11s; animation-duration: 9s; transform: rotate(18deg); }
.hero__comet::after { content: ''; position: absolute; top: 50%; right: 100%; width: 140px; height: 1.5px; background: linear-gradient(to left, rgba(0, 181, 181, 0.85) 0%, transparent 100%); transform: translateY(-50%); }
.hero__content { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-height) + 2rem) 2rem 4rem; max-width: 900px; }
.hero__badge { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.hero__badge-line { width: 40px; height: 1px; background: var(--color-teal); }
.hero__badge-text { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-teal); }
.hero__headline { margin-bottom: 2rem; }
.hero__line { overflow: hidden; }
.hero__line-text { display: block; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.88; letter-spacing: -0.02em; will-change: transform; }
.hero__line--outline .hero__line-text { font-family: var(--font-display); font-style: italic; font-weight: 300; -webkit-text-stroke: 2px rgba(10, 10, 15, 0.22); color: transparent; }
.hero__line--accent .hero__line-text { font-weight: 900; color: var(--color-teal); }
.hero__line--white .hero__line-text { font-weight: 900; color: var(--color-text-dark); }
.hero__subtext { max-width: 28rem; color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 2rem; display: flex; flex-direction: column; align-items: center; z-index: 10; }
.hero__scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, rgba(10, 10, 15, 0.15), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 35%; background: var(--color-teal); animation: scroll-pulse 2s ease-in-out infinite; }
.hero__orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: block; }
.hero__orb { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; animation: orb-float 6s ease-in-out infinite alternate; }
.hero__orb-sphere { width: 100%; height: 100%; border-radius: 50%; position: relative; cursor: pointer; transition: transform 0.45s ease, box-shadow 0.65s ease; overflow: hidden; }
.hero__orb-sphere:hover { transform: scale(1.08); }
.hero__orb-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 50%; transform: translate(-50%, -50%); animation: orbit-spin 14s linear infinite; pointer-events: none; }
.hero__orb-orbit-dot { position: absolute; top: 50%; right: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--color-teal); transform: translateY(-50%); }
.hero__orb-tooltip { position: absolute; left: 50%; transform: translateX(-50%) translateY(8px); opacity: 0; pointer-events: none; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); border: 1px solid rgba(0, 181, 181, 0.25); border-radius: 12px; padding: 12px 16px; min-width: 160px; white-space: nowrap; transition: opacity 0.22s ease, transform 0.22s ease; z-index: 30; color: var(--color-text-dark); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); }
.hero__orb:hover .hero__orb-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.hero__orb-tooltip--top { bottom: calc(100% + 12px); }
.hero__orb-tooltip-cat { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 4px; }
.hero__orb-tooltip-title { font-weight: 700; font-size: 0.875rem; }
.hero__orb-tooltip-metric { font-weight: 900; font-size: 1.25rem; color: var(--color-teal); }
.hero__orb-label { text-align: center; margin-top: 6px; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(10, 10, 15, 0.35); }
.hero__orb--featured .hero__orb-sphere { box-shadow: 0 0 0 2px var(--color-teal), 0 0 48px rgba(0,181,181,0.5); }
.hero__orb--featured .hero__orb-label { color: var(--color-teal); }
.hero__vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 72% 55% at 38% 52%, rgba(245, 245, 240, 0.5) 0%, transparent 78%); }

/* FUTURE REVEAL */
.future { position: relative; padding: 90px 0 110px; background: var(--color-bg-purple); overflow: hidden; border-top: 1px solid var(--color-border); color: var(--color-text-dark); }
.future::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0,87,146,0.08) 0%, transparent 60%); pointer-events: none; }
.future__char { display: inline-block; }
.future__wipe { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(95deg, #f5f5f0 0%, #eef6fa 60%, #eef4f8 100%); animation: dark-wipe 1.25s cubic-bezier(0.76,0,0.24,1) 0.05s forwards; }
.future__bar { position: absolute; inset: 0; z-index: 31; pointer-events: none; background: linear-gradient(90deg, transparent 78%, rgba(0,181,181,0.18) 92%, var(--color-teal) 99%, transparent 100%); mix-blend-mode: screen; animation: accent-bar 1.35s cubic-bezier(0.76,0,0.24,1) 0.05s forwards; }
.future__content { position: relative; z-index: 10; text-align: center; padding: 0 24px; }
.future__badge { display: flex; align-items: center; justify-content: center; gap: 0.85rem; margin-bottom: 1.8rem; }
.future__badge-line { width: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-teal)); }
.future__badge-line--right { background: linear-gradient(90deg, var(--color-teal), transparent); }
.future__badge-text { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.62em; text-transform: uppercase; color: var(--color-teal); }
.future__headline { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.future__headline--stroke { color: transparent; -webkit-text-stroke: 2px rgba(10, 10, 15, 0.15); }
.future__sphere-wrap { position: relative; display: block; width: 100%; max-width: 1100px; margin: 3rem auto; }
.future__sphere { width: 100%; height: 80vh; aspect-ratio: 16 / 9; border-radius: 16px; position: relative; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 87, 146, 0.18); }
.future__sphere::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, 0.712); pointer-events: none; z-index: 2; }
.future__sphere-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; z-index: 1; }
.future__sphere-title {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  pointer-events: none;
}
.future__sphere-title-line { overflow: hidden; }
.future__sphere-title-text {
  display: block;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.future__sphere-title-line--outline .future__sphere-title-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
  color: transparent;
}
.future__sphere-title-line--accent .future__sphere-title-text {
  font-family: var(--font-body);
  font-weight: 900;
  color: var(--color-teal);
}
.future__sphere-title-line--solid .future__sphere-title-text {
  font-family: var(--font-body);
  font-weight: 900;
  color: #fff;
}
.future__actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.future__cta-btn { padding: 1.05rem 2.6rem; border-radius: var(--radius-full); background: var(--color-teal); color: var(--color-bg-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.42em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.95rem; box-shadow: 0 0 38px rgba(0,181,181,0.42); }
.future__cta-btn:hover { background: #fff; }
.future__secondary-btn { padding: 0.65rem 1.6rem; border-radius: var(--radius-full); border: 1px solid rgba(0, 0, 0, 0.1); color: rgba(10, 10, 15, 0.45); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.55rem; }
.future__secondary-btn:hover { color: var(--color-teal); border-color: rgba(0,181,181,0.3); }

/* ABOUT INTRO */
.about-intro { position: relative; padding: 6rem 0 5rem; background: var(--color-bg-elevated); overflow: hidden; min-height: 70vh; }
.about-intro__blob { position: absolute; top: 20%; left: 10%; width: 500px; height: 500px; background: radial-gradient(circle at 40% 40%, rgba(0,181,181,0.14) 0%, transparent 70%); opacity: 0.5; animation: blob-morph 14s ease-in-out infinite; pointer-events: none; }
.about-intro__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem 5rem; align-items: start; }
.about-intro__col--right { padding-top: 0.5rem; }
.about-intro__headline { font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 900; color: var(--color-text-dark); line-height: 0.9; letter-spacing: -0.02em; }
.about-intro__line { display: block; overflow: hidden; }
.about-intro__line-inner { display: block; }
.about-intro__headline span { display: block; }
.about-intro__headline .accent { color: var(--color-teal); }
.about-intro__line-inner--outline { color: transparent; -webkit-text-stroke: 2px var(--color-text-dark); paint-order: stroke fill; }
.about-intro__text { color: rgba(0,0,0,0.5); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; max-width: 26rem; }
.about-intro__actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

/* Mascot + speech bubble (reference: woof! work with us) */
.about-intro__mascot { position: relative; margin-top: 3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.about-intro__speech { position: relative; padding: 0.65rem 1.25rem; background: var(--color-text-dark); color: #fff; border-radius: 12px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0,0,0,0.15); animation: speech-bob 3s ease-in-out infinite; }
.about-intro__speech::after { content: ''; position: absolute; bottom: -8px; left: 28px; width: 14px; height: 14px; background: var(--color-text-dark); transform: rotate(45deg); border-radius: 2px; }
.about-intro__speech-accent { color: var(--color-teal); }
.about-intro__mascot-icon { width: 90px; height: 90px; animation: mascot-float 4s ease-in-out infinite; }
.about-intro__mascot-icon svg { width: 100%; height: 100%; }
@keyframes speech-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes mascot-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* About decorative grid + floating shapes */
.about-intro__grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 64px 64px; }
.about-intro__decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.about-intro__decor span { position: absolute; }
.about-intro__decor-ring { border-radius: 50%; border: 1.5px solid rgba(0,181,181,0.3); }
.about-intro__decor-ring--1 { width: 100px; height: 100px; top: 12%; left: 6%; animation: about-float 7s ease-in-out infinite; }
.about-intro__decor-ring--2 { width: 48px; height: 48px; top: 28%; left: 38%; border-color: rgba(0,87,146,0.25); border-style: dashed; animation: about-spin 18s linear infinite; }
.about-intro__decor-dot { border-radius: 50%; background: var(--color-teal); }
.about-intro__decor-dot--1 { width: 8px; height: 8px; top: 20%; left: 20%; box-shadow: 0 0 14px rgba(0,181,181,0.6); animation: about-float 5s ease-in-out infinite 0.6s; }
.about-intro__decor-dot--2 { width: 5px; height: 5px; top: 55%; left: 10%; background: var(--color-blue); animation: about-float 6s ease-in-out infinite 1.2s; }
.about-intro__decor-dot--purple { width: 10px; height: 10px; top: 8%; left: 42%; background: #a855f7; box-shadow: 0 0 18px rgba(168,85,247,0.6); animation: about-float 4.5s ease-in-out infinite; }
.about-intro__decor-plus { top: 16%; left: 48%; font-size: 1.4rem; font-weight: 300; color: rgba(0,181,181,0.4); animation: about-spin 14s linear infinite; }
@keyframes about-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes about-spin { to { transform: rotate(360deg); } }

/* MARQUEE */
.marquee-section { padding: 5rem 0; background: var(--color-bg-light-alt); overflow: hidden; position: relative; }
.marquee-section__fade-left, .marquee-section__fade-right { position: absolute; top: 0; bottom: 0; width: 192px; z-index: 10; pointer-events: none; }
.marquee-section__fade-left { left: 0; background: linear-gradient(to right, var(--color-bg-light-alt), transparent); }
.marquee-section__fade-right { right: 0; background: linear-gradient(to left, var(--color-bg-light-alt), transparent); }
.marquee-section__label { text-align: center; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.55em; text-transform: uppercase; color: rgba(0,0,0,0.28); margin-bottom: 2.5rem; }
.marquee-track { display: flex; animation: marquee-scroll 32s linear infinite; white-space: nowrap; width: max-content; }
.marquee-item { flex-shrink: 0; display: flex; align-items: center; gap: 0.625rem; margin: 0 2.5rem; color: rgba(0,0,0,0.5); font-size: 1.1rem; font-weight: 600; }
.marquee-item__sep { color: var(--color-teal); opacity: 0.6; }

/* STATS */
.stats-band { position: relative; padding: 4rem 0; background: var(--color-teal); overflow: hidden; }
.stats-band__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(0,0,0,0.18) 0%, transparent 70%); pointer-events: none; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stats-band__item { padding: 1rem 1.5rem; text-align: center; border-right: 1px solid rgba(0,0,0,0.1); position: relative; transition: transform 0.3s ease; }
.stats-band__item:hover { transform: scale(1.05); }
.stats-band__item:last-child { border-right: none; }
.stats-band__value { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: white; line-height: 1; margin-bottom: 0.25rem; font-variant-numeric: tabular-nums; }
.stats-band__label { font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 255); }
.stats-band__sub { font-size: 0.75rem; color: rgba(255, 255, 255, 255); margin-top: 0.125rem; }

/* SERVICES */
.services { padding: 6rem 0; background: var(--color-bg-page); }
.services__header { text-align: center; margin-bottom: 3rem; }
.services__header--left { text-align: left; max-width: 42rem; }
.services__title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 0.95; margin-bottom: 1rem; }
.services__title .accent { color: var(--color-teal); }
.services__title-accent { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--color-teal); }
.services__subtitle { color: var(--color-text-muted); max-width: 32rem; margin: 0 auto; line-height: 1.75; }
.services__header--left .services__subtitle { margin: 0; max-width: 36rem; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Wibify-style discipline blocks (homepage) */
.services--disciplines { padding: 7rem 0; }
.services__list { display: flex; flex-direction: column; }
.service-discipline { padding: 3.5rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.service-discipline:first-child { border-top: none; padding-top: 0; }
.service-discipline.hidden { display: none; }
.service-discipline__meta { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1.25rem; }
.service-discipline__num { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1; color: rgba(255,255,255,0.12); letter-spacing: -0.03em; }
.service-discipline__label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-teal); }
.service-discipline__title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.service-discipline__desc { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.75; max-width: 52rem; margin-bottom: 2.5rem; }
.service-discipline__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; margin-bottom: 2.5rem; }
.service-discipline__col-title { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; }
.service-discipline__list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.service-discipline__list li { font-size: 0.9rem; color: rgba(255,255,255,0.65); padding-left: 1.1rem; position: relative; line-height: 1.5; }
.service-discipline__list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--color-teal); opacity: 0.7; }
.service-discipline__footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
.service-discipline__model { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.service-discipline__cta { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-teal); transition: color var(--transition); }
.service-discipline__cta:hover { color: #fff; }

/* SERVICES PAGE — Wibify clone */
.services-page { background: var(--color-bg-page); }
.bracket-eyebrow { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.bracket-eyebrow__tag { color: var(--color-teal); font-weight: 700; }
.services-page-hero { padding: calc(var(--nav-height) + 4rem) 0 4rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.services-page-hero__title { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.services-page-hero__title em { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--color-teal); }
.services-page-hero__text { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.8; max-width: 40rem; }
.services--full { padding-top: 4rem; padding-bottom: 5rem; }
.services--full .service-discipline:first-child { padding-top: 0; }

/* Process section */
.process-section { padding: 6rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.process-section__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 3.5rem; }
.process-section__title em { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--color-teal); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process-step { padding: 2rem 1.5rem; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); background: rgba(255,255,255,0.02); transition: border-color var(--transition), transform var(--transition); }
.process-step:hover { border-color: rgba(0,181,181,0.3); transform: translateY(-4px); }
.process-step__num { display: block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.2em; color: var(--color-teal); margin-bottom: 1.25rem; }
.process-step__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.process-step__desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 1.25rem; }
.process-step__duration { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* Services page CTA */
.services-page-cta { padding: 6rem 0 8rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.services-page-cta__title { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900; line-height: 0.95; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.services-page-cta__title em { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--color-teal); }
.services-page-cta__text { color: var(--color-text-muted); max-width: 32rem; margin: 0 auto 2rem; line-height: 1.75; }
.service-card { height: 280px; perspective: 1000px; cursor: pointer; }
.service-card__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card:hover .service-card__inner, .service-card.is-flipped .service-card__inner { transform: rotateY(180deg); }
.service-card__face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; }
.service-card__face--front { background: linear-gradient(150deg, #fafafa 0%, #fff 60%, rgba(0,181,181,0.06) 100%); color: var(--color-text-dark); }
.service-card__face--back { transform: rotateY(180deg); background: linear-gradient(150deg, #0a0a0f, #111118); color: #fff; padding: 1.5rem; justify-content: space-between; }
.service-card__bar { height: 4px; flex-shrink: 0; }
.service-card__thumb { height: 90px; background-size: cover; background-position: center; opacity: 0.85; }
.service-card__front-body { flex: 1; padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card__number { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; color: rgba(0,0,0,0.3); }
.service-card__flip-hint { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(0,0,0,0.25); }
.service-card__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.service-card__title { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.service-card__back-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.75rem; }
.service-card__desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }
.service-card__explore { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.25rem; border-radius: var(--radius-full); background: var(--color-teal); color: var(--color-bg-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.service-card__explore:hover { background: #fff; }
.services__more { text-align: center; margin-top: 2rem; }
.services__more-btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); font-weight: 900; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; transition: all var(--transition); }
.services__more-btn:hover { border-color: rgba(0,181,181,0.5); color: var(--color-teal); background: rgba(0,181,181,0.06); }
.service-card.hidden { display: none; }

/* PORTFOLIO */
.portfolio { position: relative; padding: 3rem 0 6rem; background: #000; overflow: hidden; min-height: 90vh; }
.portfolio__bg-text { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(8rem, 22vw, 22rem); font-weight: 900; white-space: nowrap; pointer-events: none; -webkit-text-stroke: 1.5px rgba(255,255,255,0.06); color: transparent; z-index: 0; }
.portfolio-pod-stage { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 520px; padding: 2rem 24px 3rem; }
.portfolio-pod-stage__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(700px, 90vw); height: min(700px, 70vh); background: radial-gradient(circle, rgba(0,181,181,0.12) 0%, rgba(0,87,146,0.06) 40%, transparent 70%); pointer-events: none; animation: pod-glow-pulse 4s ease-in-out infinite; }
.portfolio-pod-capsule { position: relative; width: min(420px, 92vw); cursor: none; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.portfolio-pod-capsule__tab { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: -1px; position: relative; z-index: 2; }
.portfolio-pod-capsule__tab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-teal); box-shadow: 0 0 10px var(--color-teal); animation: pod-dot-pulse 2s ease-in-out infinite; }
.portfolio-pod-capsule__tab-text { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.5); background: rgba(10,10,15,0.95); border: 1px solid rgba(255,255,255,0.08); border-bottom: none; padding: 0.5rem 1.25rem; border-radius: 12px 12px 0 0; }
.portfolio-pod-capsule__shell { background: linear-gradient(180deg, rgba(12,12,18,0.98) 0%, rgba(5,5,7,0.99) 100%); border: 1px solid rgba(255,255,255,0.1); border-radius: 0 0 24px 24px; overflow: hidden; box-shadow: 0 0 60px rgba(0,181,181,0.08), 0 40px 80px rgba(0,0,0,0.6); transition: box-shadow 0.5s ease, border-color 0.5s ease; }
.portfolio-pod-capsule.is-open .portfolio-pod-capsule__shell { border-color: rgba(0,181,181,0.35); box-shadow: 0 0 80px rgba(0,181,181,0.2), 0 50px 100px rgba(0,0,0,0.7); }
.portfolio-pod-capsule__bar { display: flex; justify-content: space-between; padding: 0.65rem 1.25rem; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-teal); border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(0,181,181,0.04); }
.portfolio-pod-capsule__viewport { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 2.5rem 1.5rem; position: relative; min-height: 280px; }
.portfolio-pod-capsule__line { width: 3px; height: 120px; border-radius: 99px; opacity: 0.6; transition: height 0.5s ease, opacity 0.5s ease; }
.portfolio-pod-capsule__line--left { background: linear-gradient(to bottom, transparent, var(--color-teal), transparent); box-shadow: 0 0 20px rgba(0,181,181,0.5); }
.portfolio-pod-capsule__line--right { background: linear-gradient(to bottom, transparent, #00d4e8, transparent); box-shadow: 0 0 20px rgba(0,212,232,0.4); }
.portfolio-pod-capsule.is-open .portfolio-pod-capsule__line { height: 160px; opacity: 1; }
.portfolio-pod-capsule__planet-wrap { position: relative; width: 180px; height: 180px; flex-shrink: 0; }
.portfolio-pod-capsule__planet { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #00B5B5 0%, #005792 50%, #050507 100%); box-shadow: 0 0 40px rgba(0,181,181,0.4), inset 0 0 30px rgba(0,0,0,0.5); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.portfolio-pod-capsule.is-open .portfolio-pod-capsule__planet { transform: scale(1.08); }
.portfolio-pod-capsule__orbit { position: absolute; inset: -20px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; animation: orbit-spin 12s linear infinite; pointer-events: none; }
.portfolio-pod-capsule__orbit::after { content: ''; position: absolute; top: 0; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.8); box-shadow: 0 0 8px var(--color-teal); transform: translateX(-50%); }
.portfolio-pod-capsule__cat { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); font-size: 0.45rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: #00d4e8; white-space: nowrap; }
.portfolio-pod-capsule__info { max-height: 0; overflow: hidden; opacity: 0; padding: 0 1.5rem; transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.5s ease; text-align: center; }
.portfolio-pod-capsule.is-open .portfolio-pod-capsule__info { max-height: 200px; opacity: 1; padding: 0 1.5rem 1.5rem; }
.portfolio-pod-capsule__info h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.portfolio-pod-capsule__metric { font-size: 1.75rem; font-weight: 900; color: var(--color-teal); margin-bottom: 0.5rem; }
.portfolio-pod-capsule__metric span { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-weight: 600; margin-left: 0.35rem; }
.portfolio-pod-capsule__desc { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.portfolio-pod-capsule__link { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-teal); }
.portfolio-pod-dots { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.portfolio-pod-dot { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.4); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.05em; transition: all 0.3s ease; cursor: none; }
.portfolio-pod-dot.is-active, .portfolio-pod-dot:hover { border-color: var(--color-teal); color: var(--color-teal); background: rgba(0,181,181,0.12); box-shadow: 0 0 20px rgba(0,181,181,0.3); transform: scale(1.1); }
.portfolio-pod-stage__hint { margin-top: 1.5rem; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.25); animation: hint-bounce 2.5s ease-in-out infinite; }
@keyframes pod-glow-pulse { 0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
@keyframes pod-dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); opacity: 0.25; } 50% { transform: translateY(4px); opacity: 0.5; } }
.portfolio__header { position: relative; z-index: 1; text-align: center; margin-bottom: 1rem; }
.portfolio__title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 0.95; }
.portfolio__title .accent { color: var(--color-teal); }
.portfolio__subtitle { color: var(--color-text-muted); margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.portfolio__pods { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 4rem; position: relative; z-index: 1; }
.portfolio-pod { width: 160px; height: 220px; border-radius: 80px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.5rem; cursor: pointer; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; position: relative; padding-bottom: 1.25rem; }
.portfolio-pod__preview { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; transition: opacity 0.5s ease, transform 0.5s ease; }
.portfolio-pod__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, var(--pod-color, var(--color-teal)) 0%, transparent 70%); opacity: 0.25; pointer-events: none; }
.portfolio-pod:hover { transform: scale(1.1) translateY(-8px); border-color: var(--color-teal); box-shadow: 0 0 50px rgba(0,181,181,0.25); height: 260px; }
.portfolio-pod:hover .portfolio-pod__preview { opacity: 0.65; transform: scale(1.1); }
.portfolio-pod__num { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: var(--color-teal); position: relative; z-index: 1; }
.portfolio-pod__label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: rgba(255,255,255,0.85); padding: 0 1rem; position: relative; z-index: 1; }
.portfolio-pod__metric { font-size: 1.25rem; font-weight: 900; color: var(--color-teal); position: relative; z-index: 1; }
.portfolio-pod__hint { font-size: 0.55rem; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; position: relative; z-index: 1; }
.portfolio__rail-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; padding: 0 24px; max-width: var(--max-width); margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.portfolio__rail-title { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 0.9; }
.portfolio__rail-title .accent { color: var(--color-teal); font-style: normal; font-weight: 900; }
.portfolio__rail-hint { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.portfolio__rail-mask { overflow: hidden; position: relative; }
.portfolio__rail-mask::before, .portfolio__rail-mask::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.portfolio__rail-mask::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.portfolio__rail-mask::after { right: 0; background: linear-gradient(to left, #000, transparent); }
.portfolio__rail { display: flex; gap: 1.5rem; padding: 1rem 24px 2rem; cursor: grab; user-select: none; }
.portfolio__rail:active { cursor: grabbing; }
.portfolio-card { flex-shrink: 0; width: 380px; border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: transform var(--transition); }
.portfolio-card:hover { transform: translateY(-8px); border-color: rgba(0,181,181,0.3); }
.portfolio-card__image { height: 200px; background-size: cover; background-position: center; position: relative; }
.portfolio-card__body { padding: 1.5rem; }
.portfolio-card__cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 0.5rem; }
.portfolio-card__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.portfolio-card__metric { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.portfolio-card__metric-value { font-size: 2rem; font-weight: 900; color: var(--color-teal); }
.portfolio-card__metric-label { font-size: 0.75rem; color: var(--color-text-muted); }
.portfolio-card__desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.portfolio-card__link {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}
.portfolio-card__link:hover { color: var(--color-teal-dark); transform: translateX(3px); }

/* PORTFOLIO — Web Development grid (portfolio page) */
.portfolio.portfolio--web {
  min-height: auto;
  padding: 3rem 0 5rem;
  overflow: visible;
  background: #e8e8e3;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.portfolio__web-wrap { position: relative; z-index: 1; }
.portfolio__web-header { margin-bottom: 1.75rem; }
.portfolio__web-eyebrow { margin-bottom: 0.75rem; }
.portfolio__web-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
}
.portfolio__web-title .accent { color: var(--color-teal); }
.portfolio__category-block { margin-bottom: 3rem; }
.portfolio__category-block:last-child { margin-bottom: 0; }
.portfolio__category-title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.portfolio__category-title .accent { color: var(--color-teal); }
.portfolio__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.portfolio__filter { padding: 0.55rem 1.15rem; border-radius: var(--radius-full); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(10, 10, 15, 0.65); border: 1px solid rgba(0, 0, 0, 0.12); background: #fff; transition: all var(--transition); }
.portfolio__filter:hover { color: var(--color-text-dark); border-color: var(--color-teal); }
.portfolio__filter.is-active { color: #fff; background: var(--color-teal); border-color: var(--color-teal); }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.portfolio__grid-empty { grid-column: 1 / -1; text-align: center; color: rgba(10, 10, 15, 0.55); padding: 3rem 0; }

.portfolio-web-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.portfolio-web-card:hover { transform: translateY(-4px); border-color: rgba(0, 181, 181, 0.3); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14); }
.portfolio-web-card__preview { position: relative; padding: 1rem; background: #f0f0eb; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.portfolio-web-card__body { padding: 1.25rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.portfolio-web-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.65rem; }
.portfolio-web-card__title { font-size: 1.2rem; font-weight: 800; line-height: 1.2; color: var(--color-text-dark); flex: 1; min-width: 0; }
.portfolio-web-card__score { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding: 0.45rem 0.65rem; border-radius: 10px; background: rgba(0, 181, 181, 0.08); border: 1px solid rgba(0, 181, 181, 0.2); }
.portfolio-web-card__score-value { font-size: 1.05rem; font-weight: 900; color: var(--color-teal); line-height: 1; }
.portfolio-web-card__score-value span { font-size: 0.55rem; font-weight: 700; color: rgba(10, 10, 15, 0.45); }
.portfolio-web-card__score-label { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(10, 10, 15, 0.55); margin-top: 0.2rem; text-align: center; white-space: nowrap; }
.portfolio-web-card__desc { font-size: 0.875rem; color: rgba(10, 10, 15, 0.62); line-height: 1.65; margin-bottom: 0.9rem; flex: 1; }
.portfolio-web-card__techs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.portfolio-web-card__tech { font-size: 0.58rem; font-weight: 600; padding: 0.28rem 0.55rem; border-radius: var(--radius-full); background: rgba(0,181,181,0.08); border: 1px solid rgba(0,181,181,0.15); color: var(--color-teal-dark); }
.portfolio-web-card__cta { align-self: flex-start; padding: 0.7rem 1.2rem; font-size: 0.68rem; }

/* Scrollable iframe embed — simple like Notepad embed code */
.portfolio-embed { position: relative; background: #f5f5f0; }
.portfolio-embed--card {
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.portfolio-embed--card::-webkit-scrollbar { display: none; }
.portfolio-embed__iframe--card { width: 100%; height: 400px; border: 0; display: block; background: #fff; }
.portfolio-embed__iframe--full { width: 100%; height: calc(100vh - 64px); border: 0; display: block; background: #fff; }
.portfolio-embed__fallback { display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; min-height: 200px; background: #f5f5f0; border: 1px solid var(--color-border); border-radius: 12px; }
.portfolio-embed__fallback p { font-size: 0.85rem; font-weight: 600; color: rgba(10,10,15,0.45); }
.portfolio-embed.is-fallback { width: 100%; max-width: 500px; height: 400px; margin: 0 auto; }

/* Mobile app phone preview */
.portfolio-web-card--mobile .portfolio-web-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 1.5rem 1rem;
}
.portfolio-mobile-preview { display: flex; align-items: center; justify-content: center; width: 100%; }
.portfolio-mobile-preview--card { min-height: 360px; }
.portfolio-mobile-preview--full {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0.75rem 1rem 1rem;
}
.portfolio-mobile-preview__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  width: 100%;
  max-width: 280px;
  border-radius: 24px;
  background: #f5f5f0;
  border: 1px solid var(--color-border);
}
.portfolio-mobile-preview__fallback p { font-size: 0.85rem; font-weight: 600; color: rgba(10, 10, 15, 0.45); }
.portfolio-phone { width: 100%; max-width: 260px; }
/* App viewer — full phone carousel */
.app-viewer-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
}
.app-viewer-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.app-viewer-phone-wrap {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-viewer-viewport {
  overflow: hidden;
  width: min(280px, 72vw);
  height: min(calc(100vh - 64px - 130px), 580px);
  max-height: 100%;
}
.app-viewer-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.app-viewer-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-phone--viewer {
  height: 100%;
  width: 100%;
  max-width: 100%;
}
.portfolio-phone--viewer .portfolio-phone__frame {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.portfolio-phone--viewer .portfolio-phone__screen {
  flex: 1;
  min-height: 0;
  width: 100%;
  aspect-ratio: auto;
}
.app-viewer-slide .portfolio-phone__slide {
  opacity: 1;
}
.app-viewer-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--color-text-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.app-viewer-nav:hover:not(:disabled) {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: scale(1.05);
}
.app-viewer-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.app-viewer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.app-viewer-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.app-viewer-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.app-viewer-dot.is-active {
  background: var(--color-teal);
  transform: scale(1.25);
}
.app-viewer-counter {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 10, 15, 0.5);
  margin: 0;
}
.app-viewer-metric {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(10, 10, 15, 0.65);
  margin: 0;
}
.app-viewer-metric strong {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-teal);
  margin-right: 0.35rem;
}
.portfolio-web-card__score--metric .portfolio-web-card__score-value {
  font-size: 1.15rem;
}
.portfolio-phone__frame {
  position: relative;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a30 0%, #111115 55%, #1c1c22 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.portfolio-phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0a0a0f;
  z-index: 2;
}
.portfolio-phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 9 / 16;
  background: #fff;
}
.portfolio-phone__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
}
.portfolio-phone__slide.is-active { opacity: 1; }

/* Viewer page — viewer.html */
.viewer-page { overflow: hidden; height: 100vh; display: flex; flex-direction: column; background: var(--color-bg-page); }
.viewer-topbar { flex-shrink: 0; display: flex; align-items: center; gap: 1rem; height: 64px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--color-border); z-index: 10; }
.viewer-topbar__logo img { height: 40px; width: auto; }
.viewer-topbar__title { flex: 1; font-size: 1rem; font-weight: 800; color: var(--color-text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.viewer-topbar__back { flex-shrink: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-teal); white-space: nowrap; }
.viewer-topbar__back:hover { color: var(--color-teal-dark); }
.viewer-main { flex: 1; min-height: 0; overflow: hidden; }
.app-viewer-main {
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #e8e8e3;
}
.viewer-not-found { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 1rem; padding: 2rem; text-align: center; color: var(--color-text-muted); }

@media (min-width: 1100px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-embed--card { max-width: 100%; height: 320px; }
  .portfolio-embed__iframe--card { width: 100%; height: 320px; }
  .portfolio-embed.is-fallback { max-width: 100%; height: 320px; }
  .portfolio-web-card--mobile .portfolio-web-card__preview { min-height: 360px; }
  .portfolio-mobile-preview--card { min-height: 300px; }
  .portfolio-phone { max-width: 220px; }
  .app-viewer-viewport {
    width: min(220px, 78vw);
    height: min(calc(100vh - 64px - 120px), 480px);
  }
  .app-viewer-controls-row { gap: 0.5rem; }
  .app-viewer-nav { width: 38px; height: 38px; }
  .viewer-topbar { padding: 0 16px; gap: 0.75rem; }
  .viewer-topbar__title { font-size: 0.9rem; }
  .viewer-topbar__back { font-size: 0.65rem; }
  .portfolio-embed__iframe--full { height: calc(100vh - 64px); }
}

/* RESULTS */
.results { padding: 5rem 0; background: var(--color-bg-page); }
.results__header { text-align: center; margin-bottom: 3rem; }
.results__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 0.95; }
.results__title .accent { color: var(--color-teal); }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.result-card { padding: 2rem 1.5rem; border-radius: var(--radius-md); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); transition: all var(--transition); }
.result-card:hover { border-color: rgba(0,181,181,0.3); transform: translateY(-4px); }
.result-card__cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 1rem; }
.result-card__value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; margin-bottom: 0.5rem; }
.result-card__label { font-size: 0.875rem; color: var(--color-text-muted); }
.result-card__sub { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.25rem; }

/* DIFFERENTIATORS — vertical launch timeline */
.differentiators { position: relative; padding: 6rem 0 8rem; background: #000; overflow: hidden; }
.differentiators__stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.differentiators__stars .star { position: absolute; border-radius: 50%; background: #fff; opacity: 0.4; animation: star-twinkle 3s ease-in-out infinite; }
@keyframes star-twinkle { 0%,100% { opacity: 0.2; } 50% { opacity: 0.7; } }
.differentiators__header { position: relative; z-index: 2; text-align: center; margin-bottom: 4rem; }
.differentiators__eyebrow { margin-bottom: 1.5rem; }
.differentiators__title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.02em; }
.differentiators__title-solid { display: block; color: #fff; }
.differentiators__title-outline { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.85); paint-order: stroke fill; }

.differentiators__timeline { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 24px; }
.diff-spine { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 4px; z-index: 0; }
.diff-spine__line { position: absolute; inset: 0; width: 2px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.08); border-radius: 99px; }
.diff-spine__line-fill { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 0%; background: linear-gradient(180deg, var(--color-teal) 0%, #a855f7 50%, var(--color-teal) 100%); border-radius: 99px; box-shadow: 0 0 12px rgba(0,181,181,0.5); }
.diff-spine__rocket { position: absolute; top: 0; left: 50%; transform: translate(-50%, 0); width: 28px; height: 44px; z-index: 3; filter: drop-shadow(0 0 12px rgba(0,181,181,0.6)); }
.diff-spine__rocket svg { width: 100%; height: 100%; }

.diff-steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; }
.diff-step { position: relative; display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; min-height: 200px; padding: 2.5rem 0; }
.diff-step--left .diff-card { grid-column: 1; justify-self: end; margin-right: 1.5rem; }
.diff-step--right .diff-card { grid-column: 3; justify-self: start; margin-left: 1.5rem; }
.diff-step__node { grid-column: 2; justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--step-color, var(--color-teal)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--step-color) 25%, transparent), 0 0 24px var(--step-color); z-index: 2; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.diff-step.is-active .diff-step__node { transform: scale(1.3); animation: node-pulse 2s ease-in-out infinite; }
@keyframes node-pulse { 0%,100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--step-color) 25%, transparent), 0 0 24px var(--step-color); } 50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--step-color) 15%, transparent), 0 0 40px var(--step-color); } }

.diff-card { position: relative; width: min(380px, 42vw); padding: 1.75rem 1.5rem; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: border-color var(--transition), box-shadow var(--transition); }
.diff-step--left .diff-card::before { content: ''; position: absolute; right: -1.5rem; top: 50%; width: 1.5rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2)); }
.diff-step--right .diff-card::before { content: ''; position: absolute; left: -1.5rem; top: 50%; width: 1.5rem; height: 1px; background: linear-gradient(270deg, transparent, rgba(255,255,255,0.2)); }
.diff-step.is-active .diff-card { border-color: color-mix(in srgb, var(--step-color) 40%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--step-color) 12%, transparent); }
.diff-card__badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--step-color, var(--color-teal)); margin-bottom: 0.85rem; }
.diff-card__badge svg { flex-shrink: 0; }
.diff-card__title { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.6rem; color: #fff; }
.diff-card__text { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.65; }

/* AI SECTION */
.ai-section { padding: 6rem 0; background: linear-gradient(180deg, var(--color-bg-page), var(--color-bg-purple)); }
.ai-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ai-section__headline { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 0.95; margin-bottom: 1.5rem; }
.ai-section__headline .accent { color: var(--color-teal); }
.ai-section__text { color: var(--color-text-muted); margin-bottom: 2rem; line-height: 1.7; }
.ai-chat { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); }
.ai-chat__header { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ai-chat__avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--color-teal), var(--color-blue)); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; }
.ai-chat__name { font-weight: 700; }
.ai-chat__status { font-size: 0.75rem; color: var(--color-teal); }
.ai-chat__body { padding: 1.5rem; }
.ai-chat__message { background: rgba(0,181,181,0.1); border: 1px solid rgba(0,181,181,0.2); border-radius: var(--radius-md); padding: 1rem 1.25rem; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.ai-chat__footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; gap: 0.75rem; }
.ai-chat__input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); padding: 0.75rem 1.25rem; color: #fff; font-size: 0.875rem; }
.ai-chat__input::placeholder { color: rgba(255,255,255,0.3); }
.ai-chat__send { width: 40px; height: 40px; border-radius: 50%; background: var(--color-teal); display: flex; align-items: center; justify-content: center; color: var(--color-bg-dark); }

/* FINAL CTA */
.final-cta { padding: 7rem 0; background: #000; position: relative; overflow: hidden; }
.final-cta__glow { position: absolute; top: 50%; left: 30%; transform: translate(-50%, -50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,181,181,0.1) 0%, transparent 70%); pointer-events: none; }
.final-cta__decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.final-cta__decor span { position: absolute; }
.final-cta__decor-ring { width: 56px; height: 56px; left: 8%; top: 28%; border: 1.5px solid rgba(0,181,181,0.45); border-radius: 50%; }
.final-cta__decor-dot { width: 8px; height: 8px; left: 14%; top: 22%; background: var(--color-teal); border-radius: 50%; box-shadow: 0 0 14px rgba(0,181,181,0.7); }
.final-cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem 4rem; align-items: center; }
.final-cta__mascot-wrap { display: flex; justify-content: center; align-items: center; }
.final-cta__mascot { width: min(280px, 36vw); position: relative; filter: contrast(1.05) saturate(1.1); }
.final-cta__mascot::after { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(rgba(255,255,255,0.03) 0% 25%, transparent 0% 50%) 0 0 / 3px 3px; opacity: 0.35; mix-blend-mode: overlay; pointer-events: none; border-radius: 12px; }
.final-cta__mascot svg { width: 100%; height: auto; display: block; }
.final-cta__content { text-align: left; }
.final-cta__eyebrow { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 1.25rem; }
.final-cta__headline { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.02em; margin-bottom: 2rem; }
.final-cta__line { display: block; overflow: hidden; }
.final-cta__line--outline { color: transparent; -webkit-text-stroke: 2px #fff; paint-order: stroke fill; }
.final-cta__line--solid { color: var(--color-teal); }
.final-cta__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.final-cta__btn { box-shadow: 0 0 42px rgba(0,181,181,0.4); transition: transform var(--transition), box-shadow var(--transition); }
.final-cta__btn:hover { box-shadow: 0 0 64px rgba(0,181,181,0.6); transform: scale(1.04); }
.final-cta__sticker { position: relative; width: 88px; height: 88px; flex-shrink: 0; display: grid; place-items: center; }
.final-cta__sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta__sticker-text { fill: rgba(255,255,255,0.55); font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; font-family: 'Inter', sans-serif; }
.final-cta__sticker-arrow { color: var(--color-teal); font-size: 1.2rem; font-weight: 700; position: relative; z-index: 1; }
.final-cta__location { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.28); }
/* Legacy simple final-cta on secondary pages */
.final-cta .container:not(.final-cta__grid) { text-align: center; }
.final-cta__headline .accent { color: var(--color-teal); }
.final-cta__marquee { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-top: 3rem; position: relative; z-index: 1; }

/* FOOTER */
.site-footer { padding: 4rem 0 2rem; background: var(--color-bg-page); border-top: 1px solid var(--color-border); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.site-footer__brand p { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.7; margin: 1rem 0 1.5rem; }
.site-footer__logo img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.site-footer__social { display: flex; gap: 0.75rem; }
.site-footer__social a { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); }
.site-footer__social a:hover { background: var(--color-teal); color: var(--color-bg-dark); }
.site-footer__col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.site-footer__col li { margin-bottom: 0.75rem; }
.site-footer__col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.site-footer__col a:hover { color: var(--color-teal); }
.site-footer__bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* PAGE HERO & FORMS */
.page-hero { padding: calc(var(--nav-height) + 4rem) 0 4rem; background: var(--color-bg-page); text-align: center; position: relative; overflow: hidden; }
.page-hero__title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 0.95; margin-bottom: 1rem; }
.page-hero__title .accent { color: var(--color-teal); }
.page-hero__text { color: var(--color-text-muted); max-width: 32rem; margin: 0 auto; }
.contact-section { padding: 4rem 0 6rem; background: var(--color-bg-page); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.875rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: #fff; font-family: inherit; font-size: 0.9rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-teal); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #ef4444; }
.form-error { font-size: 0.75rem; color: #ef4444; margin-top: 0.35rem; display: none; }
.form-group.has-error .form-error { display: block; }
.service-detail { padding: 4rem 0 6rem; background: var(--color-bg-page); }
.service-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.service-detail__image { border-radius: var(--radius-lg); aspect-ratio: 4/3; background-size: cover; background-position: center; }
.service-detail__number { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; color: var(--color-teal); margin-bottom: 1rem; }
.service-detail__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1.5rem; }
.service-detail__desc { color: var(--color-text-muted); line-height: 1.75; margin-bottom: 2rem; }
.service-detail__features li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
.service-detail__features li::before { content: '✦'; color: var(--color-teal); font-size: 0.7rem; }
.about-content { padding: 4rem 0; background: var(--color-bg-light); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.about-value { padding: 2rem; border-radius: var(--radius-md); background: #fff; border: 1px solid rgba(0,0,0,0.06); }
.about-value h3 { font-size: 1.1rem; font-weight: 800; color: var(--color-text-dark); margin-bottom: 0.75rem; }
.about-value p { font-size: 0.9rem; color: rgba(0,0,0,0.55); line-height: 1.65; }
.about-process { padding: 4rem 0; background: var(--color-bg-light-alt); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.process-step { text-align: center; }
.process-step__num { width: 48px; height: 48px; border-radius: 50%; background: rgba(0,181,181,0.15); color: var(--color-teal); font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.process-step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--color-text-muted); }

/* BACK TO TOP & TOAST */
.back-to-top { position: fixed; bottom: 2rem; left: 2rem; width: 48px; height: 48px; border-radius: 50%; background: var(--color-teal); color: var(--color-bg-dark); display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity var(--transition), transform var(--transition); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--color-teal); color: var(--color-bg-dark); padding: 1rem 2rem; border-radius: var(--radius-full); font-weight: 700; font-size: 0.875rem; z-index: 9999; opacity: 0; pointer-events: none; transition: all 0.4s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Content visible by default — GSAP animates from hidden states via fromTo */
body.is-animating [data-animate] { visibility: visible; }

@keyframes nebula-drift { from { transform: translate(0,0); } to { transform: translate(40px,-30px); } }
@keyframes star-twinkle { 0%,100% { opacity:0.2; } 50% { opacity:1; } }
@keyframes shoot-star { 0% { transform:translate(0,0) rotate(25deg); opacity:0; } 4% { opacity:1; } 100% { transform:translate(130vw,70vh) rotate(25deg); opacity:0; } }
@keyframes scroll-pulse { 0%,100% { transform:translateY(0); } 50% { transform:translateY(100%); } }
@keyframes orb-float { from { transform:translate(-50%,-50%); } to { transform:translate(calc(-50% + 10px), calc(-50% - 8px)); } }
@keyframes orbit-spin { from { transform:translate(-50%,-50%) rotate(0deg); } to { transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes dark-wipe { 0% { clip-path:inset(0 0% 0 0); } 100% { clip-path:inset(0 100% 0 0); } }
@keyframes accent-bar { 0% { transform:translateX(-100%); opacity:1; } 100% { transform:translateX(110%); opacity:0; } }
@keyframes sphere-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-16px); } }
@keyframes swirl-spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes blob-morph { 0%,100% { border-radius:60% 40% 30% 70%/60% 30% 70% 40%; } 50% { border-radius:30% 60% 70% 40%/50% 60% 30% 60%; } }
@keyframes marquee-scroll { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

/* CUSTOM CURSOR — premium dot + lagging ring (reference-style) */
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .portfolio-pod-capsule,
body.has-custom-cursor .portfolio-pod-dot,
body.has-custom-cursor .service-card,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select { cursor: none !important; }

.custom-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.custom-cursor.is-visible { opacity: 1; }

.custom-cursor__dot,
.custom-cursor__ring,
.custom-cursor__label {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}

.custom-cursor__dot {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 16px rgba(0,181,181,0.85);
  z-index: 3;
}

.custom-cursor__ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 1px solid rgba(0,181,181,0.55);
  background: rgba(0,181,181,0.06);
  z-index: 2;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}

.custom-cursor__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal);
  white-space: nowrap;
  opacity: 0;
  z-index: 4;
  transition: opacity 0.25s ease;
  text-shadow: 0 0 20px rgba(0,181,181,0.5);
}

.custom-cursor.is-hover .custom-cursor__ring {
  border-color: rgba(0,181,181,0.9);
  background: rgba(0,181,181,0.12);
}

.custom-cursor.is-large .custom-cursor__ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}

.custom-cursor.is-pod .custom-cursor__ring {
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-color: rgba(0,212,232,0.6);
  background: rgba(0,181,181,0.08);
}

.custom-cursor.is-click .custom-cursor__dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  transition: width 0.12s ease, height 0.12s ease, margin 0.12s ease;
}

.custom-cursor.has-label .custom-cursor__label { opacity: 1; }

/* FLOATING CHAT WIDGET (reference-style Scali assistant) */
.scali-widget { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 9000; font-family: inherit; transition: opacity var(--transition); }

.scali-launcher {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.5rem 1.15rem 0.5rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-bg-dark);
  border: 1.5px solid var(--color-teal);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 0 0 rgba(0,181,181,0.5);
  color: #fff; cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
  animation: scali-pulse 2.6s ease-in-out infinite;
}
.scali-launcher:hover { transform: translateY(-4px) scale(1.03); }
.scali-launcher__avatar {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.scali-launcher__avatar::after {
  content: ''; position: absolute; bottom: 1px; right: 1px;
  width: 9px; height: 9px; border-radius: 50%; background: #2ee6a6;
  border: 2px solid var(--color-bg-dark);
}
.scali-launcher__text { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }

.scali-panel {
  position: absolute; bottom: calc(100% + 1rem); right: 0;
  width: min(380px, calc(100vw - 2.5rem));
  background: linear-gradient(180deg, #0b0c12 0%, #07080c 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,181,181,0.1);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(20px) scale(0.85); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.scali-widget.is-open .scali-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scali-widget.is-open .scali-launcher { animation: none; }

.scali-panel__header {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, rgba(0,181,181,0.16), rgba(0,87,146,0.12));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.scali-panel__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.scali-panel__meta { flex: 1; }
.scali-panel__name { font-weight: 800; font-size: 0.95rem; color: #fff; }
.scali-panel__status { font-size: 0.7rem; color: #2ee6a6; display: flex; align-items: center; gap: 0.35rem; }
.scali-panel__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2ee6a6; box-shadow: 0 0 8px #2ee6a6; }
.scali-panel__close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.scali-panel__close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.scali-panel__body {
  height: 320px; max-height: 50vh; overflow-y: auto;
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.scali-panel__body::-webkit-scrollbar { width: 6px; }
.scali-panel__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }

.scali-msg { max-width: 82%; padding: 0.7rem 1rem; font-size: 0.85rem; line-height: 1.55; border-radius: 16px; animation: scali-msg-in 0.4s cubic-bezier(0.16,1,0.3,1) both; }
.scali-msg--bot { align-self: flex-start; background: rgba(0,181,181,0.12); border: 1px solid rgba(0,181,181,0.22); color: rgba(255,255,255,0.9); border-bottom-left-radius: 4px; }
.scali-msg--user { align-self: flex-end; background: var(--color-teal); color: var(--color-bg-dark); font-weight: 600; border-bottom-right-radius: 4px; }

.scali-typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.85rem 1rem; background: rgba(255,255,255,0.05); border-radius: 16px; border-bottom-left-radius: 4px; }
.scali-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-teal); opacity: 0.5; animation: scali-typing 1.2s ease-in-out infinite; }
.scali-typing span:nth-child(2) { animation-delay: 0.2s; }
.scali-typing span:nth-child(3) { animation-delay: 0.4s; }

.scali-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.25rem 0.5rem; }
.scali-chip {
  font-size: 0.72rem; font-weight: 600; color: var(--color-teal);
  background: rgba(0,181,181,0.08); border: 1px solid rgba(0,181,181,0.25);
  border-radius: var(--radius-full); padding: 0.4rem 0.85rem; cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.scali-chip:hover { background: rgba(0,181,181,0.18); transform: translateY(-2px); }

.scali-panel__footer { display: flex; gap: 0.6rem; padding: 0.9rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.scali-panel__input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); padding: 0.7rem 1.1rem; color: #fff; font-size: 0.85rem; outline: none; transition: border-color 0.25s ease; }
.scali-panel__input:focus { border-color: var(--color-teal); }
.scali-panel__input::placeholder { color: rgba(255,255,255,0.3); }
.scali-panel__send { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--color-teal); color: var(--color-bg-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.25s ease, background 0.25s ease; }
.scali-panel__send:hover { transform: scale(1.08); background: var(--color-teal-dark); }

@keyframes scali-pulse { 0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 0 0 rgba(0,181,181,0.45); } 50% { box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 0 12px rgba(0,181,181,0); } }
@keyframes scali-msg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scali-typing { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

/* ── Light theme component overrides ── */
.service-discipline { border-top-color: var(--color-border); }
.service-discipline__num { color: rgba(10, 10, 15, 0.08); }
.service-discipline__col-title { color: rgba(10, 10, 15, 0.4); }
.service-discipline__list li { color: rgba(10, 10, 15, 0.65); }
.service-discipline__footer { border-top-color: var(--color-border-subtle); }
.service-discipline__model { color: rgba(10, 10, 15, 0.4); }
.service-discipline__cta:hover { color: var(--color-text-dark); }
.bracket-eyebrow { color: rgba(10, 10, 15, 0.45); }
.services-page-hero { border-bottom-color: var(--color-border); }
.process-section { border-top-color: var(--color-border); }
.process-step { border-color: var(--color-border); background: var(--color-bg-elevated); }
.process-step__duration { color: rgba(10, 10, 15, 0.4); }
.services-page-cta { border-top-color: var(--color-border); }
.service-card__face { border-color: var(--color-border); }
.service-card__face--back { background: linear-gradient(150deg, #eef8f8, #f5f5f0); color: var(--color-text-dark); }
.services__more-btn { border-color: rgba(0, 0, 0, 0.12); color: rgba(10, 10, 15, 0.6); }

.portfolio { background: var(--color-bg-light-alt); }
.portfolio.portfolio--web { background: #e8e8e3; }
.portfolio__bg-text { -webkit-text-stroke-color: rgba(0, 0, 0, 0.04); }
.portfolio-pod-capsule__tab-text { color: rgba(10, 10, 15, 0.55); background: var(--color-bg-elevated); border-color: var(--color-border); }
.portfolio-pod-capsule__shell { background: linear-gradient(180deg, #ffffff 0%, #f5f5f0 100%); border-color: var(--color-border); box-shadow: 0 0 60px rgba(0, 181, 181, 0.06), 0 20px 60px rgba(0, 0, 0, 0.08); }
.portfolio-pod-capsule.is-open .portfolio-pod-capsule__shell { box-shadow: 0 0 80px rgba(0, 181, 181, 0.15), 0 30px 70px rgba(0, 0, 0, 0.1); }
.portfolio-pod-capsule__bar { border-bottom-color: var(--color-border-subtle); }
.portfolio-pod-capsule__planet { background: radial-gradient(circle at 32% 28%, #00B5B5 0%, #005792 50%, #eef6fa 100%); box-shadow: 0 0 40px rgba(0, 181, 181, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.4); }
.portfolio-pod-capsule__orbit { border-color: rgba(0, 0, 0, 0.08); }
.portfolio-pod-capsule__orbit::after { background: var(--color-teal); }
.portfolio-pod-capsule__metric span { color: rgba(10, 10, 15, 0.45); }
.portfolio-pod-dot { border-color: rgba(0, 0, 0, 0.12); background: rgba(0, 0, 0, 0.02); color: rgba(10, 10, 15, 0.45); }
.portfolio-pod-stage__hint { color: rgba(10, 10, 15, 0.35); }
.portfolio-pod { background: rgba(255, 255, 255, 0.7); border-color: var(--color-border); }
.portfolio-pod__label { color: var(--color-text-dark); }
.portfolio-pod__hint { color: rgba(10, 10, 15, 0.4); }
.portfolio__rail-hint { color: rgba(10, 10, 15, 0.4); }
.portfolio__rail-mask::before { background: linear-gradient(to right, var(--color-bg-light-alt), transparent); }
.portfolio__rail-mask::after { background: linear-gradient(to left, var(--color-bg-light-alt), transparent); }
.portfolio-card { background: var(--color-bg-elevated); border-color: var(--color-border); }

.result-card { background: var(--color-bg-elevated); border-color: var(--color-border); }
.result-card__sub { color: rgba(10, 10, 15, 0.4); }

.differentiators { background: var(--color-bg-page); }
.differentiators__stars .star { background: var(--color-teal); }
.differentiators__title-solid { color: var(--color-text-dark); }
.differentiators__title-outline { -webkit-text-stroke-color: rgba(10, 10, 15, 0.25); }
.diff-spine__line { background: rgba(0, 0, 0, 0.08); }
.diff-card { background: var(--color-bg-elevated); border-color: var(--color-border); }
.diff-step--left .diff-card::before { background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12)); }
.diff-step--right .diff-card::before { background: linear-gradient(270deg, transparent, rgba(0, 0, 0, 0.12)); }
.diff-card__title { color: var(--color-text-dark); }

.ai-chat { border-color: var(--color-border); background: var(--color-bg-elevated); }
.ai-chat__header { border-bottom-color: var(--color-border); }
.ai-chat__message { color: var(--color-text-dark); }
.ai-chat__footer { border-top-color: var(--color-border); }
.ai-chat__input { background: var(--color-bg-page); border-color: var(--color-border); color: var(--color-text-dark); }
.ai-chat__input::placeholder { color: rgba(10, 10, 15, 0.35); }

.final-cta { background: var(--color-bg-elevated); }
.final-cta__line--outline { -webkit-text-stroke-color: var(--color-text-dark); }
.final-cta__sticker-text { fill: rgba(10, 10, 15, 0.45); }
.final-cta__location { color: rgba(10, 10, 15, 0.35); }
.final-cta__marquee { color: rgba(10, 10, 15, 0.25); }

.site-footer__social a { background: rgba(0, 0, 0, 0.04); color: rgba(10, 10, 15, 0.5); }
.site-footer__col h4 { color: rgba(10, 10, 15, 0.4); }
.site-footer__col a { color: rgba(10, 10, 15, 0.6); }
.site-footer__bottom { border-top-color: var(--color-border); }
.site-footer__bottom p { color: rgba(10, 10, 15, 0.4); }

.form-group label { color: rgba(10, 10, 15, 0.5); }
.form-group input, .form-group textarea, .form-group select { border-color: var(--color-border); background: var(--color-bg-elevated); color: var(--color-text-dark); }
.service-detail__features li { border-bottom-color: var(--color-border-subtle); }

.scali-launcher { background: var(--color-bg-elevated); color: var(--color-text-dark); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(0, 181, 181, 0.35); }
.scali-launcher__avatar::after { border-color: var(--color-bg-elevated); }
.scali-panel { background: linear-gradient(180deg, #ffffff 0%, #f7f7f2 100%); border-color: var(--color-border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 181, 181, 0.08); }
.scali-panel__header { border-bottom-color: var(--color-border); }
.scali-panel__name { color: var(--color-text-dark); }
.scali-panel__close { background: rgba(0, 0, 0, 0.05); color: rgba(10, 10, 15, 0.55); }
.scali-panel__close:hover { background: rgba(0, 0, 0, 0.08); color: var(--color-text-dark); }
.scali-panel__body { scrollbar-color: rgba(0, 0, 0, 0.12) transparent; }
.scali-panel__body::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.12); }
.scali-msg--bot { color: var(--color-text-dark); }
.scali-typing { background: rgba(0, 0, 0, 0.04); }
.scali-panel__footer { border-top-color: var(--color-border); }
.scali-panel__input { background: var(--color-bg-page); border-color: var(--color-border); color: var(--color-text-dark); }
.scali-panel__input::placeholder { color: rgba(10, 10, 15, 0.35); }
@keyframes scali-pulse { 0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(0, 181, 181, 0.35); } 50% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 12px rgba(0, 181, 181, 0); } }
