:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --gray-950: #0b1220;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.18);
  --maxw: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Comfortaa', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 19px;
  -webkit-text-stroke: 0.6px currentColor;
}

.brand-mark {
  display: inline-flex;
  width: 38px; height: 38px;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.35));
  transition: transform .3s var(--ease);
}
.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}
.brand-mark svg { display: block; width: 100%; height: 100%; }

.brand-text { color: var(--gray-900); }
.brand-accent { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--gray-700);
  font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-200);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--gray-950);
}
h1 {
  font-family: 'Comfortaa', 'Inter', sans-serif;
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 1px currentColor;
}
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.light {
  background: rgba(255,255,255,0.14);
  color: #dbeafe;
}

.accent { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .lead {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 540px;
  margin: 20px 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 42px;
  margin-top: 56px;
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-size: 26px;
  color: var(--gray-950);
  letter-spacing: -0.02em;
}
.hero-stats span {
  font-size: 13.5px;
  color: var(--gray-500);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 480px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.85;
}
.orb-1 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55), transparent 65%);
  right: -40px; top: 10px;
}
.orb-2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.55), transparent 65%);
  left: 10px; bottom: 10px;
}
.card-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  animation: float 6s ease-in-out infinite;
}
.card-float-1 {
  bottom: 60px;
  left: -30px;
  width: 180px;
  padding: 14px;
  z-index: 3;
}
.card-float-2 {
  bottom: 10px;
  right: -10px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation-delay: 2s;
  z-index: 3;
  padding: 12px 14px;
}
.chip {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.chip-amber {
  background: #fef3c7;
  color: #92400e;
}
.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.stars-row { display: flex; gap: 1px; }
.rating-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-950);
  letter-spacing: -0.01em;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}
.bar-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  width: 14px;
  flex-shrink: 0;
}
.bar-row .bar { flex: 1; margin-top: 0; }

.funnel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.funnel-head small { color: var(--gray-500); font-size: 11px; display: block; }
.funnel-head strong {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--gray-950);
}
.funnel-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.funnel-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  width: 32px;
  flex-shrink: 0;
}
.funnel-val {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-950);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}
.funnel-row .bar { flex: 1; margin-top: 0; }
.bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  border-radius: 999px;
}
.card-float-2 .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.card-float-2 strong { display: block; font-size: 14px; }
.card-float-2 small { color: var(--gray-500); font-size: 12px; }

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

/* ---------- Hero photo ---------- */
.hero-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  height: 92%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  z-index: 1;
}

/* ---------- Dashboard card ---------- */
.dash-card {
  position: absolute;
  top: 54px;
  right: -54px;
  width: 160px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  z-index: 3;
  animation: float 7s ease-in-out infinite;
  animation-delay: 0.5s;
}
.dash-card .pill {
  font-size: 9px;
  padding: 3px 6px;
}
.dash-metrics {
  font-size: 9px !important;
  padding-top: 8px !important;
  margin-top: 6px !important;
}
.dash-metrics b { margin-left: 2px; }
.dash-card .dot-blue,
.dash-card .dot-green {
  width: 6px; height: 6px;
  margin-right: 4px;
}
.dash-card .pill-up {
  animation: pill-pulse 2.4s ease-in-out infinite;
}
.dash-chart path[stroke="#2563eb"] {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-line 3s ease-out forwards, line-glow 3s ease-in-out 3s infinite;
}
.dash-chart circle {
  opacity: 0;
  animation: dot-in 0.5s ease-out 2.6s forwards, dot-pulse 2s ease-in-out 3.1s infinite;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}
