/* Mr CyberSafe — home page (solutions & apps) */

:root {
  --brand-red: #e11d2e;
  --brand-red-glow: rgba(225, 29, 46, 0.45);
  --ink: #0a0c10;
  --ink-soft: #12151c;
  --ink-card: #181c26;
  --ink-border: rgba(255, 255, 255, 0.08);
  --text-on-dark: #f4f6fa;
  --text-muted: rgba(244, 246, 250, 0.72);
  --accent-cyan: #38bdf8;
  --accent-violet: #a78bfa;
}

body.page-home {
  background: var(--ink);
  color: var(--text-on-dark);
}

body.page-home .site-header {
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-border);
}

body.page-home .site-header.is-scrolled {
  background: rgba(10, 12, 16, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.page-home .nav-links a {
  color: var(--text-muted);
}

body.page-home .nav-links a:hover,
body.page-home .nav-links a.nav-active {
  color: var(--text-on-dark);
}

body.page-home .logo-tagline {
  color: var(--text-muted);
}

body.page-home .hamburger span {
  background: var(--text-on-dark);
}

@media (max-width: 52rem) {
  body.page-home .nav-links-wrap {
    background: var(--ink-soft);
  }
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6.5rem 1.25rem 4rem;
  overflow: hidden;
  margin-top: 3.625rem;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, var(--brand-red-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(56, 189, 248, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(167, 139, 250, 0.12), transparent 45%),
    linear-gradient(165deg, #0a0c10 0%, #141820 45%, #0d1018 100%);
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 75%);
  animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(48px, 48px);
  }
}

.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orb-float 14s ease-in-out infinite;
  pointer-events: none;
}

.home-hero__orb--1 {
  width: 280px;
  height: 280px;
  background: var(--brand-red);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.home-hero__orb--2 {
  width: 200px;
  height: 200px;
  background: var(--accent-cyan);
  top: 40%;
  right: 8%;
  animation-delay: -4s;
}

.home-hero__orb--3 {
  width: 160px;
  height: 160px;
  background: var(--accent-violet);
  bottom: 15%;
  left: 35%;
  animation-delay: -8s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(24px, -18px) scale(1.05);
  }
  66% {
    transform: translate(-16px, 12px) scale(0.95);
  }
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .home-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.15);
  border: 1px solid rgba(225, 29, 46, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fca5a5;
  margin-bottom: 1.25rem;
  animation: badge-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes badge-pop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.home-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--brand-red-glow);
  }
  50% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.home-hero h1 {
  margin: 0 0 1.25rem;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.home-hero h1 .gradient-text {
  background: linear-gradient(120deg, #fff 0%, #fca5a5 40%, #38bdf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero__lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 34rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}

.btn-glow--primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--brand-red-glow);
}

.btn-glow--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--brand-red-glow);
}

.btn-glow--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border: 1px solid var(--ink-border);
  backdrop-filter: blur(8px);
}

.btn-glow--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Floating product cards */
.home-hero__stage {
  position: relative;
  min-height: 320px;
  animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.float-card {
  position: absolute;
  background: rgba(24, 28, 38, 0.85);
  border: 1px solid var(--ink-border);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate(var(--parallax-x), var(--parallax-y));
}

.float-card:hover {
  border-color: rgba(225, 29, 46, 0.4);
  transform: translateY(-6px) scale(1.02);
  z-index: 5;
}

.float-card--1 {
  top: 0;
  left: 0;
  width: 58%;
  animation: float-a 7s ease-in-out infinite;
}

.float-card--2 {
  top: 28%;
  right: 0;
  width: 52%;
  animation: float-b 8s ease-in-out infinite -1s;
}

.float-card--3 {
  bottom: 0;
  left: 18%;
  width: 62%;
  animation: float-c 9s ease-in-out infinite -2s;
}

@keyframes float-a {
  0%,
  100% {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(0) rotate(-1deg);
  }
  50% {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(-12px) rotate(1deg);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(0) rotate(1deg);
  }
  50% {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(-10px) rotate(-1deg);
  }
}

@keyframes float-c {
  0%,
  100% {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(0);
  }
  50% {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(-14px);
  }
}

.float-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.float-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.float-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Marquee */
.home-marquee {
  padding: 1.25rem 0;
  border-block: 1px solid var(--ink-border);
  background: var(--ink-soft);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item strong {
  color: var(--brand-red);
}

/* Sections on dark */
.home-section {
  padding: 5rem 1.25rem;
  position: relative;
}

.home-section--alt {
  background: var(--ink-soft);
}

.home-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text-on-dark);
}

.home-section__sub {
  margin: 0 auto 3rem;
  text-align: center;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Bento grid */
.bento {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 56rem) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-card--wide {
    grid-column: span 8;
  }

  .bento-card--tall {
    grid-column: span 4;
    grid-row: span 2;
  }

  .bento-card--half {
    grid-column: span 6;
  }

  .bento-card--full {
    grid-column: span 12;
  }
}

