.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons — Trisun exact style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--background);
  padding: 0.5rem 1.25rem;
  height: 36px;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-gradient {
  background: var(--gradient-brand);
  color: var(--background);
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  height: auto;
}

.btn-platform {
  background: var(--gradient-brand);
  color: var(--background);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 0 24px rgba(0, 180, 216, 0.25);
}

.btn-platform:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-gradient:hover {
  opacity: 0.9;
}

.btn-gradient svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.btn-gradient:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  background: rgba(3, 6, 9, 0.5);
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(18, 23, 26, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
  padding: 0.5rem 1rem;
  height: 36px;
}

.btn-ghost:hover {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg { font-size: 1.125rem; }
.btn-full { width: 100%; }

/* Badges */
.badge {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-live {
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 212, 170, 0.35);
}

.badge-beta {
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 180, 216, 0.35);
}

.badge-soon {
  background: rgba(143, 143, 143, 0.15);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

/* Hero — full viewport Trisun layout */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
}

#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
}

.hero-content-wrap {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(18, 23, 26, 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.hero-section h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-section h1 .line1 {
  color: var(--foreground);
}

.hero-section h1 .gradient-text {
  display: inline;
}

.hero-section h1 br {
  display: block;
  margin: 0;
  line-height: 0.9;
  content: "";
}

main {
  position: relative;
  z-index: 2;
}

.hero-section .hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Trisun-sized hero CTAs (h-10 / px-8, not oversized) */
.hero-cta .btn {
  padding: 0.5rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  height: 2.5rem;
  min-height: 2.5rem;
}

.hero-cta .btn-gradient svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero-pills span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(18, 23, 26, 0.4);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* Terminal block below hero text */
.hero-terminal-area {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1rem 3rem;
  margin-top: 1rem;
}

.terminal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 6, 9, 0.4);
}

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

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

.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: ui-monospace, monospace;
}

.terminal-body {
  padding: 16px;
  min-height: 280px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: ui-monospace, "SF Mono", Monaco, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #94a3b8;
  text-align: left;
  scrollbar-width: none;
}

.terminal-body .t-comment { color: #64748b; }
.terminal-body .t-keyword { color: #00d4aa; }
.terminal-body .t-string { color: #7dd3fc; }
.terminal-body .t-fn { color: #c4b5fd; }
.terminal-body .t-num { color: #fbbf24; }
.terminal-body .t-prompt { color: #00b4d8; }

.terminal-body::-webkit-scrollbar {
  display: none;
}

.terminal-body .cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--accent-cyan);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% { opacity: 0; }
}

.scroll-mouse {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 24px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  backdrop-filter: blur(8px);
}

.scroll-mouse::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* Stack marquee — Trisun */
.stack-marquee-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 9, 0.4) 20%, rgba(3, 6, 9, 0.4) 80%, transparent);
}

.stack-marquee-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 180, 216, 0.05), transparent);
  pointer-events: none;
}

.stack-marquee-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.stack-marquee-wrap {
  position: relative;
  overflow: hidden;
}

.stack-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.stack-marquee-track:hover {
  animation-play-state: paused;
}

.stack-marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #a1a1aa;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.stack-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.85;
  filter: brightness(0) invert(0.72);
}

.stack-marquee-wrap .marquee-fade-left,
.stack-marquee-wrap .marquee-fade-right {
  width: 72px;
}

/* Products carousel — Trisun-style scroll hijack */
.products-section {
  position: relative;
  z-index: 2;
}

.products-section-header {
  padding: 4rem 0 1.5rem;
  position: relative;
  z-index: 2;
}

.products-section-header .section-header-trisun {
  margin-bottom: 0;
}

.products-section-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 2;
  box-sizing: border-box;
  padding: 1.5rem 0;
}

.products-carousel-viewport {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  flex: 0 0 auto;
}

.products-carousel-fade {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: min(100%, 520px);
  width: 5rem;
  z-index: 3;
  pointer-events: none;
}

.products-carousel-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--background) 0%, transparent 100%);
}

.products-carousel-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--background) 0%, transparent 100%);
}

.products-carousel-track {
  --carousel-side-pad: max(1rem, calc((100vw - 1280px) / 2 + 1rem));
  --carousel-card-w: 380px;
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 0.5rem var(--carousel-side-pad) 1.5rem;
  /* Extra end padding so the last card can scroll fully into view */
  padding-right: max(
    var(--carousel-side-pad),
    calc(100vw - var(--carousel-card-w) - var(--carousel-side-pad))
  );
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .products-section {
    height: auto !important;
  }

  .products-section-pin {
    position: static;
    height: auto;
    max-height: none;
    padding: 0 0 2rem;
  }

  .products-section-header {
    padding: 3rem 0 1rem;
  }

  .products-carousel-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .products-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .products-carousel-fade {
    display: none;
  }
}

