/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --bg: #f3f7fa;
  --surface: #fff;
  --text: #122033;
  --muted: #3b4c63;
  --accent: #0b7ea3;
  --accent-strong: #086884;
  --border: #dce7f0;
}

* {
  box-sizing: border-box;
}

html, body {
  background: radial-gradient(circle at top right, #d7eef7, var(--bg));
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: Manrope, Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

.siteHeader {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  background: #f5f9fb;
  position: sticky;
  top: 0;
}

.headerInner {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: .9rem 1rem;
  display: flex;
}

.brand {
  color: var(--text);
  white-space: nowrap;
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}

.brandLogo {
  align-items: center;
  display: inline-flex;
}

.brandLogo img {
  width: auto;
  height: auto;
  display: block;
}

.siteNav {
  width: 100%;
  position: relative;
}

.navList {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  position: relative;
}

.navList > li {
  margin: 0;
}

.navLink, .navTrigger {
  color: var(--muted);
  border-radius: .5rem;
  justify-content: center;
  align-items: center;
  padding: .48rem .7rem;
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .14s, color .14s;
  display: inline-flex;
}

.navTrigger {
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
}

.navLink:hover, .navLink:focus-visible, .navTrigger:hover, .navTrigger:focus-visible, .navTrigger.isActive {
  color: var(--text);
  background: #e6f1f8;
  outline: none;
}

.megaNavItem {
  position: static;
}

.navChevron {
  margin-left: .45rem;
  font-size: .8rem;
  transition: transform .16s;
  display: inline-flex;
}

.navChevron.isOpen {
  transform: rotate(180deg);
}

.megaPanel {
  border: 1px solid var(--border);
  z-index: 20;
  background: linear-gradient(150deg, #fff 0%, #eef6fb 100%);
  border-radius: 1.1rem;
  width: min(1180px, 100vw - 2rem);
  padding: 1.05rem;
  animation: .18s mega-panel-enter;
  position: absolute;
  top: calc(100% + .65rem);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 20px 50px #1028482e;
}

.megaPanelInner {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr);
  align-items: start;
  gap: 1rem;
  display: grid;
}

.megaColumns {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
  display: grid;
}

.megaColumns.wide {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.megaGroup {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: .95rem;
  padding: 1rem;
}

.megaSectionEyebrow {
  color: var(--accent-strong);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .4rem;
  font-size: .74rem;
  font-weight: 800;
}

.megaCategoryDescription {
  color: var(--muted);
  margin: 0 0 .75rem;
  font-size: .88rem;
  line-height: 1.45;
}

.megaList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.megaEntry {
  border-top: 1px dashed #d4e3ee;
  margin: 0;
  padding: .34rem 0;
}

.megaEntry:first-child {
  border-top: 0;
  padding-top: .2rem;
}

.megaTitle {
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
}

.megaItemLink {
  border-radius: .7rem;
  margin: 0 -.35rem;
  padding: .62rem .6rem;
  text-decoration: none;
  transition: background-color .12s, transform .12s;
  display: block;
}

.megaItemLink:hover, .megaItemLink:focus-visible {
  background: #e6f2fb;
  outline: none;
  transform: translateX(2px);
}

.megaItemLink:hover .megaTitle, .megaItemLink:focus-visible .megaTitle {
  color: #074e67;
}

.megaDescription {
  color: var(--muted);
  margin: .2rem 0 0;
  font-size: .86rem;
  line-height: 1.4;
}

.megaAside {
  border: 1px solid var(--border);
  color: #ecf5fb;
  background: #0f2f47;
  border-radius: 1rem;
  min-height: 100%;
  padding: 1.15rem;
}

.megaAside .eyebrow {
  color: #8dd4ff;
  margin-top: 0;
}

.megaAside h3 {
  margin: .2rem 0 .6rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.megaAside p {
  color: #d7e9f5;
  margin: .4rem 0;
  line-height: 1.5;
}

.megaAside.featured {
  background: radial-gradient(circle at 100% 0, #66cdff1f, #0000 32%), linear-gradient(#12324a 0%, #0f2f47 100%);
}

.cta.mini {
  color: #001d2b;
  background: #27a7d4;
  margin-top: .8rem;
}

.megaAsideActions {
  flex-wrap: wrap;
  gap: .55rem;
  display: flex;
}

.cta.mini:hover {
  background: #5fc2e5;
}

.cta.mini.secondary {
  color: #0b3550;
  background: #f5fbff;
}

.cta.mini.secondary:hover {
  background: #dff1fd;
}

.expertisePanel {
  border: 1px solid var(--border);
  background: linear-gradient(130deg, #fff 0%, #edf7fc 100%);
  border-radius: .8rem;
  margin: 1rem 0 2rem;
  padding: 1rem;
}

.expertisePanel h2 {
  margin: .2rem 0 .7rem;
}

@keyframes mega-panel-enter {
  from {
    opacity: 0;
    transform: translateX(-50%)translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%)translateY(0);
  }
}

.detailGrid .card, .revealStagger > .card {
  transition: transform .24s, box-shadow .24s, border-color .24s;
  box-shadow: 0 14px 32px #10284814;
}

.detailGrid .card:hover, .revealStagger > .card:hover {
  border-color: #b7d4e4;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #0b7ea324;
}

.revealStagger.isVisible > * {
  animation: .62s cubic-bezier(.2, .8, .2, 1) forwards reveal-down;
}

.revealStagger.isVisible > :nth-child(2) {
  animation-delay: 90ms;
}

.revealStagger.isVisible > :nth-child(3) {
  animation-delay: .18s;
}

.revealStagger.isVisible > :nth-child(4) {
  animation-delay: .27s;
}

@keyframes reveal-down {
  from {
    opacity: .55;
    transform: translateY(18px)scaleY(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0)scaleY(1);
  }
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.4rem 1rem 4rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

h1 {
  margin: .3rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
}

h2 {
  margin-top: 0;
}

.lead {
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.heroActions {
  flex-wrap: wrap;
  gap: .7rem;
  display: flex;
}

.cta {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: .5rem;
  margin-top: 1.1rem;
  padding: .72rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.cta:hover {
  background: var(--accent-strong);
}

.cta.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.cta.secondary:hover {
  background: #eaf2f8;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  display: grid;
}

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .7rem;
  padding: 1rem;
}

.featureCard {
  background: linear-gradient(#fff 0%, #f7fbfe 100%);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.featureCard:before {
  content: "";
  background: linear-gradient(90deg, var(--accent) 0%, #7ccde7 100%);
  width: 100%;
  height: 3px;
  position: absolute;
  inset: 0 auto auto 0;
}

.featureIcon {
  object-fit: contain;
  width: 56px;
  height: 56px;
  margin-bottom: .9rem;
}

.serviceHighlightCard p:first-of-type, .featureCard p:first-of-type {
  color: var(--accent-strong);
  font-weight: 600;
}

.pricingCard {
  flex-direction: column;
  gap: .8rem;
  display: flex;
}

.pricingHeader {
  align-items: center;
  gap: .85rem;
  display: flex;
}

.pricingHeader h2 {
  margin-bottom: .2rem;
}

.pricingIcon {
  object-fit: contain;
  width: 56px;
  height: 56px;
}

.backToTop {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  border: 0;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
  transition: opacity .18s, transform .18s;
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  transform: translateY(12px);
  box-shadow: 0 14px 28px #0b7ea347;
}

.backToTop.isVisible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.backToTop:hover, .backToTop:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.pricingUnit {
  color: var(--muted);
  margin: -.2rem 0 0;
  font-size: .9rem;
}

.pricingTable {
  gap: .7rem;
  display: grid;
}

.pricingRow {
  border-top: 1px dashed #d4e3ee;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-top: .7rem;
  display: flex;
}

.pricingRow:first-child {
  border-top: 0;
  padding-top: 0;
}

.pricingLabel {
  gap: .15rem;
  display: grid;
}

.pricingLabel span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
}

.pricingValue {
  white-space: nowrap;
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 700;
}

.capabilitySection {
  margin-top: 2rem;
}

.capabilityCard h3 {
  margin-bottom: .45rem;
}

.capabilityLink {
  color: #0a6685;
  margin-top: .45rem;
  font-weight: 650;
  display: inline-block;
}

.detailGrid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  display: grid;
}

.capabilityCta {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #fff 0%, #e9f4fb 100%);
  border-radius: .8rem;
  margin-top: 1.4rem;
  padding: 1rem;
}

.value {
  margin: 0 0 .35rem;
  font-size: 1.7rem;
  font-weight: 700;
}

.contactForm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .7rem;
  gap: .6rem;
  max-width: 640px;
  padding: 1rem;
  display: grid;
}

.contactTrap {
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
}

.contactForm label {
  font-size: .92rem;
  font-weight: 600;
}

.contactForm input, .contactForm select, .contactForm textarea {
  width: 100%;
  font: inherit;
  border: 1px solid #b9cbda;
  border-radius: .45rem;
  padding: .55rem .65rem;
}

.status {
  color: #0f4f0c;
  margin: .2rem 0 0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .headerInner {
    flex-direction: column;
    align-items: stretch;
  }

  .navList {
    justify-content: flex-start;
  }

  .megaPanel {
    width: 100%;
    margin-top: .5rem;
    animation: none;
    position: static;
    transform: none;
  }

  .megaPanelInner, .megaColumns, .megaColumns.wide {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .revealStagger > * {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

.page li {
  margin: .5rem 0;
}

.badge {
  color: var(--accent-strong);
  background: #e6f1f8;
  border-radius: .35rem;
  margin-bottom: .6rem;
  padding: .25rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
}

.badge-success {
  color: #155724;
  background: #d4edda;
}

.badge-info {
  color: #0c5460;
  background: #d1ecf1;
}

.badge-warning {
  color: #856404;
  background: #fff3cd;
}

.badge-danger {
  color: #721c24;
  background: #f8d7da;
}

.badge-draft {
  color: #383d41;
  background: #e2e3e5;
}

.empty-state, .loading {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.metrics {
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.metrics li {
  color: var(--muted);
  margin: .3rem 0;
  font-size: .9rem;
}

.detail-link {
  color: var(--accent);
  margin-top: .8rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.detail-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.back-link {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.back-link:hover {
  color: var(--accent);
}

.industry-badge {
  color: var(--accent-strong);
  background: #e6f1f8;
  border-radius: .35rem;
  margin-bottom: .8rem;
  padding: .25rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
}

.case-study-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.case-study-content h3 {
  margin-top: 1.5rem;
  margin-bottom: .8rem;
  font-size: 1.2rem;
}

.case-study-content p {
  margin: .8rem 0;
  line-height: 1.7;
}

.case-study-content li {
  margin: .4rem 0;
  line-height: 1.6;
}

.detail-header {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.detail-subheader {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.detail-divider {
  border: 0;
  border-top: 2px solid var(--border);
  margin: 2.5rem 0;
}

.detail-list-item {
  color: var(--muted);
  margin: .6rem 0;
  padding-left: .5rem;
  line-height: 1.7;
}

.case-study-detail {
  max-width: 800px;
}

.case-study-detail h1 {
  margin: .8rem 0 1.5rem;
  font-size: 2.2rem;
  line-height: 1.2;
}

.case-study-detail .industry-badge {
  color: var(--accent-strong);
  letter-spacing: .02em;
  background: #e6f1f8;
  border-radius: .4rem;
  margin-bottom: 1rem;
  padding: .3rem .7rem;
  font-size: .8rem;
  font-weight: 700;
  display: inline-block;
}

.case-study-content h2 {
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
}

.case-study-content h3 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: .8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.case-study-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.case-study-content p {
  color: var(--muted);
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.8;
}

.case-study-content ul {
  margin: 1rem 0;
  padding-left: 1.8rem;
}

.case-study-content ul li {
  color: var(--muted);
  margin: .6rem 0;
  line-height: 1.7;
}

.case-study-content strong {
  color: var(--text);
  font-weight: 600;
}

.footer {
  background: linear-gradient(180deg, var(--border) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 3rem 1.5rem 2rem;
}

.footer .container {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  display: grid;
}

.footer-section h3 {
  color: var(--text);
  letter-spacing: .02em;
  margin: 0 0 1rem;
  font-size: .95rem;
  font-weight: 700;
}

.footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section li {
  margin: .5rem 0;
}

.footer-section a {
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-section li:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  display: flex;
}

.footer-bottom p {
  color: var(--muted);
  margin: 0;
  font-size: .85rem;
}

.services-grid {
  padding: 2rem 0;
}

.services-grid .container {
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  padding: 1.5rem;
}

.service-card .icon {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.service-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.service-card p {
  margin: .8rem 0;
  line-height: 1.7;
}

.service-description {
  border-left: 3px solid var(--accent);
  background: #f8fbfd;
  border-radius: .5rem;
  margin: 1.5rem 0;
  padding: 1rem;
}

.service-description h3 {
  margin-top: 1.2rem;
  margin-bottom: .6rem;
  font-size: 1.1rem;
}

.service-description h3:first-child {
  margin-top: 0;
}

.service-description ul {
  margin: .8rem 0;
  padding-left: 1.5rem;
}

.service-description li {
  margin: .5rem 0;
  line-height: 1.6;
}

.service-description li strong {
  color: var(--text);
}

.offerings {
  background: #f0f8fc;
  border-radius: .5rem;
  margin: 1.5rem 0;
  padding: 1rem;
}

.offerings h3 {
  margin: 0 0 .8rem;
  font-size: 1rem;
}

.offerings ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
}

.offerings li {
  margin: .4rem 0;
  font-size: .9rem;
  line-height: 1.5;
}

.offerings li::marker {
  color: var(--accent);
}

.technologies {
  margin: 1.5rem 0;
}

.technologies h3 {
  margin: 0 0 .8rem;
  font-size: 1rem;
}

.tech-tags {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.tech-tag {
  color: var(--accent-strong);
  background: #e6f1f8;
  border-radius: .35rem;
  padding: .3rem .7rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-block;
}

.testimonials-section {
  margin-top: 2rem;
  padding: 3rem 0;
}

.testimonials-section .container {
  max-width: 1180px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 1.5rem;
  font-style: italic;
}

.testimonial-card p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-card cite {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
  display: block;
}

.testimonial-card span {
  color: var(--muted);
  font-size: .85rem;
  display: block;
}

.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  text-align: center;
  color: #fff;
  border-radius: 1rem;
  margin-top: 2rem;
  padding: 3rem 0;
}

.cta-section h2 {
  color: #fff;
  margin: 0 0 .5rem;
  font-size: 1.8rem;
}

.cta-section p {
  color: #fffffff2;
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
}

.cta-section .cta {
  color: var(--accent);
  background: #fff;
}

.cta-section .cta:hover {
  background: #f0f6fb;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
}

.header .container {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
}

.logo {
  white-space: nowrap;
  align-items: center;
  display: inline-flex;
}

.main-nav {
  gap: 1.5rem;
  display: flex;
}

.main-nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}

.main-nav a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: 3rem 0;
}

.hero .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero .eyebrow {
  margin-bottom: .8rem;
}

.hero h1 {
  margin: .5rem 0 1rem;
}

.hero .lead {
  margin: 0 0 1.5rem;
}

.why-us {
  background: var(--surface);
  padding: 3rem 0;
}

.why-us .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.why-us h2 {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
}

.why-us .subheading {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.why-us .card {
  padding: 1.2rem;
}

.why-us .card h3 {
  margin: 0 0 .6rem;
  font-size: 1.1rem;
}

.why-us .card p {
  margin: .5rem 0;
  line-height: 1.6;
}

.why-us .card p:first-of-type {
  color: var(--text);
  font-weight: 600;
}

.expertise {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  padding: 3rem 0;
}

.expertise .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.expertise .eyebrow {
  margin-bottom: .8rem;
}

.expertise h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
}

.expertise .lead {
  margin: 0 0 2rem;
}

.expertise-details {
  margin-top: 2rem;
}

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

.expertise-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .7rem;
  padding: 1.2rem;
}

.expertise-item h4 {
  margin: 0 0 .6rem;
  font-size: 1.05rem;
}

.expertise-item p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
}

.stats {
  background: var(--surface);
  padding: 2rem 0;
}

.stats .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stats .card {
  text-align: center;
  padding: 1.5rem;
}

.stats .value {
  color: var(--accent);
  margin: 0 0 .3rem;
  font-size: 2.2rem;
  font-weight: 800;
}

.stats .card p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: .9rem;
}

.products {
  background: var(--surface);
  padding: 3rem 0;
}

.products .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.products h2 {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
}

.products .lead {
  margin: 0 0 2rem;
}

.product-section {
  margin-bottom: 2.5rem;
}

.product-section h3 {
  margin: 0 0 .6rem;
  font-size: 1.3rem;
}

.product-section .section-description {
  color: var(--muted);
  margin: 0 0 1.2rem;
  line-height: 1.6;
}

.product-section .card {
  padding: 1.2rem;
}

.product-section h4 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}

.product-section .card p {
  margin: 0 0 .7rem;
  line-height: 1.6;
}

.product-section .specs {
  margin: 0;
  padding-left: 1.2rem;
  list-style: outside;
}

.product-section .specs li {
  margin: .3rem 0;
  font-size: .9rem;
}

.services {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: 3rem 0;
}

.services .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services h2 {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
}

.services .lead {
  margin: 0 0 2rem;
}

.services .card {
  padding: 1.3rem;
}

.services .card .featureIcon {
  margin-bottom: .8rem;
}

.services .card h3 {
  margin: 0 0 .6rem;
  font-size: 1.1rem;
}

.services .card p {
  margin: 0 0 .8rem;
  line-height: 1.6;
}

.services .card .cta.mini {
  margin-top: .6rem;
}

.testimonials {
  background: var(--surface);
  padding: 3rem 0;
}

.testimonials .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
}

.testimonials .card {
  padding: 1.3rem;
  font-style: italic;
}

.testimonials .card p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.testimonials footer {
  margin-top: 1rem;
  font-style: normal;
}

.testimonials footer cite {
  color: var(--text);
  font-weight: 700;
  display: block;
}

.testimonials footer span {
  color: var(--muted);
  font-size: .85rem;
  display: block;
}

.partners {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  padding: 3rem 0;
}

.partners .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.partners h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
}

.partner-card {
  justify-content: center;
  align-items: center;
  min-height: 80px;
  padding: 1.5rem;
  display: flex;
}

.partner-logo {
  object-fit: contain;
  filter: grayscale() brightness(.7);
  width: 100%;
  max-width: 150px;
  height: 40px;
  transition: filter .2s;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%) brightness();
}

.faq {
  background: var(--surface);
  padding: 3rem 0 4rem;
}

.faq .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq h2 {
  margin: 0 0 2rem;
  font-size: 1.8rem;
}

.faq-list {
  flex-direction: column;
  gap: .8rem;
  display: flex;
}

.faq-list details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 1rem;
}

.faq-list summary {
  cursor: pointer;
  padding-right: 1.5rem;
  font-weight: 650;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  transition: transform .2s;
  position: absolute;
  right: 0;
}

.faq-list details[open] summary:after {
  transform: rotate(45deg);
}

.faq-list details[open] summary {
  margin-bottom: .6rem;
}

.faq-list p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1.5rem;
  }

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

  .footer-bottom {
    text-align: center;
    flex-direction: column;
  }

  .header .container {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

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

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

  .hero {
    padding: 2rem 0;
  }

  .hero .container {
    padding: 0 1rem;
  }

  .why-us, .expertise, .products, .services, .testimonials, .partners, .faq {
    padding: 2rem 0;
  }

  .cta {
    text-align: center;
    width: 100%;
  }

  .heroActions {
    flex-direction: column;
  }

  .heroActions .cta {
    width: 100%;
  }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.floating-menu-container {
  min-height: 200px;
  position: relative;
}

.floating-menu-item {
  z-index: 5;
  pointer-events: auto;
  transition: transform .14s, box-shadow .14s, opacity .18s;
}

.floating-menu-item:hover {
  z-index: 10;
  transform: translateY(-2px);
}

.floating-menu-card:hover {
  box-shadow: 0 12px 32px #0b7ea333 !important;
}

.floating-menu-sidebar:hover {
  box-shadow: 0 12px 32px #0b7ea34d !important;
}

.floating-menu-tooltip:hover {
  box-shadow: 0 6px 16px #00000040 !important;
}

.floating-menu-callout:hover {
  box-shadow: 0 4px 12px #0b7ea326 !important;
}

.text-flow-renderer {
  position: relative;
  overflow: visible;
}

.text-flow-content {
  z-index: 1;
  position: relative;
}

.text-flow-line {
  border-radius: 4px;
  margin: -2px -4px;
  padding: 2px 4px;
  transition: background-color .14s;
  position: relative;
}

.text-flow-line:hover {
  background-color: #0b7ea30d;
}

.text-flow-line.clicked {
  background-color: #0b7ea31a;
}

.annotation-marker {
  border-radius: 2px;
  transition: all .14s;
}

.annotation-marker-underline:hover {
  background-color: #0b7ea314;
  border-bottom-color: #0b7ea3;
}

.annotation-marker-highlight:hover {
  background-color: #0b7ea340 !important;
}

.annotation-marker-dot:hover {
  background-color: #0b7ea3 !important;
}

.demo-container, .demo-text-flow {
  background: #fff;
  border: 1px solid #dce7f0;
  border-radius: 12px;
  margin: 1.5rem 0;
  padding: 1.5rem;
}

@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-menu-item {
  animation: .18s menu-enter;
}

@media (max-width: 768px) {
  .floating-menu-item {
    margin: 1rem 0;
    width: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }

  .floating-menu-item:hover {
    transform: none !important;
  }

  .demo-container, .demo-text-flow {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-menu-item {
    transition: none;
    animation: none;
  }

  .floating-menu-item:hover {
    transform: none;
  }
}

.dashboard-stats {
  padding: 1.5rem 0 2rem;
}

.dashboard-services {
  padding: 2rem 0;
}

.dashboard-sources {
  padding: 2rem 0 3rem;
}

.service-card {
  background: linear-gradient(#fff 0%, #f7fbfe 100%);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.service-card:before {
  content: "";
  background: linear-gradient(90deg, var(--accent) 0%, #7ccde7 100%);
  width: 100%;
  height: 3px;
  position: absolute;
  inset: 0 auto auto 0;
}

.icon-wrapper {
  margin-bottom: .75rem;
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
}

.card-title {
  color: var(--text);
  margin: 0 0 .4rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.card-summary {
  color: var(--accent-strong);
  margin: 0 0 .8rem;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .dashboard-stats .grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

.dashboard-page {
  max-width: 1200px;
}

.dashboard-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.dashboard-header h1 {
  margin: .3rem 0 .5rem;
}

.dashboard-filters {
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.date-range-picker {
  display: inline-block;
  position: relative;
}

.date-range-trigger {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  border-radius: .5rem;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .14s, background-color .14s;
  display: inline-flex;
}

.date-range-trigger:hover {
  border-color: var(--accent);
  background: #f0f7fc;
}

.date-range-label {
  white-space: nowrap;
}

.date-range-chevron {
  transition: transform .16s;
}

.date-range-chevron.is-open {
  transform: rotate(180deg);
}

.date-range-dropdown {
  z-index: 50;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .75rem;
  min-width: 260px;
  padding: .5rem;
  animation: .15s dropdown-enter;
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  box-shadow: 0 12px 32px #1028481f;
}

@keyframes dropdown-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.date-range-presets {
  flex-direction: column;
  gap: .15rem;
  display: flex;
}

.preset-btn {
  text-align: left;
  width: 100%;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: .4rem;
  padding: .5rem .75rem;
  font-size: .88rem;
  transition: background-color .12s, color .12s;
  display: block;
}

.preset-btn:hover {
  color: var(--text);
  background: #e6f1f8;
}

.preset-btn.is-active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.date-range-custom {
  border-top: 1px solid var(--border);
  margin-top: .4rem;
  padding-top: .65rem;
}

.date-field {
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .5rem;
  display: flex;
}

.date-field span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .78rem;
  font-weight: 600;
}

.date-field input[type="date"] {
  border: 1px solid var(--border);
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border-radius: .4rem;
  padding: .4rem .55rem;
  font-size: .88rem;
}

.date-field input[type="date"]:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px #0b7ea326;
}

.date-range-actions {
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .4rem;
  display: flex;
}

.btn {
  font: inherit;
  cursor: pointer;
  border-radius: .4rem;
  padding: .45rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  transition: background-color .12s, border-color .12s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-ghost {
  color: var(--muted);
  border: 1px solid var(--border);
  background: none;
}

.btn-ghost:hover {
  color: var(--text);
  background: #f0f4f8;
}

.service-filter {
  gap: .4rem;
  display: flex;
}

.service-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  transition: background-color .12s, border-color .12s, color .12s;
  display: inline-flex;
}

.service-pill:hover {
  border-color: var(--accent);
  color: var(--text);
  background: #f0f7fc;
}

.service-pill.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.service-pill.is-active:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.service-pill-icon {
  font-size: .9rem;
  line-height: 1;
}

.summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .85rem;
  display: grid;
}

.metric-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .7rem;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  transition: transform .2s, box-shadow .2s;
  display: flex;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #10284812;
}

.metric-icon {
  flex-shrink: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.metric-body {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.metric-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .15rem;
  font-size: .76rem;
  font-weight: 600;
}

.metric-value {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.metric-unit {
  color: var(--muted);
  margin-left: .25rem;
  font-size: .8rem;
  font-weight: 500;
}

.skeleton-value {
  background: linear-gradient(90deg,
    var(--border) 25%,
    #e8f0f6 50%,
    var(--border) 75%);
  background-size: 200% 100%;
  border-radius: .3rem;
  width: 60%;
  height: 1.25rem;
  animation: 1.5s ease-in-out infinite skeleton-pulse;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.error-state {
  color: #842029;
  text-align: center;
  background: #fdf0f0;
  border: 1px solid #f5c6c6;
  border-radius: .7rem;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: 2rem;
  display: flex;
}

.error-icon {
  font-size: 2rem;
  line-height: 1;
}

.error-message {
  margin: 0;
  font-size: .95rem;
}

.dashboard-charts {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  display: grid;
}

.chart-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .75rem;
  padding: 1.25rem;
}

.chart-title {
  color: var(--text);
  margin: 0 0 .15rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.chart-subtitle {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: .85rem;
}

.chart-container {
  width: 100%;
  position: relative;
}

.chart-empty {
  height: 100%;
  min-height: 120px;
  color: var(--muted);
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  display: flex;
}

.chart-svg {
  width: 100%;
  height: auto;
}

.chart-dot {
  transition: r .12s, fill .12s;
}

.chart-tooltip {
  background: var(--text);
  color: #fff;
  border-radius: .35rem;
  padding: .35rem .6rem;
  font-size: .78rem;
  line-height: 1.3;
  box-shadow: 0 4px 12px #00000026;
}

.tooltip-label {
  color: #ffffffb3;
  font-size: .72rem;
}

.tooltip-value {
  font-weight: 700;
}

.pie-chart-wrapper {
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.pie-tooltip {
  background: var(--text);
  color: #fff;
  border-radius: .35rem;
  padding: .35rem .6rem;
  font-size: .8rem;
  box-shadow: 0 4px 12px #00000026;
}

.pie-legend {
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
  display: flex;
}

.pie-legend-item {
  color: var(--muted);
  cursor: pointer;
  border-radius: .25rem;
  align-items: center;
  gap: .35rem;
  padding: .2rem .3rem;
  font-size: .8rem;
  transition: background-color .12s;
  display: inline-flex;
}

.pie-legend-item:hover {
  color: var(--text);
  background: #e6f1f8;
}

.pie-legend-dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.pie-legend-label {
  font-weight: 500;
}

.pie-legend-value {
  color: var(--text);
  font-weight: 700;
}

.chart-row {
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 1.5rem;
  display: grid;
}

.bar-chart-side {
  min-height: 220px;
}

.dashboard-table-section {
  margin-bottom: 2rem;
}

.section-title {
  color: var(--text);
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.table-wrapper {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .7rem;
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
}

.data-table thead {
  background: var(--bg);
}

.data-table th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: .65rem 1rem;
  font-size: .78rem;
  font-weight: 700;
}

.data-table td {
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: .6rem 1rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #f8fbfd;
}

.settings-header h1 {
  margin: .3rem 0 0;
}

.settings-section {
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.settings-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.settings-section h2 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.3rem;
}

.coming-soon {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.coming-soon .badge {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: middle;
  background: #e8eef3;
  border-radius: .3rem;
  margin-right: .4rem;
  padding: .15rem .5rem;
  font-size: .7rem;
  font-weight: 700;
  display: inline-block;
}

@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-header .cta {
    align-self: flex-start;
  }

  .dashboard-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .date-range-dropdown {
    min-width: auto;
    left: 0;
    right: 0;
  }

  .service-filter {
    justify-content: stretch;
  }

  .service-pill {
    flex: 1;
    justify-content: center;
  }

  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-row {
    grid-template-columns: 1fr;
  }

  .pie-chart-wrapper {
    order: -1;
  }
}

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

  .metric-card {
    padding: .75rem;
  }

  .metric-icon {
    font-size: 1.3rem;
  }

  .metric-value {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-card {
    transition: none;
  }

  .metric-card:hover {
    transform: none;
  }

  .skeleton-value {
    background: var(--border);
    animation: none;
  }

  .date-range-dropdown {
    animation: none;
  }
}

.user-dropdown {
  align-items: center;
  display: inline-flex;
  position: relative;
}

.user-dropdown-trigger {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  border-radius: .75rem;
  align-items: center;
  gap: .6rem;
  padding: .45rem .75rem .45rem .45rem;
  font-size: .875rem;
  transition: border-color .14s, background-color .14s;
  display: inline-flex;
}

.user-dropdown-trigger:hover {
  border-color: var(--accent);
  background: #f0f7fc;
}

.user-dropdown-avatar {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
}

.user-dropdown-email {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
}

.user-dropdown-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .16s;
}

.user-dropdown-chevron.is-open {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  z-index: 60;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .75rem;
  min-width: 200px;
  padding: .4rem;
  animation: .15s dropdown-enter;
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  box-shadow: 0 12px 32px #1028481f;
}

.user-dropdown-menu-email {
  color: var(--text-muted);
  word-break: break-all;
  padding: .4rem .6rem;
  font-size: .8rem;
}

.user-dropdown-divider {
  background: var(--border);
  height: 1px;
  margin: .25rem .4rem;
}

.user-dropdown-item {
  width: 100%;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  border-radius: .4rem;
  padding: .5rem .6rem;
  font-size: .875rem;
  transition: background-color .12s;
  display: block;
}

.user-dropdown-item:hover {
  color: var(--accent);
  background: #f0f7fc;
}

.user-dropdown-item.logout {
  color: #c0392b;
}

.user-dropdown-item.logout:hover {
  background: #fdecea;
}

.user-dropdown-item--disabled {
  opacity: .5;
  cursor: not-allowed;
  color: var(--muted);
}

.user-dropdown-item--disabled:hover {
  color: var(--muted);
  background: none;
}

.settings-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  display: flex;
}

.settings-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.settings-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px #1028480f;
}

.settings-card h2 {
  color: var(--text);
  margin: 0 0 .5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.settings-subtitle {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: .9rem;
}

.settings-disabled-note {
  color: var(--muted);
  background: #f0f7fc;
  border-radius: .4rem;
  align-items: center;
  gap: .4rem;
  padding: .4rem .7rem;
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
}

.settings-disabled-note .icon {
  color: var(--accent);
}

@media (max-width: 768px) {
  .settings-header {
    flex-direction: column;
    align-items: stretch;
  }

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

.portalSidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 100;
  flex-direction: column;
  width: 240px;
  height: 100vh;
  transition: transform .22s, width .22s;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.portalSidebarCollapsed {
  width: 64px;
}

.portalSidebarHeader {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: .85rem .75rem;
  display: flex;
}

.portalSidebarBrand {
  color: var(--accent-strong);
  letter-spacing: .02em;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.portalSidebarBrand:hover, .portalSidebarBrand:focus-visible {
  color: var(--accent);
}

.portalSidebarBrandText {
  white-space: nowrap;
}

.portalSidebarCollapseBtn {
  width: 28px;
  height: 28px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: .4rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: background-color .12s, color .12s;
  display: inline-flex;
}

.portalSidebarCollapseBtn:hover, .portalSidebarCollapseBtn:focus-visible {
  color: var(--text);
  background: #e6f1f8;
  outline: none;
}

.portalSidebarNav {
  flex: 1;
  padding: .5rem 0;
  overflow: hidden auto;
}

.portalSidebarList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portalSidebarItem {
  margin: 0;
  padding: 0 .5rem;
}

.portalSidebarLink {
  color: var(--muted);
  white-space: nowrap;
  border-radius: .55rem;
  align-items: center;
  gap: .75rem;
  padding: .6rem .65rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .14s, color .14s;
  display: flex;
  overflow: hidden;
}

.portalSidebarLink:hover, .portalSidebarLink:focus-visible {
  color: var(--text);
  background: #e6f1f8;
  outline: none;
}

.portalSidebarLinkActive {
  color: var(--accent-strong);
  background: #d4eaf5;
  font-weight: 700;
}

.portalSidebarIcon {
  color: var(--accent);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.portalSidebarLabel {
  transition: opacity .15s;
}

.portalSidebarCollapsed .portalSidebarLabel {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}

.portalSidebarCollapsed .portalSidebarLink {
  justify-content: center;
  padding: .6rem 0;
}

.portalSidebarUser {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  gap: .65rem;
  padding: .75rem .85rem;
  display: flex;
}

.portalSidebarAvatar {
  width: 34px;
  height: 34px;
  color: var(--accent-strong);
  background: #d4eaf5;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.portalSidebarUserInfo {
  min-width: 0;
  overflow: hidden;
}

.portalSidebarUserName {
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  font-size: .85rem;
  font-weight: 700;
  overflow: hidden;
}

.portalSidebarUserEmail {
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  font-size: .75rem;
  overflow: hidden;
}

.portalSidebarCollapsed .portalSidebarUserInfo {
  display: none;
}

.portalSidebarToggle {
  z-index: 150;
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--text);
  cursor: pointer;
  border: 0;
  border-radius: .6rem;
  justify-content: center;
  align-items: center;
  transition: background-color .12s;
  display: none;
  position: fixed;
  top: .75rem;
  left: .75rem;
  box-shadow: 0 2px 8px #1028481f;
}

.portalSidebarToggle:hover {
  background: #e6f1f8;
}

.portalSidebarBackdrop {
  z-index: 99;
  background: #10284859;
  animation: .2s portal-backdrop-fade;
  display: none;
  position: fixed;
  inset: 0;
}

@keyframes portal-backdrop-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .portalSidebarToggle {
    display: inline-flex;
  }

  .portalSidebar {
    width: 260px;
    transform: translateX(-100%);
    box-shadow: 4px 0 20px #1028481f;
  }

  .portalSidebarCollapsed {
    width: 260px;
  }

  .portalSidebarCollapsed .portalSidebarLabel {
    opacity: 1;
    pointer-events: auto;
    width: auto;
    overflow: visible;
  }

  .portalSidebarCollapsed .portalSidebarLink {
    justify-content: flex-start;
    padding: .6rem .65rem;
  }

  .portalSidebarMobileOpen {
    transform: translateX(0);
  }

  .portalSidebarBackdrop {
    display: block;
  }
}

.portal-layout {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
}

.portal-main {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.portal-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
}

.portal-header-title {
  flex-direction: column;
  gap: .15rem;
  display: flex;
}

.portal-header-title h1 {
  color: var(--text);
  margin: .3rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.portal-header-subtitle {
  color: var(--muted);
  margin: 0;
  font-size: .85rem;
}

.portal-header-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.portal-signout-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  border-radius: .5rem;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  transition: color .14s, border-color .14s, background-color .14s;
  display: inline-flex;
}

.portal-signout-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: #f0f7fc;
}

.portal-signout-btn .icon {
  color: currentColor;
}

.portal-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.service-catalog-overlay {
  z-index: 1000;
  background: #00000080;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: .15s fadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.service-catalog-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .75rem;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  animation: .2s slideUp;
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-catalog-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  display: flex;
}

.service-catalog-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-catalog-close {
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: .3rem;
  padding: .25rem;
  transition: color .12s, background .12s;
}

.service-catalog-close:hover {
  color: var(--accent);
  background: var(--surface-hover);
}

.service-catalog-grid {
  flex: 1;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
}

.service-catalog-category {
  margin-bottom: 1.5rem;
}

.service-catalog-category:last-child {
  margin-bottom: 0;
}

.service-catalog-category-header {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  display: flex;
}

.service-catalog-category-header h3 {
  color: var(--accent);
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.service-catalog-services {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.service-catalog-service {
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  border-radius: .5rem;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  transition: border-color .12s, background .12s, box-shadow .12s;
  display: flex;
}

.service-catalog-service:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  box-shadow: 0 0 0 1px var(--accent);
}

.service-catalog-service-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.service-catalog-service-name {
  color: var(--foreground);
  font-size: .95rem;
  font-weight: 500;
}

.service-catalog-service-desc {
  color: var(--muted);
  margin-top: .15rem;
  font-size: .82rem;
}

.service-catalog-service .icon:last-child {
  color: var(--muted);
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 640px) {
  .service-catalog-modal {
    border-radius: .5rem;
    max-height: 95vh;
  }

  .service-catalog-grid {
    padding: 1rem;
  }

  .service-catalog-service {
    padding: .6rem .75rem;
  }
}

.agent-list {
  gap: .4rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
}

.agent-link {
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  color: var(--foreground);
  cursor: pointer;
  border-radius: .4rem;
  align-items: center;
  gap: .5rem;
  padding: .6rem .75rem;
  font-size: .9rem;
  display: flex;
}

.agent-link:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.agent-status {
  color: var(--muted);
  margin-left: auto;
  font-size: .78rem;
}

.agent-empty {
  color: var(--muted);
  font-size: .85rem;
}

.agent-meta {
  color: var(--muted);
  margin: .2rem 0 .8rem;
  font-size: .82rem;
}

.agent-actions {
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .6rem;
  display: flex;
}

.console-panel, .firewall-panel, .alerts-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .5rem;
  margin-bottom: 1rem;
  padding: .75rem;
}

.console-form, .firewall-form {
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: .6rem;
  display: flex;
}

.firewall-form input, .console-form input {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  border-radius: .35rem;
  padding: .35rem .5rem;
  font-size: .85rem;
}

.firewall-toggle {
  align-items: center;
  gap: .4rem;
  margin-bottom: .5rem;
  font-size: .9rem;
  display: flex;
}

.firewall-note {
  color: var(--muted);
  margin: 0 0 .6rem;
  font-size: .82rem;
}

.firewall-rules, .alerts-list {
  gap: .35rem;
  margin: 0 0 .75rem;
  padding: 0;
  list-style: none;
  display: grid;
}

.firewall-rules li, .alerts-list li {
  border-left: 3px solid var(--border);
  background: var(--surface-hover);
  padding: .35rem .5rem;
  font-size: .85rem;
}

.firewall-resolved {
  color: var(--muted);
  font-size: .78rem;
}

.firewall-error {
  color: var(--danger, #b3261e);
  font-size: .85rem;
}

.firewall-saved {
  color: var(--muted);
  font-size: .82rem;
}

.alerts-summary {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .6rem;
  font-size: .85rem;
  display: flex;
}

.alerts-unobservable {
  color: var(--danger, #b3261e);
  font-size: .82rem;
}

.alert-critical {
  border-left-color: var(--danger, #b3261e);
}

.alert-warning {
  border-left-color: var(--accent);
}

.alert-time {
  color: var(--muted);
  margin-left: auto;
  font-size: .78rem;
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-.css.map*/