
:root {
  font-size: clamp(15px, 0.9vw, 18px);
  --bg-dark: #020817;
  --text-dark: #f5f6fa;
  --muted-dark: rgba(245, 246, 250, 0.75);
  --card-dark: rgba(255, 255, 255, 0.08);
  --card-strong-dark: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --glass-dark: rgba(8, 15, 40, 0.5);
  --shadow-dark: 0 20px 80px rgba(2, 8, 23, 0.55);

  --bg-light: #f5f7fb;
  --text-light: #1b2130;
  --muted-light: rgba(20, 35, 70, 0.7);
  --card-light: rgba(15, 23, 42, 0.05);
  --card-strong-light: rgba(15, 23, 42, 0.12);
  --border-light: rgba(15, 23, 42, 0.12);
  --glass-light: rgba(255, 255, 255, 0.75);
  --shadow-light: 0 18px 50px rgba(15, 23, 42, 0.15);

  --bg: var(--bg-dark);
  --text: var(--text-dark);
  --muted: var(--muted-dark);
  --card: var(--card-dark);
  --card-strong: var(--card-strong-dark);
  --border: var(--border-dark);
  --glass: var(--glass-dark);
  --shadow: var(--shadow-dark);
  --accent: #71b7fb;
  --accent-2: #7cf6d6;
}

body[data-theme="light"] {
  --bg: var(--bg-light);
  --text: var(--text-light);
  --muted: var(--muted-light);
  --card: var(--card-light);
  --card-strong: var(--card-strong-light);
  --border: var(--border-light);
  --glass: var(--glass-light);
  --shadow: var(--shadow-light);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  padding: 2.5rem clamp(1rem, 4vw, 4rem) 3rem;
  position: relative;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

.page-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(113, 183, 251, 0.4),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(124, 246, 214, 0.25),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(41, 108, 255, 0.3),
      transparent 50%
    );
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.logo strong {
  font-size: 1.1rem;
}

.logo small {
  color: var(--muted);
  font-size: 0.8rem;
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(113, 183, 251, 0.5);
  animation: pulse 2.8s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.primary-nav {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
}


body[data-theme="light"] .nav-pill {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.15);
}

