* {
  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.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: url("../assets/logo.png") center / contain no-repeat;
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.36));
}

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;
}

.tunes-product-hero {
  min-height: 28rem;
  background:
    radial-gradient(circle at 78% 28%, rgba(34, 211, 238, 0.2), transparent 18rem),
    linear-gradient(90deg, rgba(5, 10, 24, 0.97), rgba(17, 24, 39, 0.86) 54%, rgba(17, 24, 39, 0.46)),
    url("../assets/hero-dev-studio.png") center / cover;
}

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

.tunes-demo-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.78fr) minmax(24rem, 1.22fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: -1.2rem;
}

.tunes-demo-copy {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tunes-demo-copy h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.tunes-demo-copy p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.tunes-demo-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.tunes-demo-points span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.tunes-demo-points strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.tunes-demo-frame-wrap {
  overflow: hidden;
  min-height: 40rem;
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at 24% 20%, rgba(29, 185, 84, 0.18), transparent 14rem),
    radial-gradient(circle at 78% 18%, rgba(124, 58, 237, 0.32), transparent 16rem),
    linear-gradient(135deg, #0f172a, #020617);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  position: relative;
}

.tunes-demo-frame-wrap::before {
  content: "";
  position: absolute;
  inset: 3.4rem 1.2rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.tunes-demo-toolbar {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.84rem;
  font-weight: 750;
}

.tunes-demo-toolbar span:last-child {
  color: #86efac;
}

.tunes-demo-frame {
  width: 100%;
  height: 36.8rem;
  border: 0;
  display: block;
}

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

.tunes-info-panel {
  padding: 1.45rem;
}

.tunes-info-panel p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.tunes-info-panel code {
  padding: 0.08rem 0.32rem;
  border-radius: 0.3rem;
  background: var(--light-purple);
  color: var(--dark-purple);
  font-size: 0.92em;
}

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

.tunes-perm-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tunes-detail-card {
  padding: 1.35rem;
}

.tunes-detail-card h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.tunes-detail-card p {
  color: var(--muted);
  margin-top: 0.7rem;
}

.tunes-detail-card code,
.tunes-code-panel code {
  padding: 0.1rem 0.34rem;
  border-radius: 0.32rem;
  background: var(--light-purple);
  color: var(--dark-purple);
  font-size: 0.92em;
}

.tunes-code-panel {
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: 0.8rem;
  background: #0f172a;
  color: white;
  box-shadow: var(--shadow);
}

.tunes-code-panel span {
  display: block;
  margin-bottom: 0.55rem;
  color: #86efac;
  font-weight: 850;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tunes-code-panel code {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.tunes-code-panel p {
  max-width: 850px;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.tunes-tebex-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 0.9rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tunes-feature-list .deliverable {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  min-height: 12rem;
}

.tunes-feature-list .deliverable::after {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
}

.tunes-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.8rem;
  border-radius: 0.65rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-purple), var(--cyan));
  font-size: 0.78rem;
  font-weight: 900;
}

.tunes-tebex-band p {
  max-width: 620px;
  color: var(--muted);
  margin-top: 0.45rem;
}

.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);
}

.tools-hero {
  background:
    radial-gradient(circle at 76% 30%, rgba(34, 211, 238, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.82) 48%, rgba(17, 24, 39, 0.42)),
    url("../assets/hero-dev-studio.png") center / cover;
}

.tools-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 50rem;
}

.tool-card {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  justify-content: flex-end;
  padding: 1.45rem;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.2), transparent 12rem),
    radial-gradient(circle at 18% 100%, rgba(251, 113, 133, 0.22), transparent 13rem),
    linear-gradient(145deg, #111827, #1e1b4b 58%, #0f172a);
  border-color: rgba(167, 139, 250, 0.38);
  box-shadow:
    0 24px 60px rgba(30, 27, 75, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 35%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 0.75rem);
  opacity: 0.8;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto -2.4rem -2.6rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.42), rgba(124, 58, 237, 0.18) 58%, transparent 70%);
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow:
    0 30px 72px rgba(30, 27, 75, 0.3),
    0 0 36px rgba(124, 58, 237, 0.16);
}

.tool-card:hover::before {
  opacity: 1;
  transform: scale(1.03);
}

.tool-card:hover::after {
  opacity: 0.9;
  transform: translate(-0.8rem, -0.6rem) scale(1.08);
}

.tool-card .project-topline {
  color: #c4b5fd;
}

.tool-card h3 {
  color: white;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
}

.tool-card p {
  color: rgba(255, 255, 255, 0.74);
  max-height: 5.5rem;
  overflow: hidden;
  transition: max-height 0.35s ease, color 0.35s ease;
}