.product-card {
  position: relative;
  flex: 0 0 380px;
  width: 380px;
  min-height: auto;
  height: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(8, 12, 15, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem 1.75rem;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.6), transparent);
}

.product-card:hover {
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: inset 0 0 30px rgba(0, 180, 216, 0.05), 0 8px 40px rgba(0, 180, 216, 0.08);
}

.product-card .card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.product-card .card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.product-card .card-icon-box svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke: #fff;
}

.product-card:hover .card-icon-box {
  transform: scale(1.08);
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-card .card-sub {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.product-card .card-body {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-card .card-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(18, 23, 26, 0.5);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

.product-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-top: auto;
  padding-top: 1.25rem;
  transition: color 0.2s;
}

.product-card .card-link:hover {
  color: var(--accent-teal);
}

.product-card .card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.product-card .card-link:hover svg {
  transform: translate(2px, -2px);
}

/* Legacy marquee alias */
.marquee-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.marquee-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 180, 216, 0.05), transparent);
  pointer-events: none;
}

.marquee-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 3.5rem;
  position: relative;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--background), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--background), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.marquee-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
}

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

/* Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card .card-sub {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-tags span {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background: var(--secondary);
  border-radius: 6px;
  color: var(--muted-foreground);
}

/* Why — Trisun two-column */
.why-section {
  position: relative;
  z-index: 3;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .why-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 4rem;
  }
}

.why-copy .section-tag {
  display: block;
  margin-bottom: 1rem;
}

.why-copy h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.why-lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.why-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.why-check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.why-check-icon svg {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--accent-teal);
}

.why-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-feature-card {
  background: rgba(8, 12, 15, 0.6);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}

.why-feature-card:hover {
  border-color: rgba(0, 180, 216, 0.25);
}

.why-feature-icon {
  display: flex;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-cyan);
}

.why-feature-icon svg {
  width: 100%;
  height: 100%;
}

.why-feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.why-feature-card p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* Platform dashboard — Trisun match */
.platform-section {
  position: relative;
  z-index: 3;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

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

.platform-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 180, 216, 0.03) 50%, transparent 100%);
}

.platform-bg-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 600px;
  transform: translate(-50%, -45%);
  background: rgba(0, 180, 216, 0.05);
  border-radius: 50%;
  filter: blur(180px);
}

.platform-container {
  position: relative;
  z-index: 1;
}

.platform-section .section-header-trisun {
  margin-bottom: 4rem;
}

.dashboard-scene {
  position: relative;
  margin-top: 0.5rem;
}

.dashboard-perspective {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  perspective: 1200px;
}

.dashboard-window {
  position: relative;
  transform-style: preserve-3d;
  background: rgba(8, 12, 15, 0.8);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 120px rgba(0, 180, 216, 0.15);
  opacity: 0;
  transform: translateY(80px) scale(0.8) rotateX(25deg) rotateY(-15deg);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-scene.is-visible .dashboard-window {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0) rotateY(0);
}

.dashboard-window-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.9), transparent);
  z-index: 2;
}

.dashboard-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 15, 0.5);
}

.dashboard-chrome-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.win-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.win-dot.red { background: rgba(239, 68, 68, 0.8); }
.win-dot.yellow { background: rgba(234, 179, 8, 0.8); }
.win-dot.green { background: rgba(34, 197, 94, 0.8); }

.dashboard-url-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(3, 6, 9, 0.5);
  border: 1px solid var(--border);
  border-radius: 9999px;
}

.url-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  flex-shrink: 0;
  animation: live-pulse 1.5s ease-in-out infinite;
}

.dashboard-url {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: ui-monospace, monospace;
}

.dashboard-chrome-avatars {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.dashboard-chrome-avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.dashboard-chrome-avatars span:first-child {
  background: rgba(0, 180, 216, 0.2);
}

.dashboard-chrome-avatars span:last-child {
  background: rgba(0, 212, 170, 0.2);
  border-color: rgba(0, 212, 170, 0.3);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  min-height: 480px;
}

.dashboard-sidebar {
  padding: 1rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--muted-foreground);
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s;
}

.dashboard-sidebar a svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.dashboard-sidebar a:hover {
  color: var(--foreground);
}

.dashboard-sidebar a.active {
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-cyan);
  border-color: rgba(0, 180, 216, 0.2);
}

