:root {
  --bg: #05070d;
  --bg-soft: #0a0d16;
  --text: #f5f7fb;
  --muted: #9ba6bd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8b0f1a;
  --accent-2: #c21f32;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);

  /* Tokens for the modern lower sections (mapped to the site palette) */
  --accent-3: #ef5466;
  --ink: var(--text);
  --faint: #76819b;
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-2: rgba(255, 255, 255, 0.17);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --red: var(--accent-2);
  --orange: var(--accent-3);
  --green: #34d399;
  --bg-2: var(--bg-soft);
  --grad: linear-gradient(100deg, #b3142a 0%, #c21f32 40%, #ef5466 100%);
  --grad-soft: linear-gradient(100deg, rgba(139, 15, 26, 0.20), rgba(239, 84, 102, 0.14));
  --glow: rgba(194, 31, 50, 0.40);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --display: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 15, 26, 0.20), transparent 28rem),
    radial-gradient(circle at 85% 5%, rgba(194, 31, 50, 0.16), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
section { scroll-margin-top: 6.2rem; }
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; }

/* Layout container for the modern lower sections (gutters match .section) */
.container {
  width: min(1240px, 100% - clamp(2rem, 10vw, 10rem));
  margin-inline: auto;
}

/* Margin/padding normalisation, scoped to the new sections only */
:where(#stats, #about, #build, #process, #contact, .site-footer-modern)
  :where(h2, h3, h4, p, ul, li, small) {
  margin: 0;
  padding: 0;
}
:where(#stats, #about, #build, #process, #contact) :where(h2, h3) {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.05;
  z-index: 1;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 15, 26, 0.14), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.92), rgba(5, 7, 13, 0.52), transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 44px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 30px rgba(139, 15, 26, 0.18);
  overflow: hidden;
}

.brand-fallback {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  color: #05070d;
}

.brand-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 94%;
  height: 94%;
  object-fit: contain;
  z-index: 2;
}

.desktop-nav {
  display: flex;
  gap: 1.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--text); }

.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-button span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.33rem auto;
  background: var(--text);
}
.mobile-nav { display: none; }

.section {
  position: relative;
  z-index: 2;
  padding: clamp(4.8rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

/* ================================================================
   HERO (unchanged)
   ================================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.56fr);
  align-items: center;
  gap: 2.6rem;
  padding-top: 7.8rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.orb { position: absolute; border-radius: 50%; filter: blur(20px); }
.orb-one {
  width: 28rem;
  height: 28rem;
  top: 12%;
  right: 7%;
  background: rgba(194, 31, 50, 0.18);
}
.orb-two {
  width: 20rem;
  height: 20rem;
  left: 18%;
  bottom: 3%;
  background: rgba(139, 15, 26, 0.18);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3.8rem, 10vw, 9.7rem);
  line-height: 0.86;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 251, 0.72);
}
.hero-copy {
  max-width: 640px;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.74;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 38px rgba(139, 15, 26, 0.36);
}
.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
}

.terminal-card {
  align-self: end;
  margin-bottom: 4.8rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(5, 7, 13, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.terminal-top {
  display: flex;
  gap: .45rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.terminal-top span {
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
}
.terminal-body {
  padding: 1.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  color: var(--muted);
}
.terminal-body p { margin: 0 0 0.85rem; }
.terminal-body em { color: var(--accent-2); font-style: normal; }
.terminal-body strong { color: var(--text); }

.hero-marquee {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  color: rgba(245, 247, 251, 0.14);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 6rem);
  letter-spacing: -0.08em;
  white-space: nowrap;
  overflow: hidden;
}
.hero-marquee div {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 370s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 1.2rem)); }
}

/* ================================================================
   MODERN LOWER SECTIONS — shared primitives
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--glow);
  animation: pulse 3.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.g-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(15.5px, 1.25vw, 18px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}
.sec-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(48px, 7vh, 72px);
}
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 760px; }
#build .sec-head h2 { font-size: clamp(30px, 4vw, 51px); max-width: 840px; white-space: nowrap; }
@media (max-width: 700px) { #build .sec-head h2 { white-space: normal; } }
.sec-head .lead { text-align: center; }

/* scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s ease, transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

/* spotlight cards */
.spot { position: relative; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 58, 78, 0.10), transparent 42%);
  opacity: 0;
  transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* glass card */
.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}

