:root {
  --blue: #1a6fdb;
  --blue-dark: #1558b8;
  --blue-deeper: #0d3d82;
  --blue-light: #e8f1fc;
  --blue-lighter: #f0f6ff;
  --blue-mid: #c8ddf7;
  --white: #fff;
  --text: #1a2332;
  --text-2: #3d5166;
  --text-3: #6b7f96;
  --border: #dce7f5;
  --border-2: #c5d8f0;
  --bg: #f5f9ff;
  --bg-2: #edf4ff;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 4px rgba(26, 111, 219, 0.08);
  --shadow: 0 2px 12px rgba(26, 111, 219, 0.1);
  --shadow-lg: 0 8px 32px rgba(26, 111, 219, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
}

/* TOPBAR */
.topbar {
  background: var(--blue-deeper);
  padding: 9px 0;
  text-align: center;
}

.topbar p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar strong {
  color: #fff;
  font-weight: 600;
}

.topbar a {
  color: #93c5fd;
  text-decoration: underline;
  font-weight: 500;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}

nav.elevated {
  box-shadow: 0 2px 12px rgba(26, 111, 219, 0.1);
}

.nw {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nlogo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nlogo-ic {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nlogo-nm {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.nlogo-nm span {
  color: var(--blue);
}

.nlinks {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nlinks a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.18s;
  white-space: nowrap;
}

.nlinks a:hover {
  color: var(--blue);
  background: var(--blue-lighter);
}

.nright {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  padding: 7px 18px;
  border-radius: 6px;
  border: 1.5px solid var(--blue-mid);
  background: transparent;
  transition: all 0.18s;
}

.btn-login:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.btn-start {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  padding: 7px 18px;
  border-radius: 6px;
  border: none;
  background: var(--blue);
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-start:hover {
  background: var(--blue-dark);
}

.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
}

.ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.ham.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ham.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ham.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mob {
  display: none;
  position: fixed;
  inset: 62px 0 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px 32px;
  flex-direction: column;
  overflow-y: auto;
}

.mob.open {
  display: flex;
}

.mob-a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s;
}

.mob-a:hover {
  color: var(--blue);
}

.mob-ai {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--blue-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mob-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.mob-btns button {
  padding: 12px;
  font-size: 14px;
  border-radius: 7px;
  font-weight: 600;
}

.mob-btns .btn-login {
  justify-content: center;
}

.mob-btns .btn-start {
  justify-content: center;
}

/* HERO */
.hero {
  background: linear-gradient(
    180deg,
    var(--blue-lighter) 0%,
    var(--white) 100%
  );
  border-bottom: 1px solid var(--border);
  padding: 64px 24px 56px;
}

.hero-in {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  background: var(--blue-light);
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid var(--blue-mid);
}

h1.htitle {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

h1.htitle span {
  color: var(--blue);
}

.hero-desc {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-prim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
}

.btn-prim:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 111, 219, 0.28);
}

.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--blue-mid);
  transition: all 0.2s;
}

.btn-sec:hover {
  border-color: var(--blue);
  background: var(--blue-lighter);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
}

.pi strong {
  color: var(--text-2);
  font-weight: 600;
}

.pd {
  width: 1px;
  height: 14px;
  background: var(--border);
}

/* hero card */
.hpanel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hpanel-h {
  background: var(--blue);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hpanel-h span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.hpanel-dots {
  display: flex;
  gap: 5px;
}

.hpanel-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: block;
}

.hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s;
  cursor: pointer;
}

.hrow:last-child {
  border-bottom: none;
}

.hrow:hover {
  background: var(--blue-lighter);
}