.bento-card {
  background: var(--ink-card);
  border: 1px solid var(--ink-border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.75rem;
}

.bento-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-on-dark);
}

.bento-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.bento-card a.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: gap 0.2s;
}

.bento-card a.link-arrow:hover {
  gap: 0.6rem;
}

/* Section decorative graphics */
.section-graphic-wrap {
  position: absolute;
  top: 3.5rem;
  right: 1.25rem;
  opacity: 0.55;
  pointer-events: none;
}

.section-graphic-wrap--right {
  right: auto;
  left: 1.25rem;
}

.section-graphic {
  display: block;
  filter: drop-shadow(0 8px 24px rgba(56, 189, 248, 0.25));
}

.section-graphic--build {
  animation: graphic-float 6s ease-in-out infinite;
}

.section-graphic--shield {
  animation: graphic-float 7s ease-in-out infinite -2s;
}

@keyframes graphic-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

#work,
#smb1001 {
  position: relative;
  overflow: hidden;
}

.float-card__brand {
  display: block;
  margin-bottom: 0.35rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.35);
}

/* ReplyLink section */
.replylink-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto 0.75rem;
  padding: 0 0.25rem;
}

.replylink-brand-mark {
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.35);
  animation: brand-glow 4s ease-in-out infinite;
}

@keyframes brand-glow {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.35);
  }
  50% {
    box-shadow: 0 12px 36px rgba(56, 189, 248, 0.45);
  }
}

.replylink-eyebrow,
.replylink-flow-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
}

.replylink-flow-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
}

.replylink-flow-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 28rem;
}

.replylink-animflow-panel {
  padding: 1.5rem 1rem 1.25rem;
}

.replylink-animflow-panel .animflow-svg-wrap {
  max-width: 100%;
}

.animflow-loading,
.animflow-fallback {
  margin: 2rem auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.animflow-fallback a {
  color: var(--accent-cyan);
}

/* Dark-theme caption highlights for ReplyLink flow */
body.page-home #replylink .animflow-caption {
  color: rgba(244, 246, 250, 0.42);
}

@media (prefers-reduced-motion: no-preference) {
  body.page-home #replylink .animflow-cap-a {
    animation: home-animflow-cap-a 10s linear infinite;
  }
  body.page-home #replylink .animflow-cap-b {
    animation: home-animflow-cap-b 10s linear infinite;
  }
  body.page-home #replylink .animflow-cap-c {
    animation: home-animflow-cap-c 10s linear infinite;
  }
  body.page-home #replylink .animflow-cap-d {
    animation: home-animflow-cap-d 10s linear infinite;
  }
  body.page-home #replylink .animflow-cap-e {
    animation: home-animflow-cap-e 10s linear infinite;
  }
}