body[data-theme="light"] .primary-nav a:hover,
body[data-theme="light"] .primary-nav a.active {
  background: rgba(15, 23, 42, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  transition: opacity 0.3s ease;
}

.theme-toggle .moon {
  position: absolute;
  opacity: 0;
}

body[data-theme="light"] .theme-toggle .sun {
  opacity: 1;
}

body[data-theme="light"] .theme-toggle .moon {
  opacity: 0;
}

body[data-theme="dark"] .theme-toggle .sun {
  opacity: 0;
}

body[data-theme="dark"] .theme-toggle .moon {
  opacity: 1;
}

.btn {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #020817;
  font-weight: 600;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn.neutral {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn.block {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(11, 160, 255, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  padding: clamp(2rem, 4vw, 3.5rem);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.hero-copy h1,
.hero-intro h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin: 0.6rem 0 1rem;
}

.hero-minimal {
  align-items: center;
}

.hero-3d {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.hero-3d-plane {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 20%, rgba(113, 183, 251, 0.3), transparent 60%);
  filter: blur(10px);
}

.hero-3d-plane span {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  transform: perspective(800px) rotateX(55deg);
  animation: floatPlane 12s ease-in-out infinite;
}

.hero-3d-plane span:nth-child(2) {
  inset: 18%;
  animation-delay: 2s;
}

.hero-3d-plane span:nth-child(3) {
  inset: 26%;
  animation-delay: 4s;
}

@keyframes floatPlane {
  0%,
  100% {
    transform: perspective(900px) rotateX(50deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateX(55deg) translateY(12px);
  }
}

.hero-3d-orbs {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.orb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.4;
  filter: blur(2px);
  animation: drift 8s ease-in-out infinite;
}

.orb-two {
  width: 110px;
  height: 110px;
  animation-delay: 1.5s;
  opacity: 0.3;
}

.orb-three {
  width: 45px;
  height: 45px;
  animation-delay: 3s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

.hero-card.welcome-card {
  position: relative;
  margin-top: 140px;
  background: rgba(0, 0, 0, 0.35);
}

body[data-theme="light"] .hero-card.welcome-card {
  background: rgba(255, 255, 255, 0.9);
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

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

.hero-badges div {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
}

.hero-card.secondary {
  background: linear-gradient(140deg, rgba(9, 14, 35, 0.65), rgba(113, 183, 251, 0.15));
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-row:last-child {
  border-bottom: none;
}

.onboarding {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.onboarding span {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.eyebrow {
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

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

.hero-stats article {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.glow-card {
  background: linear-gradient(140deg, rgba(9, 14, 35, 0.7), rgba(11, 43, 76, 0.7));
  border-radius: 28px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 60px rgba(113, 183, 251, 0.08);
}

.glow-card header,
.glow-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.legend {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.25rem;
}

.dot.complete {
  background: var(--accent);
}

.dot.pending {
  background: var(--accent-2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.timeline .node {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.timeline .node.active {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(113, 183, 251, 0.14);
}

.glow-card footer strong {
  font-size: 1.7rem;
}

.glow-card.mini {
  display: grid;
  gap: 1rem;
}

.gauge {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  margin: 0 auto;
}

.gauge span {
  font-size: 2rem;
  font-weight: 600;
}

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

.status-grid div {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 16px;
}

.status-grid strong {
  font-size: 1.3rem;
}

.cred-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.cred-strip p {
  margin: 0;
  color: var(--muted);
}

.cred-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.section {
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

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

.services-grid article {
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.services-grid h3 {
  margin-top: 0;
}

.services-grid p {
  color: var(--muted);
}

.services-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text);
}

.services-grid li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.services-grid li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

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

.panel {
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.2);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill-list span {
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: var(--muted);
}

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

.panel.metrics div {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.panel.metrics strong {
  font-size: 1.4rem;
}

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

.process-flow article {
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.cta h2 {
  margin: 0.5rem 0 0.75rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
}

.site-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer.deluxe .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.footer-grid h4 {
  margin-top: 0;
  color: var(--text);
}

.footer-grid a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  max-width: 460px;
  width: 100%;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.login-tabs .tab {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.75rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.login-tabs .tab.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

form input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-top: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -0.5rem;
}

.feedback {
  min-height: 1.4rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.feedback.success {
  color: var(--accent-2);
}

.feedback.error {
  color: #f49ca0;
}

.contact-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.contact-hero-copy ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--muted);
}

.contact-hero-copy li {
  margin-bottom: 0.35rem;
  padding-left: 1.2rem;
  position: relative;
}

.contact-hero-copy li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.contact-illustration {
  background: linear-gradient(160deg, rgba(113, 183, 251, 0.25), rgba(124, 246, 214, 0.15));
  border-radius: 32px;
  padding: 1rem;
  display: grid;
  place-items: center;
}

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

.contact-panels {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-form {
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-top: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-info-panel {
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-block {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-block:last-of-type {
  border-bottom: none;
}

.info-block span {
  font-size: 1.2rem;
}

body[data-theme="light"] .hero-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text);
}

body[data-theme="light"] .hero-card.secondary {
  background: linear-gradient(140deg, rgba(113, 183, 251, 0.25), rgba(124, 246, 214, 0.25));
}

body[data-theme="light"] form input,
body[data-theme="light"] form textarea,
body[data-theme="light"] form select {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.15);
}

.page-hero {
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero .page-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.solutions-layout,
.about-layout,
.career-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.detail-card h3 {
  margin-top: 0;
}

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

.gallery-card {
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
}

.gallery-card figure {
  margin: 0 0 1rem;
  border-radius: 18px;
  height: 160px;
  background: linear-gradient(140deg, rgba(113, 183, 251, 0.2), rgba(124, 246, 214, 0.2));
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
  margin: 0;
  list-style: none;
}

.timeline li {
  margin-bottom: 1.25rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  border-radius: 50%;
}

.timeline::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

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

.team-card {
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 1.25rem;
}

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

.career-card {
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

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

@media (max-width: 820px) {
  body {
    padding: 1.5rem;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .primary-nav {
    flex-wrap: wrap;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .cta-group {
    flex-direction: column;
  }
  .cta-actions {
    flex-direction: column;
  }
  .contact-panels {
    grid-template-columns: 1fr;
  }
  .page-hero .page-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dashboard */
.dashboard-body {
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  min-height: 100vh;
  background: var(--bg);
}

.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100vh;
}

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

.dashboard-shell.blurred {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.dashboard-header {
  align-items: center;
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.role-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.kpi-dashboard,
.analytics-panel {
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.kpi-dashboard header,
.analytics-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.kpi-dashboard select,
.analytics-panel select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  font: inherit;
}

body[data-theme="light"] .kpi-dashboard select,
body[data-theme="light"] .analytics-panel select {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--text);
}

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

.kpi-cards article {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

body[data-theme="light"] .kpi-cards article {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}

.kpi-cards strong {
  font-size: 1.6rem;
}

.analytics-chart {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.analytics-bar {
  position: relative;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body[data-theme="light"] .analytics-bar {
  background: rgba(15, 23, 42, 0.1);
}

.analytics-bar span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.analytics-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--bar-size, 30%);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  opacity: 0.4;
  transition: width 0.4s ease;
}

.analytics-meta {
  margin-top: 0.75rem;
  color: var(--muted);
}

.portfolio-value h1 {
  margin: 0.7rem 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

.value-meta strong {
  font-size: 1.4rem;
}

.arc-graph {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.arc {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.arc-progress {
  text-align: center;
}

.arc-progress span {
  font-size: 2.5rem;
  font-weight: 600;
}

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

.dashboard-expansion {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cluster {
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.cluster header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

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

.cluster-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cluster header button.cluster-toggle {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font: inherit;
}

.cluster-body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cluster.collapsed .cluster-body {
  display: none;
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
}

.stack-list li {
  padding-left: 1.1rem;
  position: relative;
}

.stack-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.panel.kpi header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.4rem 0.75rem;
  color: var(--text);
  font: inherit;
}

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

.track-node {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.track-node.active {
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(113, 183, 251, 0.2);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.list li:last-child {
  border-bottom: none;
}

.list li strong {
  font-size: 1.1rem;
}

.list li span {
  color: var(--muted);
  display: block;
}

.list li small {
  color: rgba(245, 246, 250, 0.5);
}

.list.compact li {
  align-items: flex-start;
  flex-direction: column;
}

.list.compact li .tag {
  align-self: flex-end;
}

.btn.mini {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.account-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.account-cards div {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.form-grid input {
  width: 100%;
}

.task-board,
.employee-board {
  min-height: 360px;
}

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

.site-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.site-form label {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
}

.site-form input,
.site-form textarea,
.site-form select {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font: inherit;
}

body[data-theme="light"] .site-form input,
body[data-theme="light"] .site-form textarea,
body[data-theme="light"] .site-form select {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.15);
}

.form-feedback {
  min-height: 1rem;
  font-size: 0.85rem;
  color: var(--accent-2);
}

.site-live-data {
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--border);
}

.site-log {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-log-entry {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.site-log-entry .entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-log-entry button {
  align-self: flex-start;
  border: none;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85rem;
}

.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.tag.success {
  background: rgba(124, 246, 214, 0.15);
  color: var(--accent-2);
}

.tag.warning {
  background: rgba(255, 196, 87, 0.15);
  color: #fcd37d;
}

.tag.neutral {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.empty-state {
  justify-content: center;
  color: var(--muted);
}

.overlay-locked {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10;
}

.overlay-locked.visible {
  display: flex;
}

.overlay-locked .message {
  max-width: 420px;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .session-actions {
    width: 100%;
    justify-content: space-between;
  }
  .dashboard-hero {
    grid-template-columns: 1fr;
  }
  .actions-row {
    flex-direction: column;
  }
  .list li {
    flex-direction: column;
    align-items: flex-start;
  }
  .list li .tag,
  .list li button {
    align-self: stretch;
  }
  .cluster header {
    flex-direction: column;
    align-items: flex-start;
  }
}
