/* BosTech — company profile. Hand-written CSS, no build step.
 * Theme: futuristic blue & white, glass surfaces over a faded skyscraper
 * photo, navy "dark" bands for portfolio and the budget spotlight. */

:root {
  --blue-700: #004ac6;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbe5ff;
  --blue-50: #eef3ff;
  --cyan: #38bdf8;
  --navy-950: #070f1f;
  --navy-900: #0b1a33;
  --navy-800: #16233d;
  --navy-700: #1c2a42;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --surface: #f7f9fb;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-line: rgba(255, 255, 255, 0.65);
  --danger: #ba1a1a;
  --danger-wash: #ffe4e0;
  --wa: #25d366;
  --gradient: linear-gradient(135deg, #004ac6 0%, #2563eb 55%, #38bdf8 120%);
  --gradient-text: linear-gradient(100deg, #004ac6 0%, #2563eb 45%, #0ea5e9 100%);
  --navy-gradient: linear-gradient(160deg, #0b1a33 0%, #16233d 45%, #1c2a42 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 18px 40px -18px rgba(15, 42, 110, 0.28);
  --shadow-blue: 0 14px 32px -12px rgba(37, 99, 235, 0.55);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 104px);
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-label: 'Geist', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 8px;
}

.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ background */

.page-bg {
  position: fixed;
  inset: -10% 0 0;
  z-index: -3;
  background: url('building-bg.webp') center / cover no-repeat;
  opacity: 0.2;
  will-change: transform;
}

.page-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(50rem 36rem at -10% 20%, rgba(37, 99, 235, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(247, 249, 251, 0.55), rgba(255, 255, 255, 0.78));
}

.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 74, 198, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 74, 198, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: 3px;
  background: var(--gradient);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ------------------------------------------------------------------ nav */

.nav-wrap {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  padding: 0 var(--gutter);
  transition: inset 0.3s ease;
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-wrap.is-scrolled {
  inset: 8px 0 auto;
}

.nav-wrap.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.nav-logo img {
  height: 64px;
  width: auto;
  margin: -12px 0 -12px -8px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-links a.is-active {
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 600;
}

.nav .nav-cta {
  display: none;
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-50);
}

@media (min-width: 900px) {
  .nav {
    padding: 6px 8px 6px 18px;
  }
  .nav-links,
  .nav .nav-cta {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
}

.drawer.is-open {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 31, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-panel {
  position: absolute;
  inset: 10px 10px 10px auto;
  width: min(320px, calc(100% - 20px));
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(7, 15, 31, 0.45);
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head img {
  height: 64px;
  width: auto;
  margin: -10px 0 -10px -10px;
}

.drawer-links {
  display: grid;
  gap: 4px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
}

.drawer-links a:hover,
.drawer-links a:focus-visible {
  background: var(--blue-50);
  color: var(--blue-700);
}

.drawer-links .ms {
  color: var(--blue-600);
}

.drawer .btn {
  margin-top: auto;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn .ms,
.btn svg {
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  background-size: 140% 140%;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 18px 36px -12px rgba(37, 99, 235, 0.65);
}

.btn-glass {
  color: var(--blue-700);
  background: var(--glass-strong);
  border: 1px solid rgba(0, 74, 198, 0.16);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: #fff;
  border-color: rgba(0, 74, 198, 0.32);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 56px;
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------- headings */

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: rgba(219, 229, 255, 0.7);
  border: 1px solid rgba(0, 74, 198, 0.12);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.eyebrow-dark {
  color: #bcd2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.eyebrow-dark::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 58ch;
}

.section {
  position: relative;
  padding: var(--section) 0;
  overflow-x: clip;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  justify-items: center;
  text-align: center;
}

.section-head.center .lead {
  margin: 0 auto;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow-x: clip;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px);
}

.hero-tags .ms {
  font-size: 1rem;
  color: var(--blue-600);
}

.hero-visual {
  position: relative;
  perspective: 1400px;
}

.hero-visual-glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 40px;
  background: var(--gradient);
  filter: blur(60px);
  opacity: 0.28;
}

.browser {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 40px 80px -30px rgba(11, 26, 51, 0.45), 0 0 0 1px rgba(0, 74, 198, 0.06);
  backdrop-filter: blur(12px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 251, 0.85);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-dots span:nth-child(1) {
  background: #ff6b6b;
}

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

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

.browser-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.74rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-url .ms {
  font-size: 0.9rem;
  color: #16a34a;
}

.browser img {
  width: 100%;
  height: auto;
}

.hero-tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}

.float-chip small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

.float-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: var(--gradient);
}

.float-chip .chip-icon .ms {
  font-size: 1.15rem;
}

.chip-a {
  top: 14%;
  left: -6%;
}

.chip-b {
  bottom: 14%;
  right: -5%;
  animation-delay: -2s;
}

.chip-c {
  bottom: -5%;
  left: 12%;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 40px);
  }
  50% {
    transform: translate3d(0, -10px, 40px);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: none;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(0, 74, 198, 0.3);
}

.scroll-cue::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--blue-600);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 1023px) {
  .float-chip {
    display: none;
  }
}

@media (max-width: 559px) {
  .hero-actions .btn,
  .contact-actions .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.02fr 1fr;
    gap: 56px;
  }
  .scroll-cue {
    display: block;
  }
}

/* -------------------------------------------------------- audience strip */

.audience {
  position: relative;
  margin-top: -24px;
}

.audience-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.audience-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.audience-list {
  display: grid;
  gap: 10px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.audience-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 74, 198, 0.25);
}

.icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--blue-700);
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
}

@media (min-width: 720px) {
  .audience-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .audience-card {
    grid-template-columns: 240px 1fr;
    padding: 22px 22px 22px 32px;
  }
}

/* ------------------------------------------------------ manual vs system */

.compare {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.compare-card {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.compare-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 20px 0 18px;
  letter-spacing: -0.015em;
}

.compare-card ul {
  display: grid;
  gap: 14px;
}

.compare-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.compare-card li .ms {
  margin-top: 2px;
  font-size: 1.15rem;
}

.compare-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.compare-manual {
  color: var(--muted);
}

.compare-manual .compare-badge {
  color: #93000a;
  background: var(--danger-wash);
}

.compare-manual li .ms {
  color: var(--danger);
}

.compare-system {
  color: var(--ink);
  background: linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
    var(--gradient) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-md);
}

.compare-system h3 {
  color: var(--blue-700);
}

.compare-system li {
  font-weight: 500;
}

.compare-system .compare-badge {
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow-blue);
}

.compare-system li .ms {
  color: var(--blue-600);
}

.compare-bolt {
  position: absolute;
  top: -10px;
  right: -6px;
  font-size: 9rem;
  color: rgba(0, 74, 198, 0.06);
  pointer-events: none;
}

.compare-arrow {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow-blue);
  transform: rotate(90deg);
}

.compare-arrow .ms {
  font-size: 1.6rem;
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@media (min-width: 900px) {
  .compare {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .compare-card {
    height: 100%;
  }
  .compare-arrow {
    transform: none;
  }
}

/* --------------------------------------------------------------- services */

.services {
  display: grid;
  gap: 16px;
}

.service-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(37, 99, 235, 0.85), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(56, 189, 248, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(0, 74, 198, 0.4);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow-blue);
}

.service-icon .ms {
  font-size: 1.75rem;
}

.service-card h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------- dark band */

.dark-band {
  position: relative;
  color: #fff;
  background: var(--navy-gradient);
  overflow: hidden;
  isolation: isolate;
}

.dark-band .lead {
  color: rgba(226, 232, 255, 0.72);
}

.dark-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 178, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}

/* --------------------------------------------------------------- projects */

.projects {
  display: grid;
  gap: 20px;
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.project:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 197, 253, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(56, 189, 248, 0.15);
}

.project-shot {
  position: relative;
  margin: 12px 12px 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.project-shot .browser-bar {
  padding: 7px 10px;
}

.project-shot .browser-dots span {
  width: 8px;
  height: 8px;
}

.project-shot .browser-url {
  font-size: 0.68rem;
  padding: 2px 8px;
}

.project-shot-img {
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
}

.project-shot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.project:hover .project-shot-img img {
  transform: scale(1.06);
}

.project-body {
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: start;
  padding: 22px 24px 24px;
}

.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.project p {
  font-size: 0.93rem;
  color: rgba(226, 232, 255, 0.72);
}

.tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(147, 197, 253, 0.25);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-weight: 700;
  color: #93c5fd;
  transition: gap 0.25s ease, color 0.25s ease;
}

.project-link:hover {
  gap: 12px;
  color: #fff;
}

.project-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-feature-list li {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: rgba(226, 232, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-cta {
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.22), rgba(56, 189, 248, 0.06));
  border: 1.5px dashed rgba(147, 197, 253, 0.4);
}

.project-cta .cta-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.12), var(--shadow-blue);
}