@keyframes home-animflow-cap-a {
  0%, 19.9% { color: #f4f6fa; font-weight: 600; }
  20%, 100% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
}
@keyframes home-animflow-cap-b {
  0%, 19.9% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
  20%, 39.9% { color: #f4f6fa; font-weight: 600; }
  40%, 100% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
}
@keyframes home-animflow-cap-c {
  0%, 39.9% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
  40%, 59.9% { color: #f4f6fa; font-weight: 600; }
  60%, 100% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
}
@keyframes home-animflow-cap-d {
  0%, 59.9% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
  60%, 79.9% { color: #f4f6fa; font-weight: 600; }
  80%, 100% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
}
@keyframes home-animflow-cap-e {
  0%, 79.9% { color: rgba(244, 246, 250, 0.42); font-weight: 400; }
  80%, 100% { color: #34d399; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  .replylink-brand-mark,
  .section-graphic--build,
  .section-graphic--shield {
    animation: none;
  }
}

/* ReplyLink spotlight */
.replylink-spotlight {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .replylink-spotlight {
    grid-template-columns: 1fr 1fr;
  }
}

.replylink-visual {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  background: linear-gradient(145deg, #1a2030 0%, #0f1219 100%);
  border: 1px solid var(--ink-border);
  overflow: hidden;
}

.replylink-animflow-panel::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--brand-red),
    transparent,
    #14b8a6,
    transparent
  );
  animation: spin-slow 12s linear infinite;
  opacity: 0.2;
  pointer-events: none;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.replylink-mock {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--ink-border);
}

.replylink-mock__bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.replylink-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #374151;
}

.replylink-mock__dot--r {
  background: #ef4444;
}

.replylink-mock__dot--y {
  background: #eab308;
}

.replylink-mock__dot--g {
  background: #22c55e;
}

.replylink-bubble {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 0.75rem 0.75rem 0.75rem 0.2rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  animation: bubble-in 0.6s ease both;
}

.replylink-bubble--reply {
  background: rgba(225, 29, 46, 0.12);
  border-color: rgba(225, 29, 46, 0.3);
  border-radius: 0.75rem 0.75rem 0.2rem 0.75rem;
  margin-left: auto;
  max-width: 85%;
  animation-delay: 0.4s;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Process steps */
.process-row {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .process-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.35s;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ink-border);
  transform: translateY(-4px);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), #7f1d1d);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px var(--brand-red-glow);
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.process-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal overrides for home */
body.page-home .reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-home .reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.page-home .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.page-home .reveal-stagger.revealed > *:nth-child(1) {
  transition-delay: 0.05s;
}
body.page-home .reveal-stagger.revealed > *:nth-child(2) {
  transition-delay: 0.12s;
}
body.page-home .reveal-stagger.revealed > *:nth-child(3) {
  transition-delay: 0.19s;
}
body.page-home .reveal-stagger.revealed > *:nth-child(4) {
  transition-delay: 0.26s;
}
body.page-home .reveal-stagger.revealed > *:nth-child(5) {
  transition-delay: 0.33s;
}

body.page-home .reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* SMB 1001 section */
.smb-intro {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.smb-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.smb-intro em {
  color: var(--text-on-dark);
  font-style: normal;
  font-weight: 600;
}

.smb-flow {
  max-width: 72rem;
  margin: 0 auto 3.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .smb-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 56rem) {
  .smb-flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.smb-flow__step {
  padding: 1.35rem 1.25rem;
  border-radius: 1rem;
  background: var(--ink-card);
  border: 1px solid var(--ink-border);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.35s;
}

.smb-flow__step:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.smb-flow__icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
  animation: icon-bob 3s ease-in-out infinite;
}

.smb-flow__step:nth-child(2) .smb-flow__icon {
  animation-delay: -0.5s;
}

.smb-flow__step:nth-child(3) .smb-flow__icon {
  animation-delay: -1s;
}

.smb-flow__step:nth-child(4) .smb-flow__icon {
  animation-delay: -1.5s;
}

@keyframes icon-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.smb-flow__step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.smb-flow__step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.smb-tiers {
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.smb-tiers__heading,
.smb-assist__heading {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-on-dark);
}

.smb-tiers__note {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cybercert-widget {
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.cybercert-widget #cybercert-widget-container {
  width: 100%;
  max-width: 458px;
  margin: 0 auto;
  text-align: left;
}

.smb-tier-ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 48rem) {
  .smb-tier-ladder {
    flex-direction: row;
    align-items: stretch;
  }

  .smb-tier-pill {
    flex: 1;
  }
}

.smb-tier-pill {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--ink-border);
  background: var(--ink-card);
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.smb-tier-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.smb-tier-pill--bronze::after {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.2), transparent 60%);
}

.smb-tier-pill--silver::after {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), transparent 60%);
}

.smb-tier-pill--gold::after {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), transparent 60%);
}

.smb-tier-pill:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.smb-tier-pill:hover::after {
  opacity: 1;
}

.smb-tier-pill__label {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-on-dark);
  position: relative;
  z-index: 1;
}

.smb-tier-pill--bronze .smb-tier-pill__label {
  color: #fbbf24;
}

.smb-tier-pill--silver .smb-tier-pill__label {
  color: #cbd5e1;
}

.smb-tier-pill--gold .smb-tier-pill__label {
  color: #fde047;
}

.smb-tier-pill__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.smb-assist {
  max-width: 72rem;
  margin: 0 auto;
}

.smb-assist__heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.smb-assist-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 40rem) {
  .smb-assist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.smb-assist-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--ink-soft);
  border: 1px solid var(--ink-border);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
}

.smb-assist-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 29, 46, 0.35);
}

.smb-assist-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.smb-assist-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.smb-assist__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.smb-disclaimer {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(244, 246, 250, 0.45);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

#smb1001 {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 50%, var(--ink) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .smb-flow__icon {
    animation: none;
  }
}

/* AML strip — compact */
.aml-strip {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.aml-strip a {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Contact on dark */
body.page-home .home-contact {
  background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
}

body.page-home .home-contact .form-group label {
  color: var(--text-muted);
}

body.page-home .home-contact input,
body.page-home .home-contact select,
body.page-home .home-contact textarea {
  background: var(--ink-card);
  border-color: var(--ink-border);
  color: var(--text-on-dark);
}

body.page-home .home-contact .contact-detail {
  color: var(--text-muted);
}

body.page-home .home-contact .contact-detail strong {
  color: var(--text-on-dark);
}

body.page-home .home-contact .action-card {
  background: var(--ink-card);
  border-color: var(--ink-border);
}

body.page-home .site-footer {
  background: #06080b;
  border-top: 1px solid var(--ink-border);
}

body.page-home .site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__grid,
  .home-hero__orb,
  .float-card,
  .marquee-track,
  .home-hero h1 .gradient-text,
  .replylink-animflow-panel::after {
    animation: none;
  }

  body.page-home .reveal,
  body.page-home .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