.tool-card:hover p {
  max-height: 9rem;
  color: rgba(255, 255, 255, 0.86);
}

.tool-card .chips {
  margin-top: auto;
}

.tool-card .chip {
  color: #ede9fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tool-card .btn {
  width: 100%;
  z-index: 2;
}

.card,
.feature-card,
.review-card,
.process-item,
.faq-item,
.timeline-item,
.deliverable,
.case-stat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background:
    radial-gradient(circle at 16% 0%, rgba(124, 58, 237, 0.46), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.28), transparent 28%),
    linear-gradient(145deg, #111827 0%, #151326 54%, #080b14 100%);
  border-color: rgba(196, 181, 253, 0.34);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before,
.feature-card::before,
.review-card::before,
.process-item::before,
.faq-item::before,
.timeline-item::before,
.deliverable::before,
.case-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 38%),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.12), transparent 18%);
  opacity: 0.8;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card::after,
.feature-card::after,
.review-card::after,
.process-item::after,
.faq-item::after,
.timeline-item::after,
.deliverable::after,
.case-stat::after {
  content: "";
  position: absolute;
  inset: auto -2.5rem -2.7rem auto;
  z-index: 0;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(125, 211, 252, 0.72), rgba(124, 58, 237, 0.28) 45%, transparent 68%);
  opacity: 0.66;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card > *,
.feature-card > *,
.review-card > *,
.process-item > *,
.faq-item > *,
.timeline-item > *,
.deliverable > *,
.case-stat > * {
  position: relative;
  z-index: 1;
}

