/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-bg:     #eff6ff;
  --purple:      #7c3aed;
  --purple-light:#8b5cf6;
  --purple-bg:   #f5f3ff;
  --green:       #16a34a;
  --green-light: #22c55e;
  --green-bg:    #f0fdf4;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --mid:         #64748b;
  --light:       #f8fafc;
  --border:      #e2e8f0;
  --white:       #ffffff;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --transition:  0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ============================
   TYPOGRAPHY HELPERS
   ============================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-body {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-eyebrow { display: inline-flex; }
.section-header .section-title { margin-bottom: 16px; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover, .btn-white:focus-visible {
  background: #f0f9ff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.btn-product {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.blue-btn { background: var(--blue); color: var(--white); }
.blue-btn:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.purple-btn { background: var(--purple); color: var(--white); }
.purple-btn:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(124,58,237,.3); }
.green-btn { background: var(--green); color: var(--white); }
.green-btn:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(22,163,74,.3); }

/* Focus ring */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  flex-shrink: 0;
  transition: color var(--transition);
}
.navbar.scrolled .logo { color: var(--dark); }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: var(--blue);
  color: var(--white);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 900;
  margin-right: 3px;
  vertical-align: middle;
}

.logo-footer .logo-mark { background: var(--blue-light); }

.logo-accent { color: var(--blue-light); }
.navbar.scrolled .logo-accent { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); background: var(--blue-light); }
.navbar.scrolled .nav-links a { color: var(--dark-3); }
.navbar.scrolled .nav-links a:hover { color: var(--blue); }
.navbar.scrolled .nav-links a:hover::after { background: var(--blue); }
.navbar.scrolled .nav-links a.active { color: var(--blue); font-weight: 600; }
.navbar.scrolled .nav-links a.active::after { transform: scaleX(1); background: var(--blue); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  margin-left: auto;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(37,99,235,.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 25% 70%, rgba(124,58,237,.18) 0%, transparent 55%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 130px;
  padding-bottom: 90px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ============================
   HERO CRAFT VISUAL (right column)
   ============================ */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* floating pills */
.hv-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  z-index: 4;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.hv-pill--tl { top: -14px; left: -10px; animation: pillFloat 5s ease-in-out infinite; }
.hv-pill--br { bottom: -14px; right: -10px; animation: pillFloat 5s ease-in-out infinite .8s; }
@keyframes pillFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hv-pill-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* main card */
.hv-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: rgba(15,23,42,.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.05);
}

/* card chrome bar */
.hv-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hv-card-url {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
  flex: 1;
  text-align: center;
  font-family: monospace;
}
.hv-card-header-spacer { width: 44px; } /* balance the dots */

/* window dots (reuse existing) */
.window-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

/* uptime bar */
.hv-uptime-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hv-uptime-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
}
.hv-uptime-bars {
  display: flex;
  gap: 2px;
  flex: 1;
  align-items: flex-end;
  height: 16px;
}
.hv-bar {
  flex: 1;
  border-radius: 2px;
  height: 100%;
}
.hv-bar--g { background: rgba(34,197,94,.5); }
.hv-bar--y { background: rgba(251,191,36,.6); height: 60%; }
.hv-uptime-pct {
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  flex-shrink: 0;
}

/* stat row */
.hv-stats-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hv-stat { flex: 1; text-align: center; }
.hv-stat-val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 3px;
}
.hv-stat-key {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hv-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.08);
}

/* sparkline chart */
.hv-chart-wrap {
  padding: 12px 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hv-chart-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 6px;
}
.hv-chart {
  width: 100%;
  height: 52px;
}
.hv-chart svg { width: 100%; height: 100%; display: block; }
.hv-dot-pulse {
  transform-origin: 230px 8px;
  animation: dotPulse 2s ease-out infinite;
}
@keyframes dotPulse {
  0%   { r: 6; opacity: .4; }
  70%  { r: 12; opacity: 0; }
  100% { r: 6; opacity: 0; }
}

/* live activity feed */
.hv-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 6px;
}
.hv-feed-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
}
.hv-live-badge {
  font-size: 9px;
  font-weight: 800;
  color: #f87171;
  letter-spacing: .08em;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hv-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 10px 8px;
}
.hv-feed-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hv-feed-item:hover { background: rgba(255,255,255,.04); }
.hv-feed-item.hv-feed--new {
  animation: feedSlideIn .4s cubic-bezier(.4,0,.2,1);
}
@keyframes feedSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hv-feed-icon { font-size: 14px; flex-shrink: 0; }
.hv-feed-text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  line-height: 1.35;
}
.hv-feed-time {
  font-size: 10px;
  color: rgba(255,255,255,.28);
  flex-shrink: 0;
  font-weight: 500;
}