@keyframes line-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(37, 99, 235, 0)); }
  50% { filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.4)); }
}
@keyframes dot-in {
  to { opacity: 1; }
}
@keyframes dot-pulse {
  0%, 100% { r: 3.5; }
  50% { r: 5; }
}
@keyframes pill-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.dash-head strong { font-size: 13px; }
.dash-head small { font-size: 9px; }
.dash-head { margin-bottom: 8px !important; }
.dash-chart { height: 46px; }
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.dash-head small { color: var(--gray-500); font-size: 12px; display: block; }
.dash-head strong { font-size: 22px; letter-spacing: -0.01em; color: var(--gray-950); }
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}
.pill-up { background: #dcfce7; color: #15803d; }
.dash-chart { width: 100%; height: 100px; display: block; }
.dash-metrics {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--gray-500);
}
.dash-metrics b { color: var(--gray-950); margin-left: 4px; }
.dot-blue, .dot-green {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-blue { background: var(--blue); }
.dot-green { background: #22c55e; }

.badge-float {
  position: absolute;
  top: 20px;
  left: -20px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
  z-index: 3;
}
.badge-float strong { display: block; font-size: 13px; }
.badge-float small { color: #059669; font-size: 11px; font-weight: 600; }
.badge-icon-wrap {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f43f5e, #ec4899, #8b5cf6);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: badge-pulse 2.4s ease-in-out infinite;
}
.badge-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  border: 2px solid #ec4899;
  opacity: 0;
  animation: badge-ring 2.4s ease-out infinite;
}
.badge-float small {
  display: inline-block;
  animation: badge-rise 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(236, 72, 153, 0); }
}
@keyframes badge-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes badge-rise {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-2px); opacity: 1; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.trust-bar-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head p {
  color: var(--gray-500);
  font-size: 17px;
  margin-top: 14px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all .3s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-light), #eff6ff);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15);
}
.service:hover .service-icon {
  background: var(--blue);
  color: #fff;
}
.service p { color: var(--gray-500); margin: 8px 0 0; font-size: 15px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid p { color: var(--gray-500); font-size: 17px; margin: 18px 0 24px; }
.checklist {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--gray-700);
  font-size: 15.5px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.about-visual { display: grid; gap: 18px; }
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.about-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}
.about-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.about-card h4 { font-size: 16px; color: var(--blue); margin-bottom: 8px; }
.about-card p { color: var(--gray-700); margin: 0; font-size: 16px; }
.about-card-dark {
  background: var(--gray-950);
  border-color: var(--gray-950);
}
.about-card-dark h4 { color: #93c5fd; }
.about-card-dark p { color: var(--gray-200); }

/* ---------- Logos + Results ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 40px;
  margin-bottom: 70px;
}
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15.5px;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.logo-item:hover { color: var(--blue); }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s var(--ease);
}
.testimonial:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.testimonial p {
  color: var(--gray-700);
  font-size: 15.5px;
  margin: 0 0 20px;
  line-height: 1.65;
}
.author {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-light);
}
.author strong { display: block; font-size: 14.5px; color: var(--gray-950); }
.author small { color: var(--gray-500); font-size: 13px; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.result {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.result h3 {
  font-size: 44px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 8px;
}
.result p { color: var(--gray-700); margin: 0; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.industry {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: all .3s var(--ease);
}
.industry:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.industry-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  transition: transform .3s var(--ease);
}
.industry:hover .industry-icon {
  transform: scale(1.08) rotate(-4deg);
}
.industry h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.industry p {
  color: var(--gray-500);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all .3s var(--ease);
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.mockup {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  border-radius: 14px;
  padding: 24px 24px 0;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Browser frame */
.browser {
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.18);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}
.browser-bar .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.browser-bar .red { background: #ef4444; }
.browser-bar .amber { background: #f59e0b; }
.browser-bar .green { background: #22c55e; }
.browser-bar .url {
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 9px;
  color: #6b7280;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.browser-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.bg-navy { background: linear-gradient(180deg, #0b1e44, #111827); }
.bg-light { background: #fff; }
.bg-cream { background: #faf7f1; }

/* Fake site bits */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-nav.light, .site-nav.cream { border-bottom-color: rgba(0,0,0,0.08); }
.logo-pill {
  width: 18px; height: 6px;
  background: #60a5fa;
  border-radius: 2px;
}
.logo-pill.dark { background: #111827; }
.nav-line {
  width: 16px; height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}
.nav-line.dark { background: #d1d5db; }
.nav-btn {
  margin-left: auto;
  width: 24px; height: 8px;
  background: #2563eb;
  border-radius: 3px;
}
.nav-btn.dark { background: #111827; }
.nav-btn.blue { background: #2563eb; }

.site-hero {
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-hero.split {
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.site-hero.split > div:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-hero.center { align-items: center; text-align: center; }

.tag-pill {
  display: inline-block;
  width: 36px; height: 6px;
  background: rgba(96, 165, 250, 0.3);
  border-radius: 999px;
  margin-bottom: 4px;
}
.tag-pill.blue { background: #dbeafe; }
.tag-pill.dark { background: #e5e7eb; }
.head-lg {
  width: 80%; height: 8px;
  background: #fff;
  border-radius: 3px;
}
.head-lg.short { width: 55%; }
.head-lg.dark { background: #111827; }
.copy-line {
  width: 90%; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin-top: 3px;
}
.copy-line.short { width: 60%; }
.copy-line.dark { background: #d1d5db; }
.cta-pill {
  margin-top: 6px;
  width: 50px; height: 10px;
  background: #2563eb;
  border-radius: 4px;
}
.cta-pill.blue { background: #2563eb; }
.cta-pill.dark { background: #111827; }

.hero-graphic {
  flex: 0 0 80px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 50px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  border-radius: 2px 2px 0 0;
}

.site-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}
.mini-card {
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
}
.mini-card.light {
  background: #f9fafb;
  border-color: #e5e7eb;
}
.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: auto;
}
.product-tile {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e7d9bf, #c7b189);
  border-radius: 4px;
}

/* Phone frame */
.phone {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 80px;
  height: 160px;
  background: #111827;
  border-radius: 14px 14px 0 0;
  padding: 10px 5px 0;
  box-shadow: -10px -8px 28px rgba(17, 24, 39, 0.22);
  border: 2px solid #1f2937;
  border-bottom: none;
}
.phone-notch {
  width: 24px;
  height: 4px;
  background: #000;
  border-radius: 0 0 4px 4px;
  margin: -10px auto 6px;
}
.phone-screen {
  height: calc(100% - 10px);
  border-radius: 6px 6px 0 0;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.m-nav {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-bottom: 4px;
}
.m-nav.light, .m-nav.cream { background: #e5e7eb; }
.m-tag {
  width: 24px; height: 4px;
  background: rgba(96,165,250,0.4);
  border-radius: 999px;
}
.m-tag.blue { background: #dbeafe; }
.m-tag.dark { background: #e5e7eb; }
.m-head {
  height: 5px;
  background: #fff;
  border-radius: 2px;
  width: 85%;
}
.m-head.short { width: 60%; }
.m-head.dark { background: #111827; }
.m-copy {
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
  width: 90%;
}
.m-copy.dark { background: #d1d5db; }
.m-cta {
  margin: 2px 0 4px;
  width: 32px; height: 7px;
  background: #2563eb;
  border-radius: 3px;
}
.m-cta.blue { background: #2563eb; }
.m-cta.dark { background: #111827; }
.m-card {
  height: 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}
.m-card.light { background: #f3f4f6; }
.m-product {
  height: 22px;
  background: linear-gradient(135deg, #e7d9bf, #c7b189);
  border-radius: 3px;
}

/* Project meta */
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.project-tag {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.project-meta h3 {
  font-size: 18px;
  color: var(--gray-950);
}
.project-stat {
  text-align: right;
  flex-shrink: 0;
}
.project-stat strong {
  display: block;
  font-size: 22px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.project-stat small {
  font-size: 11px;
  color: var(--gray-500);
}

/* ---------- Articles / Blog Feed ---------- */
.articles-section { background: #fff; }
.articles-head { margin-bottom: 40px; }
.articles-viewport {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.articles-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.articles-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  min-height: 380px;
}
.articles-track > .article-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .3s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue-light), #eff6ff);
  display: block;
}
.article-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-source {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.article-card h3 {
  font-size: 17px;
  line-height: 1.35;
  color: var(--gray-950);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-500);
}
.article-read {
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s var(--ease);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.arrow-btn:hover:not(:disabled) {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: scale(1.06);
}
.arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.articles-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.articles-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--gray-200);
  padding: 0;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.articles-dots button.active {
  background: var(--blue);
  width: 24px;
  border-radius: 999px;
}

.articles-attribution {
  text-align: center;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--gray-400);
}

.articles-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 0;
  color: var(--gray-500);
  font-size: 14px;
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.articles-error {
  text-align: center;
  padding: 40px;
  color: var(--gray-500);
}

/* ---------- CTA / Contact ---------- */
.section-cta {
  background:
    radial-gradient(700px 500px at 10% 20%, rgba(96, 165, 250, 0.35), transparent 60%),
    radial-gradient(700px 500px at 90% 80%, rgba(37, 99, 235, 0.55), transparent 60%),
    linear-gradient(180deg, var(--gray-950), #0b1e44);
  color: #fff;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-copy h2 { color: #fff; }
.cta-copy p { color: #cbd5e1; font-size: 17px; margin: 18px 0 24px; max-width: 480px; }
.cta-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
  color: #e2e8f0;
  font-size: 15.5px;
}

.contact-form {
  background: #fff;
  color: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.contact-form h3 {
  font-size: 22px;
  margin: 0;
}
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  padding: 5px 10px;
  border-radius: 999px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  transition: all .2s var(--ease);
}
.field input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.field input.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-note {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 14px;
  text-align: center;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-950);
  color: var(--gray-200);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer .brand-text { color: #fff; }
.tagline {
  color: var(--gray-400);
  margin-top: 10px;
  font-size: 14px;
  font-family: 'Comfortaa', 'Inter', sans-serif;
  font-weight: 700;
  -webkit-text-stroke: 0.5px currentColor;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 14px;
}
.footer-cols a {
  display: block;
  color: var(--gray-400);
  font-size: 14.5px;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.footer-cols a:hover { color: #fff; }
.footer-cols address {
  font-style: normal;
  color: var(--gray-400);
  font-size: 14.5px;
  padding: 8px 0 0;
  line-height: 1.55;
}

.copyright {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid,
  .about-grid,
  .cta-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 380px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .about-card-row { grid-template-columns: 1fr; }
  .hero-photo { width: 220px; height: 280px; right: 20px; }
  .results-grid,
  .testimonials { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 70px 0; }
  .trust-bar-grid { justify-content: center; }
  .dash-card { right: 0; width: 280px; }
  .badge-float { right: 200px; top: 240px; }
  .articles-track > .article-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .articles-track > .article-page { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 22px; }
  .contact-form { padding: 24px; }
}
