/* ============================================
   KRAWL Homepage — Vanilla CSS
   Namespace: hp- (to avoid conflicts with frontend-bundle.min.css)
   ============================================ */

/* ---------- Reset / Base ---------- */
.hp-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #001327;
  line-height: 1.5;
}

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

/* ---------- Scroll progress bar ---------- */
.hp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #39FF12, #39FF12aa);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Reveal animation ---------- */
.hp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hp-reveal-delay-1 { transition-delay: 0.1s; }
.hp-reveal-delay-2 { transition-delay: 0.2s; }
.hp-reveal-delay-3 { transition-delay: 0.3s; }
.hp-reveal-delay-4 { transition-delay: 0.4s; }
.hp-reveal-delay-5 { transition-delay: 0.5s; }
.hp-reveal-delay-6 { transition-delay: 0.6s; }
.hp-reveal-delay-7 { transition-delay: 0.7s; }

/* ---------- Shared layout ---------- */
.hp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hp-container--wide {
  max-width: 1400px;
}

.hp-container--narrow {
  max-width: 900px;
}

/* ---------- Section tagline ---------- */
.hp-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  margin-bottom: 1rem;
}

.hp-tagline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  transition: width 0.6s ease 0.2s;
}

.hp-tagline.is-visible::after {
  width: 100%;
}