.card:hover,
.feature-card:hover,
.review-card:hover,
.process-item:hover,
.faq-item:hover,
.timeline-item:hover,
.deliverable:hover,
.case-stat:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.46);
  box-shadow:
    0 30px 72px rgba(30, 27, 75, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.card:hover::before,
.feature-card:hover::before,
.review-card:hover::before,
.process-item:hover::before,
.faq-item:hover::before,
.timeline-item:hover::before,
.deliverable:hover::before,
.case-stat:hover::before {
  opacity: 1;
  transform: scale(1.03);
}

.card:hover::after,
.feature-card:hover::after,
.review-card:hover::after,
.process-item:hover::after,
.faq-item:hover::after,
.timeline-item:hover::after,
.deliverable:hover::after,
.case-stat:hover::after {
  opacity: 0.92;
  transform: translate(-0.7rem, -0.55rem) scale(1.08);
}

.card h3,
.feature-card h3,
.review-card h3,
.process-item h3,
.faq-item h3,
.timeline-item h3,
.deliverable h3 {
  color: white;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.card p,
.feature-card p,
.review-card p,
.process-item p,
.faq-item p,
.timeline-item p,
.deliverable p {
  color: rgba(255, 255, 255, 0.76);
}

.card:hover p,
.feature-card:hover p,
.review-card:hover p,
.process-item:hover p,
.faq-item:hover p,
.timeline-item:hover p,
.deliverable:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.project-card .project-topline,
.process-item strong,
.timeline-item strong {
  color: #c4b5fd;
}

.card .chip,
.feature-card .chip,
.review-card .chip,
.project-card .chip,
.deliverable .chip {
  color: #ede9fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-stat strong {
  color: white;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.case-stat span,
.review-card .quote,
.review-card .review-meta {
  color: rgba(255, 255, 255, 0.78);
}

.review-card .review-meta {
  border-top-color: rgba(255, 255, 255, 0.14);
}

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

.tool-builder {
  scroll-margin-top: 6rem;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(22rem, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.tool-layout-featured {
  padding: 1rem;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 18% 16%, rgba(34, 211, 238, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(237, 233, 254, 0.5));
  border: 1px solid rgba(228, 231, 239, 0.9);
  box-shadow: var(--shadow);
}

.tool-form,
.tool-output-panel {
  padding: 1.35rem;
}

.tool-form {
  box-shadow: none;
}

.tool-output-panel {
  position: sticky;
  top: 5.5rem;
  box-shadow: none;
}

.tool-field-band {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.8rem;
  background: rgba(246, 247, 251, 0.78);
  border: 1px solid var(--line);
}

.tool-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 0.8rem;
  background: #eef2ff;
  border: 1px solid var(--line);
}

.tool-mode label {
  margin: 0;
}

.tool-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tool-mode span {
  display: grid;
  place-items: center;
  min-height: 2.65rem;
  border-radius: 0.62rem;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.tool-mode input:checked + span {
  color: white;
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
  box-shadow: 0 12px 22px rgba(124, 58, 237, 0.24);
}

.tool-upload small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.file-picker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4rem;
  padding: 0.55rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid var(--line);
}

.file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.file-picker-button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  margin: 0;
  white-space: nowrap;
}

.file-picker-name {
  min-width: 0;
  color: var(--muted);
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-options {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 0.8rem;
  background: white;
  border: 1px solid var(--line);
}

.tool-group-title {
  color: var(--primary-purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-options label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
}

.tool-options input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary-purple);
}

.tool-options code {
  padding: 0.08rem 0.3rem;
  border-radius: 0.3rem;
  background: var(--light-purple);
  color: var(--dark-purple);
}

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

.tool-output-head h3 {
  color: var(--ink);
  font-size: 1.25rem;
}

.manifest-output {
  overflow: auto;
  min-height: 38rem;
  max-height: 52rem;
  padding: 1rem;
  border-radius: 0.8rem;
  background: #0f172a;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.manifest-output code {
  display: block;
  white-space: pre;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
}

.css-editor-source {
  min-height: 28rem;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.55;
}

.css-color-list {
  align-content: start;
}

.css-color-row {
  display: grid;
  grid-template-columns: 2rem minmax(7rem, 1fr) 3rem minmax(8rem, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 0.65rem;
  background: rgba(246, 247, 251, 0.82);
  border: 1px solid var(--line);
}

.css-color-swatch {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.css-color-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.css-color-row input[type="color"] {
  width: 3rem;
  height: 2.5rem;
  padding: 0.2rem;
  cursor: pointer;
}

.css-color-row input[type="text"] {
  min-width: 0;
}

.css-output {
  min-height: 40rem;
}

.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,
.button {
  --button-main: #7a5af8;
  --button-glow: rgba(223, 113, 255, 0.8);
  --button-round: 0.75rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: var(--button-round);
  outline: none;
  cursor: pointer;
  color: white;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
  background:
    radial-gradient(65.28% 65.28% at 50% 100%, var(--button-glow) 0%, rgba(223, 113, 255, 0) 100%),
    linear-gradient(0deg, var(--button-main), var(--button-main));
  box-shadow: 0 14px 30px rgba(122, 90, 248, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn::before,
.cta-button::before,
.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: calc(var(--button-round) - 1px);
  background:
    radial-gradient(circle at 20% 110%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 120%, rgba(255, 255, 255, 0.62) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 112%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    linear-gradient(177.95deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: button-points 2.35s ease-in-out infinite;
}

.btn::after,
.cta-button::after,
.button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  border-top-right-radius: var(--button-round);
  border-bottom-left-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0 45%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(100% 75% at 55%, var(--button-glow) 0%, rgba(223, 113, 255, 0) 100%);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.55);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.btn:hover,
.cta-button:hover,
.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 20px 42px rgba(122, 90, 248, 0.38);
}

.btn:hover::after,
.cta-button:hover::after,
.button:hover::after {
  transform: translate(1rem, -1rem);
  opacity: 0.35;
}

.btn:active,
.cta-button:active,
.button:active {
  transform: scale(0.96);
}

.btn-secondary {
  --button-main: #5b4be8;
  --button-glow: rgba(34, 211, 238, 0.7);
  color: white;
  border: 0;
}

.btn-danger {
  --button-main: #dc2626;
  --button-glow: rgba(251, 113, 133, 0.78);
  align-self: flex-start;
  margin-top: 1rem;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.28);
}

@keyframes button-points {
  0% {
    background-position: 0 1.6rem, 0 1.9rem, 0 1.4rem, 0 0;
    opacity: 0.9;
  }

  85% {
    opacity: 0.35;
  }

  100% {
    background-position: 0 -2.6rem, 0 -2.2rem, 0 -2.9rem, 0 0;
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn::before,
  .cta-button::before,
  .button::before {
    animation: none;
  }
}

.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,
  .tool-layout,
  .tool-intro-grid {
    grid-template-columns: 1fr;
  }

  .tool-output-panel {
    position: static;
  }

  .css-color-row {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .css-color-row input[type="color"],
  .css-color-row input[type="text"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tunes-demo-layout,
  .tunes-info-grid,
  .tunes-detail-grid,
  .tunes-perm-layout {
    grid-template-columns: 1fr;
  }

  .tunes-demo-frame-wrap {
    min-height: 39rem;
  }

  .tunes-demo-frame {
    height: 35.8rem;
  }

  .tunes-tebex-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .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;
  }

  .tunes-demo-layout {
    margin-top: 0;
  }

  .tunes-demo-copy {
    padding: 1.25rem;
  }

  .tunes-demo-frame-wrap {
    min-height: 36rem;
  }

  .tunes-demo-frame {
    height: 32.8rem;
  }

  .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;
  }
}
