/* ========================================
   ATLUSVIEW — BRAND STYLES
   Color: Deep charcoal base, Cyan/Teal + Blue accents
   Fonts: Space Grotesk (headings) + Inter (body)
   ======================================== */

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  color: #E8ECF1;
  background-color: #0A0E17;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; color: inherit; cursor: pointer; font-family: inherit; }

/* ---- UTILITIES ---- */
.text-gradient {
  background: linear-gradient(135deg, #00D4AA, #0099FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00D4AA;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 3rem;
  color: #fff;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: #0A0E17;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.done {
  transform: translateY(-200vh);
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader__logo-svg { width: 48px; height: 48px; }

.preloader__counter {
  display: flex;
  align-items: baseline;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
}

.preloader__number { min-width: 3ch; text-align: right; }
.preloader__percent { font-size: 1.5rem; opacity: 0.4; margin-left: 0.25rem; }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background 0.3s ease, transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(-100%);
  opacity: 0;
}

.header.visible { transform: translateY(0); opacity: 1; }

.header.scrolled {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.header__logo-ai {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(0,212,170,0.15), rgba(0,153,255,0.15));
  border: 1px solid rgba(0,212,170,0.2);
  color: #00D4AA;
  vertical-align: middle;
  margin-left: 2px;
  position: relative;
  top: -1px;
}

.header__nav { display: flex; gap: 2rem; }

.header__nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.header__nav-link:hover { opacity: 1; }

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  z-index: 2147483647;
}

.header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__menu-toggle.active span:nth-child(2) { opacity: 0; }
.header__menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .header__nav, .btn--header { display: none; }
  .header__menu-toggle { display: flex; }
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 23, 0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav__link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #00D4AA 0%, #0099FF 100%);
  color: #0A0E17;
  border: none;
  font-weight: 600;
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.3);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E8ECF1;
}

.btn--outline:hover {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.05);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 3rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero__gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00D4AA 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation: float1 8s ease-in-out infinite;
}

.hero__gradient-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0099FF 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  animation: float2 10s ease-in-out infinite;
}

.hero__gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #7B61FF 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.05); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -20px) scale(1.15); }
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating geometric shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  pointer-events: none;
}

.hero__shape--1 {
  width: 220px;
  top: 8%;
  right: 12%;
  animation: shapeFloat1 18s ease-in-out infinite, shapeSpin 40s linear infinite;
}

.hero__shape--2 {
  width: 160px;
  top: 55%;
  right: 8%;
  animation: shapeFloat2 22s ease-in-out infinite, shapeSpinReverse 50s linear infinite;
}

.hero__shape--3 {
  width: 280px;
  top: 20%;
  right: 25%;
  animation: shapeFloat3 25s ease-in-out infinite;
}

.hero__shape--4 {
  width: 180px;
  bottom: 20%;
  right: 18%;
  animation: shapeFloat1 20s ease-in-out infinite reverse, shapeSpin 55s linear infinite;
}

.hero__shape--5 {
  width: 120px;
  top: 35%;
  right: 40%;
  animation: shapeFloat2 16s ease-in-out infinite, shapeSpinReverse 35s linear infinite;
}

.hero__shape--6 {
  width: 100px;
  bottom: 30%;
  right: 35%;
  animation: shapeFloat3 19s ease-in-out infinite, shapeSpin 45s linear infinite;
}

@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-20px, 15px); }
  50% { transform: translate(10px, -25px); }
  75% { transform: translate(-15px, -10px); }
}

@keyframes shapeFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(25px, -20px); }
  66% { transform: translate(-15px, 20px); }
}

@keyframes shapeFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 15px); }
}

@keyframes shapeSpin {
  0% { rotate: 0deg; }
  100% { rotate: 360deg; }
}

@keyframes shapeSpinReverse {
  0% { rotate: 0deg; }
  100% { rotate: -360deg; }
}

/* Canvas for aurora mesh */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero__title-line { display: block; overflow: hidden; }

