* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #111827;
  --muted: #5b6474;
  --soft: #f6f7fb;
  --surface: #ffffff;
  --line: #e4e7ef;
  --primary-purple: #7c3aed;
  --dark-purple: #4c1d95;
  --light-purple: #ede9fe;
  --accent-purple: #a78bfa;
  --cyan: #22d3ee;
  --coral: #fb7185;
  --shadow: 0 18px 45px rgba(30, 27, 75, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 26rem),
    var(--soft);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(167, 139, 250, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  animation: loader-screen-out 0.55s ease 2.45s forwards;
}

.tetris-loader-root {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  min-width: 13rem;
  border-radius: 0.9rem;
  background: #111318;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.tetris-loader {
  display: flex;
  gap: 0.35rem;
  align-items: flex-end;
}

.tetris-block {
  --tetris-size: 2.2rem;
  width: var(--tetris-size);
  height: var(--tetris-size);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #f6f7ff;
  background: linear-gradient(135deg, #5b68ff, #b54dff);
  border-radius: 0.45rem;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.7),
    0 0 0 2px rgba(8, 10, 26, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform-origin: center;
  animation: tetris-loader-drop 2.4s cubic-bezier(0.25, 0.7, 0.2, 1.05) infinite;
}

.tetris-block:nth-child(1) {
  animation-delay: 0s;
}

.tetris-block:nth-child(2) {
  animation-delay: 0.15s;
}

.tetris-block:nth-child(3) {
  animation-delay: 0.3s;
}

.tetris-block:nth-child(4) {
  animation-delay: 0.45s;
}

.tetris-block:nth-child(5) {
  animation-delay: 0.6s;
}

.tetris-block:nth-child(6) {
  animation-delay: 0.75s;
}

.tetris-block:nth-child(7) {
  animation-delay: 0.9s;
}

@keyframes tetris-loader-drop {
  0% {
    opacity: 0;
    transform: translateY(-7rem) rotate(-90deg);
  }

  20% {
    opacity: 1;
    transform: translateY(-2rem) rotate(-40deg);
  }

  55% {
    transform: translateY(0) rotate(0deg);
  }

  65% {
    transform: translateY(0.35rem) rotate(0deg);
  }

  75%,
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.tetris-loader-text {
  margin-top: 0.9rem;
  color: #c4cad9;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@keyframes loader-screen-out {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    animation-duration: 0.01ms;
    animation-delay: 0.35s;
  }

  .tetris-block {
    animation-duration: 0.01ms;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 24, 39, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo::before {
  content: "";
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(135deg, var(--cyan), transparent 45%),
    linear-gradient(135deg, var(--primary-purple), var(--coral));
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.45);
}

nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 650;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

nav a:hover,
nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.78) 45%, rgba(17, 24, 39, 0.25)),
    url("../assets/hero-dev-studio.png") center / cover;
}

.hero.compact {
  min-height: 24rem;
}

.hero-content {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #dbeafe;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(7rem, 1fr));
  gap: 0.8rem;
  width: min(640px, 100%);
  margin-top: 3rem;
}

.metric {
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.section {
  margin: 0 0 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

.section-header.center {
  display: block;
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-kicker {
  color: var(--primary-purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2,
.section-header h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  margin-top: 0.3rem;
}

.section-header p,
.section-intro {
  color: var(--muted);
  max-width: 620px;
}

.panel,
.card,
.review-card,
.feature-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(228, 231, 239, 0.9);
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
}

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

.card,
.feature-card,
.review-card {
  padding: 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.feature-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 24px 55px rgba(30, 27, 75, 0.16);
}

.icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-purple), var(--coral));
}

.card h3,
.feature-card h3,
.review-card h3,
.contact-panel h3 {
  color: var(--ink);
  font-size: 1.12rem;
  margin-bottom: 0.65rem;
}

.card p,
.feature-card p,
.review-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}

.spotlight {
  position: relative;
  overflow: hidden;
  min-height: 25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.92)),
    url("../assets/hero-dev-studio.png") center / cover;
}

.spotlight h3 {
  font-size: 1.65rem;
  line-height: 1.1;
}

.spotlight p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.7rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.process-list,
.faq-list,
.timeline {
  display: grid;
  gap: 0.9rem;
}

.process-item,
.faq-item,
.timeline-item {
  padding: 1.2rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid var(--line);
}

