:root {
  --bg: #06080c;
  --bg-soft: #0d1117;
  --card: rgba(255, 255, 255, 0.06);
  --text: #c9c9c9;
  --muted: #a5adba;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #1f6fff;
  --accent-2: #ff5a1f;
  --accent-3: #0066ff;
  --shadow: 0 24px 80px rgba(31, 111, 255, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 15%, rgba(255, 90, 31, 0.1), transparent 26rem),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 12, 0.78);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 30px rgba(31, 111, 255, 0.45);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  letter-spacing: -0.03em;
}

.brand-text small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.67rem;
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.nav-demos {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.nav-demos:hover {
  color: var(--text);
  border-color: var(--text);
}

.lang-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem;
  transition: color 0.15s, border-color 0.15s;
}

.lang-toggle:hover {
  color: var(--text);
  border-color: var(--text);
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.nav-demos-mobile {
  display: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px auto;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(31, 111, 255, 0.2);
  filter: blur(90px);
  border-radius: 50%;
  right: 12%;
  top: 22%;
  pointer-events: none;
}

.hero-logo {
  width: 108px;
  height: 108px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(31, 111, 255, 0.35);
  margin-bottom: 1.4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 920px);
  opacity: 0.2;
  filter: grayscale(1) blur(2px) brightness(1.6);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 62%);
  mask-image: radial-gradient(circle at center, black, transparent 62%);
}

.eyebrow {
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.drift-word {
  color: var(--accent-2);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-copy,
.section-heading p,
.cta p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
}

.hero-brand-line {
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  color: var(--muted);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  margin-top: -0.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #030913;
  box-shadow: 0 18px 50px rgba(31, 111, 255, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.trust-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
}

.hero-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(31, 111, 255, 0.38), transparent 34%, rgba(255, 90, 31, 0.22));
  opacity: 0.45;
  pointer-events: none;
}

.browser-bar,
.dashboard-preview,
.chart-bars,
.preview-footer {
  position: relative;
  z-index: 1;
}

.browser-bar {
  display: flex;
  gap: 0.45rem;
  padding-bottom: 1rem;
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.dashboard-preview > div,
.work-card,
.card,
.timeline article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-card,
.card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-card.in-view,
.card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.cards.five .card:nth-child(1) { transition-delay: 0ms; }
.cards.five .card:nth-child(2) { transition-delay: 80ms; }
.cards.five .card:nth-child(3) { transition-delay: 160ms; }
.cards.five .card:nth-child(4) { transition-delay: 240ms; }
.cards.five .card:nth-child(5) { transition-delay: 320ms; }

.work-grid .work-card:nth-child(1) { transition-delay: 0ms; }
.work-grid .work-card:nth-child(2) { transition-delay: 100ms; }
.work-grid .work-card:nth-child(3) { transition-delay: 200ms; }
.work-grid .work-card:nth-child(4) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .work-card,
  .card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.dashboard-preview.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.dashboard-preview > div {
  padding: 1rem;
}

.mini-label {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.dashboard-preview h3 {
  font-size: 2rem;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.count-inner {
  display: block;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s;
}

.chart-bars {
  height: 220px;
  display: flex;
  align-items: end;
  gap: 0.8rem;
  padding: 2rem 0.75rem 1rem;
}

.chart-bars span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(31, 111, 255, 0.1));
}

.chart-bars span:nth-child(4) {
  background: linear-gradient(180deg, var(--accent-2), rgba(255, 90, 31, 0.1));
}

.preview-footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.preview-footer p {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-heading.left {
  text-align: left;
  margin: 0;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.cards.five {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.cards.five article:nth-child(1),
.cards.five article:nth-child(2),
.cards.five article:nth-child(3) {
  grid-column: span 2;
}

.cards.five article:nth-child(4),
.cards.five article:nth-child(5) {
  grid-column: span 3;
}

.svc-logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.svc-logo-aws {
  height: 200px;
  width: auto;
}

.svc-logo-cf {
  height: 200px;
  width: auto;
}

.svc-logo-clover {
  height: 200px;
  width: auto;
}

.card,
.work-card,
.timeline article {
  padding: 1.4rem;
}

.card p,
.work-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(31, 111, 255, 0.14);
  color: var(--accent-3);
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

.text-link {
  color: var(--accent-3);
  font-weight: 800;
}

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

.work-card {
  cursor: pointer;
}

.work-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0d1117 0%, rgba(31, 111, 255, 0.12) 100%);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.04);
}

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.work-card:hover .work-thumb-overlay {
  opacity: 1;
}

.work-thumb-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ── Project modal ───────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  font-size: 1.15rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  z-index: 1;
  transition: background 0.15s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
}

