:root {
  --bg: #040714;
  --bg-deep: #01030a;
  --surface: rgba(9, 18, 38, 0.76);
  --surface-strong: rgba(12, 23, 48, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --text: #f6fbff;
  --muted: #aebbd0;
  --muted-2: #75849d;
  --line: rgba(140, 180, 255, 0.18);
  --line-strong: rgba(75, 215, 255, 0.48);
  --cyan: #36d9ff;
  --blue: #4c8dff;
  --purple: #9b5cff;
  --green: #40f6a7;
  --amber: #ffd166;
  --red: #ff6d8a;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  --glow: 0 0 22px rgba(54, 217, 255, 0.16);
  --radius: 8px;
  --header-height: 76px;
  --container: min(1180px, 88vw);
  --section-space: clamp(64px, 8vw, 104px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--cyan) var(--bg-deep);
}

body {
  --mouse-x: 50%;
  --mouse-y: 42%;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(120deg, rgba(54, 217, 255, 0.16), transparent 30%),
    linear-gradient(235deg, rgba(155, 92, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #071225 0%, var(--bg) 42%, var(--bg-deep) 100%);
  overflow-x: hidden;
  isolation: isolate;
}

body::before,
body::after {
  display: none;
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.24;
}

body::after {
  background:
    linear-gradient(118deg, transparent 0%, rgba(54, 217, 255, 0.08) 35%, transparent 54%),
    linear-gradient(302deg, transparent 0%, rgba(155, 92, 255, 0.09) 40%, transparent 64%);
  opacity: 0.86;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

body.page-exit .site-header,
body.page-exit .page-main,
body.page-exit .site-footer,
body.page-exit .dashboard-header,
body.page-exit .dashboard-tabs,
body.page-exit .dashboard-main {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

::selection {
  color: #02111f;
  background: var(--cyan);
}

:focus-visible {
  outline: 3px solid rgba(54, 217, 255, 0.44);
  outline-offset: 3px;
}

.page-loader {
  display: none;
}

.js-enabled .page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    linear-gradient(140deg, rgba(6, 15, 33, 0.98), rgba(1, 3, 10, 0.98)),
    var(--bg-deep);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.page-loader span {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: #03101e;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: var(--glow);
  font-weight: 900;
  animation: loaderPulse 900ms ease-in-out infinite alternate;
}

.page-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

.site-header,
.dashboard-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(5vw, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 18, 0.68);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.dashboard-header {
  border-color: rgba(54, 217, 255, 0.18);
  background: rgba(4, 8, 18, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  font-weight: 900;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 24px rgba(54, 217, 255, 0.2);
}

.brand-text {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 -2px 0 var(--cyan);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-main,
.site-footer,
.dashboard-main,
.dashboard-tabs {
  position: relative;
  z-index: 2;
}

.page-main {
  min-height: calc(100vh - var(--header-height));
}

.home-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 70px) 0 54px;
}

.hero-content {
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-content h1,
.page-hero h1,
.dashboard-hero h1,
.section-heading h2,
.auth-copy h1,
.cta-card h2,
.team-panel h2 {
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-content h1 {
  max-width: 860px;
  font-size: clamp(3.1rem, 8vw, 7.25rem);
  line-height: 0.9;
}

.tagline {
  margin: 20px 0 0;
  color: var(--text);
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 900;
}

.tagline,
.hero-content h1,
.page-hero h1,
.auth-copy h1,
.dashboard-hero h1 {
  background: linear-gradient(135deg, #ffffff 18%, #aeefff 54%, #c8a7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.page-hero p,
.auth-copy p,
.home-panel p,
.cta-card p,
.team-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transition: transform 420ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(115%);
}

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

.btn-primary {
  color: #03101e;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--purple));
  box-shadow: 0 18px 42px rgba(54, 217, 255, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 54px rgba(155, 92, 255, 0.28);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.btn-full {
  width: 100%;
}

.btn-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 40px 20px;
  z-index: -1;
  border: 1px solid rgba(54, 217, 255, 0.16);
  border-radius: var(--radius);
  transform: skewY(-3deg);
  background:
    linear-gradient(135deg, rgba(54, 217, 255, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(155, 92, 255, 0.16), transparent 38%);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.4);
}

.hero-logo-card,
.hero-window,
.hero-team-stack,
.quick-stats article,
.tech-strip,
.home-panel,
.glass-card,
.feature-card,
.value-card,
.member-card,
.project-card,
.service-card,
.auth-card,
.contact-card,
.dashboard-card,
.metric-card,
.table-card,
.list-card,
.progress-card,
.resource-card,
.kanban-column,
.profile-card,
.review-card,
.cta-card,
.team-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-logo-card::after,
.hero-window::after,
.home-panel::after,
.glass-card::after,
.feature-card::after,
.value-card::after,
.member-card::after,
.project-card::after,
.service-card::after,
.auth-card::after,
.contact-card::after,
.dashboard-card::after,
.metric-card::after,
.review-card::after,
.cta-card::after,
.team-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(54, 217, 255, 0.16), transparent 34%, rgba(155, 92, 255, 0.12));
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-logo-card:hover::after,
.hero-window:hover::after,
.home-panel:hover::after,
.glass-card:hover::after,
.feature-card:hover::after,
.value-card:hover::after,
.member-card:hover::after,
.project-card:hover::after,
.service-card:hover::after,
.auth-card:hover::after,
.contact-card:hover::after,
.dashboard-card:hover::after,
.metric-card:hover::after,
.review-card:hover::after,
.cta-card:hover::after,
.team-panel:hover::after {
  opacity: 1;
}

.hero-logo-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: min(440px, 92%);
  padding: 18px;
}

.hero-logo-card img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-logo-card span,
.footer-social-link span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-logo-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
}

.hero-window {
  width: min(520px, 100%);
  margin-left: auto;
  padding: 18px;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding-bottom: 16px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.window-bar span:nth-child(2) {
  background: var(--purple);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.window-lines span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(54, 217, 255, 0.36), rgba(155, 92, 255, 0.14));
}

.window-lines span:nth-child(2) {
  width: 72%;
}

.window-lines span:nth-child(3) {
  width: 58%;
}

.window-lines span:nth-child(4) {
  width: 82%;
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.window-grid article {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.window-grid strong {
  color: var(--cyan);
  font-size: 1.22rem;
}

.window-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.hero-team-stack {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-left: 38px;
  padding: 12px 18px;
}

.hero-team-stack img {
  width: 58px;
  height: 58px;
  margin-left: -12px;
  border: 2px solid #08152a;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
}

.hero-team-stack img:first-child {
  margin-left: 0;
}

.quick-stats,
.tech-strip {
  grid-column: 1 / -1;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-stats article {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  box-shadow: none;
}

.quick-stats .quick-stat-clone,
.quick-stat-dots,
.team-preview-grid .team-preview-clone,
.services-preview-grid .services-preview-clone,
.projects-preview-grid .projects-preview-clone,
.team-preview-dots,
.services-preview-dots,
.projects-preview-dots {
  display: none;
}

.quick-stats strong,
.metric-card strong,
.team-panel-metrics strong {
  color: var(--text);
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1;
}

.quick-stats span,
.metric-card span,
.team-panel-metrics span {
  color: var(--muted);
  font-weight: 800;
}

.tech-strip {
  display: block;
  overflow: hidden;
  padding: 15px 0;
  box-shadow: none;
}

.tech-strip::before,
.tech-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(84px, 16%);
  pointer-events: none;
}

.tech-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 18, 37, 0.95), transparent);
}

.tech-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 18, 37, 0.95), transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  animation: techMarquee 18s linear infinite;
  will-change: transform;
}

.tech-group {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding: 0 12px;
}

.tech-item,
.skill-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  color: var(--text);
  border: 1px solid rgba(54, 217, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 900;
}

.tech-item {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.96rem;
  white-space: nowrap;
}

.skill-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 14px rgba(54, 217, 255, 0.45);
}

.tech-logo {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: transparent;
  border-radius: 8px;
  font-size: 0;
  line-height: 1;
}

.tech-logo::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.tech-logo-html,
.tech-logo-css {
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a3c, #e64b24);
  clip-path: polygon(12% 0, 88% 0, 80% 88%, 50% 100%, 20% 88%);
}

.tech-logo-css {
  background: linear-gradient(135deg, #38c9ff, #236ee8);
}

.tech-logo-html::before,
.tech-logo-css::before {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  -webkit-mask-image: none;
  mask-image: none;
  background: transparent;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.tech-logo-html::before {
  content: "5";
}

.tech-logo-css::before {
  content: "3";
}

.tech-logo-js {
  color: #111827;
  background: #f5df4d;
}

.tech-logo-js::before {
  content: "JS";
  width: auto;
  height: auto;
  background: transparent;
  color: #111827;
  font-size: 0.7rem;
  font-weight: 900;
}

.tech-logo-ai {
  color: #ff7a1a;
  background: transparent;
}

.tech-logo-ai::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2h3l7 7v4l-5-5v14h-4V8l-5 5V9l4-4V2Zm-7 9 4-4v15H4V11Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2h3l7 7v4l-5-5v14h-4V8l-5 5V9l4-4V2Zm-7 9 4-4v15H4V11Z'/%3E%3C/svg%3E");
}

.tech-logo-github {
  color: #f6fbff;
  background: transparent;
}

.tech-logo-github::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .5A12 12 0 0 0 8.2 23.9c.6.1.8-.3.8-.6v-2.1c-3.3.7-4-1.4-4-1.4-.5-1.3-1.3-1.7-1.3-1.7-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.9 1.3 3.6 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.6.1-3.2 0 0 1-.3 3.3 1.2a11.3 11.3 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.7 1.6.3 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A12 12 0 0 0 12 .5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .5A12 12 0 0 0 8.2 23.9c.6.1.8-.3.8-.6v-2.1c-3.3.7-4-1.4-4-1.4-.5-1.3-1.3-1.7-1.3-1.7-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.9 1.3 3.6 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.6.1-3.2 0 0 1-.3 3.3 1.2a11.3 11.3 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.7 1.6.3 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A12 12 0 0 0 12 .5Z'/%3E%3C/svg%3E");
}

.tech-logo-figma {
  position: relative;
  background: transparent;
}

.tech-logo-figma::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50% 0 0 50%;
  background: #f24e1e;
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow: 10px 0 #ff7262, 0 10px #a259ff, 10px 10px #1abcfe, 0 20px #0acf83;
}

.home-preview-section,
.section {
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.home-preview-section + .home-preview-section,
.section + .section {
  padding-top: clamp(34px, 5vw, 58px);
}

.preview-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.preview-section-header .section-heading {
  margin-bottom: 0;
}

.preview-section-header .btn {
  flex: 0 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
}

.page-hero {
  width: var(--container);
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 72px) 0 20px;
}

.page-hero h1,
.auth-copy h1 {
  max-width: 920px;
  font-size: clamp(2.65rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.page-hero p,
.auth-copy p {
  max-width: 760px;
  margin: 22px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-preview-grid,
.feature-grid,
.value-grid,
.contact-grid,
.service-grid,
.member-grid,
.project-grid,
.dashboard-grid,
.metric-grid,
.resource-grid,
.announcement-grid,
.review-grid {
  display: grid;
  gap: 22px;
}

.home-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  perspective: 1200px;
}

.team-preview-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-grid,
.project-grid,
.dashboard-grid,
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid,
.member-grid,
.service-grid,
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.glass-card,
.feature-card,
.value-card,
.contact-card,
.review-card,
.cta-card,
.team-panel {
  padding: 24px;
}

.glass-card h2,
.feature-card h3,
.value-card h3,
.contact-card h3,
.review-card h3,
.cta-card h2,
.team-panel h2 {
  position: relative;
  margin: 0 0 12px;
}

.glass-card p,
.feature-card p,
.value-card p,
.contact-card p,
.review-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card span,
.service-card span,
.review-card span {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(54, 217, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(54, 217, 255, 0.08);
  font-weight: 900;
}

.member-card,
.project-card,
.service-card,
.dashboard-card,
.metric-card,
.progress-card,
.kanban-column {
  padding: 20px;
}

.member-card,
.project-card,
.service-card,
.dashboard-card,
.metric-card,
.contact-card,
.feature-card,
.value-card,
.review-card,
.resource-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.member-card:hover,
.project-card:hover,
.service-card:hover,
.dashboard-card:hover,
.metric-card:hover,
.contact-card:hover,
.feature-card:hover,
.value-card:hover,
.review-card:hover,
.resource-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 96px rgba(0, 0, 0, 0.5), var(--glow);
}

.member-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(54, 217, 255, 0.1), rgba(155, 92, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.member-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.member-photo img[src="Anushkaimage.png"] {
  object-position: center 62%;
}

.member-photo img[src="prajyotimage.png"] {
  object-position: center 34%;
}

.member-card h3,
.project-card h3,
.service-card h3,
.auth-card h2,
.dashboard-card h3,
.progress-card h3,
.kanban-column h3,
.profile-card h3 {
  position: relative;
  margin: 18px 0 8px;
}

.member-card p,
.project-card p,
.service-card p,
.dashboard-card p,
.profile-card p {
  position: relative;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.skill-summary {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.92rem;
}

.skill-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.member-socials {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 14px;
}

.member-social {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(54, 217, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.member-social::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.member-social-mail::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2Zm0 3.2V17h16V8.2l-8 5.2-8-5.2Zm1.1-1.2 6.9 4.5L18.9 7H5.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2Zm0 3.2V17h16V8.2l-8 5.2-8-5.2Zm1.1-1.2 6.9 4.5L18.9 7H5.1Z'/%3E%3C/svg%3E");
}

.member-social-github::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .5A12 12 0 0 0 8.2 23.9c.6.1.8-.3.8-.6v-2.1c-3.3.7-4-1.4-4-1.4-.5-1.3-1.3-1.7-1.3-1.7-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.9 1.3 3.6 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.6.1-3.2 0 0 1-.3 3.3 1.2a11.3 11.3 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.7 1.6.3 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A12 12 0 0 0 12 .5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .5A12 12 0 0 0 8.2 23.9c.6.1.8-.3.8-.6v-2.1c-3.3.7-4-1.4-4-1.4-.5-1.3-1.3-1.7-1.3-1.7-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.9 1.3 3.6 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.6.1-3.2 0 0 1-.3 3.3 1.2a11.3 11.3 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.7 1.6.3 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A12 12 0 0 0 12 .5Z'/%3E%3C/svg%3E");
}

.member-social-linkedin::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.35V9h3.42v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12Zm1.78 13.02H3.56V9h3.56v11.45ZM22.23 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.21 0 22.23 0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.35V9h3.42v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12Zm1.78 13.02H3.56V9h3.56v11.45ZM22.23 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.21 0 22.23 0Z'/%3E%3C/svg%3E");
}

.member-social:hover,
.member-social:focus-visible {
  color: #03101e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: var(--glow);
  transform: translateY(-2px);
  outline: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn,
.dashboard-tab {
  min-height: 42px;
  padding: 0 15px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 900;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.active,
.dashboard-tab:hover,
.dashboard-tab:focus-visible,
.dashboard-tab.active {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(54, 217, 255, 0.1);
  box-shadow: var(--glow);
  outline: none;
}

.project-card {
  min-height: 250px;
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card.is-filtered {
  display: none;
}

.card-topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status,
.priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  width: max-content;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 0.74rem;
  font-weight: 900;
}

.status.completed,
.priority.low {
  color: #041424;
  background: var(--green);
}

.status.working,
.priority.medium {
  color: #041424;
  background: var(--cyan);
}

.status.upcoming,
.priority.high {
  color: #1b1200;
  background: var(--amber);
}

.project-index {
  color: rgba(246, 251, 255, 0.32);
  font-weight: 900;
}

.service-card {
  min-height: 238px;
}

.testimonial-section,
.cta-section,
.team-panel-section {
  padding-top: clamp(42px, 5vw, 66px);
}

.review-card {
  min-height: 220px;
}

.cta-card {
  display: grid;
  justify-items: start;
  max-width: none;
  padding: clamp(26px, 5vw, 44px);
  background:
    linear-gradient(120deg, rgba(54, 217, 255, 0.16), transparent 38%),
    linear-gradient(290deg, rgba(155, 92, 255, 0.18), transparent 42%),
    var(--surface-strong);
}

.cta-card h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  line-height: 1.06;
}

.cta-card p {
  max-width: 720px;
  margin: 0;
}

.team-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.team-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-panel-metrics article {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 17px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--purple));
}

.timeline-item {
  position: relative;
  padding-left: 58px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: var(--glow);
}

.timeline-item span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 8px 0 6px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-page {
  display: grid;
  align-items: center;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: 34px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 72px) 0 72px;
}

.auth-copy {
  max-width: 760px;
}

.auth-card {
  padding: 28px;
}

.auth-card h2 {
  margin: 0 0 22px;
}

.auth-card label {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-card label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.auth-card input,
.auth-card textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(1, 6, 16, 0.58);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-card input {
  min-height: 50px;
  padding: 0 14px;
}

.auth-card textarea {
  padding: 14px;
}

.auth-card input:focus,
.auth-card textarea:focus {
  border-color: var(--line-strong);
  background: rgba(1, 6, 16, 0.75);
  box-shadow: 0 0 0 4px rgba(54, 217, 255, 0.09);
}

.auth-card input::placeholder,
.auth-card textarea::placeholder {
  color: rgba(174, 187, 208, 0.58);
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  min-width: 56px;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(54, 217, 255, 0.08);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  transition: color 180ms ease, background 180ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #041424;
  background: var(--cyan);
  outline: none;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-error {
  margin: 14px 0 0;
  color: var(--red);
  font-weight: 900;
}

.shake {
  animation: shake 260ms ease;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.74);
}

.modal {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow), var(--glow);
}

.modal h2 {
  margin: 0;
}

.modal p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-card span {
  position: relative;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a,
.profile-card a {
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus-visible,
.profile-card a:hover,
.profile-card a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.site-footer {
  margin-top: var(--section-space);
  padding: 60px max(5vw, calc((100vw - 1180px) / 2)) 28px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(120deg, rgba(54, 217, 255, 0.08), transparent 44%),
    linear-gradient(290deg, rgba(155, 92, 255, 0.09), transparent 44%),
    rgba(0, 0, 0, 0.26);
}

.site-footer p {
  margin: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.6fr);
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.footer-brand {
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
}

.footer-brand-block p,
.footer-links p,
.footer-bottom p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.footer-links h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.footer-socials {
  display: grid;
  gap: 10px;
}

.footer-social-link {
  min-height: 58px;
  display: grid;
  gap: 2px;
  align-content: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.footer-social-link strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-brand:hover,
.footer-brand:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(54, 217, 255, 0.09);
  box-shadow: var(--glow);
  transform: translateY(-2px);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-header .controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.member-thumb {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(54, 217, 255, 0.24);
  border-radius: 50%;
  object-fit: cover;
}

.dashboard-tabs {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  z-index: 24;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 280px;
  padding: 18px 10px;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 18, 0.84);
}

.dashboard-tab {
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  text-align: left;
}

.dashboard-main {
  margin-left: 280px;
  padding: calc(var(--header-height) + 30px) max(5vw, calc((100vw - 1180px) / 2)) 74px;
}

body[data-page="member-dashboard"]:not(.dashboard-unlocked) .dashboard-tabs,
body[data-page="member-dashboard"]:not(.dashboard-unlocked) .dashboard-main {
  visibility: hidden;
}

.dashboard-section {
  animation: tabIn 240ms ease;
}

.dashboard-hero {
  max-width: 900px;
  margin-bottom: 28px;
}

.dashboard-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.dashboard-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  align-content: center;
}

.table-card {
  padding: 12px;
  overflow-x: auto;
}

.task-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(110px, 0.65fr) minmax(130px, 0.75fr) minmax(110px, 0.65fr);
  gap: 12px;
  align-items: center;
  min-width: 720px;
  padding: 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.task-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: var(--text);
  font-weight: 900;
}

.list-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.list-card p,
.kanban-column p {
  position: relative;
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.progress-list {
  display: grid;
  gap: 16px;
}

.progress-card div {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.progress-card h3 {
  margin: 0;
}

.progress-card span {
  color: var(--cyan);
  font-weight: 900;
}

progress {
  position: relative;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  box-shadow: var(--glow);
}

progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.resource-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 20px;
  color: var(--text);
  font-weight: 900;
}

.resource-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
  outline: none;
}

.kanban-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kanban-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.kanban-column h3 {
  margin: 0 0 4px;
}

.contribution-card {
  margin-top: 22px;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #03101e;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: var(--glow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header,
.dashboard-header {
  background: rgba(4, 8, 18, 0.96);
}

.home-panel,
.glass-card,
.feature-card,
.value-card,
.member-card,
.project-card,
.service-card,
.auth-card,
.contact-card,
.dashboard-card,
.metric-card,
.table-card,
.list-card,
.progress-card,
.resource-card,
.kanban-column,
.profile-card,
.review-card,
.cta-card,
.team-panel,
.hero-logo-card,
.hero-window,
.hero-team-stack,
.quick-stats article,
.tech-strip {
  box-shadow: var(--shadow);
}

.member-card:hover,
.project-card:hover,
.service-card:hover,
.dashboard-card:hover,
.metric-card:hover,
.contact-card:hover,
.feature-card:hover,
.value-card:hover,
.review-card:hover,
.resource-card:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36), var(--glow);
}

@keyframes loaderPulse {
  from {
    transform: scale(0.94);
    filter: brightness(0.92);
  }
  to {
    transform: scale(1.04);
    filter: brightness(1.12);
  }
}

@keyframes techMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes quickStatsSlide {
  0%,
  16% {
    transform: translateX(0);
  }
  20%,
  36% {
    transform: translateX(-100%);
  }
  40%,
  56% {
    transform: translateX(-200%);
  }
  60%,
  76% {
    transform: translateX(-300%);
  }
  80%,
  100% {
    transform: translateX(-400%);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  :root {
    --container: min(1120px, 90vw);
  }

  .site-nav a {
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-window {
    margin-left: 0;
  }

  .member-grid,
  .service-grid,
  .metric-grid,
  .project-grid,
  .home-preview-grid,
  .team-preview-grid,
  .dashboard-grid,
  .resource-grid,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
    --container: min(100% - 32px, 760px);
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 13, 28, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .home-hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .split-section,
  .auth-layout,
  .contact-layout,
  .profile-card,
  .feature-grid,
  .value-grid,
  .announcement-grid,
  .kanban-grid,
  .team-panel,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-tabs {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    flex-direction: row;
    padding: 12px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dashboard-tab {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .dashboard-main {
    margin-left: 0;
    padding: calc(var(--header-height) + 88px) 16px 74px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 620px);
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-actions .btn,
  .preview-section-header .btn {
    width: 100%;
  }

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

  .window-grid,
  .quick-stats,
  .home-preview-grid,
  .team-preview-grid,
  .member-grid,
  .contributors-grid,
  .project-grid,
  .service-grid,
  .metric-grid,
  .dashboard-grid,
  .resource-grid,
  .footer-links,
  .team-panel-metrics {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    display: flex;
    gap: 0;
    overflow: hidden;
  }

  .quick-stats article {
    flex: 0 0 100%;
    min-height: 188px;
    padding: 32px;
  }

  .quick-stats.quick-stats-ready article {
    animation: quickStatsSlide 14s ease-in-out infinite;
    will-change: transform;
  }

  .quick-stats.quick-stats-ready .quick-stat-clone {
    display: grid;
  }

  .team-preview-grid.team-preview-ready,
  .services-preview-grid.services-preview-ready,
  .projects-preview-grid.projects-preview-ready {
    display: flex;
    gap: 0;
    overflow: hidden;
    perspective: none;
  }

  .team-preview-grid.team-preview-ready .member-card,
  .services-preview-grid.services-preview-ready .service-card,
  .projects-preview-grid.projects-preview-ready .project-card {
    flex: 0 0 100%;
    animation: quickStatsSlide 16s ease-in-out infinite;
    will-change: transform;
  }

  .team-preview-grid.team-preview-ready .team-preview-clone,
  .services-preview-grid.services-preview-ready .services-preview-clone,
  .projects-preview-grid.projects-preview-ready .projects-preview-clone {
    display: block;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .auth-layout {
    padding-top: calc(var(--header-height) + 46px);
  }

  .auth-card,
  .modal,
  .home-panel,
  .cta-card,
  .team-panel {
    padding: 22px;
  }

  .hero-logo-card {
    width: 100%;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .hero-logo-card img {
    width: 58px;
    height: 58px;
  }

  .hero-team-stack {
    margin-left: 0;
  }

  .footer-inner,
  .footer-bottom {
    width: 100%;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .tech-track,
  .quick-stats.quick-stats-ready article,
  .team-preview-grid.team-preview-ready .member-card,
  .services-preview-grid.services-preview-ready .service-card,
  .projects-preview-grid.projects-preview-ready .project-card {
    animation: none !important;
    transform: translateX(0);
  }
}