.process-item strong,
.timeline-item strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-purple);
  margin-bottom: 0.45rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--light-purple);
  color: var(--dark-purple);
  font-weight: 750;
  font-size: 0.82rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 0.9rem;
  background: var(--ink);
  color: white;
}

.stat {
  padding: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.project-card .btn {
  margin-top: auto;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 1.2rem;
  align-items: start;
}

.case-study-copy {
  padding: 1.5rem;
}

.case-study-copy p {
  color: var(--muted);
  margin-top: 0.8rem;
}

.showcase-preview {
  overflow: hidden;
  min-height: 28rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.24), transparent 16rem),
    linear-gradient(135deg, #111827, #312e81 58%, #0f172a);
  box-shadow: var(--shadow);
}

.model-showcase {
  display: grid;
  gap: 1rem;
}

.terminal-window,
.viewport-window {
  overflow: hidden;
  border-radius: 0.9rem;
  background: #0b1020;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.terminal-bar,
.viewport-toolbar {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.terminal-title {
  margin-left: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.terminal-body {
  padding: 1rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  color: #d1d5db;
}

.terminal-body p {
  margin-bottom: 0.5rem;
}

.terminal-body span {
  color: var(--cyan);
  font-weight: 800;
}

.terminal-success {
  color: #86efac;
}

.viewport-toolbar {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 750;
}

.viewport-scene {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(34, 211, 238, 0.22), transparent 10rem),
    linear-gradient(180deg, #111827, #020617);
  perspective: 900px;
}

.model-viewer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.model-viewer-canvas:active {
  cursor: grabbing;
}

.model-viewer-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  background: rgba(2, 6, 23, 0.36);
  pointer-events: none;
}

.model-viewer-message.is-hidden {
  display: none;
}

.viewport-grid {
  position: absolute;
  inset: 30% -10% -20%;
  transform: rotateX(68deg);
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.22) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

.model-object {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 8rem;
  height: 8rem;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(-20deg) rotateY(38deg);
}

.model-face {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(124, 58, 237, 0.48)),
    repeating-linear-gradient(45deg, transparent 0 0.75rem, rgba(255, 255, 255, 0.12) 0.75rem 0.8rem);
  box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.08);
}

.model-top {
  transform: rotateX(90deg) translateZ(4rem);
}

.model-front {
  transform: translateZ(4rem);
}

.model-side {
  transform: rotateY(90deg) translateZ(4rem);
}

