/* ============================================================
   RAKU MDM — Marketing Site
   Aesthetic: Command Center — dark, atmospheric, technical
   ============================================================ */

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

:root {
  /* palette */
  --bg:       #06090f;
  --bg-sub:   #0a0f1a;
  --surface:  #0e1525;
  --surface-2:#131d30;
  --border:   rgba(75, 243, 193, 0.08);
  --border-2: rgba(75, 243, 193, 0.15);
  --text:     #e4ecf4;
  --text-2:   #8fa3bc;
  --text-3:   #5a7291;
  --accent:   #4bf3c1;
  --accent-dim: rgba(75, 243, 193, 0.12);
  --amber:    #f0b44a;
  --red:      #ef6b6b;

  /* typography */
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'Menlo', monospace;

  /* spacing */
  --s-xs:  0.5rem;
  --s-sm:  1rem;
  --s-md:  1.5rem;
  --s-lg:  3rem;
  --s-xl:  5rem;
  --s-2xl: 8rem;

  /* misc */
  --radius:   10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* grid noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(75, 243, 193, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 243, 193, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-md);
  position: relative;
  z-index: 1;
}

/* --- SECTION HELPERS --- */
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  max-width: 700px;
}

.section-sub {
  color: var(--text-2);
  font-size: 1.1rem;
  max-width: 580px;
  margin-top: var(--s-sm);
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--s-xl);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #06090f;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: #3dd9ac;
  box-shadow: 0 0 30px rgba(75, 243, 193, 0.25);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.btn--lg {
  padding: 14px 30px;
  font-size: 0.95rem;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--s-md);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(6, 9, 15, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav__logo-mdm {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(75, 243, 193, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 7px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* (nav__gh removed — no GitHub link in SaaS version) */

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--s-2xl) var(--s-md) var(--s-xl);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(75, 243, 193, 0.04), transparent),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(240, 180, 74, 0.025), transparent);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

.hero__glow--teal {
  width: 500px;
  height: 500px;
  left: -10%;
  top: 10%;
  background: rgba(75, 243, 193, 0.06);
}

.hero__glow--amber {
  width: 400px;
  height: 400px;
  right: -5%;
  bottom: 15%;
  background: rgba(240, 180, 74, 0.04);
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(75, 243, 193, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--s-md);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  margin-top: var(--s-md);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 520px;
}

.hero__cta {
  margin-top: var(--s-lg);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__proof {
  margin-top: var(--s-xl);
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero__proof-item {
  display: flex;
  flex-direction: column;
}

.hero__proof-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}

.hero__proof-label {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.hero__proof-sep {
  width: 1px;
  height: 36px;
  background: var(--border-2);
}

/* --- DASHBOARD PREVIEW --- */
.dashboard-preview {
  background: #0a0e18;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(75, 243, 193, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  opacity: 0;
  animation: dashFadeIn 0.8s ease 0.3s forwards;
}

@keyframes dashFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dashboard-preview__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal__dot--red   { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green  { background: #28c840; }

.dashboard-preview__url {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  background: rgba(255,255,255,0.03);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.dashboard-preview__body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 280px;
}

/* sidebar mock */
.dash-sidebar {
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--border);
  padding: 16px 0;
}

.dash-sidebar__logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.dash-sidebar__logo span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(75, 243, 193, 0.08);
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

.dash-sidebar__item {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 7px 16px;
  cursor: default;
  transition: color var(--transition);
}

.dash-sidebar__item--active {
  color: var(--text);
  background: rgba(75, 243, 193, 0.06);
  border-right: 2px solid var(--accent);
}

/* main content mock */
.dash-main {
  padding: 16px 20px;
}

.dash-topbar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.dash-topbar__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.dash-topbar__count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  background: var(--accent-dim);
  padding: 2px 8px;
  border-radius: 4px;
}

.dash-table {
  font-size: 0.7rem;
}

.dash-table__head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-2);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.dash-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  opacity: 0;
  animation: dashRowIn 0.3s ease forwards;
}

.dash-table__row:nth-child(2) { animation-delay: 0.5s; }
.dash-table__row:nth-child(3) { animation-delay: 0.65s; }
.dash-table__row:nth-child(4) { animation-delay: 0.8s; }
.dash-table__row:nth-child(5) { animation-delay: 0.95s; }
.dash-table__row:nth-child(6) { animation-delay: 1.1s; }

@keyframes dashRowIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.dash-plat { color: var(--text-3); }