.dashboard-main {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.stat-box {
  padding: 1rem;
  background: rgba(3, 6, 9, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.stat-box p {
  margin: 0;
}

.stat-box .label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.stat-box .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4dd9e8;
  margin: 0.15rem 0;
}

.stat-box .change {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.chart-panel {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(3, 6, 9, 0.5);
}

.chart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.chart-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.live-badge {
  font-size: 0.75rem;
  color: var(--accent-teal);
  background: rgba(0, 212, 170, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 5rem;
}

.chart-bars span {
  flex: 1;
  min-width: 4px;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-scene.is-visible .chart-bars span {
  transform: scaleY(1);
}

.dashboard-floor-glow {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 5rem;
  background: rgba(0, 180, 216, 0.2);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* Floating stat cards */
.dashboard-float {
  display: none;
  position: absolute;
  z-index: 5;
  width: 11rem;
  padding: 1rem;
  background: rgba(8, 12, 15, 0.9);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 180, 216, 0.15);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-float-icon-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(0, 212, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.dashboard-float-icon-wrap svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-teal);
}

.dashboard-float-icon-wrap--cyan {
  background: rgba(0, 180, 216, 0.2);
}

.dashboard-float-icon-wrap--cyan svg {
  color: var(--accent-cyan);
}

.dashboard-float-label {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--foreground);
}

.dashboard-float-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent-teal);
}

.dashboard-float--right .dashboard-float-value {
  color: var(--accent-cyan);
}

.dashboard-float-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0.25rem 0 0;
}

@media (min-width: 1024px) {
  .dashboard-float {
    display: block;
  }

  .dashboard-float--left {
    left: -3rem;
    top: 18%;
    transform: translateX(20px) translateZ(40px);
  }

  .dashboard-float--right {
    right: -3rem;
    bottom: 25%;
    transform: translateX(-20px) translateZ(40px);
  }

  .dashboard-scene.is-visible .dashboard-float--left {
    opacity: 1;
    transform: translateX(0) translateZ(40px);
    transition-delay: 0.45s;
    animation: float-bob-left 4s ease-in-out 1.2s infinite;
  }

  .dashboard-scene.is-visible .dashboard-float--right {
    opacity: 1;
    transform: translateX(0) translateZ(40px);
    transition-delay: 0.55s;
    animation: float-bob-right 4.5s ease-in-out 1.4s infinite;
  }
}

@keyframes float-bob-left {
  0%, 100% { transform: translateX(0) translateY(0) translateZ(40px); }
  50% { transform: translateX(0) translateY(-10px) translateZ(40px); }
}

@keyframes float-bob-right {
  0%, 100% { transform: translateX(0) translateY(0) translateZ(40px); }
  50% { transform: translateX(0) translateY(-8px) translateZ(40px); }
}

.activity-feed {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.activity-icon--ok {
  color: var(--accent-teal);
}

.activity-icon--warn {
  color: #eab308;
}

.activity-item > span {
  flex: 1;
  color: var(--muted-foreground);
}

.activity-item time {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
  margin-left: auto;
}

.platform-cta {
  text-align: center;
  margin-top: 4rem;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .dashboard-window {
    transform: translateY(40px) scale(0.95);
  }

  .dashboard-scene.is-visible .dashboard-window {
    transform: translateY(0) scale(1);
  }
}

/* CTA — Trisun style */
.cta-section {
  text-align: center;
  padding: 6rem 0 5rem;
  position: relative;
  z-index: 3;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}

.cta-tag {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-mail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(90deg, #00d4aa 0%, #00b4d8 100%);
  color: #030609;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(0, 180, 216, 0.2);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-mail-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.35);
}

.cta-mail-icon,
.cta-mail-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}

.cta-mail-icon svg,
.cta-mail-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.cta-mail-text {
  flex: 1;
  text-align: center;
  letter-spacing: 0.01em;
}

.cta-mail-arrow {
  transition: transform 0.2s;
}

.cta-mail-btn:hover .cta-mail-arrow {
  transform: translateX(4px);
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(90deg, #00d4aa, #00b4d8);
  color: #030609;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Forms, filters, service detail — keep from before */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-chip {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  font-family: inherit;
}
.filter-chip:hover,
.filter-chip.active {
  background: rgba(0, 180, 216, 0.1);
  border-color: rgba(0, 180, 216, 0.3);
  color: var(--accent-cyan);
}
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail.hidden { display: none; }
.feature-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.stats-row .stat-num {
  font-size: 2.5rem;
  font-weight: 800;
}
.stats-row .stat-num.gradient-text {
  -webkit-text-fill-color: transparent;
}
.stats-row .stat-label {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}
.job-card { margin-bottom: 1.5rem; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}
.contact-info-item a { color: var(--accent-cyan); }
.service-detail-visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 180, 216, 0.12));
  border: 1px solid var(--border);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .service-detail,
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