.project-cta .cta-icon .ms {
  font-size: 2.2rem;
}

.project-cta p {
  max-width: 34ch;
}

@media (min-width: 720px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding: 32px 40px;
    text-align: left;
  }
  .project-cta p {
    flex: 1 1 280px;
    max-width: 52ch;
  }
}

@media (min-width: 1100px) {
  .projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .project-featured {
    grid-column: span 2;
    flex-direction: row;
  }
  .project-featured .project-shot {
    flex: 1.35;
    margin: 12px 0 12px 12px;
    align-self: center;
  }
  .project-featured .project-body {
    flex: 1;
    align-content: center;
    padding: 32px;
  }
  .project-featured h3 {
    font-size: 1.9rem;
  }
  .project-flip {
    flex-direction: row-reverse;
  }
  .project-flip .project-shot {
    margin: 12px 12px 12px 0;
  }
  .project-cta {
    grid-column: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 36px 28px;
    text-align: center;
  }
  .project-cta p {
    flex: none;
    max-width: 34ch;
  }
}

/* --------------------------------------------------------------- tech stack */

.marquee {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 44s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.tech {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
}

.tech svg {
  width: 22px;
  height: 22px;
}

/* ------------------------------------------------------- budget spotlight */

.spotlight {
  position: relative;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 72px);
  border-radius: clamp(28px, 4vw, 44px);
  text-align: center;
  color: #fff;
  background: var(--navy-gradient);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 50px 100px -50px rgba(11, 26, 51, 0.7);
}

.spotlight-beam {
  position: absolute;
  top: -30%;
  left: 50%;
  z-index: -1;
  width: 140%;
  height: 150%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(180, 197, 255, 0.26) 0, rgba(180, 197, 255, 0.08) 38%, transparent 68%);
  pointer-events: none;
}

.spotlight-inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  justify-items: center;
}

.hook {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
}

.hook-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9em;
  color: #1c1204;
  background: linear-gradient(90deg, #fbbf24, #f97316);
  box-shadow: 0 10px 24px -8px rgba(249, 115, 22, 0.5);
  animation: hookGlow 2.2s ease-in-out infinite;
}

@keyframes hookGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.6);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(251, 146, 60, 0);
  }
}

.spotlight .lead {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.perks {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 18px 0 14px;
  text-align: left;
}

.perk {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.perk:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.perk .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--gradient);
}

.perk h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.perk p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.cta-glow {
  animation: pulseGlow 2.6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(96, 139, 255, 0.55), 0 8px 30px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(96, 139, 255, 0), 0 8px 30px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 760px) {
  .perks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ----------------------------------------------------------------- contact */

.contact-card {
  position: relative;
  display: grid;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: clamp(28px, 4vw, 44px);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  overflow: hidden;
  isolation: isolate;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(30rem 20rem at 0% 0%, rgba(37, 99, 235, 0.12), transparent 70%),
    radial-gradient(28rem 20rem at 100% 100%, rgba(56, 189, 248, 0.14), transparent 70%);
}

.contact-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-wa {
  color: #fff;
  background: linear-gradient(135deg, #1ebe5b, #25d366);
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.6);
}

.channels {
  display: grid;
  gap: 10px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.channel:hover {
  transform: translateX(4px);
  border-color: rgba(0, 74, 198, 0.25);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
}

.channel-icon svg {
  width: 22px;
  height: 22px;
}

.channel-text {
  min-width: 0;
}

.channel-text b {
  display: block;
  font-size: 0.92rem;
}

.channel-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.channel > .ms {
  margin-left: auto;
  color: var(--blue-600);
  opacity: 0.6;
}

.bg-wa {
  background: var(--wa);
}

.bg-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.bg-blue {
  background: var(--gradient);
}

.bg-navy {
  background: linear-gradient(135deg, #00569c, #0b1a33);
}

@media (min-width: 960px) {
  .contact-card {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
}

/* ------------------------------------------------------------------ footer */

.footer {
  position: relative;
  padding: 48px 0 32px;
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.footer-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-left: -10px;
}

.footer-brand p {
  max-width: 40ch;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
}

.footer-nav a:hover {
  color: var(--blue-700);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  transition: transform 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.05);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
  }
}

/* --------------------------------------------------------- floating WA btn */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: var(--wa);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
  transform: translateY(120px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-float.is-visible {
  transform: translateY(0);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ring 2.4s ease-out infinite;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ------------------------------------------------------------------ reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-scale {
  transform: scale(0.96);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