/* modern buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 13px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
  white-space: nowrap;
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn-grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--glow); }
.btn-grad:hover::after { transform: translateX(120%); transition: transform .8s ease; }
.btn-glass {
  background: var(--glass);
  border: 1px solid var(--stroke-2);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover {
  border-color: rgba(239, 84, 102, 0.55);
  background: var(--glass-2);
  transform: translateY(-2px);
}
.btn-xl { padding: 18px 36px; font-size: 15px; }

.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.win-dots span:first-child { background: var(--red); }

/* ================================================================
   STATS
   ================================================================ */
#stats {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 10vh, 110px) 0 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  padding: clamp(26px, 3vw, 36px);
  text-align: left;
  transition: transform .45s var(--ease), border-color .45s, background .45s;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 58, 78, 0.40);
  background: var(--glass-2);
}
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(21px, 2vw, 33px);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-num .unit { font-size: .42em; }
.stat-card small {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================================
   ABOUT
   ================================================================ */
#about {
  position: relative;
  z-index: 2;
  padding: clamp(100px, 14vh, 170px) 0 clamp(50px, 7vh, 80px);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}
.about-grid h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 26px; }
.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--stroke);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.feature:hover {
  transform: translateX(8px);
  border-color: rgba(217, 58, 78, 0.35);
  background: var(--glass-2);
}
.feature .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(217, 58, 78, 0.30);
}
.feature b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* terminal (about) */
.terminal {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(7, 9, 16, 0.82);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 50px 100px -36px rgba(0, 0, 0, 0.85), 0 0 60px -22px rgba(194, 31, 50, 0.22);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.05;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--stroke);
}
.term-head span.title {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--faint);
}
.term-body { padding: 24px 26px; color: var(--muted); }
.term-body .ln { display: block; }
.tk-cmd { color: var(--ink); }
.tk-red { color: var(--orange); }
.tk-grn { color: var(--green); }

/* About kompakt canlı grafik paneli */
.about-visuals {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: clamp(56px, 7vw, 88px);
  align-self: stretch;
}
.mini-panel {
  margin-top: auto;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--stroke);
}
.mp-left { display: flex; align-items: center; gap: 12px; }
.mp-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .24em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 3.5s ease-in-out infinite;
}
.mp-sym { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--text); }
.mp-chart { height: clamp(120px, 15vh, 150px); padding-top: 6px; }
.mp-chart canvas { width: 100%; height: 100%; display: block; }
.mp-foot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stroke); }
.mp-cell { padding: 10px 14px; border-right: 1px solid var(--stroke); }
.mp-cell:last-child { border-right: none; }
.mp-cell small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  color: var(--faint);
  display: block;
  margin-bottom: 4px;
}
.mp-cell b { font-family: var(--mono); font-size: 12.5px; font-weight: 400; letter-spacing: .02em; }
.pf-up { color: var(--green); }
.pf-dn { color: var(--accent-3); }
@media (max-width: 480px) {
  .mp-foot { grid-template-columns: repeat(2, 1fr); }
  .mp-cell:nth-child(2) { border-right: none; }
  .mp-cell:nth-child(n+3) { border-top: 1px solid var(--stroke); }
}
.tk-dim { color: var(--faint); }
.caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--orange);
  vertical-align: -2px;
  animation: caret 1.2s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ================================================================
   BENTO — SERVICES
   ================================================================ */
#build {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 5vh, 56px) 0 clamp(100px, 14vh, 160px);
}
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento-cell {
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s, background .5s, box-shadow .5s;
}
.bento-cell:hover {
  transform: translateY(-7px);
  border-color: rgba(217, 58, 78, 0.42);
  background: var(--glass-2);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.7), 0 0 50px -20px rgba(194, 31, 50, 0.28);
}
.b-7 { grid-column: span 7; }
.b-5 { grid-column: span 5; }
.cell-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.cell-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(217, 58, 78, 0.30);
}
.cell-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--faint);
}
.bento-cell h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.bento-cell > p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
}
.cell-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cell-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  transition: border-color .3s, color .3s;
}
.bento-cell:hover .cell-tag { border-color: rgba(239, 84, 102, 0.45); color: var(--ink); }
.cell-visual { margin-top: auto; padding-top: 26px; }

