/* ============================================================
   THE PRIME TASKS — Main Stylesheet
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:       #0A0F2C;
  --navy-mid:   #0E1540;
  --navy-light: #141B52;
  --indigo:     #4F46E5;
  --indigo-light: #6D63FF;
  --violet:     #7C3AED;
  --cyan:       #06B6D4;
  --white:      #FFFFFF;
  --off-white:  #E8EAF6;
  --muted:      #8892B0;
  --card-bg:    rgba(14, 21, 64, 0.7);
  --border:     rgba(79, 70, 229, 0.25);
  --glow:       rgba(79, 70, 229, 0.4);
  --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:     12px;
  --radius-lg:  20px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 3px; }

/* ---------- Utility ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--indigo-light);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section-title span {
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
}

/* ---------- Gradient Orbs (ambient) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ============================================================
   HEADER / BRAND BAR
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background: rgba(10, 15, 44, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}

.header-contact:hover { color: var(--indigo-light); }

.header-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 15, 44, 0.88) 0%,
    rgba(10, 15, 44, 0.65) 50%,
    rgba(10, 15, 44, 0.85) 100%
  );
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--indigo-light);
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease both;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease infinite;
}

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.9s ease 0.1s both;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.9s ease 0.2s both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.55);
}

.btn-primary svg { width: 18px; height: 18px; }

.hero-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num span {
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: fadeIn 1.2s ease 1s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--muted);
  border-radius: 11px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--indigo-light);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}

/* ============================================================
   ABOUT / INTRO SECTION
   ============================================================ */
#about {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.about-img-wrap:hover img { transform: scale(1.03); }

.about-img-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--indigo), var(--violet), var(--cyan));
  z-index: -1;
  opacity: 0.5;
  filter: blur(12px);
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.about-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-badge-icon svg { width: 20px; height: 20px; color: white; }

.about-badge-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.about-badge-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================================
   WORKFLOW / PIPELINE SECTION
   ============================================================ */
#workflow {
  background: var(--navy-mid);
  overflow: hidden;
}

.workflow-header {
  text-align: center;
  margin-bottom: 72px;
}

.workflow-header .section-desc {
  margin: 0 auto;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--cyan) 100%);
  z-index: 0;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pipeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.pipeline-step:nth-child(1) { transition-delay: 0s; }
.pipeline-step:nth-child(2) { transition-delay: 0.15s; }
.pipeline-step:nth-child(3) { transition-delay: 0.3s; }
.pipeline-step:nth-child(4) { transition-delay: 0.45s; }

.step-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(79,70,229,0.1), 0 8px 24px rgba(0,0,0,0.3);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pipeline-step:hover .step-icon-wrap {
  border-color: var(--cyan);
  box-shadow: 0 0 0 8px rgba(6,182,212,0.12), 0 8px 32px rgba(0,0,0,0.4);
}

.step-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--indigo-light);
  transition: color var(--transition);
}

.pipeline-step:hover .step-icon-wrap svg { color: var(--cyan); }

.step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   FEATURES / PILLARS SECTION
   ============================================================ */
#features {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  overflow: hidden;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(79,70,229,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,70,229,0.2);
  transform: translateY(-4px) !important;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg { width: 26px; height: 26px; }

.fi-indigo { background: rgba(79,70,229,0.15); }
.fi-indigo svg { color: var(--indigo-light); }
.fi-violet { background: rgba(124,58,237,0.15); }
.fi-violet svg { color: #A78BFA; }
.fi-cyan   { background: rgba(6,182,212,0.15); }
.fi-cyan   svg { color: var(--cyan); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   INFRASTRUCTURE SECTION
   ============================================================ */
#infrastructure {
  background: var(--navy);
  overflow: hidden;
}

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

.infra-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.infra-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.infra-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.infra-item:nth-child(1) { transition-delay: 0s; }
.infra-item:nth-child(2) { transition-delay: 0.1s; }
.infra-item:nth-child(3) { transition-delay: 0.2s; }
.infra-item:nth-child(4) { transition-delay: 0.3s; }
.infra-item:nth-child(5) { transition-delay: 0.4s; }

.infra-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(79,70,229,0.35);
}

.infra-check svg { width: 12px; height: 12px; color: white; }

.infra-item-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.infra-item-text p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.infra-visual {
  position: relative;
}

.infra-card-stack {
  position: relative;
  height: 420px;
}

.infra-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.infra-card-main {
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
}

.infra-card-float {
  width: 220px;
  bottom: 20px;
  right: -20px;
  animation: floatCard 4s ease-in-out infinite;
}

.infra-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.infra-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28CA41; }

.infra-card-title {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-left: 4px;
}

.infra-progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.infra-progress-item label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.infra-progress-item label span:last-child {
  color: var(--indigo-light);
  font-weight: 600;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.animated { width: var(--target-width); }

.infra-float-stat {
  text-align: center;
}

.infra-float-stat .big-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.infra-float-stat .big-num span {
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.infra-float-stat p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--cyan));
}

.contact-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(79,70,229,0.4);
}

.contact-icon-wrap svg { width: 32px; height: 32px; color: white; }

.contact-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 100px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(79,70,229,0.4);
}

.contact-email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(79,70,229,0.55);
}

.contact-email-link svg { width: 20px; height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo { height: 32px; width: auto; }

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-right {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-right a {
  color: var(--indigo-light);
  transition: color var(--transition);
}

.footer-right a:hover { color: var(--cyan); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.5; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--cyan); }
  50%       { box-shadow: 0 0 16px var(--cyan), 0 0 24px var(--cyan); }
}

@keyframes scrollDot {
  0%   { top: 5px; opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 5px; opacity: 0; }
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .infra-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual { order: -1; }

  .pipeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .pipeline::before { display: none; }

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

  .infra-card-stack { height: 360px; }
}

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

  .hero-stat-row { gap: 24px; }

  .pipeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 40px 24px;
  }

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

  .infra-card-float {
    display: none;
  }

  .infra-card-stack { height: auto; }
  .infra-card-main { position: relative; }
}
