/* ============================================================
   DAIROS PTE. LTD. — inspired by xpandingus.com analysis
   Navy × Electric Blue × Crimson accent / dark-light rhythm
   ============================================================ */
:root {
  --navy: #07112c;
  --navy-2: #0c1d45;
  --blue: #1463ff;
  --blue-dark: #0d3fa8;
  --sky: #4da3ff;
  --red: #e8344f;
  --red-dark: #c01f38;
  --ink: #1c2840;
  --gray: #5f6b84;
  --bg-soft: #f4f7fe;
  --white: #ffffff;
  --line: #e4eaf6;
  --shadow: 0 14px 40px rgba(7, 17, 44, 0.10);
  --shadow-lg: 0 28px 70px rgba(7, 17, 44, 0.18);
  --radius: 18px;
  --grad-blue: linear-gradient(120deg, #1463ff 0%, #4da3ff 100%);
  --grad-red: linear-gradient(120deg, #e8344f 0%, #ff5e3a 100%);
  --font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.18; color: var(--navy); font-weight: 800; }
.thin { font-weight: 300; }
.accent { color: var(--blue); }
.accent-red { color: var(--red); }
.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.72); }
.container { width: min(1200px, 90%); margin: 0 auto; }
.center { text-align: center; }

/* reference-style heading: THIN GREY + BOLD mix with triangle divider */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-title .thin { color: #9aa6bf; }
.section.dark .section-title .thin { color: rgba(255,255,255,.45); }
.divider {
  width: 110px; height: 2px;
  background: var(--blue);
  margin: 22px auto 26px;
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%; top: -5px;
  width: 10px; height: 10px;
  border: 2px solid var(--blue);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
.divider.left { margin-left: 0; }
.section-lead { color: var(--gray); max-width: 760px; margin: 0 auto 10px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(232, 52, 79, 0.4);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 42px rgba(232, 52, 79, 0.5); }
.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(20, 99, 255, 0.35);
}
.btn-blue:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 42px rgba(20, 99, 255, 0.45); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-ghost-dark { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost-dark:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 44, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(7, 17, 44, 0.35);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transition: padding .3s ease;
}
.site-header.scrolled .nav-wrap { padding: 12px 0; }
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
}
.logo span { color: var(--red); }
.logo em { font-style: normal; color: var(--sky); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  padding: 8px 0;
  position: relative;
}
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .3s ease;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #fff;
  min-width: 270px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .28s ease;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0; height: 16px;
}
.nav-links li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block;
  padding: 11px 26px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s ease;
  border-left: 3px solid transparent;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); border-left-color: var(--red); padding-left: 32px; }

.nav-cta { margin-left: 6px; padding: 11px 26px !important; font-size: .78rem !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 110; }
.hamburger span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 3px; transition: .3s; }

/* ---------- HERO (dark, full-screen, ref-style) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(1100px 560px at 78% 12%, rgba(20, 99, 255, .32), transparent 62%),
    radial-gradient(800px 500px at 12% 88%, rgba(232, 52, 79, .2), transparent 60%),
    linear-gradient(155deg, #060e26 0%, #0a1a3e 55%, #081330 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before { /* subtle grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 60% 40%, #000 0%, transparent 75%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; padding: 170px 0 60px; text-align: center; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(77,163,255,.35);
  border-radius: 50px;
  padding: 9px 22px;
  margin-bottom: 30px;
  background: rgba(20,99,255,.08);
}
.hero .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 26px;
  letter-spacing: -0.015em;
}
.hero h1 .thin { font-weight: 300; color: rgba(255,255,255,.85); }
.rotator { display: inline-block; }
.rotator .word {
  display: inline-block;
  background: linear-gradient(120deg, #4da3ff, #1463ff 50%, #e8344f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordIn .55s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(26px) skewY(4deg); }
  to { opacity: 1; transform: none; }
}
.hero p.lead { color: rgba(255,255,255,.7); font-size: 1.12rem; max-width: 660px; margin: 0 auto 42px; }
.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* hero bottom service columns — like reference overlay */
.hero-services {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding: 0 0 90px;
}
.hero-services .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hs-item {
  text-align: center;
  padding: 30px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.hs-item:hover { transform: translateY(-8px); background: rgba(20,99,255,.14); border-color: rgba(77,163,255,.45); }
.hs-item .ic { font-size: 1.9rem; margin-bottom: 12px; display: inline-block; }
.hs-item .ic svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 1.4; }
.hs-item h3 { color: #fff; font-size: 1.05rem; font-weight: 300; margin-bottom: 8px; }
.hs-item h3 b { font-weight: 800; }
.hs-item p { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.6; margin-bottom: 14px; }
.hs-item .rm {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-red);
  padding: 8px 20px;
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(232,52,79,.35);
  transition: transform .25s;
}
.hs-item:hover .rm { transform: scale(1.06); }