.hp-tagline--dark { color: #001327; }
.hp-tagline--dark::after { background: #001327; }
.hp-tagline--green { color: #39FF12; }
.hp-tagline--green::after { background: #39FF12; }

/* ============================================
   HERO SECTION
   ============================================ */
.hp-hero {
  position: relative;
  background: linear-gradient(135deg, #001327 0%, #001a3a 50%, #001327 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Grid background */
.hp-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(57,255,18,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,18,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Particles */
.hp-hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hp-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #39FF12;
  border-radius: 50%;
  opacity: 0;
  animation: hp-particle-float linear infinite;
}

@keyframes hp-particle-float {
  0%   { opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.2; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}

.hp-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left column */
.hp-hero__copy {
  max-width: 560px;
}

.hp-hero__h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hp-hero__underline {
  position: relative;
  display: inline-block;
}

.hp-hero__underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #39FF12;
  animation: hp-underline-reveal 0.8s ease 0.5s forwards;
}

@keyframes hp-underline-reveal {
  to { width: 100%; }
}

.hp-hero__accent {
  color: #39FF12;
}

.hp-hero__lead {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hp-hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Primary CTA button */
.hp-btn-primary {
  display: inline-block;
  background: #39FF12;
  color: #001327;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hp-btn-primary:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(57,255,18,0.5);
}

/* Ghost link */
.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-btn-ghost:hover { color: #39FF12; }

.hp-btn-ghost__arrow {
  display: inline-block;
  animation: hp-bounce-y 1.5s ease infinite;
}

@keyframes hp-bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* Hero card (right column) */
.hp-hero__card-wrap {
  max-width: 420px;
  margin-left: auto;
}

.hp-hero__card {
  background: linear-gradient(135deg, #0a1f35, #051220);
  border: 2px solid rgba(57,255,18,0.3);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hp-hero__card-label {
  color: #6b7280;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hp-hero__card-dot {
  width: 8px;
  height: 8px;
  background: #39FF12;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Status rows */
.hp-hero__status-rows { display: flex; flex-direction: column; gap: 1rem; }

.hp-hero__status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateX(-10px);
  animation: hp-slide-in-x 0.5s ease forwards;
}

.hp-hero__status-row:last-child { border-bottom: none; }
.hp-hero__status-row:nth-child(1) { animation-delay: 0.6s; }
.hp-hero__status-row:nth-child(2) { animation-delay: 0.7s; }
.hp-hero__status-row:nth-child(3) { animation-delay: 0.8s; }

@keyframes hp-slide-in-x {
  to { opacity: 1; transform: translateX(0); }
}

.hp-hero__status-label { color: #fff; font-size: 0.95rem; }

.hp-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hp-badge--green {
  background: #39FF12;
  color: #001327;
  box-shadow: 0 0 20px rgba(57,255,18,0.3);
}

.hp-badge--amber {
  background: #f59e0b;
  color: #001327;
  box-shadow: 0 0 20px rgba(245,158,11,0.3);
}

/* Score ring */
.hp-score-ring {
  margin-top: 2rem;
  text-align: center;
  opacity: 0;
  animation: hp-fade-in 0.5s ease 1s forwards;
}

@keyframes hp-fade-in {
  to { opacity: 1; }
}

.hp-score-ring__svg {
  width: 9rem;
  height: 9rem;
  transform: rotate(-90deg);
}

.hp-score-ring__track {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 8;
}

.hp-score-ring__fill {
  fill: none;
  stroke: #39FF12;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.3;
  stroke-dashoffset: 251.3;
  filter: drop-shadow(0 0 8px rgba(57,255,18,0.5));
  animation: hp-ring-fill 1.5s ease 1.2s forwards;
}

@keyframes hp-ring-fill {
  to { stroke-dashoffset: 15.1; } /* 94% fill: 251.3 * 0.06 = 15.1 */
}

.hp-score-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hp-score-ring__wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-score-ring__number {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  animation: hp-fade-in 0.5s ease 1.5s forwards;
}

.hp-score-ring__denom { color: #6b7280; font-size: 0.85rem; }
.hp-score-ring__caption {
  color: #6b7280;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

/* ============================================
   TRUST BAR SECTION
   ============================================ */
.hp-trust {
  background: #001327;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.hp-trust__glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #39FF12, transparent);
  animation: hp-glow-line 3s ease infinite;
}

@keyframes hp-glow-line {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}

/* Stats grid */
.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.hp-stat {
  text-align: center;
  padding: 0 1rem;
}

.hp-stat__number {
  color: #39FF12;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.hp-stat__label {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Logo carousel */
.hp-logos {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2.5rem;
  overflow: hidden;
}

.hp-logos__track {
  display: flex;
  gap: 4rem;
  animation: hp-carousel-scroll 30s linear infinite;
  width: max-content;
}

@keyframes hp-carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hp-logos__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hp-logos__img {
  height: 3rem;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%) brightness(2);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.hp-logos__img:hover {
  opacity: 0.9;
  filter: grayscale(0%) brightness(1);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.hp-services {
  background: #fafbfc;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hp-services__bg {
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: #001327;
  opacity: 0.02;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hp-section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.hp-section-heading__h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #001327;
  margin-bottom: 1.25rem;
}

.hp-section-heading__h2--white { color: #fff; }

.hp-section-heading__lead {
  color: #374151;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}

.hp-section-heading__lead--muted { color: rgba(255,255,255,0.8); }

/* Service cards grid */
.hp-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.hp-service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hp-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(to bottom, #001327, rgba(0,19,39,0.5));
  border-radius: 1rem 0 0 1rem;
  transition: height 0.3s ease;
}

.hp-service-card:hover {
  box-shadow: 0 12px 32px rgba(0,19,39,0.12);
  transform: translateY(-8px);
}

.hp-service-card:hover::before { height: 100%; }

/* Service icon */
.hp-service-card__icon {
  width: 5rem; height: 5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(0,19,39,0.05), rgba(0,19,39,0.1));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hp-service-card:hover .hp-service-card__icon { transform: scale(1.1); }

.hp-service-card__icon svg {
  width: 2.5rem; height: 2.5rem;
  stroke: #001327;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-service-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #001327;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hp-service-card__desc {
  color: #374151;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hp-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #001327;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.hp-service-card__link:hover { gap: 0.75rem; }

/* ============================================
   WHAT WE FIX SECTION
   ============================================ */
.hp-fix {
  background: linear-gradient(135deg, #001327 0%, #001a3a 50%, #001327 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hp-fix__blob-1 {
  position: absolute;
  top: 5rem; right: 0;
  width: 500px; height: 500px;
  background: #39FF12; opacity: 0.02;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-fix__blob-2 {
  position: absolute;
  bottom: 5rem; left: 0;
  width: 400px; height: 400px;
  background: #39FF12; opacity: 0.03;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-fix__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hp-fix-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.hp-fix-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(57,255,18,0.3);
  transform: translateY(-4px);
}

.hp-fix-card__num {
  width: 2rem; height: 2rem;
  background: rgba(57,255,18,0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.hp-fix-card__num span {
  color: #39FF12;
  font-size: 0.85rem;
  font-weight: 700;
}

.hp-fix-card__arrow {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hp-fix-card:hover .hp-fix-card__arrow { opacity: 1; }

.hp-fix-card__arrow svg {
  width: 1.25rem; height: 1.25rem;
  stroke: #39FF12;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-fix-card__text {
  color: #fff;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.7;
}

.hp-fix-card__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #39FF12, transparent);
  width: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  transition: width 0.5s ease;
}

.hp-fix-card:hover .hp-fix-card__bar { width: 100%; }

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.hp-industries {
  background: #fafbfc;
  border-top: 1px solid rgba(0,19,39,0.1);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hp-industries__blob {
  position: absolute;
  bottom: 0; left: 0;
  width: 500px; height: 500px;
  background: #001327; opacity: 0.02;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-callout {
  background: linear-gradient(90deg, #001327, #002040);
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-width: 850px;
  margin: 0 auto 4rem;
}

.hp-callout p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
}

.hp-industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.hp-industry-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.hp-industry-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #001327, rgba(0,19,39,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1rem 1rem 0 0;
}

.hp-industry-card:hover {
  box-shadow: 0 12px 32px rgba(0,19,39,0.1);
  transform: translateY(-4px);
}

.hp-industry-card:hover::after { opacity: 1; }

/* Badge */
.hp-industry-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: #001327;
  color: #39FF12;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

/* Icon */
.hp-industry-card__icon {
  width: 4rem; height: 4rem;
  margin-bottom: 1.25rem;
}

/* Grid icon (e-commerce) */
.hp-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
  height: 100%;
}

.hp-icon-grid__cell {
  border-radius: 3px;
  background: rgba(0,19,39,0.2);
}

.hp-icon-grid__cell--dark { background: #001327; }

/* Pyramid icon (publishers) */
.hp-icon-pyramid {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.hp-icon-pyramid__bar {
  border-radius: 3px;
  height: 12px;
  margin: 0 auto;
}

.hp-icon-pyramid__bar--1 { width: 50%; background: #001327; }
.hp-icon-pyramid__bar--2 { width: 75%; background: rgba(0,19,39,0.4); }
.hp-icon-pyramid__bar--3 { width: 100%; background: rgba(0,19,39,0.2); }

/* Nodes SVG icon */
.hp-icon-nodes {
  width: 100%; height: 100%;
}

.hp-industry-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #001327;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.hp-industry-card__h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001327;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.hp-industry-card__desc {
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.hp-industry-card__pain {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hp-industry-card__pain li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #374151;
  font-size: 0.85rem;
  line-height: 1.7;
}

.hp-industry-card__pain li::before {
  content: '–';
  color: #001327;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Industries footer */
.hp-industries__footer { text-align: center; }

.hp-industries__footer p {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.hp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #001327;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.hp-link-arrow:hover { gap: 0.75rem; }

/* ============================================
   CASE STUDIES SECTION
   ============================================ */
.hp-cases {
  background: #001327;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hp-cases__blob-1 {
  position: absolute;
  top: 5rem; left: 0;
  width: 400px; height: 400px;
  background: #39FF12; opacity: 0.03;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-cases__blob-2 {
  position: absolute;
  bottom: 5rem; right: 0;
  width: 500px; height: 500px;
  background: #39FF12; opacity: 0.02;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-cases__inner {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 4rem;
  align-items: start;
}

.hp-cases__intro {
  position: sticky;
  top: 6rem;
}

.hp-cases__intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hp-cases__intro p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hp-link-arrow--green {
  color: #39FF12;
}

.hp-link-arrow--green:hover { color: #39FF12; opacity: 0.8; }

/* Case study cards */
.hp-cases__cards { display: flex; flex-direction: column; gap: 1.5rem; }

.hp-case-card {
  position: relative;
  background: linear-gradient(135deg, #0a1f35, #051525);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-case-card:hover {
  border-color: rgba(57,255,18,0.3);
  box-shadow: 0 0 40px rgba(57,255,18,0.1);
}

.hp-case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #39FF12, rgba(57,255,18,0.5));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hp-case-card:hover::before { opacity: 1; }

/* Metric strip */
.hp-case-card__metrics {
  background: linear-gradient(135deg, rgba(57,255,18,0.08), rgba(57,255,18,0.03));
  border-bottom: 1px solid rgba(57,255,18,0.12);
  padding: 1.5rem 2rem;
}

.hp-case-card__metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.1);
  gap: 0;
}

.hp-metric {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.hp-metric:last-child { border-right: none; }

.hp-metric__icon {
  width: 1.25rem; height: 1.25rem;
  stroke: rgba(57,255,18,0.6);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 0.5rem;
  display: block;
}

.hp-metric__value {
  color: #39FF12;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hp-metric__label {
  color: #9ca3af;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Card body */
.hp-case-card__body { padding: 1.75rem 2rem; }

.hp-case-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.hp-case-card:hover .hp-case-card__title { color: #39FF12; }

.hp-case-card__desc {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.hp-testimonials {
  background: #fafbfc;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hp-testimonials__blob {
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: #001327; opacity: 0.02;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-testimonial-box {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  margin-bottom: 3.5rem;
}

.hp-testimonial-box__quote-icon {
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 4rem; height: 4rem;
  background: linear-gradient(135deg, #001327, #002040);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hp-testimonial-box__quote-icon svg {
  width: 2rem; height: 2rem;
  fill: #39FF12;
}

.hp-testimonial__slide {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: none;
}

.hp-testimonial__slide.is-active { display: block; }

.hp-testimonial__text {
  color: #1f2937;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hp-testimonial__author { color: #001327; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.hp-testimonial__meta { color: #6b7280; font-size: 0.9rem; }

/* Testimonial nav */
.hp-testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hp-testimonial-btn {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hp-testimonial-btn svg {
  width: 1.25rem; height: 1.25rem;
  stroke: #001327;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.hp-testimonial-btn:hover {
  border-color: #001327;
  background: #001327;
}

.hp-testimonial-btn:hover svg { stroke: #fff; }

/* Dots */
.hp-testimonial-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hp-testimonial-dot {
  height: 10px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
  width: 10px;
}

.hp-testimonial-dot.is-active {
  width: 2rem;
  background: #001327;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.hp-process {
  background: #001327;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hp-process__steps-desktop {
  display: block;
}

.hp-process__steps-mobile {
  display: none;
}

/* Desktop: horizontal */
.hp-process__track {
  position: relative;
  margin-top: 0;
}

.hp-process__line-bg {
  position: absolute;
  top: 4.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255,255,255,0.1);
}

.hp-process__line-fill {
  position: absolute;
  top: 4.5rem;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, #39FF12, rgba(57,255,18,0.5));
  width: 0;
  transition: width 2s ease 0.5s;
}

.hp-process__line-fill.is-visible { width: 80%; }

.hp-process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.hp-process-step {
  text-align: center;
  position: relative;
}

.hp-process-step__icon {
  width: 5rem; height: 5rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #0a1f35, #051220);
  border: 2px solid rgba(57,255,18,0.3);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.hp-process-step__icon:hover {
  border-color: rgba(57,255,18,0.6);
  transform: scale(1.1);
}

.hp-process-step__icon svg {
  width: 2rem; height: 2rem;
  stroke: #39FF12;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-process-step__num {
  color: #39FF12;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hp-process-step__title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hp-process-step__desc {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Mobile: vertical */
.hp-process__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hp-process-step-mobile {
  position: relative;
  padding-left: 5.5rem;
}

.hp-process-step-mobile__icon-wrap {
  position: absolute;
  left: 0; top: 0;
}

.hp-process-step-mobile__line {
  position: absolute;
  left: 2.4rem;
  top: 5rem;
  width: 2px;
  height: calc(100% + 2.5rem);
  background: rgba(255,255,255,0.1);
}

.hp-process-step-mobile__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hp-process-step-mobile__desc {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.hp-cta {
  background: linear-gradient(135deg, #001327 0%, #001a3a 50%, #001327 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hp-cta__blob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: #39FF12; opacity: 0.03;
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}

.hp-cta__grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(57,255,18,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,18,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hp-cta__inner { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

.hp-cta__h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hp-cta__underline {
  position: relative;
  display: inline-block;
}

.hp-cta__underline.is-visible::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 3px;
  width: 100%;
  background: #39FF12;
  animation: hp-underline-reveal 0.8s ease 0.3s both;
}

.hp-cta__p {
  color: #9ca3af;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hp-btn-cta {
  display: inline-block;
  background: #39FF12;
  color: #001327;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-btn-cta::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: #39FF12;
  opacity: 0.5;
  filter: blur(16px);
  z-index: -1;
  transition: opacity 0.3s ease;
}

.hp-btn-cta:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(57,255,18,0.6);
}

.hp-btn-cta:hover::after { opacity: 0.75; }

.hp-cta__small {
  color: #6b7280;
  font-size: 0.9rem;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hp-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hp-hero__copy { max-width: 100%; margin: 0 auto; }

  .hp-hero__actions {
    justify-content: center;
  }

  .hp-hero__card-wrap { display: none; }

  .hp-cases__inner {
    grid-template-columns: 1fr;
  }

  .hp-cases__intro {
    position: static;
  }

  .hp-process__steps-desktop { display: none; }
  .hp-process__steps-mobile { display: block; }
  .hp-process__steps-mobile .hp-process-step__num { display: none; }
  .hp-process__steps-mobile .hp-process-step__icon { margin-bottom: 0; }

  .hp-industries__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hp-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .hp-services__grid { grid-template-columns: 1fr; }

  .hp-fix__grid { grid-template-columns: 1fr; }

  .hp-industries__grid { grid-template-columns: 1fr; }

  .hp-cases {
    padding: 4rem 0;
  }

  .hp-cases__blob-1,
  .hp-cases__blob-2 {
    display: none;
  }

  .hp-cases__inner {
    gap: 2rem;
  }

  .hp-cases__intro h2 {
    font-size: 1.9rem;
    line-height: 1.15;
  }

  .hp-case-card__metrics {
    padding: 1.25rem 1rem;
  }

  .hp-case-card__metrics-grid {
    grid-template-columns: 1fr;
  }

  .hp-metric {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 0;
  }

  .hp-metric:last-child {
    border-bottom: none;
  }

  .hp-metric__value {
    font-size: 1.6rem;
  }

  .hp-case-card__body {
    padding: 1.25rem 1rem;
  }

  .hp-testimonial-box { padding: 2rem 1.5rem; }

  .hp-testimonial-box__quote-icon {
    top: -1rem; left: -0.5rem;
    width: 3rem; height: 3rem;
  }
}