.axis {
  position: absolute;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.axis-x {
  top: 1rem;
  background: #ef4444;
}

.axis-y {
  top: 3.45rem;
  background: #22c55e;
}

.axis-z {
  top: 5.9rem;
  background: #3b82f6;
}

.viewport-tag {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
}

.browser-frame {
  height: 100%;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.6rem;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: var(--coral);
}

.browser-dot:nth-child(2) {
  background: #fbbf24;
}

.browser-dot:nth-child(3) {
  background: #34d399;
}

.browser-title {
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.mockup-canvas {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.mockup-nav,
.mockup-row,
.mockup-card,
.mockup-chart,
.mockup-sidebar,
.mockup-table {
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mockup-nav {
  height: 3rem;
}

.mockup-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.85rem;
  padding: 0.85rem;
}

.mockup-card {
  min-height: 8rem;
  padding: 0.85rem;
}

.mockup-card::before,
.mockup-card::after,
.mockup-table::before,
.mockup-table::after {
  content: "";
  display: block;
  height: 0.7rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.mockup-card::after {
  width: 62%;
}

.mockup-chart {
  min-height: 11rem;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(124, 58, 237, 0.28)),
    repeating-linear-gradient(90deg, transparent 0 2.1rem, rgba(255, 255, 255, 0.08) 2.1rem 2.2rem);
}

.mockup-table {
  min-height: 7rem;
  padding: 0.85rem;
}

.mockup-table::before {
  width: 88%;
}

.mockup-table::after {
  width: 54%;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0.85rem;
}

.mockup-sidebar {
  min-height: 18rem;
}

.case-stat-list {
  display: grid;
  gap: 0.8rem;
}

.case-stat {
  padding: 1rem;
  border-radius: 0.75rem;
  background: white;
  border: 1px solid var(--line);
}

.case-stat strong {
  display: block;
  color: var(--primary-purple);
  font-size: 1.7rem;
  line-height: 1;
}

.case-stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.deliverable {
  padding: 1.1rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid var(--line);
}

.deliverable h3 {
  margin-bottom: 0.45rem;
}

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

.quote {
  font-size: 1.05rem;
  color: var(--ink);
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.review-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
}

.contact-panel {
  padding: 1.35rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-list p {
  color: var(--muted);
}

form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  min-height: 1.5rem;
  color: var(--muted);
  font-weight: 750;
}

.form-status[data-type="success"] {
  color: #047857;
}

.form-status[data-type="error"] {
  color: #b91c1c;
}

.admin-controls {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.is-hidden {
  display: none !important;
}

.admin-dashboard {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.admin-dashboard h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.admin-login-screen {
  min-height: calc(100vh - 8rem);
  display: grid;
  place-items: center;
}

.admin-login-card {
  width: min(32rem, 100%);
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(76, 29, 149, 0.92)),
    url("../assets/hero-dev-studio.png") center / cover;
  box-shadow: var(--shadow);
}

.admin-login-card .section-intro,
.admin-login-card label {
  color: rgba(255, 255, 255, 0.78);
}

.admin-login-card form {
  margin-top: 1.5rem;
}

.admin-private {
  display: grid;
  gap: 1.2rem;
}

.admin-shell-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.24), transparent 16rem),
    linear-gradient(135deg, #111827, #312e81);
  box-shadow: var(--shadow);
}

.admin-shell-header p {
  max-width: 560px;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.74);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-metric-card {
  padding: 1.2rem;
  border-radius: 0.9rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.admin-metric-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 2.3rem;
  line-height: 1;
}

.admin-tabs {
  display: inline-flex;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.35rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-tab {
  border: 0;
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 850;
}

.admin-tab.is-active {
  color: white;
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
}

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

.admin-list {
  display: grid;
  gap: 1rem;
}

.admin-item,
.admin-empty {
  padding: 1.2rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-item {
  position: relative;
  overflow: hidden;
}

.admin-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.3rem;
  background: linear-gradient(180deg, var(--primary-purple), var(--cyan));
}

.admin-item-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-item-head h3 {
  margin: 0.35rem 0;
}

.admin-item-head p,
.admin-item-head span,
.admin-message {
  color: var(--muted);
}

.admin-message {
  white-space: pre-wrap;
  margin-bottom: 1rem;
}

.admin-status {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: var(--dark-purple);
  background: var(--light-purple);
  font-weight: 850;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-status-read {
  color: #075985;
  background: #e0f2fe;
}

.admin-status-done {
  color: #047857;
  background: #d1fae5;
}

.btn,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.15rem;
  border: 0;
  border-radius: 0.7rem;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.34);
}

.btn-secondary {
  color: var(--ink);
  background: white;
  box-shadow: none;
  border: 1px solid var(--line);
}

.btn-danger {
  align-self: flex-start;
  margin-top: 1rem;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  box-shadow: 0 12px 26px rgba(239, 68, 68, 0.22);
}

.cta-section {
  padding: 2rem;
  border-radius: 0.95rem;
  color: white;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(76, 29, 149, 0.94)),
    url("../assets/hero-dev-studio.png") center / cover;
}

.cta-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0.65rem 0 1.4rem;
}

footer {
  background: #0f172a;
  color: white;
  padding: 2.2rem 1.25rem;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
}

footer a {
  color: white;
  text-decoration: none;
}

@media (max-width: 920px) {
  .card-grid,
  .split,
  .contact-grid,
  .case-study-layout {
    grid-template-columns: 1fr;
  }

  .stats-band,
  .hero-metrics,
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .header-container,
  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .hero.compact {
    min-height: auto;
  }

  .hero-content {
    padding: 4rem 0;
  }

  .hero-metrics,
  .stats-band,
  .admin-metrics,
  .form-row,
  .admin-item-head,
  .deliverable-list,
  .mockup-row,
  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:first-child {
    border-top: 0;
  }

  .container {
    width: min(100% - 1.5rem, 1180px);
    padding: 2.5rem 0;
  }

  .tetris-loader-root {
    min-width: 0;
    width: calc(100% - 2rem);
  }

  .tetris-block {
    --tetris-size: 1.85rem;
  }
}