.hero__title-line--sub {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: rgba(232, 236, 241, 0.6);
  margin-top: 0.3rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.6;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Services Strip */
.hero__services-strip {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.services-strip__track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.services-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.3s;
  color: #E8ECF1;
}

.services-strip__item:hover { opacity: 0.8; }

.services-strip__item span {
  font-size: 0.85rem;
  font-weight: 400;
  white-space: nowrap;
}

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

/* ========================================
   CRAFT / WHAT WE DO
   ======================================== */
.craft {
  padding: 8rem 2rem;
}

.craft__container {
  max-width: 1200px;
  margin: 0 auto;
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.craft__card {
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.craft__card:hover {
  border-color: rgba(0, 212, 170, 0.15);
  background: rgba(0, 212, 170, 0.03);
  transform: translateY(-4px);
}

.craft__card-icon {
  margin-bottom: 1.5rem;
}

.craft__card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.craft__card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.55;
  font-weight: 300;
}

@media (max-width: 768px) {
  .craft__grid { grid-template-columns: 1fr; }
}

/* ========================================
   OPENCLAW
   ======================================== */
.openclaw {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.openclaw__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.openclaw__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.08) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.openclaw__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.openclaw__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fff;
}

.openclaw__desc {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.6;
  font-weight: 300;
  margin-bottom: 2rem;
}

.openclaw__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.openclaw__tag {
  display: inline-flex;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 400;
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: #00D4AA;
  background: rgba(0, 212, 170, 0.05);
}

/* Terminal Device */
.openclaw__device {
  background: #111827;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.openclaw__device-screen {
  padding: 0;
}

.openclaw__terminal-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

.openclaw__terminal-body {
  padding: 1.25rem 1.5rem 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
}

.terminal-line { color: rgba(255,255,255,0.5); }
.terminal-prompt { color: #00D4AA; margin-right: 0.5rem; }
.terminal-line--success { color: #28c840; }
.terminal-line--info { color: #0099FF; }

.terminal-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: #00D4AA;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .openclaw__container { grid-template-columns: 1fr; }
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
  padding: 8rem 2rem;
}

.portfolio__container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio__header {
  margin-bottom: 3rem;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.portfolio__card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.portfolio__card:hover {
  border-color: rgba(0, 153, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.portfolio__card-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,212,170,0.05), rgba(0,153,255,0.05));
  position: relative;
}

.portfolio__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s ease;
}

.portfolio__card:hover .portfolio__card-img {
  transform: scale(1.03);
}

.portfolio__card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  padding: 1.5rem;
}

/* ---- Rich Placeholder Mockup Styles ---- */
.portfolio__card-placeholder {
  overflow: hidden;
  border-radius: 0;
}

/* === STEELMATCH: Dark hero with centered headline + search bar === */
.portfolio__card-placeholder--steelmatch {
  background: linear-gradient(160deg, #0a1628 0%, #0f1d35 40%, #0c1829 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 24px 32px;
  position: relative;
}

.steelmatch-cats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.steelmatch-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.steelmatch-headline span {
  color: #4D9EFF;
}

.steelmatch-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  max-width: 280px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.steelmatch-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 8px 12px 8px 16px;
  gap: 8px;
  width: 80%;
  max-width: 320px;
}

.steelmatch-search__text {
  flex: 1;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
}

.steelmatch-search__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4D9EFF;
  flex-shrink: 0;
}

.steelmatch-nav {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.steelmatch-nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  color: #fff;
}

.steelmatch-nav__btn {
  font-size: 0.5rem;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
}

/* === RLP SCOUT ONBOARDING: Light split layout === */
.portfolio__card-placeholder--rlp {
  background: #eef1f5;
  display: flex;
  border-radius: 0;
  overflow: hidden;
}

.rlp-left {
  flex: 1;
  background: #fff;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid #e2e6ec;
}

.rlp-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.rlp-logo__icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #1a2332;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
}