/* ---------- Platform marquee ---------- */
.marquee-band {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 26px 0;
  overflow: hidden;
}
.marquee { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 0 34px;
  position: relative;
  white-space: nowrap;
  transition: color .3s;
}
.marquee span:hover { color: #fff; }
.marquee span::after {
  content: "✦";
  position: absolute; right: -8px;
  color: var(--red);
  font-size: .8rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 28px; margin-top: 60px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.card .num {
  position: absolute;
  top: 14px; right: 22px;
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--bg-soft);
  line-height: 1;
  z-index: 0;
  transition: color .3s;
}
.card:hover .num { color: #e6efff; }
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card > * { position: relative; z-index: 1; }
.card .icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #e8f0ff, #d2e2ff);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background .35s ease, transform .35s ease;
}
.card:hover .icon { background: var(--grad-blue); transform: rotate(-6deg) scale(1.05); }
.card:hover .icon svg { stroke: #fff; }
.card .icon svg { width: 38px; height: 38px; stroke: var(--blue); fill: none; stroke-width: 1.6; transition: stroke .3s; }
.card h3 { font-size: 1.3rem; font-weight: 300; margin-bottom: 12px; }
.card h3 b { font-weight: 800; }
.card p { color: var(--gray); font-size: 0.93rem; margin-bottom: 20px; }
.card .more {
  display: inline-block;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 10px 24px;
  border-radius: 40px;
  transition: background .3s, transform .25s;
}
.card:hover .more { background: var(--grad-red); transform: scale(1.04); }

/* ---------- Dashboard mockup (dark section) ---------- */
.mock-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.browser-mock {
  background: #0e1f4a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(77,163,255,.08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s ease;
}
.browser-mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.bm-top {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.05);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bm-top i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.bm-top i:nth-child(1) { background: #ff5f57; }
.bm-top i:nth-child(2) { background: #febc2e; }
.bm-top i:nth-child(3) { background: #28c840; }
.bm-top .url {
  flex: 1;
  margin-left: 12px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  font-size: .68rem;
  color: rgba(255,255,255,.45);
  padding: 4px 14px;
  letter-spacing: .05em;
}
.bm-body { padding: 26px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.kpi {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.kpi .v { font-size: 1.3rem; font-weight: 800; color: #fff; }
.kpi .v em { font-style: normal; color: #34d399; font-size: .72rem; margin-left: 6px; }
.kpi .l { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bars b {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--sky), var(--blue));
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s cubic-bezier(.2,.8,.3,1);
  position: relative;
  opacity: .85;
}
.bars b:nth-child(3n) { background: linear-gradient(180deg, #ff8a7a, var(--red)); }
.bars.animate b { transform: scaleY(1); }
.bars b:nth-child(1) { height: 38%; transition-delay: .05s; }
.bars b:nth-child(2) { height: 52%; transition-delay: .12s; }
.bars b:nth-child(3) { height: 44%; transition-delay: .19s; }
.bars b:nth-child(4) { height: 64%; transition-delay: .26s; }
.bars b:nth-child(5) { height: 58%; transition-delay: .33s; }
.bars b:nth-child(6) { height: 76%; transition-delay: .4s; }
.bars b:nth-child(7) { height: 70%; transition-delay: .47s; }
.bars b:nth-child(8) { height: 88%; transition-delay: .54s; }
.bars b:nth-child(9) { height: 80%; transition-delay: .61s; }
.bars b:nth-child(10) { height: 100%; transition-delay: .68s; }
.mock-copy .feature-mini { display: flex; gap: 18px; margin-top: 30px; }
.feature-mini .fm {
  flex: 1;
  border-left: 2px solid var(--red);
  padding-left: 16px;
}
.feature-mini h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.feature-mini p { font-size: .82rem; }

/* ---------- Full-width CTA band (royal blue, ref-style) ---------- */
.cta-band-full {
  background: linear-gradient(100deg, var(--blue-dark) 0%, var(--blue) 60%, #2f7bff 100%);
  padding: 64px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band-full::before, .cta-band-full::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.14);
}
.cta-band-full::before { width: 380px; height: 380px; right: -90px; top: -160px; }
.cta-band-full::after { width: 240px; height: 240px; right: 140px; bottom: -130px; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; }
.cta-inner h2 b { font-weight: 800; }
.cta-inner p { opacity: .85; margin-top: 6px; }

/* rounded CTA band (subpages) */
.cta-band {
  background: linear-gradient(100deg, var(--blue-dark) 0%, var(--blue) 60%, #2f7bff 100%);
  border-radius: 24px;
  padding: 70px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.16);
}
.cta-band::before { width: 320px; height: 320px; right: -80px; top: -140px; }
.cta-band::after { width: 200px; height: 200px; right: 120px; bottom: -110px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); position: relative; z-index: 1; }
.cta-band p { opacity: .88; margin-top: 8px; position: relative; z-index: 1; }
.cta-band .btn { background: var(--grad-red); color: #fff; box-shadow: 0 12px 30px rgba(232,52,79,.45); position: relative; z-index: 1; }
.cta-band .btn:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- Stats (dark) ---------- */
.stats {
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(232,52,79,.18), transparent 60%),
    radial-gradient(700px 320px at 10% 90%, rgba(20,99,255,.22), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 90px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 38px; text-align: center; }
.stat-ic { font-size: 1.7rem; opacity: .85; margin-bottom: 10px; }
.stat-num { font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat-num .plus { color: var(--red); }
.stat-label { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: .65; margin-top: 8px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .visual {
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 25%, rgba(77,163,255,.5), transparent 55%),
    linear-gradient(140deg, var(--navy-2), var(--navy));
  min-height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(20,99,255,.2);
}
.split .visual .ring {
  position: absolute;
  border: 1.5px solid rgba(77,163,255,.4);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}
.split .visual .ring::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
}
.split .visual .ring.r1 { width: 280px; height: 280px; top: 50%; left: 50%; margin: -140px; }
.split .visual .ring.r2 { width: 190px; height: 190px; top: 50%; left: 50%; margin: -95px; animation-direction: reverse; animation-duration: 11s; }
.split .visual .core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }
ul.checks { margin-top: 26px; }
ul.checks li { padding: 10px 0 10px 40px; position: relative; color: var(--gray); }
ul.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 9px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(20,99,255,.35);
}
.section.dark ul.checks li { color: rgba(255,255,255,.72); }

/* cloud gauge */
.gauge-wrap { text-align: center; }
.gauge {
  width: 230px; height: 230px;
  margin: 0 auto 18px;
  position: relative;
}
.gauge svg { transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 14; }
.gauge .fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 597;
  stroke-dashoffset: 597;
  transition: stroke-dashoffset 1.8s cubic-bezier(.2,.8,.3,1);
}
.gauge.animate .fill { stroke-dashoffset: 406; } /* ~32% */
.gauge .gv {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.gauge .gv b { font-size: 2.6rem; font-weight: 800; color: #fff; }
.gauge .gv span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- Page hero (subpages — dark) ---------- */
.page-hero {
  padding: 200px 0 110px;
  background:
    radial-gradient(900px 460px at 80% 10%, rgba(20,99,255,.3), transparent 60%),
    radial-gradient(620px 380px at 8% 95%, rgba(232,52,79,.16), transparent 60%),
    linear-gradient(155deg, #060e26 0%, #0a1a3e 60%, #081330 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 420px at 50% 30%, #000, transparent 80%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: 16px; color: #fff; font-weight: 300; }
.page-hero h1 b, .page-hero h1 .accent { font-weight: 800; }
.page-hero h1 .accent { color: var(--sky); }
.page-hero p { color: rgba(255,255,255,.68); max-width: 660px; margin: 0 auto; }
.breadcrumb { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 24px; }
.breadcrumb a { color: var(--sky); }
.page-hero .eyebrow { color: var(--red); }

/* ---------- Photo layers ---------- */
.bg-photo { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bg-photo img { width: 100%; height: 100%; object-fit: cover; }
.bg-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(6,14,38,.93) 0%, rgba(10,26,62,.82) 55%, rgba(8,19,48,.9) 100%);
}
.hero #heroCanvas, .hero::before, .page-hero::before { z-index: 1; }
.hero-inner, .hero-services { z-index: 2; }

.feat-visual.photo { font-size: 0; }
.feat-visual.photo::after { display: none; }
.feat-visual.photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(7,17,44,.42), rgba(20,99,255,.16));
}
.feat-visual.photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.feat-visual.photo:hover img { transform: scale(1.06); }

.split .visual.photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.split .visual.photo:hover img { transform: scale(1.06); }
.split .visual.photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7,17,44,.42), rgba(232,52,79,.12));
}

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 60px 0; }
.feature-row:nth-child(even) .feat-visual { order: 2; }
.feat-visual {
  min-height: 320px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 25%, rgba(77,163,255,.45), transparent 55%),
    linear-gradient(140deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(20,99,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.feat-visual::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border: 1.5px solid rgba(77,163,255,.3);
  border-radius: 50%;
  animation: spin 14s linear infinite;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 60px; counter-reset: step; }
.step {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s ease, box-shadow .3s;
  overflow: hidden;
}
.step:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 12px;
}
.step::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(20,99,255,.1), transparent 70%);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-info .info-item { display: flex; gap: 18px; margin-bottom: 30px; align-items: flex-start; }
.contact-info .info-item .ico {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  box-shadow: 0 10px 22px rgba(20,99,255,.3);
}
.contact-info h4 { margin-bottom: 2px; }
.contact-info p { color: var(--gray); font-size: .92rem; }
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  padding: 46px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font);
  font-size: .95rem;
  margin-bottom: 18px;
  transition: border .25s, box-shadow .25s;
  background: var(--bg-soft);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20,99,255,.12);
  background: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #060e26, #04091a);
  color: rgba(255,255,255,.72);
  padding: 90px 0 0;
  border-top: 3px solid var(--red);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.site-footer h5 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 38px; height: 2px;
  background: var(--red);
}
.site-footer .logo { margin-bottom: 16px; display: inline-block; }
.site-footer p, .site-footer a { font-size: .88rem; color: rgba(255,255,255,.65); }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { transition: color .2s, padding-left .2s; }
.site-footer ul a:hover { color: var(--sky); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
.reveal.d4 { transition-delay: .48s; }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .85s ease, transform .85s ease; }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .85s ease, transform .85s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

.fade-up { animation: fadeUp 1s ease both; }
.fade-up.fd1 { animation-delay: .15s; }
.fade-up.fd2 { animation-delay: .3s; }
.fade-up.fd3 { animation-delay: .45s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-services .grid { grid-template-columns: repeat(2, 1fr); }
  .mock-wrap { grid-template-columns: 1fr; }
  .browser-mock { transform: none; }
}
@media (max-width: 960px) {
  .split, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feat-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    background: var(--navy);
    width: min(320px, 82vw);
    height: 100vh;
    padding: 90px 32px 40px;
    gap: 24px;
    align-items: flex-start;
    box-shadow: -10px 0 50px rgba(0,0,0,.4);
    transition: right .35s ease;
    z-index: 105;
  }
  .nav-links.open { right: 0; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 8px 0 0 14px;
    background: transparent;
    display: block;
  }
  .dropdown a { color: rgba(255,255,255,.7); }
  .dropdown a:hover { background: transparent; color: var(--sky); }
  .hamburger { display: block; }
  .section { padding: 70px 0; }
  .hero-services .grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