/* accent left borders */
.hv-feed--blue  { border-left: 2px solid rgba(59,130,246,.5); }
.hv-feed--green { border-left: 2px solid rgba(34,197,94,.5); }
.hv-feed--purple{ border-left: 2px solid rgba(139,92,246,.5); }
.hv-feed--yellow{ border-left: 2px solid rgba(251,191,36,.5); }

/* build status strip */
.hv-build-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  gap: 8px;
}
.hv-build-item {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.hv-build-item span:not(.hv-build-dot) {
  font-size: 9.5px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.hv-build-item strong {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
}
.hv-build-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hv-build--pass .hv-build-dot { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,.5); }
.hv-build--warn .hv-build-dot { background: #fbbf24; }
.hv-build--fail .hv-build-dot { background: #f87171; }

/* glow behind card */
.sandbox-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(59,130,246,.18) 0%,
    rgba(124,58,237,.1) 50%,
    transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 1;  transform: scale(1.08); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(59,130,246,.3);
  color: var(--blue-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.65);
  max-width: 100%;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
}

.stat { padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }

.stat-num {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  margin-right: 32px;
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.3);
  border-bottom: 2px solid rgba(255,255,255,.3);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* ============================
   ABOUT
   ============================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card-stack {
  position: relative;
  width: 320px;
  height: 320px;
}
.about-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(37,99,235,.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 1;
  transition: transform var(--transition);
}
.about-card:hover { transform: translateY(-3px) !important; }

.ac-icon { font-size: 24px; }

.ac1 { top: 20px; left: 0; animation: float1 4s ease-in-out infinite; }
.ac2 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation: float2 4s ease-in-out infinite .5s; }
.ac3 { bottom: 20px; right: 0; animation: float3 4s ease-in-out infinite 1s; }

@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%, 100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-6px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.about-pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--blue-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--dark); }
.pillar p { font-size: 14px; color: var(--mid); margin: 0; line-height: 1.5; }

/* ============================
   PRODUCTS
   ============================ */
.products { background: var(--light); }

/*
  Grid auto-fills: 3 columns at ≥1024px, 2 at ≥640px, 1 below.
  Adding a new card requires zero CSS changes.
*/
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;        /* all cards same height in a row */
}

/* ── Card shell ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--pc-accent, var(--blue)); /* accent from inline style */
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ── Top block: icon + title meta ── */
.pc-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.pc-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-meta { flex: 1; min-width: 0; }

.pc-category {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--pc-accent, var(--blue));
  margin-bottom: 5px;
  opacity: .85;
}

.pc-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 5px;
}

.pc-tagline {
  font-size: 13.5px;
  color: var(--mid);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

/* ── Description ── */
.pc-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ── Feature list ── */
.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
  flex: 1;                     /* pushes footer to bottom */
}
.pc-features li {
  font-size: 13.5px;
  color: var(--dark-3);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

/* SVG checkmark drawn in CSS — no markup needed */
.pc-check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pc-accent, var(--blue)) 12%, transparent);
  position: relative;
  display: inline-block;
}
.pc-check::after {
  content: '';
  position: absolute;
  left: 4px; top: 2px;
  width: 5px; height: 8px;
  border-right: 1.8px solid var(--pc-accent, var(--blue));
  border-bottom: 1.8px solid var(--pc-accent, var(--blue));
  transform: rotate(40deg);
}

/* ── Footer link ── */
.pc-footer { margin-top: auto; }

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pc-accent, var(--blue));
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: gap var(--transition), border-color var(--transition);
}
.pc-link:hover, .pc-link:focus-visible {
  gap: 11px;
  border-bottom-color: var(--pc-accent, var(--blue));
}

/* ============================
   SERVICES
   ============================ */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,.2);
}

.service-icon {
  width: 50px; height: 50px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}

/* ============================
   WHY US
   ============================ */
.why-us { background: var(--light); }

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.why-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-bg);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .05em;
}