@media (hover: none) {
  .work-thumb-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.42);
  }
}

.work-card--soon {
  cursor: default;
}

.work-card--soon .work-thumb-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
}

.work-card--soon:hover .work-thumb-overlay {
  opacity: 1;
}

.work-card--soon .work-thumb-overlay span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glb-visit-link {
  display: inline-flex !important;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-3)) !important;
  color: #030913 !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.glb-visit-link:hover {
  opacity: 0.85;
}

.work-card span {
  color: var(--accent-3);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.work-card .work-type {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  z-index: 2;
  border: 1px solid;
}

.work-card .work-type--live {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

.work-card .work-type--demo {
  background: rgba(31, 111, 255, 0.18);
  color: #60a5fa;
  border-color: rgba(31, 111, 255, 0.3);
}

.work-card .work-type--interactive {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

.work-demos-row {
  margin-top: 1.5rem;
  text-align: center;
}

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

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #031014;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background:
    radial-gradient(circle at left, rgba(31, 111, 255, 0.2), transparent 40%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 3rem;
}

.cta div {
  max-width: 760px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  color: var(--fg);
  text-decoration: none;
  transition: opacity .15s;
}

.contact-link:hover { opacity: .65; }

.contact-link svg { flex-shrink: 0; opacity: .8; }

label,
.form-group {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.project-split {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-split select {
  flex: 1;
  min-width: 0;
  border-radius: 16px;
}

.project-or {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.notsure-btn {
  white-space: nowrap;
  padding: 0 1.1rem;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.notsure-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 111, 255, 0.7);
}

.form-note {
  min-height: 24px;
  color: var(--accent-3);
  margin: 0;
}

.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer div {
  display: flex;
  gap: 1rem;
}

/* ── Admin modal ─────────────────────────────────────────────────────── */

.admin-panel {
  background: var(--bg-soft);
  max-width: 620px;
  padding: 2rem;
}

.admin-sign-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: center;
}

.admin-sign-in h3 {
  margin: 0;
}

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

.admin-user {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(31, 111, 255, 0.2);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-stat strong {
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.admin-site-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.admin-site-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.admin-site-info strong {
  font-size: 0.88rem;
}

.admin-site-info span {
  font-size: 0.75rem;
  color: var(--muted);
}

.admin-order-count {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.admin-key-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-key-wrap code {
  font-size: 0.68rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
}

.admin-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.admin-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

.admin-btn.danger:hover {
  color: #ff5a1f;
  border-color: rgba(255, 90, 31, 0.4);
}

.admin-add-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  align-items: end;
}

.admin-add-form input {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
}

.admin-add-form .button {
  min-height: 44px;
  font-size: 0.875rem;
  border-radius: 10px;
  white-space: nowrap;
}

.admin-trigger {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.18;
  padding: 0;
  transition: opacity 0.15s;
  line-height: 1;
}

.admin-trigger:hover {
  opacity: 0.55;
}

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

.problem-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.problem-card p {
  color: var(--muted);
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 3rem;
  align-items: center;
}

.about-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-bullets li {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 320px;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 880px) {
  .nav-mobile-actions {
    display: flex;
  }

  .nav-demos-mobile {
    display: inline-flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 74px 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(9, 12, 17, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    display: none;
  }

  .nav-links .nav-cta {
    text-align: center;
  }

  .nav-links .nav-demos {
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo-bg {
    width: 100vw;
    opacity: 0.3;
    filter: grayscale(1) blur(1px) brightness(1.6);
  }

  .cards.three,
  .cards.four,
  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cards.five {
    grid-template-columns: 1fr;
  }

  .cards.five article:nth-child(n) {
    grid-column: span 1;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
  }

  .problem-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-bullets {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3.4rem;
  }

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

  .chart-bars {
    height: 170px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