.hrow-l {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hrow-ic {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--blue-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hrow-nm {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.hrow-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 1px;
}

.hrow-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

/* STATS BAR */
.statsbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.statsbar-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-n {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.4px;
  line-height: 1;
}

.stat-l {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}

/* SECTIONS */
.sec {
  padding: 68px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.sec-alt {
  padding: 68px 24px;
  background: var(--bg);
}

.sec-alt .sec-in {
  max-width: 1180px;
  margin: 0 auto;
}

.sec-ctr {
  text-align: center;
  margin-bottom: 44px;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

h2.stitle {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.ssub {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* FILTER */
.fbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.ftab {
  padding: 7px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.18s;
  font-family: "Open Sans", sans-serif;
}

.ftab:hover {
  color: var(--blue);
  border-color: var(--blue-mid);
  background: var(--blue-lighter);
}

.ftab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* PRODUCT GRID */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  cursor: pointer;
}

.pc:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pc-top {
  padding: 22px 22px 0;
}

.pc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pc-logo {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--blue-lighter);
  border: 1px solid var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pc-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.pc-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  border: 1px solid;
}

.pc-name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.pc-tag {
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 9px;
}

.pc-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pc-feats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.pcf {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-2);
}

.pcf-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pc-stats {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 14px 0 0;
}

.pst {
  flex: 1;
  text-align: center;
  padding: 0 4px;
}

.pst + .pst {
  border-left: 1px solid var(--border);
}

.pst-n {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.pst-l {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
  font-weight: 500;
}

.pc-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  transition: gap 0.2s;
}

.pc:hover .pc-link {
  gap: 8px;
}

/* EXPLORE */
.expwrap {
  display: grid;
  grid-template-columns: 272px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.exp-list {
  border-right: 1px solid var(--border);
}

.ei {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
}

.ei:last-child {
  border-bottom: none;
}

.ei:hover {
  background: var(--blue-lighter);
}

.ei.active {
  background: var(--blue-lighter);
  border-left: 3px solid var(--blue);
}

.ei-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.ei-logo img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.ei-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.ei-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.ei-chev {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.2s;
}

.ei.active .ei-chev {
  opacity: 1;
}

.exp-det {
  padding: 32px 36px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ed-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid;
  margin-bottom: 14px;
}

.ed-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.3px;
}

.ed-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

.ed-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 480px;
}

.ed-fg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.edf {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.edf-ic {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--blue-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-stats {
  display: flex;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.edst {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

.edst + .edst {
  border-left: 1px solid var(--border);
}

.edst-n {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.edst-l {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
}

.ed-who {
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.ed-who strong {
  color: var(--text-2);
  font-weight: 600;
}

.ed-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  padding: 9px 20px;
  border-radius: 6px;
  transition: all 0.18s;
  align-self: flex-start;
}

.ed-go:hover {
  background: var(--blue-dark);
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.wc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 0.25s;
}

.wc:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.wc-ic {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.wc h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.wc p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* CTA */
.cta-sec {
  background: var(--blue);
  padding: 60px 24px;
}

.cta-in {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-txt h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
  letter-spacing: -0.3px;
}

.cta-txt p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 480px;
}

.cta-acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-wh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue);
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
}

.btn-wh:hover {
  background: var(--blue-lighter);
}

.btn-wo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
}

.btn-wo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* DIVIDER */
.hr {
  height: 1px;
  background: var(--border);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.rl {
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.rl.in {
  opacity: 1;
  transform: none;
}

.rr {
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.rr.in {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hpanel {
    max-width: 480px;
  }

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

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

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

  .exp-list {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .exp-det {
    min-height: auto;
    padding: 24px;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nlinks,
  .nright {
    display: none;
  }

  .ham {
    display: flex;
  }

  .hero {
    padding: 44px 20px 40px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-eye {
    margin-left: auto;
    margin-right: auto;
  }

  .sec {
    padding: 52px 20px;
  }

  .sec-alt {
    padding: 52px 20px;
  }

  .cta-sec {
    padding: 44px 20px;
  }

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

  .cta-acts {
    justify-content: center;
  }

  .ed-fg {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pgrid {
    grid-template-columns: 1fr;
  }

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

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns a {
    justify-content: center;
    width: 100%;
    max-width: 260px;
  }

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

  .fbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .fbar::-webkit-scrollbar {
    display: none;
  }

  .statsbar-in {
    overflow-x: auto;
  }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stagger > * {
  transition-delay: calc(var(--i) * 80ms);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  #header {
    padding: 0 20px;
  }

  nav ul {
    display: none;
  }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 16px;
    border-bottom: 1px solid #dde6f5;
    box-shadow: 0 8px 24px rgba(10, 50, 120, 0.08);
  }

  .mobile-toggle {
    display: flex;
  }

  #hero {
    padding: 100px 20px 60px;
  }

  .container {
    padding: 0 20px;
  }

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

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

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

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}
