/* ========================================
   VAULT IST DMCC — Landing Page
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1e293b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

:root {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-border: #bfdbfe;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #1e293b;
  --text-sec: #64748b;
  --text-dim: #94a3b8;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --max-w: 1120px;
  --gutter: clamp(20px, 4vw, 44px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- SCROLL PROGRESS ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 200;
  transition: none;
}

/* ---- NAV ---- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}
.nav-logo__icon::after { content: 'V'; }
.nav-logo__text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-logo__text span {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger span {
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 60px 0 0;
  background: rgba(255,255,255,0.98);
  z-index: 99;
  padding: 2rem var(--gutter);
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 1.1rem; color: var(--text); font-weight: 500; }

/* ---- HERO ---- */
.hero {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37,99,235,0.03), transparent 50%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__visual {
  position: relative;
}
/* ---- Hero mock illustration ---- */
.hero-mock {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  font-family: 'Inter', sans-serif;
}

/* --- Dashboard --- */
.hm-dash {
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 62%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 12px 40px -8px rgba(0,0,0,0.1);
  overflow: hidden;
  z-index: 1;
}
.hm-dash__bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}
.hm-dot { width: 7px; height: 7px; border-radius: 50%; }
.hm-dot--r { background: #f87171; }
.hm-dot--y { background: #fbbf24; }
.hm-dot--g { background: #4ade80; }
.hm-dash__url {
  margin-left: 8px;
  width: 100px; height: 6px;
  background: #e2e8f0; border-radius: 3px;
}
.hm-dash__body { display: flex; height: calc(100% - 31px); }
.hm-dash__sidebar {
  width: 48px;
  background: var(--dark);
  padding: 10px 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hm-dash__logo-placeholder {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 5px;
  margin-bottom: 6px;
}
.hm-dash__nav-item {
  width: 20px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.hm-dash__nav-item--active { background: rgba(255,255,255,0.6); }
.hm-dash__main {
  flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.hm-dash__kpis { display: flex; gap: 8px; }
.hm-kpi {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 8px 10px;
}
.hm-kpi--accent { border-color: var(--accent-border); background: var(--accent-light); }
.hm-kpi__val {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.hm-kpi--accent .hm-kpi__val { color: var(--accent); }
.hm-kpi__lbl {
  display: block;
  width: 70%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-top: 4px;
}
.hm-dash__chart { flex: 1; }
.hm-chart-svg { width: 100%; height: 100%; }
.hm-chart-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 2s var(--ease) 0.5s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* --- Payment card --- */
.hm-card {
  position: absolute;
  bottom: 6%; left: 3%;
  width: 52%; aspect-ratio: 1.586/1;
  background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 10% 10%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 16px 40px -8px rgba(15,23,42,0.3);
  z-index: 3;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hm-card__top { display: flex; align-items: center; justify-content: space-between; }
.hm-card__chip {
  width: 30px; height: 22px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.hm-card__chip-lines {
  position: absolute; inset: 4px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 2px;
}
.hm-card__chip-lines::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.hm-card__contactless { opacity: 0.5; }
.hm-card__num {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.9;
}
.hm-card__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.hm-card__label {
  font-size: 0.4rem;
  letter-spacing: 0.08em;
  opacity: 0.45;
  margin-bottom: 2px;
}
.hm-card__value {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.hm-card__network { margin-left: auto; }

/* --- Phone --- */
.hm-phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 34%; height: 72%;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 16px 40px -8px rgba(0,0,0,0.12);
  z-index: 2;
  padding: 0 10px 10px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hm-phone__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 6px 0;
  font-size: 0.55rem; font-weight: 600; color: var(--dark);
}
.hm-phone__notch {
  width: 28%; height: 4px;
  background: var(--dark);
  border-radius: 0 0 8px 8px;
}
.hm-phone__batt {
  width: 16px; height: 8px;
  border: 1.5px solid var(--dark);
  border-radius: 2px;
  position: relative;
}
.hm-phone__batt::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  right: 30%;
  background: var(--dark);
  border-radius: 1px;
}
.hm-phone__greeting {
  font-size: 0.55rem;
  color: var(--text-dim);
  padding: 12px 6px 2px;
}
.hm-phone__balance {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  padding: 0 6px 8px;
  line-height: 1;
}
.hm-phone__balance span { font-size: 0.75rem; color: var(--text-dim); }
.hm-phone__actions {
  display: flex; gap: 8px;
  padding: 0 6px 10px;
}
.hm-phone__act {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.45rem; color: var(--text-sec);
}
.hm-phone__act-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.hm-phone__act-icon--send { background: var(--accent-light); color: var(--accent); }
.hm-phone__act-icon--recv { background: #ecfdf5; color: #059669; }
.hm-phone__act-icon--swap { background: #fef3c7; color: #d97706; }
.hm-phone__txs {
  flex: 1;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid #f1f5f9;
}
.hm-phone__tx {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 6px;
  border-bottom: 1px solid #f8fafc;
}
.hm-phone__tx-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  flex-shrink: 0;
}
.hm-phone__tx-dot--green { background: #86efac; }
.hm-phone__tx-info {
  flex: 1;
  display: flex; flex-direction: column;
}
.hm-phone__tx-info b { font-size: 0.52rem; font-weight: 600; color: var(--dark); }
.hm-phone__tx-info span { font-size: 0.42rem; color: var(--text-dim); }
.hm-phone__tx-amt {
  font-size: 0.52rem; font-weight: 600; color: var(--dark); white-space: nowrap;
}
.hm-phone__tx-amt--green { color: #059669; }
.hero h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
/* word reveal animation */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: wordIn 0.5s var(--ease) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero p {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--text-sec);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.3s var(--ease);
}
.hero__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ---- MARQUEE ---- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.85rem 0;
  white-space: nowrap;
  background: var(--surface);
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  animation: scrollX 35s linear infinite;
  width: max-content;
}
.marquee__item {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.marquee__item .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 0.6rem;
}
@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- STATEMENT ---- */
.statement {
  padding: clamp(64px, 8vw, 120px) 0;
}
.statement__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.statement__heading {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--dark);
  position: sticky;
  top: 80px;
}
.statement__body {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--text-sec);
  line-height: 1.8;
}
.statement__body p + p { margin-top: 1.25rem; }
.statement__list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.statement__list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.statement__list-item:hover {
  background: var(--accent-light);
  border-color: var(--accent-border);
}
.statement__list-item strong {
  color: var(--text);
  font-weight: 600;
}
.statement__check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- PRODUCTS ---- */
.products {
  background: var(--dark);
  color: #e2e8f0;
  padding: clamp(64px, 8vw, 100px) 0;
}
.products__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.products__title {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 3.5rem;
  max-width: 460px;
  color: #fff;
}
.product-group { margin-bottom: 2.5rem; }
.product-group:last-child { margin-bottom: 0; }
.product-group__name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: padding-left 0.3s var(--ease), background 0.3s;
}
.product-row:hover {
  padding-left: 0.75rem;
}
.product-row__name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.product-row__desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}
.product-row__expand {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #94a3b8;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.product-row:hover .product-row__expand {
  border-color: var(--accent);
  color: var(--accent);
}
.product-row.is-expanded .product-row__expand {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.product-row__detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0;
}
.product-row.is-expanded .product-row__detail {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}
.product-row__detail p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.7;
  padding-left: calc(180px + 1.5rem);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s var(--ease);
}
.product-row.is-expanded .product-row__detail p {
  opacity: 1;
  transform: translateY(0);
}

/* ---- NUMBERS ---- */
.numbers {
  padding: clamp(48px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--border);
}
.numbers__row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.numbers__item { text-align: center; flex: 1; min-width: 130px; }
.numbers__value {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.numbers__label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* ---- PROCESS ---- */
.process {
  padding: clamp(64px, 8vw, 120px) 0;
}
.process__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.process__title {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.process__subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-sec);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Phases — minimal table */
.phases {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.phase {
  display: grid;
  grid-template-columns: 52px 160px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.phase:last-child { border-bottom: none; }
.phase:hover { background: var(--accent-light); }
.phase__num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.phase__name {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.phase__desc {
  font-size: 0.92rem;
  color: var(--text-sec);
  padding: 1.15rem 1.5rem;
  line-height: 1.55;
  display: flex;
  align-items: center;
}

/* Versus — tiltable cards */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  perspective: 800px;
}
.versus__col {
  padding: 2.25rem;
  border-radius: 12px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  will-change: transform;
}
.versus__col--hard {
  background: var(--surface);
  border: 1px solid var(--border);
}
.versus__col--smart {
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 30px -8px rgba(37,99,235,0.12);
}
.versus__col--smart:hover {
  box-shadow: 0 16px 48px -12px rgba(37,99,235,0.18);
}
.versus__tag {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.versus__col--hard .versus__tag { color: #dc2626; }
.versus__col--smart .versus__tag { color: var(--accent); }
.versus__heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.versus__text {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.deploy-stats {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.deploy-stat__val {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--accent);
}
.deploy-stat__label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---- FAQ ---- */
.faq {
  background: var(--surface);
  padding: clamp(64px, 8vw, 100px) 0;
}
.faq__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.faq__title {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 4rem;
}
.faq__item {
  padding: 1.25rem;
  border-radius: 10px;
  transition: background 0.3s;
}
.faq__item:hover { background: #fff; }
.faq__q {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.faq__a {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ---- BLOG ---- */
.blog {
  padding: clamp(64px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
}
.blog__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.blog__title {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
}
.blog__list { display: flex; flex-direction: column; }
.blog__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  gap: 2rem;
  position: relative;
  transition: padding-left 0.3s var(--ease);
}
.blog__item:first-child { border-top: 1px solid var(--border); }
.blog__item:hover { padding-left: 1rem; }

/* animated underline on hover */
.blog__item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.blog__item:hover::after { width: 100%; }

.blog__item-title {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 600;
  flex: 1;
}
.blog__item-excerpt {
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: 320px;
  line-height: 1.5;
  flex-shrink: 0;
}
.blog__item-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.blog__item:hover .blog__item-arrow { transform: translateX(6px); }

/* ---- CONTACT ---- */
.contact {
  background: var(--dark);
  color: #cbd5e1;
  padding: clamp(64px, 8vw, 100px) 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.contact__heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
}
.contact__text {
  font-size: clamp(15px, 1.1vw, 17px);
  color: #94a3b8;
  line-height: 1.7;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact__input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact__input::placeholder { color: #475569; }
.contact__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.contact__input.is-invalid { border-color: #dc2626; }
.contact__submit {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.contact__submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.contact__submit:disabled,
.contact__submit.is-loading { opacity: 0.7; cursor: not-allowed; transform: none; }
.contact__success {
  display: none;
  color: #34d399;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 0;
}
.contact__success.is-visible { display: block; }

/* ---- FOOTER ---- */
.footer {
  background: #f8fafc;
  padding: 3.5rem 0 2.5rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.footer__nav { display: flex; gap: 1.5rem; }
.footer__nav a { color: var(--text-sec); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.footer__docs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer__docs a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s;
}
.footer__docs a:hover { opacity: 0.7; }
.footer__legal { max-width: 800px; margin-bottom: 0.75rem; color: #94a3b8; }
.footer__copy { color: #94a3b8; }

/* ---- REVEAL ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }

/* --- Directional enter system --- */
[data-enter] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-enter="left"] { transform: translateX(-40px); }
[data-enter="right"] { transform: translateX(40px); }
[data-enter="up"] { transform: translateY(30px); }
[data-enter="down"] { transform: translateY(-20px); }
[data-enter="scale"] { transform: scale(0.92); }
[data-enter].is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* --- Stagger children (cascading appear) --- */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 100ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 200ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 300ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 400ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 500ms; }

/* --- Statement items: enter from right --- */
.statement__list-item {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-stagger].is-visible .statement__list-item { opacity: 1; transform: translateX(0); }
[data-stagger].is-visible .statement__list-item:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible .statement__list-item:nth-child(2) { transition-delay: 120ms; }
[data-stagger].is-visible .statement__list-item:nth-child(3) { transition-delay: 240ms; }
[data-stagger].is-visible .statement__list-item:nth-child(4) { transition-delay: 360ms; }

/* --- Product rows: slide in from left --- */
.product-row[data-slide] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), padding-left 0.3s var(--ease), background 0.3s;
}
.product-row[data-slide].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Phases: rows reveal top-down with clip --- */
.phase {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.phase.is-visible { opacity: 1; transform: translateY(0); }

/* phase hover highlight */
.phase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-light);
  opacity: 0;
  transition: opacity 0.3s;
}
.phase:hover::after { opacity: 1; }
.phase > * { position: relative; z-index: 1; }

/* --- Numbers: scale up on enter --- */
.numbers__item {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.numbers__item.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --- FAQ items: alternate left/right enter --- */
.faq__item {
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.faq__item:nth-child(odd) { transform: translateX(-25px); }
.faq__item:nth-child(even) { transform: translateX(25px); }
.faq__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Blog items: rise from below staggered --- */
.blog__item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.blog__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Magnetic button --- */
.hero__cta { position: relative; transition: background 0.2s, transform 0.4s var(--ease); }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner.is-hidden { display: none; }
.cookie-banner__text {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.5;
}
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner__accept {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.cookie-banner__accept:hover { background: var(--accent-hover); }
.cookie-banner__decline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sec);
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.cookie-banner__decline:hover { background: var(--surface); }

/* ---- RESPONSIVE ---- */
@media (max-width: 959px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; }
  .statement__grid { grid-template-columns: 1fr; }
  .statement__heading { position: static; }
  .product-row { grid-template-columns: 140px 1fr auto; }
  .faq__grid { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .blog__item-excerpt { display: none; }
}

@media (max-width: 639px) {
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .product-row { grid-template-columns: 1fr auto; gap: 0.25rem; }
  .product-row__desc { grid-column: 1; }
  .product-row__detail p { padding-left: 0; }
  .phase { grid-template-columns: 40px 1fr; }
  .phase__name { border-right: none; }
  .phase__desc { grid-column: 2; padding-top: 0; }
  .numbers__row { gap: 1.25rem; }
  .deploy-stats { gap: 1.5rem; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .word { opacity: 1; transform: none; animation: none; }
}