.rlp-logo__text { font-size: 0.55rem; color: #9aa5b4; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

.rlp-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: #1a2332; line-height: 1.2; }
.rlp-sub { font-size: 0.55rem; color: #7a8796; line-height: 1.5; max-width: 240px; }

.rlp-features {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex: 1;
  align-items: flex-start;
}

.rlp-feature {
  flex: 1;
  background: #f7f8fa;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rlp-feature__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f0f2f5;
  border: 1px solid #e2e6ec;
}

.rlp-feature__title { font-size: 0.5rem; font-weight: 600; color: #1a2332; }
.rlp-feature__desc { font-size: 0.42rem; color: #9aa5b4; line-height: 1.4; }

.rlp-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.rlp-cta__btn {
  padding: 5px 14px;
  border-radius: 6px;
  background: #1a2332;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 500;
}

.rlp-cta__skip { font-size: 0.5rem; color: #9aa5b4; }

.rlp-right {
  width: 42%;
  background: linear-gradient(160deg, #1a2332, #111827);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  position: relative;
}

.rlp-right__circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  position: absolute;
}

.rlp-right__circle--2 { width: 180px; height: 180px; }

.rlp-right__label { font-size: 0.5rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 80px; }
.rlp-right__text { font-size: 0.65rem; color: rgba(255,255,255,0.7); font-weight: 500; }

/* === RLP DASHBOARD: Dark app with sidebar + data table === */
.portfolio__card-placeholder--dashboard {
  background: #111827;
  display: flex;
  border-radius: 0;
  overflow: hidden;
}

.dash-sidebar {
  width: 24%;
  background: #0f1521;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-sidebar__logo { font-size: 0.6rem; font-weight: 600; color: #fff; padding: 4px 6px; margin-bottom: 4px; }

.dash-sidebar__item {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.35);
  padding: 5px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-sidebar__item--active {
  background: rgba(59,130,246,0.15);
  color: #4D9EFF;
}

.dash-sidebar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4D9EFF;
}

.dash-main {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-main__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dash-main__title { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600; color: #fff; }
.dash-main__sub { font-size: 0.45rem; color: rgba(255,255,255,0.3); margin-top: 2px; }

.dash-tabs {
  display: flex;
  gap: 8px;
}

.dash-tab {
  font-size: 0.45rem;
  color: rgba(255,255,255,0.3);
  padding: 3px 8px;
  border-radius: 4px;
}

.dash-tab--active { background: rgba(255,255,255,0.06); color: #fff; }

.dash-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash-table__header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  gap: 4px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-table__th { font-size: 0.4rem; color: rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 0.05em; }

.dash-table__row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.dash-table__cell { font-size: 0.42rem; color: rgba(255,255,255,0.5); }
.dash-table__cell--title { color: rgba(255,255,255,0.8); font-weight: 500; }
.dash-table__cell--warn { color: #f59e0b; }
.dash-table__cell--agency { color: rgba(255,255,255,0.35); }

/* === REVCYCLE AI: App with green sidebar + stats + list === */
.portfolio__card-placeholder--revcycle {
  background: #f5f7fa;
  display: flex;
  border-radius: 0;
  overflow: hidden;
}

.rev-sidebar {
  width: 16%;
  background: #1a2b45;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rev-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 8px;
}

.rev-sidebar__icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #38b563;
}

.rev-sidebar__text { font-size: 0.45rem; font-weight: 600; color: #fff; }

.rev-sidebar__item {
  font-size: 0.4rem;
  color: rgba(255,255,255,0.35);
  padding: 4px 6px;
  border-radius: 3px;
}

.rev-sidebar__item--active {
  background: rgba(56,181,99,0.2);
  color: #38b563;
}

.rev-main {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f5f7fa;
}

.rev-main__title { font-size: 0.7rem; font-weight: 600; color: #1a2332; }
.rev-main__sub { font-size: 0.42rem; color: #7a8796; }

.rev-stats {
  display: flex;
  gap: 6px;
}

.rev-stat {
  flex: 1;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  padding: 6px 8px;
}

.rev-stat__label { font-size: 0.38rem; color: #7a8796; }
.rev-stat__value { font-size: 0.65rem; font-weight: 700; color: #1a2332; margin-top: 2px; }
.rev-stat__value--green { color: #38b563; }
.rev-stat__value--blue { color: #4D9EFF; }

.rev-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rev-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  padding: 6px 10px;
}

.rev-list__name { font-size: 0.45rem; font-weight: 500; color: #1a2332; }
.rev-list__detail { font-size: 0.38rem; color: #7a8796; }

.rev-badge {
  font-size: 0.35rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 500;
}

.rev-badge--approved { background: #e6f9ee; color: #38b563; }
.rev-badge--pending { background: #fff3e0; color: #f59e0b; }
.rev-badge--denied { background: #fde8e8; color: #ef4444; }

.portfolio__card-info {
  padding: 1.5rem 1.75rem;
}

.portfolio__card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
}

.portfolio__card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.5;
  font-weight: 300;
}

@media (max-width: 768px) {
  .portfolio__grid { grid-template-columns: 1fr; }
}

/* ========================================
   PROCESS
   ======================================== */
.process {
  padding: 8rem 2rem;
}

.process__container {
  max-width: 1200px;
  margin: 0 auto;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process__card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.process__card-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00D4AA, #0099FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process__card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.process__card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.5;
  font-weight: 300;
}

.process__card-line {
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,212,170,0.3), transparent);
}

.process__card:last-child .process__card-line { display: none; }

@media (max-width: 768px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__card-line { display: none; }
}

/* ========================================
   CONSULTING
   ======================================== */
.consulting {
  padding: 8rem 2rem;
  position: relative;
}

.consulting__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.consulting__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: #fff;
}

.consulting__subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #00D4AA, #0099FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.consulting__desc {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.55;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Consulting Diagram */
.consulting__diagram {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.diagram__node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 170, 0.2);
  background: rgba(0, 212, 170, 0.05);
  color: #00D4AA;
  flex-shrink: 0;
}

.diagram__connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,212,170,0.3), rgba(0,153,255,0.3));
  flex-shrink: 0;
}

.diagram__node--2 { border-color: rgba(0,153,255,0.2); background: rgba(0,153,255,0.05); color: #0099FF; }
.diagram__node--3 { border-color: rgba(123,97,255,0.2); background: rgba(123,97,255,0.05); color: #7B61FF; }
.diagram__node--4 { border-color: rgba(0,212,170,0.3); background: rgba(0,212,170,0.1); color: #00D4AA; }

@media (max-width: 768px) {
  .consulting__container { grid-template-columns: 1fr; }
  .consulting__diagram { flex-wrap: wrap; gap: 1rem; }
  .diagram__connector { width: 20px; }
}

/* ========================================
   CTA
   ======================================== */
.cta {
  position: relative;
  padding: 10rem 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta__gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
}

.cta__gradient-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 60%);
  top: 20%;
  left: 20%;
}

.cta__gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.12) 0%, transparent 60%);
  bottom: 10%;
  right: 20%;
}

.interaction_visual_wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.interaction_visual_wrap .trail-img {
  position: absolute;
  width: 8rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
}

.cta__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
}

.cta__desc {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.55;
  margin-bottom: 2.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.footer__logo-ai {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1.5px 4px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(0,212,170,0.12), rgba(0,153,255,0.12));
  border: 1px solid rgba(0,212,170,0.18);
  color: #00D4AA;
  vertical-align: middle;
  margin-left: 2px;
  position: relative;
  top: -1px;
}

.footer__tagline {
  font-size: 0.82rem;
  opacity: 0.35;
  margin-top: 0.6rem;
}

.footer__email {
  font-size: 1rem;
  font-weight: 400;
  transition: opacity 0.3s;
}

.footer__email:hover { opacity: 0.7; }

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.5;
  transition: all 0.3s;
}

.footer__social-link:hover {
  opacity: 1;
  border-color: rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.05);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .footer__top { flex-direction: column; }
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