/* visual 1: sparkline */
.sparkline svg { width: 100%; height: 96px; overflow: visible; }
.spark-path {
  fill: none;
  stroke: url(#sparkGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  filter: drop-shadow(0 0 8px rgba(217, 58, 78, 0.5));
}
.bento-cell.in .spark-path { animation: spark 2.6s var(--ease-out) .4s forwards; }
@keyframes spark { to { stroke-dashoffset: 0; } }
.spark-fill { opacity: 0; transition: opacity 1.2s ease 1.6s; }
.bento-cell.in .spark-fill { opacity: 1; }

/* visual 2: latency bars */
.latency { display: flex; flex-direction: column; gap: 11px; }
.lat-row { display: flex; align-items: center; gap: 14px; }
.lat-row small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--faint);
  width: 64px;
  flex: 0 0 auto;
}
.lat-bar {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.lat-bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}
.bento-cell.in .lat-bar i { transition: transform 1.2s var(--ease-out); }
.bento-cell.in .lat-1 i { transform: scaleX(.94); transition-delay: .3s; }
.bento-cell.in .lat-2 i { transform: scaleX(.6); transition-delay: .45s; }
.bento-cell.in .lat-3 i { transform: scaleX(.22); transition-delay: .6s; }
.lat-val {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--orange);
  width: 38px;
  text-align: right;
}

/* visual 3: mini bars */
.minibar { display: flex; align-items: flex-end; gap: 9px; height: 96px; }
.minibar i {
  flex: 1;
  height: 100%;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, rgba(239, 84, 102, 0.85), rgba(194, 31, 50, 0.30));
  transform: scaleY(.08);
  transform-origin: bottom;
}
.bento-cell.in .minibar i { transition: transform 1s var(--ease-out); }
.bento-cell.in .minibar i:nth-child(1) { transform: scaleY(.45); transition-delay: .25s; }
.bento-cell.in .minibar i:nth-child(2) { transform: scaleY(.7); transition-delay: .35s; }
.bento-cell.in .minibar i:nth-child(3) { transform: scaleY(.5); transition-delay: .45s; }
.bento-cell.in .minibar i:nth-child(4) { transform: scaleY(.88); transition-delay: .55s; }
.bento-cell.in .minibar i:nth-child(5) { transform: scaleY(.62); transition-delay: .65s; }
.bento-cell.in .minibar i:nth-child(6) { transform: scaleY(1); transition-delay: .75s; }

/* visual 4: code lines */
.code-lines {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 2.2;
  color: var(--muted);
}
.code-lines .k { color: var(--orange); }
.code-lines .s { color: var(--green); }
.code-lines .d { color: var(--faint); }

/* ================================================================
   PROCESS
   ================================================================ */
#process {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(100px, 14vh, 160px);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 6%;
  right: 6%;
  height: 1px;
  z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(239, 84, 102, 0.45) 0 8px, transparent 8px 18px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.step {
  padding: clamp(24px, 2.6vw, 32px);
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease), border-color .45s, background .45s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 58, 78, 0.40);
  background: var(--glass-2);
}
.step-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--bg-2);
  border: 1px solid rgba(217, 58, 78, 0.45);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange);
  box-shadow: 0 0 24px -6px var(--glow);
}
.step b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  display: block;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   CTA
   ================================================================ */
#contact {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(100px, 14vh, 160px);
}
.cta-card {
  border-radius: calc(var(--r-lg) + 8px);
  padding: clamp(56px, 9vh, 96px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--stroke-2);
  box-shadow: 0 60px 130px -50px rgba(0, 0, 0, 0.9);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 84, 102, 0.7), transparent);
}
.cta-rings { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.cta-rings i {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -58%);
  border: 1px solid rgba(239, 84, 102, 0.16);
  border-radius: 50%;
}
.cta-rings i:nth-child(1) { width: 420px; height: 420px; }
.cta-rings i:nth-child(2) { width: 640px; height: 640px; }
.cta-rings i:nth-child(3) { width: 880px; height: 880px; }
.cta-card h2 { font-size: clamp(34px, 5vw, 66px); max-width: 780px; margin: 22px auto 0; }
.cta-card .lead { margin: 22px auto 0; text-align: center; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 42px;
}
.cta-mail {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.cta-mail:hover { color: var(--text); border-color: var(--accent-3); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer-modern {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--stroke);
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(56px, 8vh, 84px) 0;
}
.foot-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 300px;
  margin-top: 20px;
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--faint);
  margin-bottom: 22px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; }
.foot-col a,
.foot-col span {
  font-size: 14px;
  color: var(--muted);
  transition: color .3s, padding-left .3s;
  display: inline-block;
  position: relative;
}
.foot-col a:hover { color: var(--ink); padding-left: 12px; }
.foot-col a:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.foot-mail {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--stroke-2);
  padding-bottom: 3px;
}
.foot-mail:hover { border-color: var(--orange); padding-left: 0 !important; }
.foot-bottom {
  border-top: 1px solid var(--stroke);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-bottom small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--faint);
}
.foot-bottom .sep { color: var(--orange); margin: 0 10px; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  transition: all .35s var(--ease);
}
.to-top:hover {
  color: var(--ink);
  border-color: rgba(239, 84, 102, 0.5);
  transform: translateY(-2px);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* Tablet (hero) */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 2rem;
  }
}