.dash-status {
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-status--ok   { color: #28c840; }
.dash-status--warn { color: var(--amber); }
.dash-status--off  { color: var(--text-3); }

/* keep terminal colors for DX code blocks */
.t-prompt  { color: var(--accent); }
.t-cmd     { color: var(--text); font-weight: 500; }
.t-muted   { color: var(--text-3); }
.t-success { color: #28c840; }
.t-accent  { color: var(--accent); }
.t-link    { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* --- PROBLEM / SOLUTION --- */
.problem {
  padding: var(--s-2xl) 0;
  position: relative;
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-xl);
  align-items: start;
}

.problem__headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  position: sticky;
  top: 100px;
}

.problem__right {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.problem__card {
  padding: var(--s-md) var(--s-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.problem__card h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-sm);
}

.problem__card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem__card li {
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.problem__card li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85rem;
}

.problem__card--pain {
  background: rgba(239, 107, 107, 0.04);
  border-color: rgba(239, 107, 107, 0.12);
}

.problem__card--pain h4 { color: var(--red); }
.problem__card--pain li { color: var(--text-2); }
.problem__card--pain li::before { content: '✕'; color: var(--red); }

.problem__card--gain {
  background: rgba(75, 243, 193, 0.04);
  border-color: rgba(75, 243, 193, 0.12);
}

.problem__card--gain h4 { color: var(--accent); }
.problem__card--gain li { color: var(--text); }
.problem__card--gain li::before { content: '✓'; color: var(--accent); }

/* --- FEATURES --- */
.features {
  padding: var(--s-2xl) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--surface);
  padding: var(--s-lg) var(--s-md);
  transition: background var(--transition);
  position: relative;
}

.feature-card:hover {
  background: var(--surface-2);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--s-md);
  right: var(--s-md);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover::after {
  opacity: 0.3;
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: var(--s-md);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* --- PLATFORMS --- */
.platforms {
  padding: var(--s-2xl) 0;
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-sm);
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-lg) var(--s-md);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-dim), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}

.platform-card__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--s-sm);
  color: var(--text-2);
  transition: color var(--transition);
}

.platform-card:hover .platform-card__icon {
  color: var(--accent);
}

.platform-card__icon svg {
  width: 100%;
  height: 100%;
}

.platform-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
}

.platform-card p {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.5;
  position: relative;
}

/* --- GITOPS --- */
.gitops {
  padding: var(--s-2xl) 0;
}

.gitops__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: center;
}

.gitops__list {
  margin-top: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.gitops__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 2px solid var(--border-2);
  transition: border-color var(--transition);
}

.gitops__list li:hover {
  border-left-color: var(--accent);
}

.gitops__list strong {
  font-size: 0.95rem;
  color: var(--text);
}

.gitops__list span {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* file tree */
.gitops__file-tree {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.gitops__file-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}

.gitops__tree {
  padding: 16px 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 2;
}

.gitops__folder {
  margin-bottom: 8px;
}

.gitops__folder-name {
  color: var(--amber);
  font-weight: 500;
}

.gitops__file {
  color: var(--text-3);
  padding-left: 20px;
  position: relative;
}

.gitops__file::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--border-2);
}

/* --- CONTACT --- */
.contact {
  padding: var(--s-2xl) 0;
}

.contact__inner {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: var(--s-xl);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact__inner::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75, 243, 193, 0.06), transparent 65%);
  pointer-events: none;
}

.notify__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(75, 243, 193, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--s-md);
  position: relative;
}

.contact__inner .section-title {
  max-width: 100%;
}

.contact__sub {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: var(--s-sm) auto 0;
  position: relative;
}

.contact__email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: var(--s-lg);
  padding: 14px 32px;
  border: 1px solid rgba(75, 243, 193, 0.2);
  border-radius: 10px;
  background: var(--accent-dim);
  transition: all var(--transition);
  position: relative;
}

.contact__email:hover {
  background: rgba(75, 243, 193, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(75, 243, 193, 0.1);
  transform: translateY(-1px);
}

/* --- FOOTER --- */
.footer {
  padding: var(--s-xl) 0 var(--s-lg);
  border-top: 1px solid var(--border);
  margin-top: var(--s-lg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: var(--s-xl);
}

.footer__brand p {
  color: var(--text-3);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer__links {
  display: flex;
  gap: var(--s-xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  margin-top: var(--s-lg);
  padding-top: var(--s-md);
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* --- SCROLL ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.20s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.30s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.40s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    min-height: auto;
  }

  .hero__visual {
    max-width: 600px;
  }

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

  .platforms__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .problem__headline {
    position: static;
  }

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

@media (max-width: 640px) {
  .nav__links { display: none; }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__proof {
    gap: 16px;
  }

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

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

  .footer__inner {
    flex-direction: column;
  }
}
