@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap");

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

:root {
  --bg: #000000;
  --surface: #070b14;
  --surface-soft: #0f1628;
  --text: #eef3fc;
  --muted: #8fa3c4;
  --faint: #5c6f8f;
  --primary: #1e4fd8;
  --primary-bright: #3b82f6;
  --accent: #93c5fd;
  --silver: #c8d4e8;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --max: 72rem;
  --nav-h: 88px;
  --glow-blue: rgba(37, 99, 235, 0.22);
  --glow-silver: rgba(200, 212, 232, 0.08);
  --border: rgba(147, 197, 253, 0.14);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 79, 216, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #000000 0%, #050a14 45%, #0a1020 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

::selection { background: rgba(37,99,235,.4); color: #f8fafc; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

main { padding-top: var(--nav-h); min-height: 60vh; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Typography */
.font-display { font-family: var(--display); }
.text-gradient {
  background: linear-gradient(100deg, #eef3fc 20%, #93c5fd 55%, #3b82f6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-blue {
  background: linear-gradient(100deg, #c8d4e8, #60a5fa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Surfaces */
.glass {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-strong {
  background: rgba(17,24,39,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.bg-grid {
  background-image:
    linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-dots {
  background-image: radial-gradient(rgba(148,163,184,.14) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 9999px; font-weight: 500; font-size: .875rem; border: none;
  cursor: pointer; transition: all .3s; white-space: nowrap; font-family: inherit;
}
.btn--primary {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff; padding: .875rem 2rem; font-size: 1rem;
  box-shadow: 0 8px 32px -8px rgba(37, 99, 235, 0.65);
  border: 1px solid rgba(147, 197, 253, 0.25);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -6px rgba(59, 130, 246, 0.75);
}
.btn--outline {
  background: rgba(255,255,255,.03); color: #f1f5f9;
  border: 1px solid rgba(255,255,255,.15); padding: .875rem 2rem; font-size: 1rem;
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: rgba(96,165,250,.5); background: rgba(255,255,255,.06); transform: translateY(-2px);
}
.btn--block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: 9999px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); padding: .25rem .75rem;
  font-size: .75rem; font-weight: 500; color: #cbd5e1;
}
.badge--blue { border-color: rgba(59,130,246,.3); background: rgba(59,130,246,.1); color: #93c5fd; }
.badge--accent { border-color: rgba(147,197,253,.28); background: rgba(59,130,246,.12); color: #bfdbfe; }

/* Cards */
.card { border-radius: 1rem; }
.card-glow {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card-glow:hover {
  border-color: rgba(59,130,246,.45);
  box-shadow: 0 0 0 1px rgba(59,130,246,.12), 0 18px 50px -12px rgba(37,99,235,.28);
  transform: translateY(-4px);
}
.card__body { padding: 1.5rem; }
.card__body--lg { padding: 2rem; }

/* Section */
.section { position: relative; padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section--sm { padding: 2rem 0; }
.section--tight { padding: 2.5rem 0; }
.section-header { margin-bottom: 3rem; max-width: 42rem; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header__eyebrow {
  margin-bottom: .75rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: #60a5fa;
}
.section-header__title {
  font-family: var(--display); font-size: 1.875rem; font-weight: 700;
  letter-spacing: -.025em; color: #f8fafc; line-height: 1.15;
}
@media (min-width: 768px) { .section-header__title { font-size: 2.6rem; } }
.section-header__sub { margin-top: 1rem; font-size: 1rem; color: var(--muted); line-height: 1.625; }
@media (min-width: 768px) { .section-header__sub { font-size: 1.125rem; } }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h); transition: background .3s, border-color .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(147, 197, 253, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding: 0 1.25rem;
}
@media (min-width: 768px) { .site-header__inner { padding: 0 2rem; } }

.site-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .site-nav { display: flex; } }
.site-nav a {
  border-radius: 9999px; padding: .5rem 1rem; font-size: .875rem;
  color: #94a3b8; transition: color .2s, background .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.site-nav a.is-active { color: #fff; background: rgba(255,255,255,.07); }

.site-header__cta { display: none; }
@media (min-width: 768px) { .site-header__cta { display: block; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: none; background: none;
  color: #e2e8f0; cursor: pointer; border-radius: .5rem;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06);
}
.site-header.is-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block; border-radius: .5rem; padding: .75rem 1rem;
  font-size: 1rem; color: #cbd5e1; margin: .25rem 1.25rem;
}
.mobile-nav a.is-active { background: rgba(255,255,255,.07); color: #fff; }
.mobile-nav a:hover { background: rgba(255,255,255,.05); }
.mobile-nav__cta { padding: .75rem 1.25rem 1rem; }

/* Logo */
.logo { display: inline-flex; align-items: center; }
.logo__img {
  height: 4rem;
  width: auto;
  max-width: min(20rem, 58vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}
@media (min-width: 768px) {
  .logo__img {
    height: 4.75rem;
    max-width: 24rem;
  }
}
.site-footer .logo__img {
  height: 4.25rem;
  max-width: 20rem;
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__backdrop {
  pointer-events: none; position: absolute; inset: 0;
  background: linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black, transparent);
}
.hero__orb1 {
  pointer-events: none; position: absolute; top: -10rem; left: 50%;
  width: 900px; height: 560px; transform: translateX(-50%);
  border-radius: 9999px; background: rgba(37,99,235,.15); filter: blur(130px);
}
.hero__orb2 {
  pointer-events: none; position: absolute; right: 8%; top: 16rem;
  width: 18rem; height: 18rem; border-radius: 9999px;
  background: rgba(37,99,235,.12); filter: blur(110px);
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{opacity:.5} 50%{opacity:1} }

.hero__inner { position: relative; padding: 4rem 0 4rem; }
@media (min-width: 768px) { .hero__inner { padding: 6rem 0 6rem; } }
.hero__content { max-width: 48rem; margin: 0 auto; text-align: center; }
.hero__title {
  margin-top: 1.5rem; font-family: var(--display); font-weight: 700;
  font-size: 2.6rem; line-height: 1.08; letter-spacing: -.025em; color: #f8fafc;
}
@media (min-width: 640px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero__title { font-size: 4.25rem; } }
.hero__lead {
  margin: 1.5rem auto 0; max-width: 42rem; color: var(--muted);
  font-size: 1rem; line-height: 1.625;
}
@media (min-width: 768px) { .hero__lead { font-size: 1.125rem; } }
.hero__actions {
  margin-top: 2.25rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
.hero__note { margin-top: 1.5rem; font-size: .75rem; color: var(--faint); }

.hero__visual {
  position: relative; max-width: 56rem; margin: 4rem auto 0;
}
@media (min-width: 768px) { .hero__visual { margin-top: 5rem; } }
.hero__visual-glow {
  pointer-events: none; position: absolute; inset: -2.5rem -2rem 0;
  border-radius: 3rem; background: rgba(37,99,235,.1); filter: blur(48px);
}
.hero__phone {
  position: absolute; bottom: -2.5rem; right: -1rem; width: 9rem;
  transform: rotate(3deg); z-index: 2;
}
@media (min-width: 640px) { .hero__phone { width: 11rem; } }
@media (min-width: 768px) { .hero__phone { right: -3rem; width: 13rem; } }

/* Browser / phone frames */
.browser-frame {
  overflow: hidden; border-radius: .75rem; border: 1px solid rgba(255,255,255,.1);
  background: #0d1424; box-shadow: 0 30px 80px -24px rgba(2,6,23,.9);
}
.browser-frame__bar {
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03);
  padding: .625rem 1rem;
}
.browser-frame__dot { width: .625rem; height: .625rem; border-radius: 9999px; }
.browser-frame__dot--r { background: #ff5f57; }
.browser-frame__dot--y { background: #febc2e; }
.browser-frame__dot--g { background: #28c840; }
.browser-frame__url {
  margin-left: .75rem; display: none; overflow: hidden; text-overflow: ellipsis;
  border-radius: .375rem; background: rgba(255,255,255,.05); padding: .125rem .75rem;
  font-size: 11px; color: var(--faint);
}
@media (min-width: 640px) { .browser-frame__url { display: block; } }
.browser-frame__screen { aspect-ratio: 16/10; overflow: hidden; }
.browser-frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.phone-frame {
  overflow: hidden; border-radius: 2.2rem; border: 6px solid #1b2436;
  background: #0d1424; box-shadow: 0 30px 70px -20px rgba(2,6,23,.95);
  ring: 1px solid rgba(255,255,255,.1);
}
.phone-frame__screen { position: relative; aspect-ratio: 390/844; overflow: hidden; }
.phone-frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-frame__notch {
  position: absolute; top: .375rem; left: 50%; transform: translateX(-50%);
  width: 5rem; height: 1rem; border-radius: 9999px; background: #1b2436;
}

/* Marquee */
.marquee-wrap {
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 2rem 0; overflow: hidden;
}
.marquee-wrap__label {
  margin-bottom: 1.25rem; text-align: center; font-size: .75rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: #475569;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 2.5rem;
  animation: marquee 40s linear infinite;
}
@media (min-width: 768px) { .marquee__track { gap: 3.5rem; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.client-logo {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.client-logo--plain {
  height: 3.5rem; padding: 0; background: transparent; border: none;
}
.client-logo--white {
  height: 3.5rem; padding: .5rem 1rem; border-radius: .75rem;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.client-logo img {
  height: 2.75rem; width: auto; max-width: 180px; object-fit: contain;
  opacity: .95; transition: transform .3s, opacity .3s;
}
.client-logo:hover img { opacity: 1; transform: scale(1.05); }

.tech-marquee .badge { padding: .5rem 1.25rem; white-space: nowrap; }

/* Grids */
.grid-2 { display: grid; gap: 1.25rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.split--reverse .split__visual { order: 2; }
.split--reverse .split__content { order: 1; }
@media (min-width: 768px) {
  .split--reverse .split__visual { order: 2; }
  .split--reverse .split__content { order: 1; }
}

/* Service cards */
.service-card { height: 100%; }
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: .75rem; border-radius: .75rem;
  border: 1px solid rgba(59,130,246,.25); background: rgba(59,130,246,.1); color: #60a5fa;
}
.service-card__title { font-family: var(--display); font-size: 1.125rem; font-weight: 600; color: #f8fafc; margin-bottom: .5rem; }
.service-card__desc { font-size: .875rem; color: var(--muted); line-height: 1.625; }
.service-card__link { display: inline-flex; align-items: center; gap: .375rem; margin-top: 1rem; font-size: .875rem; font-weight: 500; color: #60a5fa; }

/* Stats */
.stats-bar {
  display: grid; gap: 2rem; border-radius: 1.5rem; padding: 2.5rem 2rem;
}
@media (min-width: 640px) { .stats-bar { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .stats-bar { grid-template-columns: repeat(4,1fr); padding: 2.5rem 3rem; } }
.stats-bar__value {
  font-family: var(--display); font-size: 2.25rem; font-weight: 700;
}
@media (min-width: 768px) { .stats-bar__value { font-size: 3rem; } }
.stats-bar__label { margin-top: .5rem; font-size: .875rem; line-height: 1.375; color: var(--faint); }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, rgba(37,99,235,.22), #050a14 50%, rgba(96,165,250,.08));
  padding: 4rem 1.5rem; text-align: center;
}
@media (min-width: 768px) { .cta-banner { padding: 5rem 4rem; } }
.cta-banner__orb1 {
  pointer-events: none; position: absolute; left: -6rem; top: -6rem;
  width: 18rem; height: 18rem; border-radius: 9999px;
  background: rgba(37,99,235,.25); filter: blur(100px);
}
.cta-banner__orb2 {
  pointer-events: none; position: absolute; right: -6rem; bottom: -6rem;
  width: 18rem; height: 18rem; border-radius: 9999px;
  background: rgba(59,130,246,.22); filter: blur(100px);
}
.cta-banner__grid {
  pointer-events: none; position: absolute; inset: 0; opacity: .4;
  background: linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-banner__inner { position: relative; }
.cta-banner__title {
  font-family: var(--display); font-size: 1.875rem; font-weight: 700;
  letter-spacing: -.025em; color: #f8fafc; max-width: 42rem; margin: 0 auto;
}
@media (min-width: 768px) { .cta-banner__title { font-size: 2.75rem; line-height: 1.12; } }
.cta-banner__sub {
  margin: 1rem auto 0; max-width: 36rem; color: var(--muted);
  font-size: 1rem; line-height: 1.625;
}
@media (min-width: 768px) { .cta-banner__sub { font-size: 1.125rem; } }
.cta-banner__actions {
  margin-top: 2rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
}
@media (min-width: 640px) { .cta-banner__actions { flex-direction: row; } }

/* Work cards */
.work-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 1rem; }
.work-card__media { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.work-card__shot { aspect-ratio: 16/10; overflow: hidden; }
.work-card__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .5s;
}
.work-card:hover .work-card__shot img { transform: scale(1.05); }
.work-card__phone {
  position: absolute; bottom: -1.25rem; right: 1rem; width: 4.5rem;
  overflow: hidden; border-radius: .75rem; border: 3px solid #1b2436;
  box-shadow: 0 10px 25px rgba(0,0,0,.4); transition: transform .5s;
}
.work-card:hover .work-card__phone { transform: translateY(-6px); }
.work-card__phone img { width: 100%; aspect-ratio: 390/844; object-fit: cover; object-position: top; }
.work-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; }
.work-card__logo { min-height: 3.25rem; display: flex; align-items: center; margin-bottom: .25rem; }
.work-card__meta { font-size: .75rem; color: var(--faint); }
.work-card__blurb { margin-top: .75rem; flex: 1; font-size: .875rem; color: var(--muted); line-height: 1.625; }
.work-card__tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .375rem; }
.work-card__tags .badge { font-size: 11px; padding: .125rem .625rem; }

.work-section-title { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: #e2e8f0; margin-bottom: 1.5rem; }
.work-section { margin-bottom: 3.5rem; }
.work-section:last-child { margin-bottom: 0; }

/* Hosting highlight */
.hosting-highlight { position: relative; padding: 3.5rem 0; }
@media (min-width: 768px) { .hosting-highlight { padding: 5rem 0; } }
.hosting-highlight__card {
  overflow: hidden; border-radius: 1.5rem;
  border-color: rgba(59,130,246,.22);
  background: linear-gradient(135deg, rgba(59,130,246,.08), transparent 50%, rgba(147,197,253,.06));
  padding: 2rem;
}
@media (min-width: 768px) { .hosting-highlight__card { padding: 3rem; } }
.hosting-highlight__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hosting-highlight__grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.hosting-highlight__title {
  margin-top: 1rem; font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.025em; color: #f8fafc; line-height: 1.15;
}
@media (min-width: 768px) { .hosting-highlight__title { font-size: 2.25rem; } }
.hosting-highlight__lead { margin-top: 1rem; max-width: 36rem; color: var(--muted); line-height: 1.625; }
.hosting-highlight__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hosting-highlight__actions { flex-direction: row; } }
.hosting-highlight__pillars { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hosting-highlight__pillars { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .hosting-highlight__pillars { grid-template-columns: 1fr; } }
.hosting-pillar {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03); padding: 1.25rem;
}
.hosting-pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin-bottom: .75rem; border-radius: .75rem;
  border: 1px solid rgba(59,130,246,.28); background: rgba(59,130,246,.1); color: #93c5fd;
}
.hosting-pillar__title { font-family: var(--display); font-size: 1rem; font-weight: 600; color: #f1f5f9; }
.hosting-pillar__text { margin-top: .375rem; font-size: .875rem; line-height: 1.625; color: var(--faint); }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-tabs button {
  border-radius: 9999px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); padding: .5rem 1rem;
  font-size: .875rem; color: var(--muted); cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.filter-tabs button.is-active, .filter-tabs button:hover {
  border-color: rgba(59,130,246,.4); background: rgba(59,130,246,.1); color: #93c5fd;
}

/* Services hub — 3 pickable sections */
.service-hub .section-header { margin-bottom: 2.5rem; }
.service-hub__list { max-width: 52rem; margin: 0 auto; }
.service-hub__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 0.25rem;
  color: inherit;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.service-hub__item:hover { opacity: 1; }
.service-hub__item:hover .service-hub__title { color: #93c5fd; }
.service-hub__item:hover .service-hub__go {
  color: #93c5fd;
  transform: translateX(4px);
}
.service-hub__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(59,130,246,.28);
  background: rgba(59,130,246,.1);
  color: #60a5fa;
  flex-shrink: 0;
}
.service-hub__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: .4rem;
  transition: color .2s;
}
.service-hub__desc {
  font-size: .975rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36rem;
}
.service-hub__go {
  display: inline-flex;
  color: var(--faint);
  transition: color .2s, transform .2s;
}
.service-hub__sep {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.28), transparent);
}
.service-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
}
.service-back:hover { color: #93c5fd; }
.service-page-sep {
  height: 1px;
  width: 100%;
  margin: .5rem 0;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.22), transparent);
}

/* System cards */
.system-card { position: relative; height: 100%; padding: 1.75rem; border-radius: 1rem; overflow: hidden; }
.system-card__glow {
  pointer-events: none; position: absolute; right: -5rem; top: -5rem;
  width: 14rem; height: 14rem; border-radius: 9999px;
  background: rgba(37,99,235,.15); filter: blur(80px);
}
.system-card__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.system-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: .75rem;
  border: 1px solid rgba(59,130,246,.28); background: rgba(59,130,246,.1); color: #93c5fd;
}
.system-card__title { margin-top: 1.25rem; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: #f8fafc; }
.system-card__loc { margin-top: .25rem; display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--faint); }
.system-card__blurb { margin-top: 1rem; color: var(--muted); line-height: 1.625; }
.system-card__tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: .75rem; max-width: 48rem; margin: 0 auto; }
.accordion__item { border-radius: .75rem; padding: 0 1.25rem; }
.accordion__item.is-open { border-color: rgba(59,130,246,.3); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0; background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; font-size: .875rem; font-weight: 500;
  color: #f1f5f9; transition: color .2s;
}
.accordion__trigger:hover { color: #93c5fd; }
.accordion__trigger svg { flex-shrink: 0; color: var(--muted); transition: transform .3s; }
.accordion__item.is-open .accordion__trigger svg { transform: rotate(180deg); }
.accordion__panel {
  display: none; padding-bottom: 1.25rem; font-size: .875rem;
  color: var(--muted); line-height: 1.625;
}
.accordion__item.is-open .accordion__panel { display: block; }

/* Timeline */
.timeline { position: relative; max-width: 48rem; margin: 0 auto; border-left: 1px solid rgba(255,255,255,.1); padding-left: 2rem; }
@media (min-width: 768px) { .timeline { padding-left: 2.5rem; } }
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -2.625rem; top: .25rem;
  display: flex; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  border: 1px solid rgba(59,130,246,.4); background: var(--bg);
}
@media (min-width: 768px) { .timeline__dot { left: -3.0625rem; } }
.timeline__dot span { width: .5rem; height: .5rem; border-radius: 9999px; background: #3b82f6; }
.timeline__year { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #60a5fa; }
.timeline__title { margin-top: .375rem; font-family: var(--display); font-size: 1.125rem; font-weight: 600; color: #f8fafc; }
.timeline__desc { margin-top: .5rem; font-size: .875rem; color: var(--muted); line-height: 1.625; }

/* Forms */
.form-panel { border-radius: 1rem; padding: 1.5rem; }
@media (min-width: 768px) { .form-panel { padding: 2rem; } }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 500; color: #e2e8f0; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; height: 2.75rem; border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  padding: 0 1rem; font-size: .875rem; color: #f1f5f9; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { height: auto; min-height: 8rem; padding: .75rem 1rem; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: rgba(59,130,246,.6);
  box-shadow: 0 0 0 2px rgba(59,130,246,.25);
}
.form-field select option { background: #111827; }
.form-field .error { margin-top: .25rem; font-size: .75rem; color: #f87171; }
.form-note { margin-top: 1rem; text-align: center; font-size: .75rem; color: #475569; }

.form-success {
  min-height: 420px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 2.5rem;
  border-radius: 1rem;
}
.form-success__icon {
  display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 9999px; background: rgba(59,130,246,.15); color: #93c5fd;
}
.form-success__title { margin-top: 1.25rem; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: #f8fafc; }
.form-success__text { margin-top: .75rem; max-width: 24rem; font-size: .875rem; color: var(--muted); line-height: 1.625; }
.form-success__text a { color: #60a5fa; }
.form-success__text a:hover { text-decoration: underline; }

/* Check list */
.check-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: var(--muted); line-height: 1.625; }
.check-list__icon {
  margin-top: .125rem; display: inline-flex; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; flex-shrink: 0; border-radius: 9999px;
  background: rgba(59,130,246,.15); color: #93c5fd;
}

/* Panels (services) */
.panel { overflow: hidden; border-radius: .75rem; box-shadow: 0 30px 80px -24px rgba(2,6,23,.9); }
.panel__bar {
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03); padding: .625rem 1rem;
}
.panel__body { padding: 1.25rem; font-family: ui-monospace, monospace; font-size: 12.5px; line-height: 1.625; }
.panel__body p { margin-bottom: .625rem; }
.text-emerald { color: #93c5fd; }
.text-muted { color: var(--muted); }
.text-faint { color: var(--faint); }

.panel-rows { divide-y: rgba(255,255,255,.05); }
.panel-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.panel-row:last-child { border-bottom: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: 9999px; padding: .25rem .625rem; font-size: 11px; font-weight: 500;
}
.status-pill--online { background: rgba(59,130,246,.12); color: #93c5fd; }
.status-pill--offline { background: rgba(245,158,11,.1); color: #fbbf24; }
.status-pill span { width: .375rem; height: .375rem; border-radius: 9999px; background: currentColor; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); background: #080b14; padding: 3.5rem 0; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.site-footer__blurb { margin-top: 1rem; max-width: 20rem; font-size: .875rem; color: var(--faint); line-height: 1.625; }
.site-footer__heading {
  margin-bottom: 1rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: #94a3b8;
}
.site-footer__links { display: flex; flex-direction: column; gap: .625rem; }
.site-footer__links a { font-size: .875rem; color: var(--faint); transition: color .2s; }
.site-footer__links a:hover { color: #60a5fa; }
.site-footer__contact { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; color: var(--faint); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: .625rem; }
.site-footer__contact svg { margin-top: .125rem; flex-shrink: 0; color: #3b82f6; }
.site-footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: .75rem; font-size: .75rem; color: #475569;
}
@media (min-width: 768px) {
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.21,.65,.36,1), transform .7s cubic-bezier(.21,.65,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.hero-animate { opacity: 0; transform: translateY(24px); animation: fade-up .7s cubic-bezier(.21,.65,.36,1) forwards; }
.hero-animate--1 { animation-delay: .08s; }
.hero-animate--2 { animation-delay: .16s; }
.hero-animate--3 { animation-delay: .24s; }
.hero-animate--4 { animation-delay: .32s; }
.hero-animate--5 { animation-delay: .4s; }
.hero-visual-animate { opacity: 0; transform: translateY(60px); animation: fade-up-visual .9s cubic-bezier(.21,.65,.36,1) .45s forwards; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up-visual { to { opacity: 1; transform: translateY(0); } }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.hidden-md { display: block; }
@media (min-width: 768px) { .hidden-md { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* —— Mobile-first touch & usability —— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
}

a, button, .btn, .menu-toggle, .accordion__trigger, .service-hub__item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(59, 130, 246, 0.25);
}

@media (hover: none) {
  .btn:hover { transform: none; }
  .card-glow:hover { transform: none; }
  .work-card:hover .work-card__shot img { transform: none; }
  .work-card:hover .work-card__phone { transform: none; }
}

@media (max-width: 767px) {
  :root { --nav-h: 78px; }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }

  .site-header__inner {
    height: var(--nav-h);
  }

  .logo__img {
    height: 3.5rem;
    max-width: min(16.5rem, 70vw);
  }

  .menu-toggle {
    width: 3rem;
    height: 3rem;
    min-width: 48px;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-nav {
    max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .service-hub__item {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    min-height: 48px;
  }
  .service-hub__go { display: none; }
  .service-hub__desc { font-size: .9375rem; }
  .service-block + .service-block {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
  }

  .mobile-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    margin: 0.2rem 1rem;
    padding: 0.85rem 1rem;
    font-size: 1.0625rem;
    border-radius: 12px;
  }

  .mobile-nav__cta {
    padding: 0.75rem 1rem 1.25rem;
  }

  .mobile-nav__cta .btn {
    width: 100%;
    min-height: 52px;
  }

  .btn {
    min-height: 48px;
    padding: 0.9rem 1.35rem;
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  .hero__inner {
    padding: 2.5rem 0 3rem;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    margin-top: 2.5rem;
  }

  .hero__phone {
    width: 7.5rem;
    right: 0.25rem;
    bottom: -0.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header__title {
    font-size: 1.75rem;
  }

  .cta-banner {
    padding: 2.75rem 1.25rem;
    border-radius: 1.15rem;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn {
    width: 100%;
  }

  .hosting-highlight__actions {
    flex-direction: column;
  }

  .hosting-highlight__actions .btn {
    width: 100%;
  }

  .stats-bar {
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .accordion__trigger {
    min-height: 52px;
    font-size: 1rem;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 16px;
    min-height: 48px;
  }

  .form-field textarea {
    min-height: 8rem;
  }

  .site-footer {
    padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  }

  .site-footer__links a,
  .site-footer__contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer .logo__img {
    height: 3.75rem;
    max-width: 16rem;
  }

  .work-card__body {
    padding: 1.35rem 1.15rem 1.25rem;
  }

  .marquee-wrap {
    padding: 1.5rem 0;
  }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.85rem; }
  .hero__phone { width: 6.5rem; }
}