/* Tablet (modern sections) */
@media (max-width: 1060px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-visuals { padding-top: 0; }
  .b-7, .b-5 { grid-column: span 12; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav breakpoint */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }

  .mobile-nav {
    position: fixed;
    inset: 4.5rem 1rem auto 1rem;
    z-index: 24;
    display: grid;
    gap: .35rem;
    padding: .7rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(5, 7, 13, 0.96);
    backdrop-filter: blur(18px);
    transform: translateY(-1rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 18px 50px rgba(0,0,0,0.32);
  }
  .mobile-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: .78rem .85rem;
    color: var(--muted);
    border-radius: .8rem;
  }
  .mobile-nav a:hover,
  .mobile-nav a:active {
    background: rgba(255,255,255,0.05);
    color: var(--text);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 7rem;
    padding-bottom: 5.3rem;
    gap: 1.6rem;
  }

  .hero-content { order: 1; }
  .terminal-card {
    order: 2;
    width: 100%;
    max-width: 34rem;
    margin: 0;
  }
}

/* Mobile polished (hero) */
@media (max-width: 768px) {
  .site-header {
    padding: .95rem 1rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .brand-mark {
    width: 3rem;
    height: 3rem;
  }

  .hero {
    padding-top: 6.8rem;
    padding-bottom: 4.8rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 15.6vw, 4.8rem);
    line-height: .9;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 1.35rem;
    font-size: .98rem;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 1.45rem;
    gap: .75rem;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 3.05rem;
  }

  .terminal-card {
    border-radius: 1.15rem;
  }

  .terminal-top {
    padding: .9rem;
  }

  .terminal-body {
    padding: 1rem;
    font-size: .78rem;
    line-height: 1.55;
  }

  .hero-marquee {
    bottom: .85rem;
    font-size: clamp(1.25rem, 7vw, 1.9rem);
  }

  .eyebrow {
    margin-bottom: .85rem;
    font-size: .71rem;
    letter-spacing: .14em;
  }

  .container {
    width: calc(100% - 2rem);
  }
}

/* Mobile (modern sections) */
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 38px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .cta-actions .btn { width: 100%; }
}

/* Small phones (hero) */
@media (max-width: 480px) {
  .site-header {
    padding: .85rem .9rem;
  }

  .brand {
    gap: .58rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .brand-text {
    font-size: .92rem;
  }

  .menu-button {
    width: 2.55rem;
    height: 2.55rem;
  }

  .mobile-nav {
    inset: 4.1rem .9rem auto .9rem;
    padding: .65rem;
  }

  .hero {
    padding-top: 6.35rem;
    padding-bottom: 4.35rem;
    gap: 1.35rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.8rem);
    letter-spacing: -0.08em;
  }

  .hero-copy {
    font-size: .92rem;
  }

  .button {
    min-height: 3rem;
    padding-inline: .95rem;
  }

  .terminal-body {
    font-size: .75rem;
  }

  .hero-marquee {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ================================================================
   Landing pages (Faz 2)
   ================================================================ */
.lp-main { position: relative; z-index: 2; padding: clamp(130px, 17vh, 180px) 0 clamp(80px, 10vh, 120px); }
.lp-main h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 22px 0 18px;
  max-width: 820px;
}
.lp-main .lead { max-width: 760px; }
.lp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(40px, 6vh, 64px); }
.lp-card { padding: clamp(22px, 2.4vw, 30px); }
.lp-card h2 { font-family: var(--display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.35; margin: 0 0 10px; }
.lp-card p { margin: 0; font-size: 13.5px; font-weight: 300; color: var(--muted); line-height: 1.7; }
.svc-links { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-links a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--glass);
  transition: color .3s, border-color .3s, background .3s;
}
.svc-links a:hover { color: var(--text); border-color: rgba(217, 58, 78, 0.45); background: var(--glass-2); }
.bento-links { margin-top: 28px; justify-content: center; }
.lp-related { margin-top: clamp(48px, 7vh, 72px); }
.lp-related h2 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--faint);
  margin: 0 0 14px;
}
.lp-cta {
  margin-top: clamp(56px, 8vh, 84px);
  padding: clamp(34px, 4.5vw, 52px);
  text-align: center;
  border-radius: var(--r-lg);
}
.lp-cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; margin: 0 0 12px; }
.lp-cta p { margin: 0 0 26px; color: var(--muted); font-weight: 300; }
.lp-cta .cta-actions { margin-top: 0; }
@media (max-width: 700px) {
  .lp-grid { grid-template-columns: 1fr; }
}
