/* Homepage system inspired by the supplied layout reference. */

.home-page {
  --home-teal: #2563eb;
  --home-teal-dark: #245fc7;
  --home-mint: #dbeafe;
  --home-sky: #bfdbfe;
  --home-lime: #e0e7ff;
  --home-navy: #2b2b2b;
  --home-copy: #667085;
  --home-line: #e5eaf2;
  --home-shadow: 0 28px 70px rgba(37, 99, 235, 0.14);
  background: #fff;
  color: #101920;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4 { letter-spacing: -0.035em; font-weight: 400; }
.home-page p { color: var(--home-copy); }
.home-page section { padding-block: clamp(5rem, 8vw, 8.5rem); }
.home-page .container { max-width: 1180px; }
.home-page .accent-text { color: var(--home-teal); }
.home-page .section-heading {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}
.home-page .section-heading h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  line-height: 1.02;
  font-weight: 400;
}
.home-page .section-heading p {
  max-width: 650px;
  margin-inline: auto;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.home-page .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
  color: var(--home-teal-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-page .section-kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 960px;
  margin: var(--page-hero-margin);
  padding: 0 0 4.5rem !important;
  border-radius: var(--page-hero-radius);
  background: var(--page-hero-background);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--page-hero-dots);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.home-header {
  position: relative;
  z-index: 20;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.home-header .container { min-height: 84px; }
.home-header .brand img { width: 132px; height: auto; }
.home-header .nav-desktop a,
.home-header .nav-desktop summary { color: #1e3936; font-size: .88rem; }
.home-header .nav-desktop a[aria-current="page"]::after { background: var(--home-teal-dark); }
.home-header .header-actions { gap: .5rem; }
.home-header .header-cta {
  min-height: 42px;
  padding: .7rem 1.25rem;
  background: var(--home-navy);
  border-color: var(--home-navy);
  color: white;
  box-shadow: none;
}
.home-header .theme-toggle,
.home-header .nav-toggle {
  border-color: rgba(6, 17, 31, .14);
  background: rgba(255,255,255,.56);
  color: var(--home-navy);
}
.home-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: clamp(3rem, 6vw, 6.8rem) auto 3.5rem;
  text-align: center;
}
.home-hero-copy .hero-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.35rem;
  padding: .5rem .9rem;
  border: 1px solid rgba(9, 91, 84, .16);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: #215f59;
  font-size: .82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.home-hero-copy .hero-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-teal);
  box-shadow: 0 0 0 5px rgba(22,184,166,.14);
}
.home-hero-copy h1 {
  max-width: 850px;
  margin-inline: auto;
  color: #0b1720;
  font-size: clamp(3.1rem, 6.2vw, 6.15rem);
  line-height: .94;
  font-weight: 400;
}
.home-hero-copy h1 span {
  background: linear-gradient(90deg, #078e83, #15b8a5 55%, #37aa82);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero-copy > p {
  max-width: 630px;
  margin: 1.65rem auto 0;
  color: #43615f;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.8rem;
}
.home-hero-actions .btn { min-width: 154px; min-height: 52px; }
.home-hero-actions .btn-light {
  border: 1px solid rgba(6,17,31,.1);
  background: rgba(255,255,255,.88);
  color: var(--home-navy);
}
.home-hero-actions .btn-dark {
  border-color: var(--home-navy);
  background: var(--home-navy);
  color: white;
}

/* Dashboard */
.dashboard-shell {
  position: relative;
  z-index: 4;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 48px rgba(43,67,108,.16);
  transform: none;
}
.dashboard {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #e7efed;
  border-radius: 17px;
  background: #fff;
}
.dash-sidebar {
  padding: 22px 15px;
  border-right: 1px solid #edf1f0;
  background: #fbfdfc;
}
.dash-logo { width: 30px; height: 30px; margin: 0 auto 34px; border-radius: 9px; background: linear-gradient(135deg,#47d2c0,#0f9486); }
.dash-side-item { width: 34px; height: 7px; margin: 18px auto; border-radius: 5px; background: #dfe8e6; }
.dash-side-item.active { height: 34px; border-radius: 9px; background: #d9f7f0; box-shadow: inset 3px 0 var(--home-teal); }
.dash-main { padding: 30px 32px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dash-title strong { display: block; color: #182421; font-size: 1.125rem; line-height: 1.3; }
.dash-title span { display: block; margin-top: .25rem; color: #667085; font-size: .8125rem; line-height: 1.5; }
.dash-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg,#f5cd8c,#294a6e); }
.dash-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 24px 0 20px; }
.dash-metric { min-height: 112px; padding: 20px; border: 1px solid #ebf0ef; border-radius: 12px; text-align: left; }
.dash-metric span { color: #667085; font-size: .8125rem; line-height: 1.4; }
.dash-metric strong { display: block; margin-top: 5px; color: #15201e; font-size: 1.5rem; line-height: 1.25; }
.dash-metric:first-child { color: #056e64; background: #d8f8ef; border-color: #c2eee4; }
.dash-metric:first-child span,.dash-metric:first-child strong { color: inherit; }
.dash-panel { padding: 20px; border: 1px solid #ebf0ef; border-radius: 14px; }
.dash-panel-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: #667085; font-size: .8125rem; line-height: 1.4; }
.dash-row { display: grid; grid-template-columns: 42px 1.2fr .9fr .8fr; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #eff3f2; }
.dash-row i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#e4f5f1,#79cbbb); }
.dash-row b { height: 7px; border-radius: 6px; background: #cfd8d6; }
.dash-row b:nth-child(3) { background: #e6eeec; }
.dash-row em { justify-self: end; width: 58px; height: 18px; border-radius: 10px; background: #d9f7ef; }

/* Shared home visuals */
.home-divider { width: 64px; height: 3px; margin: 0 auto 1.25rem; border: 0; border-radius: 4px; background: var(--home-teal); }
.phone-composition { position: relative; min-height: 590px; max-width: 760px; margin: 0 auto; }
.site-phone {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 218px;
  aspect-ratio: 9/18.8;
  padding: 9px;
  border: 2px solid #142522;
  border-radius: 34px;
  background: #10211f;
  box-shadow: 0 28px 50px rgba(20,46,42,.2);
}
.site-phone.one { --phone-x: -105%; --phone-rotate: -10deg; transform: translateX(var(--phone-x)) rotate(var(--phone-rotate)); }
.site-phone.two { --phone-x: 10%; --phone-rotate: 8deg; top: 145px; transform: translateX(var(--phone-x)) rotate(var(--phone-rotate)); }
.phone-notch { position: absolute; z-index: 2; top: 14px; left: 50%; width: 68px; height: 16px; transform: translateX(-50%); border-radius: 10px; background: #10211f; }
.phone-screen { height: 100%; overflow: hidden; border-radius: 25px; background: #f8fbfa; }
.phone-hero { height: 42%; padding: 48px 18px 15px; background: linear-gradient(145deg,#c8f7e5,#dff5aa); }
.phone-hero b { display: block; color: #12211e; font-size: .95rem; line-height: 1.05; }
.phone-hero span { display: block; width: 72%; height: 5px; margin-top: 10px; border-radius: 6px; background: rgba(30,80,72,.22); }
.phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 12px; }
.phone-cards i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg,#dbeeea,#84c8bc); }
.phone-cards i:nth-child(2) { background: linear-gradient(135deg,#ffe2b9,#ee8e73); }
.phone-cards i:nth-child(3) { background: linear-gradient(135deg,#cae2f7,#698bb8); }
.phone-cards i:nth-child(4) { background: linear-gradient(135deg,#edf5d5,#9abf61); }
.phone-demo {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 39px 12px 12px;
  color: #202a39;
}
.phone-demo-top { display: flex; align-items: center; justify-content: space-between; min-height: 20px; }
.phone-demo-brand { color: #2b2b2b; font-size: .62rem; font-weight: 800; letter-spacing: -.02em; }
.phone-demo-menu { color: #7b8799; font-size: .66rem; letter-spacing: .08em; }
.service-demo { background: linear-gradient(180deg,#edf4ff 0%,#f8faff 48%,#fff 100%); }
.service-demo-hero { margin-top: 9px; padding: 13px 12px; border: 1px solid #d8e5fa; border-radius: 13px; background: rgba(255,255,255,.86); box-shadow: 0 9px 22px rgba(59,130,246,.09); }
.service-demo-hero small,.product-demo-info small { display: block; margin-bottom: 6px; color: #2563eb; font-size: .43rem; font-weight: 800; letter-spacing: .1em; }
.service-demo-hero b { display: block; color: #2b2b2b; font-size: .78rem; font-weight: 700; line-height: 1.08; }
.service-demo-hero p { margin: 7px 0 0; color: #667085; font-size: .49rem; line-height: 1.35; }
.service-demo-list { display: grid; gap: 6px; margin-top: 8px; }
.service-demo-list span { display: flex; align-items: center; gap: 7px; min-height: 31px; padding: 5px 8px; border: 1px solid #e2e8f2; border-radius: 9px; background: rgba(255,255,255,.86); }
.service-demo-list i { display: grid; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; border-radius: 7px; background: #dbeafe; color: #245fc7; font-size: .42rem; font-style: normal; font-weight: 800; }
.service-demo-list b { color: #344054; font-size: .51rem; font-weight: 650; }
.phone-demo-button { display: flex; align-items: center; justify-content: space-between; min-height: 34px; margin-top: auto; padding: 0 12px; border-radius: 10px; background: #2b2b2b; color: #fff; font-size: .57rem; font-weight: 700; box-shadow: 0 10px 20px rgba(43,43,43,.18); }
.phone-demo-button i { font-size: .75rem; font-style: normal; }
.product-demo { background: linear-gradient(180deg,#f5f8ff 0%,#fff 70%); }
.phone-demo-cart { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2b2b2b; color: #fff; font-size: .48rem; font-weight: 700; }
.product-demo-visual { position: relative; height: 157px; margin-top: 9px; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 44%,#eff6ff 0 27%,transparent 28%),linear-gradient(145deg,#dbeafe,#c7d2fe); }
.product-demo-visual::after { content: ""; position: absolute; right: 16px; bottom: 14px; left: 16px; height: 13px; border-radius: 50%; background: rgba(55,65,81,.14); filter: blur(5px); }
.product-demo-badge { position: absolute; z-index: 3; top: 9px; left: 9px; padding: 4px 7px; border-radius: 999px; background: #fff; color: #245fc7; font-size: .43rem; font-weight: 800; box-shadow: 0 5px 12px rgba(36,95,199,.1); }
.product-headphones { position: absolute; z-index: 2; top: 38px; left: 50%; width: 83px; height: 69px; transform: translateX(-50%); border: 9px solid #2b2b2b; border-bottom: 0; border-radius: 48px 48px 12px 12px; }
.product-headphones::before,.product-headphones::after { content: ""; position: absolute; top: 43px; width: 22px; height: 46px; border-radius: 10px; background: linear-gradient(145deg,#3b82f6,#245fc7); box-shadow: inset 0 0 0 4px #2b2b2b; }
.product-headphones::before { left: -15px; transform: rotate(-5deg); }
.product-headphones::after { right: -15px; transform: rotate(5deg); }
.product-demo-info { padding: 10px 2px 4px; }
.product-demo-info small { margin-bottom: 3px; font-size: .4rem; }
.product-demo-info > b { display: block; color: #2b2b2b; font-size: .74rem; font-weight: 700; line-height: 1.05; }
.product-demo-rating { display: block; margin-top: 5px; color: #f59e0b; font-size: .49rem; letter-spacing: .02em; }
.product-demo-rating i { margin-left: 3px; color: #7b8799; font-size: .44rem; font-style: normal; }
.product-demo-price { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; }
.product-demo-price strong { color: #245fc7; font-size: .78rem; }
.product-demo-price del { color: #98a2b3; font-size: .48rem; }
.product-buy-button { background: linear-gradient(135deg,#3b82f6,#245fc7); box-shadow: 0 10px 20px rgba(59,130,246,.23); }
.floating-note {
  position: absolute;
  max-width: 230px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23,64,58,.08);
  color: #63716e;
  font-size: .82rem;
}
.floating-note strong { display: block; margin-bottom: .2rem; color: #182522; }
.floating-note.note-one { top: 40px; right: 2%; }
.floating-note.note-two { bottom: 65px; left: 1%; }

.platform-map {
  display: grid;
  grid-template-columns: minmax(180px,1fr) minmax(260px,1.35fr) minmax(180px,1fr);
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.service-stack { display: grid; gap: 1rem; }
.mini-service {
  min-height: 92px;
  padding: 1.2rem;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 15px 40px rgba(20,70,64,.07);
}
.mini-service b { display: block; color: #14211f; }
.mini-service span { color: #525f70; font-size: .82rem; }
.mini-service::before { content: ""; float: left; width: 38px; height: 38px; margin: 0 .8rem 1rem 0; border-radius: 10px; background: #d9f7ef; }
.platform-core {
  min-height: 350px;
  padding: 1rem;
  border-radius: 26px;
  background: linear-gradient(150deg,#51d5c4,#07968a);
  box-shadow: var(--home-shadow);
}
.platform-browser { height: 100%; min-height: 318px; padding: 12px; border-radius: 17px; background: white; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d6dfdd; }
.browser-page { margin-top: 13px; overflow: hidden; border-radius: 11px; }
.browser-page-top { height: 100px; padding: 24px; background: linear-gradient(135deg,#d8f8ed,#eff6b9); }
.browser-page-top b { display: block; width: 60%; height: 9px; border-radius: 6px; background: #155c54; }
.browser-page-top span { display: block; width: 42%; height: 6px; margin-top: 9px; border-radius: 6px; background: #9cbab5; }
.browser-blocks { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 14px 4px; }
.browser-blocks i { height: 95px; border-radius: 9px; background: #edf3f1; }
.browser-blocks i:nth-child(2) { background: #d8f5ee; }

.industry-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: -1.25rem auto 3.25rem; max-width: 1040px; }
.industry-pills span { padding: .55rem 1rem; border: 1px solid var(--home-line); border-radius: 999px; color: #525f70; background: #fff; font-size: .8rem; }
.laptop-wrap {
  position: relative;
  isolation: isolate;
  width: min(100%, 1100px);
  aspect-ratio: 1440 / 930;
  margin: 0 auto;
}
.laptop-wrap::after {
  position: absolute;
  z-index: -1;
  right: 9%;
  bottom: 1.5%;
  left: 9%;
  height: 8%;
  border-radius: 50%;
  background: rgba(43, 67, 108, .2);
  filter: blur(26px);
  content: "";
}
.laptop-visual {
  --laptop-screen-bg: #fbfcff;
  --laptop-surface: #fff;
  --laptop-hero-start: #eef4ff;
  --laptop-hero-end: #e0e7ff;
  --laptop-ink: #2b2b2b;
  --laptop-muted: #667085;
  --laptop-faint: #8b95a7;
  --laptop-border: #e5eaf2;
  --laptop-card: #fff;
  --laptop-button: #2b2b2b;
  --laptop-button-ink: #fff;
  --laptop-icon-bg: #dbeafe;
  --laptop-icon-ink: #245fc7;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  font-family: var(--font-body);
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}
.laptop-screen-svg { overflow: hidden; }
.laptop-svg-bezel { fill: url(#laptop-bezel-gradient); stroke: #303338; stroke-width: 2; }
.laptop-svg-aperture-edge { fill: none; stroke: #36393e; stroke-width: 2; }
.laptop-svg-base { fill: url(#laptop-base-gradient); stroke: #aeb3b5; stroke-width: 1.5; }
.laptop-svg-base-highlight { fill: none; stroke: #fff; stroke-width: 2; opacity: .9; }
.laptop-svg-hinge { fill: #a5aaac; opacity: .72; }
.laptop-svg-front-edge { fill: url(#laptop-front-edge-gradient); opacity: .95; }
.laptop-svg-screen-bg { fill: var(--laptop-screen-bg); }
.laptop-svg-surface { fill: var(--laptop-surface); }
.laptop-svg-border-line { stroke: var(--laptop-border); stroke-width: 1; }
.laptop-svg-hero-start { stop-color: var(--laptop-hero-start); }
.laptop-svg-hero-end { stop-color: var(--laptop-hero-end); }
.laptop-svg-logo-letter,
.laptop-svg-button-label,
.laptop-svg-cta-label { fill: var(--laptop-button-ink); font-size: 11px; font-weight: 800; }
.laptop-svg-brand { fill: var(--laptop-ink); font-size: 14px; font-weight: 800; }
.laptop-svg-nav { fill: var(--laptop-faint); font-size: 10px; font-weight: 500; }
.laptop-svg-button { fill: var(--laptop-button); }
.laptop-svg-kicker { fill: #2563eb; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; }
.laptop-svg-heading { fill: var(--laptop-ink); font-size: 32px; font-weight: 500; letter-spacing: -.8px; }
.laptop-svg-copy { fill: var(--laptop-muted); font-size: 13px; font-weight: 450; }
.laptop-svg-cta-label { font-size: 11px; }
.laptop-svg-cta-arrow { fill: none; stroke: var(--laptop-button-ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.laptop-svg-panel-label { fill: #eff6ff; font-size: 10px; font-weight: 500; }
.laptop-svg-metric-card,
.laptop-svg-result-tag { fill: rgba(255,255,255,.14); stroke: rgba(255,255,255,.16); stroke-width: 1; }
.laptop-svg-metric-value { fill: #fff; font-size: 27px; font-weight: 700; }
.laptop-svg-card { fill: var(--laptop-card); stroke: var(--laptop-border); stroke-width: 1.5; }
.laptop-svg-icon-bg { fill: var(--laptop-icon-bg); }
.laptop-svg-icon-label { fill: var(--laptop-icon-ink); font-size: 9px; font-weight: 800; }
.laptop-svg-card-title { fill: var(--laptop-ink); font-size: 13px; font-weight: 700; }
.laptop-svg-card-copy { fill: var(--laptop-faint); font-size: 10px; font-weight: 450; }
.laptop-svg-screen-bg,
.laptop-svg-surface,
.laptop-svg-card,
.laptop-svg-icon-bg,
.laptop-svg-button,
.laptop-svg-hero-start,
.laptop-svg-hero-end,
.laptop-visual text { transition: fill .35s ease, stroke .35s ease, stop-color .35s ease; }
:root[data-theme="dark"] .laptop-visual {
  --laptop-screen-bg: #1c1f25;
  --laptop-surface: #20242b;
  --laptop-hero-start: #263f67;
  --laptop-hero-end: #30365d;
  --laptop-ink: #f5f7fa;
  --laptop-muted: #aeb6c5;
  --laptop-faint: #929cab;
  --laptop-border: #343a45;
  --laptop-card: #262b33;
  --laptop-button: #f5f7fa;
  --laptop-button-ink: #1c1f25;
  --laptop-icon-bg: #263f67;
  --laptop-icon-ink: #b9d6ff;
}
:root[data-theme="dark"] .laptop-wrap::after { background: rgba(0, 0, 0, .48); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .laptop-visual {
    --laptop-screen-bg: #1c1f25;
    --laptop-surface: #20242b;
    --laptop-hero-start: #263f67;
    --laptop-hero-end: #30365d;
    --laptop-ink: #f5f7fa;
    --laptop-muted: #aeb6c5;
    --laptop-faint: #929cab;
    --laptop-border: #343a45;
    --laptop-card: #262b33;
    --laptop-button: #f5f7fa;
    --laptop-button-ink: #1c1f25;
    --laptop-icon-bg: #263f67;
    --laptop-icon-ink: #b9d6ff;
  }
  :root:not([data-theme="light"]) .laptop-wrap::after { background: rgba(0, 0, 0, .48); }
}

/* References */
.reference-layout { display: grid; grid-template-columns: .85fr 1.2fr; gap: 3.5rem; align-items: center; }
.reference-list { display: grid; gap: .75rem; }
.reference-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.reference-item.is-active { border-color: var(--home-line); background: #fff; box-shadow: 0 18px 45px rgba(20,70,64,.08); }
.reference-mark { display: grid; place-items: center; width: 62px; height: 58px; padding: 9px; overflow: hidden; border: 1px solid #e5eaf2; border-radius: 12px; background: #fff; }
.reference-mark img { display: block; width: 100%; max-height: 38px; object-fit: contain; filter: brightness(0) saturate(100%); opacity: .78; }
.reference-item b { display: block; color: #172320; }
.reference-item small { display: block; margin-top: .18rem; color: #525f70; line-height: 1.35; }
.case-visual { position: relative; min-height: 500px; overflow: hidden; border: 1px solid rgba(24,48,84,.16); border-radius: 22px; background: #edf3fb; box-shadow: var(--home-shadow); }
.reference-browser-bar { position: absolute; z-index: 3; top: 0; right: 0; left: 0; display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; align-items: center; min-height: 48px; padding: 0 14px; border-bottom: 1px solid #dfe6f0; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.reference-browser-dots { display: flex; gap: 6px; }
.reference-browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c5cfdd; }
.reference-browser-dots i:first-child { background: #fc8794; }
.reference-browser-dots i:nth-child(2) { background: #f7c96c; }
.reference-browser-dots i:last-child { background: #77cda2; }
.reference-browser-address { overflow: hidden; padding: 6px 14px; border: 1px solid #e4e9f1; border-radius: 999px; background: #f7f9fc; color: #525f70; font-size: .72rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.reference-scroll-window { position: absolute; inset: 48px 0 0; overflow: hidden; background: #fff; }
.reference-scroll-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(20,35,58,.04); }
.reference-scroll-image { display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; transform: translate3d(0,0,0); will-change: transform; }
.reference-scroll-image.is-ready { animation: reference-page-scroll var(--preview-duration,20s) ease-in-out 1.2s infinite alternate; }
.reference-browser:hover .reference-scroll-image { animation-play-state: paused; }
.case-label { position: absolute; z-index: 4; right: 1.2rem; bottom: 1.2rem; left: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1rem .9rem 1.2rem; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 14px 36px rgba(24,45,76,.16); backdrop-filter: blur(14px); }
.case-label-copy { display: block; min-width: 0; }
.case-label b { display: block; color: #16231f; }
.case-label .case-label-copy small { display: block; margin-top: .1rem; color: #525f70; font-size: .76rem; font-weight: 500; }
.case-visit-link { flex: 0 0 auto; padding: .68rem .86rem; border-radius: 10px; background: #2b2b2b; color: #fff; font-size: .76rem; font-weight: 700; text-decoration: none; transition: transform var(--dur-elevate) var(--ease-elevate), box-shadow var(--dur-elevate) var(--ease-elevate), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.case-visit-link span { margin-left: .18rem; color: inherit; font-size: inherit; }
@media (hover:hover) {
  .case-visit-link:hover { background: var(--accent-deep); color: var(--accent-ink); box-shadow: 0 14px 30px color-mix(in srgb,var(--accent-deep) 30%,transparent); transform: translateY(-2px); }
}

@keyframes reference-page-scroll {
  0%,8% { transform: translate3d(0,0,0); }
  92%,100% { transform: translate3d(0,calc(var(--preview-travel,0px) * -1),0); }
}

/* Client logo loop */
.client-marquee-band { padding-block: 3.75rem !important; border-block: 1px solid var(--home-line); background: #fbfcff; }
.client-marquee-heading { margin-bottom: 2rem !important; }
.client-marquee-heading h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); }
.client-marquee-band .marquee-track { gap: 1rem; animation-duration: 42s; }
.client-marquee-band .marquee-item { min-width: 220px; height: 104px; padding: 18px 24px; border-color: #dfe7f3; background: #fff; box-shadow: 0 12px 35px rgba(43,67,108,.05); }
.client-marquee-band .marquee-item img { width: 100%; max-width: 165px; height: 100%; max-height: 62px; object-fit: contain; filter: brightness(0) saturate(100%); opacity: .72; transition: filter .3s ease,opacity .3s ease,transform .3s ease; }
@media (hover:hover) {
  .client-marquee-band .marquee-item:hover img { opacity: 1; transform: scale(1.035); }
}

/* AI band */
.ai-band { padding-block: 3rem !important; }
.ai-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 420px; overflow: hidden; border-radius: 28px; background: #effaf7; }
.ai-copy { padding: clamp(2rem,5vw,4.5rem); }
.ai-copy h2 { max-width: 560px; font-size: clamp(2rem,3.7vw,3.7rem); }
.ai-chat { padding: 2rem; }
.ai-message { max-width: 370px; margin-bottom: .8rem; padding: 1rem 1.2rem; border-radius: 18px; background: white; color: #66746f; box-shadow: 0 16px 40px rgba(22,80,71,.08); font-size: .9rem; }
.ai-message.answer { margin-left: 2rem; background: var(--home-teal); color: white; }
.ai-orb { position: relative; width: 180px; height: 180px; margin: 1.5rem auto 0; border-radius: 50%; background: radial-gradient(circle at 34% 30%,#fff 0 5%,#aef2df 6% 18%,#20baa7 50%,#087b71 100%); box-shadow: 0 25px 55px rgba(13,137,124,.3); }
.ai-orb::before,.ai-orb::after { content: ""; position: absolute; top: 72px; width: 16px; height: 25px; border-radius: 50%; background: #073b36; }
.ai-orb::before { left: 55px; }.ai-orb::after { right: 55px; }

/* Pricing */
.pricing-section { background: #fbfdfc; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.pricing-group-title { margin: 3.2rem 0 1.2rem; text-align: center; font-size: clamp(1.25rem,2vw,1.65rem); font-weight: 400; }
.pricing-grid.home-pricing-group { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-price { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 1.6rem; border: 1px solid var(--home-line); border-radius: 18px; background: #fff; box-shadow: 0 15px 45px rgba(20,65,59,.05); }
.home-price.featured { transform: translateY(-12px); border-color: transparent; background: linear-gradient(160deg,#1ac1ad,#078d82); color: white; box-shadow: 0 25px 60px rgba(9,142,130,.25); }
.home-price .plan-name { color: #525f70; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.home-price.featured .plan-name,.home-price.featured p,.home-price.featured li { color: rgba(255,255,255,.83); }
.home-price .amount { margin: 1rem 0; color: #101d1a; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.home-price.featured .amount { color: white; }
.home-price .amount span { font-size: .85rem; font-weight: 500; }
.home-price ul { display: grid; gap: .8rem; margin: 1.2rem 0 2rem; }
.home-price li { position: relative; padding-left: 1.25rem; color: #6f7e7a; font-size: .88rem; }
.home-price li::before { content: "✓"; position: absolute; left: 0; color: var(--home-teal); font-weight: 800; }
.home-price.featured li::before { color: white; }
.home-price .btn { margin-top: auto; }
.home-price.featured .btn { background: white; color: var(--home-teal-dark); border-color: white; }
.home-price-saving { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--home-line); font-size: .84rem; }
.home-price.featured .home-price-saving { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.9); }
.home-price-saving + .btn { margin-top: 1rem; }
.pricing-note { max-width: 850px; margin: 2.2rem auto 0; text-align: center; font-size: .92rem; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; max-width: 980px; margin: 0 auto; }
.article-card { display: block; overflow: hidden; border: 1px solid var(--home-line); border-radius: 20px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--home-shadow); }
.article-art { position: relative; aspect-ratio: 16/8.3; overflow: hidden; background: #102a28; }
.article-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%,rgba(89,230,209,.8),transparent 28%), linear-gradient(135deg,#0d2422,#17685f); }
.article-art.seo::after { content: "SEO"; position: absolute; right: 1.5rem; bottom: 1rem; color: rgba(255,255,255,.9); font-size: 4.2rem; font-weight: 800; letter-spacing: -.08em; }
.article-art.shop::before { background: radial-gradient(circle at 30% 35%,#e4f7a8,transparent 30%),linear-gradient(140deg,#0f786e,#172c29); }
.article-art.ads::before { background: linear-gradient(135deg,#161e2a,#286c82 45%,#93e8d5); }
.article-art.web::before { background: radial-gradient(circle at 25% 25%,#60dcca,transparent 24%),linear-gradient(150deg,#091b28,#274a76); }
.article-art.has-cover::before,
.article-art.has-cover::after { display: none; }
.home-blog-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .75s cubic-bezier(.16,1,.3,1), filter .35s ease; }
.article-card:hover .home-blog-cover { transform: scale(1.035); filter: saturate(1.05); }
.article-body { padding: 1.2rem 1.35rem 1.4rem; }
.article-body small { color: var(--home-teal-dark); font-weight: 700; }
.article-body h3 { margin: .45rem 0 0; font-size: 1.25rem; }

/* Elebyte blue palette */
.home-header .nav-desktop a,
.home-header .nav-desktop summary { color: #344054; }
.home-hero-copy .hero-label { border-color: rgba(59,130,246,.2); color: #245fc7; }
.home-hero-copy .hero-label::before { background: #2563eb; box-shadow: 0 0 0 5px rgba(59,130,246,.14); }
.home-hero-copy h1 { color: #202124; }
.home-hero-copy h1 span { background: linear-gradient(90deg,#245fc7,#3b82f6 55%,#6d7ce8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero-copy > p { color: #526174; }
.dashboard-shell { box-shadow: 0 24px 48px rgba(43,67,108,.16); }
.dashboard { border-color: #e5eaf2; }
.dash-sidebar { border-color: #edf1f7; background: #fbfcff; }
.dash-logo { background: linear-gradient(135deg,#7db4ff,#3b82f6); }
.dash-side-item { background: #e2e8f2; }
.dash-side-item.active { background: #e7f0ff; box-shadow: inset 3px 0 #2563eb; }
.dash-title strong { color: #2b2b2b; }
.dash-title span,.dash-panel-head { color: #667085; }
.dash-avatar { background: linear-gradient(145deg,#cbdcf7,#344054); }
.dash-metric,.dash-panel { border-color: #e7ebf2; }
.dash-metric:first-child { color: #245fc7; background: #e7f0ff; border-color: #cfe1ff; }
.dash-row { border-color: #edf0f5; }
.dash-row i { background: linear-gradient(135deg,#e6efff,#8ab8ff); }
.dash-row b { background: #d5dce8; }
.dash-row b:nth-child(3) { background: #e9edf3; }
.dash-row em { background: #dceaff; }
.site-phone { border-color: #2b2b2b; background: #2b2b2b; box-shadow: 0 28px 50px rgba(43,43,43,.2); }
.phone-notch { background: #2b2b2b; }
.phone-screen { background: #f8faff; }
.phone-hero { background: linear-gradient(145deg,#dbeafe,#e0e7ff); }
.phone-hero b { color: #2b2b2b; }
.phone-hero span { background: rgba(59,85,130,.22); }
.phone-cards i { background: linear-gradient(135deg,#e8f0ff,#8ab8ff); }
.phone-cards i:nth-child(2) { background: linear-gradient(135deg,#eef2ff,#a5b4fc); }
.phone-cards i:nth-child(3) { background: linear-gradient(135deg,#dbeafe,#60a5fa); }
.phone-cards i:nth-child(4) { background: linear-gradient(135deg,#f1f5f9,#94a3b8); }
.floating-note { border-color: #e5eaf2; box-shadow: 0 18px 50px rgba(43,67,108,.08); color: #667085; }
.floating-note strong,.mini-service b { color: #2b2b2b; }
.mini-service { border-color: #e5eaf2; box-shadow: 0 15px 40px rgba(43,67,108,.07); }
.mini-service::before { background: #dbeafe; }
.platform-core { background: linear-gradient(150deg,#70a9ff,#2563eb 60%,#245fc7); box-shadow: var(--home-shadow); }
.browser-dots i { background: #d9dfeb; }
.browser-page-top { background: linear-gradient(135deg,#dbeafe,#e0e7ff); }
.browser-page-top b { background: #315b9b; }
.browser-page-top span { background: #9db0cd; }
.browser-blocks i { background: #edf1f7; }
.browser-blocks i:nth-child(2) { background: #dbeafe; }
.industry-pills span { border-color: #e5eaf2; color: #525f70; }
.reference-item.is-active .reference-mark { border-color: #cbdcf7; }
.reference-item.is-active { border-color: #dce5f3; box-shadow: 0 18px 45px rgba(43,67,108,.08); }
.case-visual { background: #edf3fb; box-shadow: var(--home-shadow); }
.ai-card { background: #eff6ff; }
.ai-message { box-shadow: 0 16px 40px rgba(43,67,108,.08); color: #667085; }
.ai-message.answer { background: #2563eb; }
.ai-orb { background: radial-gradient(circle at 34% 30%,#fff 0 5%,#cfe1ff 6% 18%,#4f91f7 50%,#245fc7 100%); box-shadow: 0 25px 55px rgba(59,130,246,.3); }
.ai-orb::before,.ai-orb::after { background: #243a5a; }
.pricing-section { background: #fbfcff; }
.home-price { border-color: #e5eaf2; box-shadow: 0 15px 45px rgba(43,67,108,.05); }
.home-price.featured { background: linear-gradient(160deg,#5b9cff,#2563eb 55%,#245fc7); box-shadow: 0 25px 60px rgba(59,130,246,.25); }
.home-price .amount { color: #2b2b2b; }
.home-price li { color: #667085; }
.article-card { border-color: #e5eaf2; }
.article-art { background: #1f2937; }
.article-art::before { background: radial-gradient(circle at 70% 30%,rgba(96,165,250,.85),transparent 28%),linear-gradient(135deg,#1f2937,#245fc7); }
.article-art.shop::before { background: radial-gradient(circle at 30% 35%,#dbeafe,transparent 30%),linear-gradient(140deg,#3b82f6,#2b2b2b); }
.article-art.ads::before { background: linear-gradient(135deg,#202124,#344b73 45%,#93c5fd); }
.article-art.web::before { background: radial-gradient(circle at 25% 25%,#60a5fa,transparent 24%),linear-gradient(150deg,#202124,#274a76); }

/* Homepage dark mode */
:root[data-theme="dark"] .home-page {
  --home-copy: #aeb6c5;
  --home-line: #343a45;
  --home-shadow: 0 28px 70px rgba(0,0,0,.34);
  background: #111317;
  color: #f4f6f9;
}
:root[data-theme="dark"] .home-page p { color: #aeb6c5; }
:root[data-theme="dark"] .home-page .section-kicker,
:root[data-theme="dark"] .home-page .accent-text,
:root[data-theme="dark"] .home-page .growth-kicker,
:root[data-theme="dark"] .home-page .article-body small { color: #93c5fd; }
:root[data-theme="dark"] .home-header .nav-desktop a,
:root[data-theme="dark"] .home-header .nav-desktop summary { color: #d7dce5; }
:root[data-theme="dark"] .home-header .nav-desktop a:hover,
:root[data-theme="dark"] .home-header .nav-desktop a[aria-current="page"] { color: #fff; }
:root[data-theme="dark"] .home-header .theme-toggle,
:root[data-theme="dark"] .home-header .nav-toggle { border-color: #4a5260; background: rgba(43,43,43,.76); color: #fff; }
:root[data-theme="dark"] .home-header .header-cta { border-color: #2563eb; background: #2563eb; }
:root[data-theme="dark"] .home-hero-copy .hero-label { border-color: rgba(147,197,253,.22); background: rgba(30,35,45,.48); color: #9fc5ff; }
:root[data-theme="dark"] .home-hero-copy h1 { color: #f7f9fc; }
:root[data-theme="dark"] .home-hero-copy > p { color: #bdc5d1; }
:root[data-theme="dark"] .home-hero-actions .btn-light { border-color: #4a5260; background: #f5f7fa; color: #2b2b2b; }
:root[data-theme="dark"] .home-hero-actions .btn-dark { border-color: #2563eb; background: #2563eb; color: #fff; }
@media (hover:hover) {
  .home-page .home-header .header-cta:hover,
  .home-page .home-hero-actions .btn-dark:hover { border-color: var(--accent-deep); background: var(--accent-deep); color: var(--accent-ink); }
  .home-page .home-hero-actions .btn-light:hover,
  .home-page .home-price.featured .btn:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
}
:root[data-theme="dark"] .dashboard-shell { border-color: rgba(148,163,184,.18); background: rgba(29,33,41,.88); box-shadow: 0 24px 48px rgba(0,0,0,.28); }
:root[data-theme="dark"] .dashboard { border-color: #343a45; background: #1c1f25; }
:root[data-theme="dark"] .dash-sidebar { border-color: #343a45; background: #20242b; }
:root[data-theme="dark"] .dash-side-item { background: #3a414c; }
:root[data-theme="dark"] .dash-side-item.active { background: #273a59; }
:root[data-theme="dark"] .dash-title strong,
:root[data-theme="dark"] .dash-metric strong { color: #f5f7fa; }
:root[data-theme="dark"] .dash-title span,
:root[data-theme="dark"] .dash-metric span,
:root[data-theme="dark"] .dash-panel-head { color: #b3bdcc; }
:root[data-theme="dark"] .dash-metric,
:root[data-theme="dark"] .dash-panel { border-color: #343a45; background: #20242b; }
:root[data-theme="dark"] .dash-metric:first-child { border-color: #345c98; background: #243a5d; color: #9fc5ff; }
:root[data-theme="dark"] .dash-row { border-color: #343a45; }
:root[data-theme="dark"] .dash-row b { background: #4a5260; }
:root[data-theme="dark"] .dash-row b:nth-child(3) { background: #343a45; }
:root[data-theme="dark"] .dash-row em { background: #2d4a76; }
:root[data-theme="dark"] .floating-note,
:root[data-theme="dark"] .mini-service,
:root[data-theme="dark"] .reference-item.is-active,
:root[data-theme="dark"] .home-price,
:root[data-theme="dark"] .article-card { border-color: #343a45; background: #1c1f25; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
:root[data-theme="dark"] .floating-note,
:root[data-theme="dark"] .mini-service span,
:root[data-theme="dark"] .reference-item small { color: #9ea7b5; }
:root[data-theme="dark"] .floating-note strong,
:root[data-theme="dark"] .mini-service b,
:root[data-theme="dark"] .reference-item b,
:root[data-theme="dark"] .article-body h3,
:root[data-theme="dark"] .home-price .amount { color: #f5f7fa; }
:root[data-theme="dark"] .phone-screen { background: #1c1f25; }
:root[data-theme="dark"] .phone-hero { background: linear-gradient(145deg,#263f67,#30365d); }
:root[data-theme="dark"] .phone-hero b { color: #f4f6f9; }
:root[data-theme="dark"] .phone-hero span { background: rgba(191,219,254,.26); }
:root[data-theme="dark"] .platform-browser { background: #1c1f25; }
:root[data-theme="dark"] .browser-page-top { background: linear-gradient(135deg,#263f67,#30365d); }
:root[data-theme="dark"] .browser-page-top b { background: #dbeafe; }
:root[data-theme="dark"] .browser-page-top span { background: #8797b1; }
:root[data-theme="dark"] .browser-blocks i { background: #2a2f38; }
:root[data-theme="dark"] .browser-blocks i:nth-child(2) { background: #263f67; }
:root[data-theme="dark"] .industry-pills span { border-color: #343a45; background: #1c1f25; color: #aeb6c5; }
:root[data-theme="dark"] .reference-mark { border-color: #343a45; background: #1c1f25; }
:root[data-theme="dark"] .reference-mark img { filter: none; opacity: .9; }
:root[data-theme="dark"] .case-visual { background: linear-gradient(145deg,#27344a,#1b2432); }
:root[data-theme="dark"] .reference-browser-bar { border-color: #343a45; background: rgba(28,31,37,.94); }
:root[data-theme="dark"] .reference-browser-address { border-color: #3d4552; background: #262b33; color: #aeb6c5; }
:root[data-theme="dark"] .case-label { background: rgba(28,31,37,.88); }
:root[data-theme="dark"] .case-label b { color: #f5f7fa; }
:root[data-theme="dark"] .case-label .case-label-copy small { color: #aeb6c5; }
:root[data-theme="dark"] .client-marquee-band { border-color: #343a45; background: #15181d; }
:root[data-theme="dark"] .client-marquee-band .marquee-item { border-color: #343a45; background: #1c1f25; color: #eef1f6; box-shadow: 0 12px 35px rgba(0,0,0,.2); }
:root[data-theme="dark"] .client-marquee-band .marquee-item img { filter: none; opacity: .9; }
:root[data-theme="dark"] .ai-card { background: #1a2535; }
:root[data-theme="dark"] .ai-message { background: #262b33; color: #c2c8d2; box-shadow: 0 16px 40px rgba(0,0,0,.24); }
:root[data-theme="dark"] .ai-message.answer { background: #2563eb; color: #fff; }
:root[data-theme="dark"] .pricing-section { background: #15181d; }
:root[data-theme="dark"] .home-price .plan-name,
:root[data-theme="dark"] .home-price li { color: #aeb6c5; }
:root[data-theme="dark"] .home-price.featured { border-color: transparent; background: linear-gradient(160deg,#5b9cff,#2563eb 55%,#245fc7); }
:root[data-theme="dark"] .home-price.featured :is(.plan-name,p,li,.amount) { color: #fff; }
:root[data-theme="dark"] .article-body { background: #1c1f25; }
/* Tasteful homepage motion */
.home-hero-glow {
  position: absolute;
  z-index: 1;
  inset: -12%;
  pointer-events: none;
  background: var(--page-hero-glow);
  transform: translate3d(0,0,0);
}
.motion-ready .home-header,
.motion-ready .home-hero-copy .hero-label,
.motion-ready .home-hero-copy h1,
.motion-ready .home-hero-copy > p,
.motion-ready .home-hero-actions,
.motion-ready .dashboard-shell {
  opacity: 0;
  will-change: opacity, transform;
}
.motion-ready .home-header { transform: translateY(-16px); }
.motion-ready .home-hero-copy .hero-label,
.motion-ready .home-hero-copy h1,
.motion-ready .home-hero-copy > p,
.motion-ready .home-hero-actions { transform: translateY(24px); }
.motion-ready .dashboard-shell {
  transform: translateY(32px) scale(.99);
}
.motion-ready.home-motion-loaded .home-header,
.motion-ready.home-motion-loaded .home-hero-copy .hero-label,
.motion-ready.home-motion-loaded .home-hero-copy h1,
.motion-ready.home-motion-loaded .home-hero-copy > p,
.motion-ready.home-motion-loaded .home-hero-actions,
.motion-ready.home-motion-loaded .dashboard-shell {
  opacity: 1;
  transform: translateY(0);
  transition-property: opacity, transform;
  transition-duration: .8s;
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}
.motion-ready.home-motion-loaded .home-header { transition-delay: .04s; }
.motion-ready.home-motion-loaded .home-hero-copy .hero-label { transition-delay: .12s; }
.motion-ready.home-motion-loaded .home-hero-copy h1 { transition-delay: .2s; }
.motion-ready.home-motion-loaded .home-hero-copy > p { transition-delay: .3s; }
.motion-ready.home-motion-loaded .home-hero-actions { transition-delay: .4s; }
.motion-ready.home-motion-loaded .dashboard-shell {
  transform: none;
  transition-delay: .48s;
  transition-duration: .9s;
}
.motion-ready .home-reveal,
.motion-ready .home-stagger-item {
  opacity: 0;
  transform: translateY(34px) scale(.988);
  transition: opacity .78s cubic-bezier(.16,1,.3,1), transform .78s cubic-bezier(.16,1,.3,1);
}
.motion-ready .home-stagger-item { transition-delay: var(--motion-delay,0ms); }
.motion-ready .home-reveal.is-visible,
.motion-ready .home-stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.motion-ready .home-lift-item {
  opacity: 0;
  translate: 0 34px;
  scale: .985;
  transition: opacity .78s cubic-bezier(.16,1,.3,1), translate .78s cubic-bezier(.16,1,.3,1), scale .78s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--motion-delay,0ms);
}
.motion-ready .home-lift-item.is-visible { opacity: 1; translate: 0 0; scale: 1; }
.motion-ready .section-heading.home-reveal { transform: translateY(26px); }
.motion-ready .section-heading.home-reveal.is-visible { transform: translateY(0); }
.motion-ready .dashboard-shell .dash-row em { position: relative; overflow: hidden; }
.motion-ready .dashboard-shell .dash-row em::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  transform: translateX(-120%);
  animation: dashboard-sheen 4.8s ease-in-out infinite;
}
.motion-ready .dashboard-shell .dash-row:nth-child(3) em::after { animation-delay: .7s; }
.motion-ready .dashboard-shell .dash-row:nth-child(4) em::after { animation-delay: 1.4s; }
.motion-ready .phone-composition.is-visible .site-phone.one { animation: phone-float-one 6.8s ease-in-out infinite; }
.motion-ready .phone-composition.is-visible .site-phone.two { animation: phone-float-two 7.4s ease-in-out .5s infinite; }
.motion-ready .platform-core.is-visible {
  background-size: 180% 180%;
  animation: brand-gradient-drift 9s ease-in-out infinite;
}
.motion-ready .ai-chat.is-visible .ai-orb { animation: orb-float 5.8s ease-in-out infinite; }
.motion-ready .ai-chat.is-visible .ai-message:first-child { animation: message-breathe 5.8s ease-in-out infinite; }
.motion-ready .ai-chat.is-visible .ai-message.answer { animation: message-breathe 5.8s ease-in-out .7s infinite; }
.mini-service,
.reference-item,
.home-price,
.article-card { transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s ease, border-color .32s ease, background-color .32s ease; }
@media (hover:hover) {
  .mini-service.home-stagger-item.is-visible:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(43,67,108,.13); }
  .reference-item.home-stagger-item.is-visible:hover { transform: translateX(5px); }
  .home-price:not(.featured):hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(43,67,108,.12); }
}
.case-visual { transition: opacity .22s ease, transform .78s cubic-bezier(.16,1,.3,1); }
.motion-ready .case-visual.home-reveal.is-visible.is-switching { opacity: .58; transform: scale(.985); }
.motion-ready.home-motion-settled .home-header,
.motion-ready.home-motion-settled .home-hero-copy .hero-label,
.motion-ready.home-motion-settled .home-hero-copy h1,
.motion-ready.home-motion-settled .home-hero-copy > p,
.motion-ready.home-motion-settled .home-hero-actions,
.motion-ready.home-motion-settled .dashboard-shell { will-change: auto; }
.home-page :where(.dashboard,.dash-sidebar,.dash-metric,.dash-panel,.phone-screen,.floating-note,.mini-service,.platform-browser,.industry-pills span,.reference-item,.case-label,.ai-card,.ai-message,.pricing-section,.home-price,.article-card,.article-body) {
  transition-property: background-color,border-color,color,box-shadow;
  transition-duration: .4s;
  transition-timing-function: ease;
}
@keyframes dashboard-sheen {
  0%,58% { transform: translateX(-120%); opacity: 0; }
  68% { opacity: .8; }
  88%,100% { transform: translateX(120%); opacity: 0; }
}
@keyframes phone-float-one {
  0%,100% { transform: translateX(var(--phone-x)) translateY(0) rotate(var(--phone-rotate)); }
  50% { transform: translateX(var(--phone-x)) translateY(-12px) rotate(calc(var(--phone-rotate) + 1deg)); }
}
@keyframes phone-float-two {
  0%,100% { transform: translateX(var(--phone-x)) translateY(0) rotate(var(--phone-rotate)); }
  50% { transform: translateX(var(--phone-x)) translateY(11px) rotate(calc(var(--phone-rotate) - 1deg)); }
}
@keyframes brand-gradient-drift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes orb-float {
  0%,100% { transform: translateY(0) rotate(-1deg); box-shadow: 0 25px 55px rgba(59,130,246,.28); }
  50% { transform: translateY(-10px) rotate(1deg); box-shadow: 0 34px 68px rgba(59,130,246,.38); }
}
@keyframes message-breathe {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid.home-pricing-group { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-price.featured { transform: none; }
  .reference-layout { grid-template-columns: 1fr; }
  .reference-list { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .home-hero { min-height: auto; }
  .home-hero-copy { margin-top: 3.3rem; }
  .home-hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .dashboard { grid-template-columns: 1fr; min-height: 0; }
  .dash-sidebar { display: none; }
  .dash-main { padding: 24px 20px; }
  .dash-metrics { grid-template-columns: 1fr; }
  .dash-metric:nth-child(n+2) { display: block; }
  .dash-row em { display: block; }
  .platform-map { grid-template-columns: 1fr; }
  .service-stack { grid-template-columns: 1fr 1fr; }
  .platform-core { grid-row: 1; }
  .floating-note { display: none; }
  .phone-composition { min-height: 520px; }
  .site-phone { width: 185px; }
  .site-phone.one { --phone-x: -93%; --phone-rotate: -8deg; }
  .site-phone.two { --phone-x: -4%; --phone-rotate: 7deg; }
  .reference-list { grid-template-columns: 1fr; }
  .case-visual { min-height: 360px; }
  .ai-card { grid-template-columns: 1fr; }
  .ai-chat { padding-top: 0; }
  .article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-page section { padding-block: 4.5rem; }
  .section-heading { margin-bottom: 2.8rem !important; }
  .home-hero-actions { flex-direction: column; align-items: stretch; padding-inline: 1.2rem; }
  .home-hero-actions .btn { width: 100%; }
  .dashboard-shell { width: calc(100% - 1rem); padding: 6px; }
  .service-stack { grid-template-columns: 1fr; }
  .phone-composition { transform: scale(.84); transform-origin: top center; margin-bottom: -80px; }
  .motion-ready .phone-composition.home-reveal { transform: translateY(28px) scale(.84); }
  .motion-ready .phone-composition.home-reveal.is-visible { transform: translateY(0) scale(.84); }
  .pricing-grid,
  .pricing-grid.home-pricing-group { grid-template-columns: 1fr; }
}

/* Interactive growth comparison */
.dashboard[data-growth-dashboard] { min-height: 560px; }
.dashboard[data-growth-dashboard] .dash-main { display: flex; flex-direction: column; }
.dashboard[data-growth-dashboard] .dash-top { align-items: flex-start; }
.dash-state-toggle {
  display: inline-flex;
  flex-shrink: 0;
  gap: 3px;
  padding: 3px;
  border: 1px solid #dfe5ef;
  border-radius: 999px;
  background: #f3f6fb;
}
.dash-state-toggle button {
  min-height: 44px;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #596579;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease;
}
.dash-state-toggle button:hover { color: #2b2b2b; }
.dash-state-toggle button.is-active { background: #2b2b2b; color: #fff; box-shadow: 0 6px 16px rgba(43,43,43,.16); }
.dash-state-toggle button:active { transform: scale(.97); }
.dash-example-note { margin: .55rem 0 0; color: #667085; font-size: .8125rem; line-height: 1.5; }
.dashboard[data-growth-dashboard] .dash-metrics { margin: 20px 0 18px; }
.dashboard[data-growth-dashboard] .dash-metric { position: relative; overflow: hidden; min-width: 0; }
.dashboard[data-growth-dashboard] .dash-metric::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(59,130,246,.08);
  transition: transform .55s cubic-bezier(.16,1,.3,1),opacity .3s ease;
}
.dashboard[data-state="before"] .dash-metric::after { transform: scale(.55); opacity: .35; }
.dashboard[data-state="after"] .dash-metric::after { transform: scale(1); opacity: 1; }
.dashboard[data-growth-dashboard] .dash-metric strong { position: relative; z-index: 1; font-size: 1.5rem; }
.dashboard[data-growth-dashboard] .dash-metric strong [data-dash-number] { color: inherit; font-size: inherit; }
.dash-comparison { position: relative; z-index: 1; display: block; margin-top: .45rem; color: #667085; font-size: .75rem; line-height: 1.4; }
.dash-comparison b { margin-inline: .2rem; color: #245fc7; font-weight: 700; }
.dashboard[data-growth-dashboard] .dash-panel { margin-top: auto; }
.dashboard[data-growth-dashboard] .dash-panel-head { margin-bottom: 4px; }
.dashboard[data-growth-dashboard] .dash-row {
  grid-template-columns: 44px minmax(200px,1.25fr) minmax(160px,1fr) 92px;
  gap: 16px;
  min-height: 72px;
  padding: 12px 0;
}
.dash-channel-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e7f0ff;
  color: #245fc7;
  font-size: .75rem;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
}
.dash-channel { display: block; min-width: 0; }
.dashboard[data-growth-dashboard] .dash-channel b {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #344054;
  font-size: .875rem;
  line-height: 1.35;
}
.dash-channel small { display: block; margin-top: .2rem; color: #667085; font-size: .75rem; line-height: 1.4; }
.dash-progress { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #e8edf4; }
.dash-progress > span {
  display: block;
  width: var(--dash-progress,0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#8ab8ff,#3b82f6);
  box-shadow: 0 0 14px rgba(59,130,246,.2);
  transition: width .75s cubic-bezier(.16,1,.3,1),background .3s ease;
}
.dashboard[data-state="before"] .dash-progress > span { background: linear-gradient(90deg,#aeb7c5,#7c8798); box-shadow: none; }
.dashboard[data-growth-dashboard] .dash-row em {
  justify-self: end;
  width: auto;
  min-width: 84px;
  height: auto;
  padding: .45rem .65rem;
  border-radius: 999px;
  background: #e7f0ff;
  color: #245fc7;
  font-size: .75rem;
  line-height: 1.3;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}
.dashboard[data-state="before"] .dash-row em { background: #eef1f5; color: #697586; }
.dashboard[data-growth-dashboard] .dash-row em.is-changing { animation: dash-result-pop .42s cubic-bezier(.16,1,.3,1); }
@keyframes dash-result-pop {
  0% { opacity: .25; transform: translateY(5px) scale(.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
:root[data-theme="dark"] .dash-state-toggle { border-color: #3a424f; background: #20242b; }
:root[data-theme="dark"] .dash-state-toggle button { color: #b3bdcc; }
:root[data-theme="dark"] .dash-state-toggle button:hover { color: #fff; }
:root[data-theme="dark"] .dash-state-toggle button.is-active { background: #2563eb; color: #fff; box-shadow: 0 6px 18px rgba(59,130,246,.24); }
:root[data-theme="dark"] .dash-example-note { color: #b3bdcc; }
:root[data-theme="dark"] .dash-comparison { color: #b3bdcc; }
:root[data-theme="dark"] .dash-comparison b { color: #8ab8ff; }
:root[data-theme="dark"] .dashboard[data-growth-dashboard] .dash-channel b { color: #e7eaf0; }
:root[data-theme="dark"] .dash-channel small { color: #b3bdcc; }
:root[data-theme="dark"] .dash-channel-mark { background: #263f67; color: #b9d6ff; }
:root[data-theme="dark"] .dash-progress { background: #353c47; }
:root[data-theme="dark"] .dashboard[data-state="before"] .dash-progress > span { background: linear-gradient(90deg,#667182,#8994a4); }
:root[data-theme="dark"] .dashboard[data-growth-dashboard] .dash-row em { background: #263f67; color: #b9d6ff; }
:root[data-theme="dark"] .dashboard[data-state="before"] .dash-row em { background: #303640; color: #aeb6c5; }

@media (min-width: 761px) and (max-width: 900px) {
  .dashboard[data-growth-dashboard] { grid-template-columns: 70px 1fr; }
  .dashboard[data-growth-dashboard] .dash-sidebar { padding-inline: 12px; }
  .dashboard[data-growth-dashboard] .dash-main { padding: 26px 22px; }
  .dashboard[data-growth-dashboard] .dash-row {
    grid-template-columns: 40px minmax(145px,1.2fr) minmax(110px,1fr) 84px;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .dashboard[data-growth-dashboard] { grid-template-columns: 1fr; min-height: 0; }
  .dashboard[data-growth-dashboard] .dash-sidebar { display: none; }
  .dashboard[data-growth-dashboard] .dash-top { flex-direction: column; }
  .dash-state-toggle { width: 100%; }
  .dash-state-toggle button { flex: 1; }
  .dashboard[data-growth-dashboard] .dash-metrics { grid-template-columns: 1fr; gap: 12px; }
  .dashboard[data-growth-dashboard] .dash-metric:nth-child(n+2) { display: block; }
  .dashboard[data-growth-dashboard] .dash-panel { margin-top: 0; }
  .dashboard[data-growth-dashboard] .dash-row {
    grid-template-columns: 40px minmax(0,1fr) auto;
    gap: 10px 12px;
    min-height: 0;
    padding: 14px 0;
  }
  .dashboard[data-growth-dashboard] .dash-progress { grid-column: 1 / -1; grid-row: 2; }
  .dashboard[data-growth-dashboard] .dash-row em { grid-column: 3; grid-row: 1; }
}
@media (max-width: 520px) {
  .dashboard[data-growth-dashboard] { min-height: 0; }
  .dashboard[data-growth-dashboard] .dash-main { padding: 22px 16px; }
  .dashboard[data-growth-dashboard] .dash-panel { padding: 16px; }
  .dashboard[data-growth-dashboard] .dash-row em { min-width: 72px; padding-inline: .5rem; }
}

/* Elebyte icon inside the hero dashboard */
.dashboard .dash-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 30px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.dash-logo img { grid-area: 1 / 1; width: 38px; height: 38px; object-fit: contain; }
.dash-logo-dark { display: none; }
:root[data-theme="dark"] .dash-logo-light { display: none; }
:root[data-theme="dark"] .dash-logo-dark { display: block; }

/* Service icon cards and client-benefit growth chart */
.mini-service {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: center;
  gap: .85rem;
}
.mini-service::before { content: none; }
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 13px;
  background: linear-gradient(145deg,#e7f0ff,#dbeafe);
  color: #2563eb;
  transition: transform .3s cubic-bezier(.16,1,.3,1),background .3s ease,color .3s ease;
}
.service-icon svg { width: 23px; height: 23px; }
.mini-service-copy { display: block; min-width: 0; }
.mini-service-copy > b { display: block; }
.mini-service-copy > span { display: block; margin-top: .1rem; color: #525f70; font-size: .82rem; line-height: 1.35; }
@media (hover:hover) {
  .mini-service:hover .service-icon { transform: translateY(-3px) rotate(-2deg); background: #2563eb; color: #fff; }
}
:root[data-theme="dark"] .service-icon { background: linear-gradient(145deg,#263f67,#223552); color: #b9d6ff; }
:root[data-theme="dark"] .mini-service-copy > span { color: #9ea8b7; }

.platform-core { min-height: 420px; }
.growth-browser { min-height: 388px; overflow: hidden; }
.growth-visual { padding: 18px 18px 15px; }
.growth-kicker {
  display: block;
  margin-bottom: .45rem;
  color: #2563eb;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.growth-visual > strong { display: block; color: #2b2b2b; font-size: clamp(1.35rem,2.4vw,1.75rem); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; }
.growth-visual > small { display: block; max-width: 36ch; margin-top: .55rem; color: #525f70; font-size: .7rem; line-height: 1.4; }
.growth-chart {
  position: relative;
  height: 142px;
  margin-top: 1rem;
  padding: 13px 12px 21px;
  border: 1px solid #e4eaf3;
  border-radius: 14px;
  background:
    repeating-linear-gradient(to bottom,transparent 0 26px,rgba(93,117,157,.09) 26px 27px),
    linear-gradient(180deg,#fbfdff,#f5f8fd);
}
.growth-bars { display: flex; align-items: flex-end; gap: 8px; height: 100%; }
.growth-bar { display: flex; align-items: flex-end; flex: 1; height: 100%; }
.growth-bar > span {
  display: block;
  width: 100%;
  min-height: 10px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg,#8ab8ff,#3b82f6);
  box-shadow: 0 7px 16px rgba(59,130,246,.16);
  transform-origin: bottom;
  transition: transform .7s cubic-bezier(.16,1,.3,1),filter .25s ease;
}
.growth-bar:nth-child(1) > span { height: 28%; }
.growth-bar:nth-child(2) > span { height: 35%; }
.growth-bar:nth-child(3) > span { height: 43%; }
.growth-bar:nth-child(4) > span { height: 52%; }
.growth-bar:nth-child(5) > span { height: 64%; }
.growth-bar:nth-child(6) > span { height: 77%; }
.growth-bar:nth-child(7) > span { height: 94%; }
.motion-ready .growth-bar > span { transform: scaleY(0); }
.motion-ready .platform-core.is-visible .growth-bar > span { transform: scaleY(1); }
.motion-ready .platform-core.is-visible .growth-bar:nth-child(2) > span { transition-delay: .07s; }
.motion-ready .platform-core.is-visible .growth-bar:nth-child(3) > span { transition-delay: .14s; }
.motion-ready .platform-core.is-visible .growth-bar:nth-child(4) > span { transition-delay: .21s; }
.motion-ready .platform-core.is-visible .growth-bar:nth-child(5) > span { transition-delay: .28s; }
.motion-ready .platform-core.is-visible .growth-bar:nth-child(6) > span { transition-delay: .35s; }
.motion-ready .platform-core.is-visible .growth-bar:nth-child(7) > span { transition-delay: .42s; }
@media (hover:hover) { .growth-bar:hover > span { filter: brightness(1.13) saturate(1.12); } }
.growth-chart-labels { position: absolute; right: 12px; bottom: 5px; left: 12px; display: flex; justify-content: space-between; color: #9aa4b4; font-size: .53rem; }
.growth-summary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin-top: .75rem; color: #525f70; font-size: .58rem; }
.growth-summary > span:last-child { text-align: right; }
.growth-summary b { color: #344054; font-size: .76rem; }
.growth-gain { padding: .28rem .48rem; border-radius: 999px; background: #e7f0ff; color: #245fc7; font-weight: 800; }
.growth-channels { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: .8rem; }
.growth-channels span { padding: .25rem .48rem; border: 1px solid #e2e8f1; border-radius: 999px; color: #667085; background: #fff; font-size: .54rem; font-weight: 600; }
:root[data-theme="dark"] .growth-browser { background: #1c1f25; }
:root[data-theme="dark"] .growth-visual > strong { color: #f5f7fa; }
:root[data-theme="dark"] .growth-visual > small { color: #9ea8b7; }
:root[data-theme="dark"] .growth-chart { border-color: #343a45; background: repeating-linear-gradient(to bottom,transparent 0 26px,rgba(148,163,184,.1) 26px 27px),linear-gradient(180deg,#20242b,#1b1f25); }
:root[data-theme="dark"] .growth-summary { color: #9ea8b7; }
:root[data-theme="dark"] .growth-summary b { color: #eef1f6; }
:root[data-theme="dark"] .growth-gain { background: #263f67; color: #b9d6ff; }
:root[data-theme="dark"] .growth-channels span { border-color: #343a45; background: #20242b; color: #aeb6c5; }

@media (max-width: 760px) {
  .platform-core { min-height: 410px; }
  .growth-browser { min-height: 378px; }
}
@media (max-width: 520px) {
  .mini-service { grid-template-columns: 44px minmax(0,1fr); }
  .service-icon { width: 42px; height: 42px; }
  .growth-visual { padding-inline: 12px; }
  .growth-chart { height: 132px; }
  .reference-browser-address { padding-inline: 8px; font-size: .62rem; }
  .case-label { right: .7rem; bottom: .7rem; left: .7rem; padding: .75rem; }
  .case-label .case-label-copy small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .case-visit-link { padding: .6rem .68rem; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reference-scroll-image.is-ready { animation: none; }
}