.why-point strong { display: block; font-size: 15px; color: var(--dark); margin-bottom: 4px; }
.why-point p { font-size: 14px; color: var(--mid); line-height: 1.6; margin: 0; }

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition);
}
.metric-card:hover { transform: translateY(-3px); }
.metric-card.highlight {
  background: var(--dark);
  border-color: var(--dark);
}
.metric-val {
  font-size: 30px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.metric-card.highlight .metric-val { color: var(--white); }
.metric-label { font-size: 12px; color: var(--mid); font-weight: 500; }
.metric-card.highlight .metric-label { color: rgba(255,255,255,.6); }

.tech-stack {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.tech-label { font-size: 13px; font-weight: 700; color: var(--dark-3); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-3);
  transition: all var(--transition);
}
.tech-tags span:hover {
  background: var(--blue-bg);
  border-color: rgba(37,99,235,.3);
  color: var(--blue);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card.featured-testimonial {
  background: var(--dark);
  border-color: var(--dark);
}
.testimonial-card.featured-testimonial .testimonial-text { color: rgba(255,255,255,.8); }
.testimonial-card.featured-testimonial .stars { color: #fbbf24; }
.testimonial-card.featured-testimonial strong { color: var(--white); }
.testimonial-card.featured-testimonial span { color: rgba(255,255,255,.5); }
.testimonial-card.featured-testimonial .author-avatar { background: rgba(255,255,255,.15); color: var(--white); }

.stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--dark-3); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.author-avatar {
  width: 44px; height: 44px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 2px; }
.testimonial-author span { font-size: 12px; color: var(--mid); }

/* ============================
   CTA BAND
   ============================ */
.cta-band {
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  padding: 72px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.cta-content p { font-size: 17px; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================
   CONTACT
   ============================ */
.contact { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cd-icon {
  width: 40px; height: 40px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); margin-bottom: 2px; }
.contact-detail a, .contact-detail span { font-size: 15px; color: var(--dark); transition: color var(--transition); }
.contact-detail a:hover { color: var(--blue); }

.product-links { margin-top: 8px; }
.product-links strong { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); margin-bottom: 12px; }
.product-link-row { display: flex; gap: 10px; flex-wrap: wrap; }

.product-link-chip {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.blue-chip { background: var(--blue-bg); color: var(--blue); border-color: rgba(37,99,235,.2); }
.blue-chip:hover { background: var(--blue); color: var(--white); }
.purple-chip { background: var(--purple-bg); color: var(--purple); border-color: rgba(124,58,237,.2); }
.purple-chip:hover { background: var(--purple); color: var(--white); }
.green-chip { background: var(--green-bg); color: var(--green); border-color: rgba(22,163,74,.2); }
.green-chip:hover { background: var(--green); color: var(--white); }
.cyan-chip { background: #ecfeff; color: #0891b2; border-color: rgba(8,145,178,.2); }
.cyan-chip:hover { background: #0891b2; color: var(--white); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-3);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  outline: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: var(--green-bg);
  border: 1px solid rgba(22,163,74,.2);
  color: var(--green);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-top: -8px;
}
.form-success[hidden] { display: none; }

/* ============================
   FOOTER
   ============================ */
.footer { background: var(--dark); }

.footer-inner { padding-top: 72px; padding-bottom: 32px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.45); margin: 12px 0 24px; line-height: 1.6; }

.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link:hover { background: var(--blue); color: var(--white); }

.footer-links-group h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.footer-links-group a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer-links-group a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover { background: #1d4ed8; transform: translateY(-2px); }

/* ============================
   SCROLL ANIMATION
   ============================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Hero: stack to single column on tablet */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }
  .sandbox-window { max-width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(15,23,42,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .navbar.scrolled .nav-links { background: rgba(255,255,255,.98); }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
  }
  .navbar.scrolled .nav-links a { color: var(--dark-3); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }

  .hero-inner { padding-top: 120px; padding-bottom: 60px; }

  .hero-stats { gap: 16px; }
  .stat { padding: 0; }
  .stat-divider { display: none; }

  /* Craft visual responsive */
  .hv-pill--tl { top: -10px; left: 0; font-size: 10.5px; }
  .hv-pill--br { bottom: -10px; right: 0; font-size: 10.5px; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 24px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .why-metrics { grid-template-columns: 1fr 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .pc-top { flex-direction: column; gap: 12px; }
  .why-metrics { grid-template-columns: 1fr; }
  .back-to-top { bottom: 20px; right: 20px; }
}
