/* ==========================================================================
   System Audit — Dark SaaS Landing Page
   Standalone CSS file. All classes prefixed `sa-`.
   ========================================================================== */

/* Google Fonts — Sora (display), DM Sans (body), DM Mono (labels/mono) */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* reCAPTCHA badge — ensure visible above footer */
.grecaptcha-badge {
  z-index: 9999 !important;
}


/* --------------------------------------------------------------------------
   0. FONT METRIC OVERRIDE — reduces CLS when Noto Sans JP swaps in
   Approximated metrics for Noto Sans JP 400 matched to Arial fallback.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Noto Sans JP Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('sans-serif');
  ascent-override:   95%;
  descent-override:  25%;
  line-gap-override: 0%;
  size-adjust:       100%;
}


/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --sa-bg:        #0A0A0A;
  --sa-surface:   #141414;
  --sa-surface-2: #1C1C1C;
  --sa-border:    rgba(255, 255, 255, 0.06);
  --sa-text:      rgba(255, 255, 255, 0.88);
  --sa-body:      rgba(255, 255, 255, 0.55);
  --sa-muted:     rgba(255, 255, 255, 0.3);
  --sa-white:     #ffffff;
  --sa-red:       #C8291A;
  --sa-red-dark:  #A32214;
  --sa-red-glow:  rgba(200, 41, 26, 0.15);
  --sa-green:     #16A34A;
  --sa-amber:     #F59E0B;

  /* Typography */
  --sa-font-display: 'Sora', sans-serif;
  --sa-font-body:    'DM Sans', 'Noto Sans JP', 'Noto Sans JP Fallback', sans-serif;
  --sa-font-mono:    'DM Mono', 'SFMono-Regular', monospace;
  --sa-font:         'DM Sans', 'Noto Sans JP', 'Noto Sans JP Fallback', sans-serif;
  --sa-text-xs:   12px;
  --sa-text-sm:   14px;
  --sa-text-base: 16px;
  --sa-text-lg:   18px;
  --sa-text-xl:   20px;
  --sa-text-2xl:  clamp(24px, 2.5vw, 28px);
  --sa-text-3xl:  clamp(32px, 4vw, 44px);
  --sa-text-4xl:  clamp(40px, 5.5vw, 64px);

  /* Spacing */
  --sa-space-section: 120px;

  /* Radius */
  --sa-r-sm: 6px;
  --sa-r-md: 12px;
  --sa-r-lg: 20px;
}


/* --------------------------------------------------------------------------
   2. BASE / RESET
   -------------------------------------------------------------------------- */
.sa-landing {
  font-family: var(--sa-font-body);
  color: var(--sa-text);
  background: var(--sa-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override common.css capitalize for all headings on this page */
.sa-landing h1,
.sa-landing h2,
.sa-landing h3,
.sa-landing h4,
.sa-landing h5,
.sa-landing h6 {
  text-transform: none;
}

.sa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}


/* --------------------------------------------------------------------------
   3. BUTTONS
   -------------------------------------------------------------------------- */
.sa-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sa-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1;
  z-index: 0;
}

/* Sweep ripple pseudo-element (join-us style) */
.sa-btn::before {
  content: '';
  position: absolute;
  width: 0;
  aspect-ratio: 1 / 1;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  z-index: 1;
  transition: width 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.sa-btn span,
.sa-btn .btn-text {
  position: relative;
  z-index: 2;
}

/* Red button sweep: brighter red core → original red edge */
.sa-btn--red {
  background: var(--sa-red);
  color: var(--sa-white);
}

.sa-btn--red::before {
  background: radial-gradient(circle, #e83828 0%, #a32214 100%);
}

.no-touch .sa-btn--red:hover::before,
.sa-btn--red:hover::before {
  width: 220%;
}

.sa-btn--red:hover {
  transform: translateY(-2px);
  color: var(--sa-white);
}

.sa-btn--red:active {
  transform: translateY(0);
}

/* Ghost button sweep: subtle white fill */
.sa-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
}

.sa-btn--ghost::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.no-touch .sa-btn--ghost:hover::before,
.sa-btn--ghost:hover::before {
  width: 220%;
}

.sa-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
  color: rgba(255, 255, 255, 0.85);
}

.sa-btn--lg {
  padding: 16px 36px;
  font-size: 14px;
}


/* --------------------------------------------------------------------------
   4. SECTION UTILITIES
   -------------------------------------------------------------------------- */
.sa-eyebrow {
  font-family: var(--sa-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sa-red);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0;
}

.sa-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--sa-red);
  margin-right: 10px;
  flex-shrink: 0;
}

.sa-section-title {
  font-family: var(--sa-font-display);
  font-size: var(--sa-text-3xl);
  font-weight: 700;
  color: var(--sa-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.sa-section-sub {
  font-size: var(--sa-text-base);
  color: var(--sa-body);
  max-width: 600px;
  margin: 0 0 48px;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   5. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.sa-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sa-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.sa-reveal-group > *:nth-child(1) { transition-delay: 0s; }
.sa-reveal-group > *:nth-child(2) { transition-delay: 0.1s; }
.sa-reveal-group > *:nth-child(3) { transition-delay: 0.15s; }
.sa-reveal-group > *:nth-child(4) { transition-delay: 0.2s; }
.sa-reveal-group > *:nth-child(5) { transition-delay: 0.25s; }
.sa-reveal-group > *:nth-child(6) { transition-delay: 0.3s; }


/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.sa-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(200, 41, 26, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 10% 80%, rgba(90, 30, 110, 0.08) 0%, transparent 60%),
    var(--sa-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 88px;
  text-align: center;
}

.sa-hero > .sa-container {
  width: 100%;
}

.sa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 75%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 75%);
  pointer-events: none;
}

.sa-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.sa-hero__glow--red {
  width: 400px;
  height: 400px;
  top: -80px;
  right: -80px;
  background: #C8291A;
  opacity: 0.07;
}

.sa-hero__glow--purple {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: -60px;
  background: #5A1E6E;
  opacity: 0.05;
}

.sa-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.sa-hero__content {
  text-align: center;
}

.sa-hero__content .sa-eyebrow {
  justify-content: center;
}

.sa-hero__title {
  font-family: var(--sa-font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--sa-white);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 8px;
  /* Reserve height for both lines so CTA never shifts on typewriter finish */
  min-height: 3.6em;
  text-wrap: balance;
}

.sa-typewriter {
  color: var(--sa-red);
  font-weight: 600;
}

.sa-typewriter.typing::after {
  content: '|';
  color: var(--sa-red);
  font-weight: 300;
  animation: sa-blink 0.65s step-end infinite;
}

.sa-typewriter.done::after {
  display: none;
}

@keyframes sa-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.sa-hero__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
  text-wrap: pretty;
}

.sa-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.sa-hero__trust {
  margin-top: 44px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.sa-hero__trust strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.sa-hero__visual {
  display: none;
}


/* --------------------------------------------------------------------------
   7. HERO VISUAL — Dashboard Card
   -------------------------------------------------------------------------- */
@keyframes sa-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes sa-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sa-slide-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.sa-sc-float {
  position: relative;
  z-index: 2;
  animation: sa-float 6s ease-in-out 1s infinite;
  will-change: transform;
}

.sa-sc-card {
  opacity: 0;
  animation: sa-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  will-change: transform, opacity;
}

.sa-sc-row--1 { opacity: 0; animation: sa-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.sa-sc-row--2 { opacity: 0; animation: sa-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards; }
.sa-sc-row--3 { opacity: 0; animation: sa-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards; }

.sa-dashboard.sa-sc-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.sa-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sa-dash-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.sa-live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

.sa-dash-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 3px 10px;
}

.sa-dash-score {
  text-align: center;
  margin-bottom: 20px;
}

.sa-score-main {
  font-size: 48px;
  font-weight: 800;
  color: #F59E0B;
  line-height: 1;
}

.sa-score-denom-hero {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.4);
}

.sa-score-label-hero {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

.sa-dash-kpis {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-dash-kpi {
  /* Individual KPI row wrapper */
}

.sa-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sa-kpi-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.sa-kpi-val {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  font-variant-numeric: tabular-nums;
}

.sa-kpi-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.sa-kpi-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 1s ease-out;
  background: rgba(255, 255, 255, 0.4);
}

.sa-kpi-fill--green {
  background: #4ade80;
}

.sa-kpi-fill--red {
  background: #C8291A;
}

.sa-kpi-fill--amber {
  background: #F59E0B;
}


/* --------------------------------------------------------------------------
   8. GUARANTEE STRIP
   -------------------------------------------------------------------------- */
.sa-guarantee {
  background: var(--sa-red);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Subtle noise/texture overlay */
.sa-guarantee::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.15;
}

.sa-guarantee__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

.sa-guarantee__item {
  padding: 72px 56px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.sa-guarantee__item:last-child {
  border-right: none;
}

.sa-guarantee__title,
.sa-guarantee__item strong {
  font-family: var(--sa-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--sa-white);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sa-guarantee__sub {
  display: block;
  font-size: 12px;
  font-family: var(--sa-font-mono);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   9. PROBLEM SECTION
   -------------------------------------------------------------------------- */
.sa-problem {
  padding: var(--sa-space-section) 0;
  background: var(--sa-surface);
}

.sa-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sa-problem__title {
  font-family: var(--sa-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--sa-white);
  line-height: 1.2;
  margin-bottom: 28px;
}

.sa-problem__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sa-problem__list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.sa-problem__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.sa-problem__num {
  font-family: var(--sa-font-mono);
  color: var(--sa-red);
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1.3;
}


/* --------------------------------------------------------------------------
   10. UVP QUOTE
   -------------------------------------------------------------------------- */
.sa-quote {
  padding: var(--sa-space-section) 0;
  background: var(--sa-bg);
  text-align: center;
}

.sa-quote__text {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  color: var(--sa-white);
  line-height: 1.5;
  max-width: 1080px;
  margin: 0 auto 24px;
}

.sa-quote__text span {
  color: var(--sa-red);
  font-weight: 600;
}

.sa-quote__attr {
  font-family: var(--sa-font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
}


/* --------------------------------------------------------------------------
   11. SCORECARD PREVIEW
   -------------------------------------------------------------------------- */
.sa-scorecard {
  padding: var(--sa-space-section) 0;
  background: var(--sa-surface);
}

.sa-scorecard__card {
  background: var(--sa-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--sa-red);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 48px auto 0;
}

/* Score circle (left side) */
.sa-score-circle {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
}

.sa-score-ring {
  width: 100%;
  height: 100%;
}

.sa-score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sa-score-num {
  font-size: 42px;
  font-weight: 800;
  color: #F59E0B;
  line-height: 1;
}

.sa-score-denom {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.sa-score-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Score bars (left side) */
.sa-score-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-score-bar__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.sa-score-bar__val {
  font-weight: 700;
}

.sa-val--green { color: #4ade80; }
.sa-val--red   { color: var(--sa-red); }
.sa-val--amber { color: #F59E0B; }

.sa-score-bar__track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.sa-score-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 1s ease-out;
}

.sa-fill--green { background: #4ade80; }
.sa-fill--red   { background: var(--sa-red); }
.sa-fill--amber { background: #F59E0B; }

/* Right side: findings */
.sa-scorecard__right h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--sa-white);
  margin-bottom: 20px;
}

.sa-finding {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.sa-finding--critical {
  background: rgba(200, 41, 26, 0.1);
  border-left: 3px solid var(--sa-red);
}

.sa-finding--high {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #F59E0B;
}

.sa-finding--medium {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.sa-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.sa-badge--critical {
  background: var(--sa-red);
  color: var(--sa-white);
}

.sa-badge--high {
  background: #F59E0B;
  color: #111;
}

.sa-badge--medium {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.sa-finding p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.sa-next-steps {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-next-steps h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--sa-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.sa-next-steps ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.sa-next-steps li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}


/* --------------------------------------------------------------------------
   12. SERVICES GRID
   -------------------------------------------------------------------------- */
.sa-services {
  padding: var(--sa-space-section) 0;
  background: var(--sa-bg);
}

.sa-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.sa-service-card {
  position: relative;
  overflow: hidden;
  background: var(--sa-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.25s;
}

.sa-card-icon-bg {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 86px;
  height: 86px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.sa-service-card:hover {
  border-color: var(--sa-red);
  box-shadow: 0 4px 24px rgba(200, 41, 26, 0.12);
  transform: translateY(-2px);
}

.sa-service-card__icon {
  display: none;
}

.sa-service-card__title {
  font-family: var(--sa-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--sa-white);
  margin-bottom: 10px;
  padding-right: 72px; /* clear the absolute SVG icon (86px wide @ right:4px) */
}

.sa-service-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.sa-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sa-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 41, 26, 0.12);
  color: var(--sa-red);
  border: 1px solid rgba(200, 41, 26, 0.2);
}


/* --------------------------------------------------------------------------
   13. COMPARE TABLE
   -------------------------------------------------------------------------- */
.sa-compare {
  padding: var(--sa-space-section) 0;
  background: var(--sa-surface);
}

.sa-compare__grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Header row */
.sa-compare__gh {
  padding: 18px 24px;
  font-family: var(--sa-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sa-compare__gh:first-child {
  background: var(--sa-bg);
}

.sa-compare__gh--bad {
  background: #1a1212;
  color: #ff6b6b;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-compare__gh--good {
  background: rgba(200, 41, 26, 0.12);
  color: var(--sa-red);
  border-left: 2px solid var(--sa-red);
}

/* Label column cells */
.sa-compare__gl {
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: var(--sa-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

/* Value cells */
.sa-compare__gc {
  padding: 18px 24px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.sa-compare__gc--bad {
  background: #0f0808;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

.sa-compare__gc--good {
  background: rgba(200, 41, 26, 0.05);
  border-left: 2px solid rgba(200, 41, 26, 0.3);
  color: rgba(255, 255, 255, 0.85);
}


/* --------------------------------------------------------------------------
   14. HOW IT WORKS — 6-step Timeline Grid
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   12. HOW IT WORKS — Vertical Stepped Timeline
   -------------------------------------------------------------------------- */
.sa-process {
  padding: var(--sa-space-section) 0;
  background: var(--sa-bg);
}

.sa-steps {
  margin-top: 56px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
}

.sa-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sa-step__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.sa-step__circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sa-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sa-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  z-index: 1;
}

.sa-step__circle--red {
  background: rgba(200, 41, 26, 0.15);
  border-color: var(--sa-red);
  color: var(--sa-red);
}

.sa-step__line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.sa-step__line--red {
  background: rgba(200, 41, 26, 0.3);
}

.sa-step__body {
  padding-bottom: 40px;
  flex: 1;
}

.sa-step--last .sa-step__body {
  padding-bottom: 0;
}

.sa-step__title {
  font-family: var(--sa-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--sa-white);
  margin: 8px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sa-step__badge {
  font-size: 10px;
  font-family: var(--sa-font-mono);
  font-weight: 600;
  color: var(--sa-red);
  background: rgba(200, 41, 26, 0.12);
  border: 1px solid rgba(200, 41, 26, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sa-step__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0 0 10px;
}

.sa-step__tag {
  font-family: var(--sa-font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}


/* --------------------------------------------------------------------------
   12b. HOW IT WORKS — Flow redesign
   -------------------------------------------------------------------------- */
.sa-flow {
  margin-top: 48px;
}

.sa-flow__phase-bar {
  margin-bottom: 14px;
}

.sa-flow__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.sa-flow__divider::before,
.sa-flow__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.sa-flow__phase-badge {
  font-family: var(--sa-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 20px;
  padding: 5px 14px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-flow__phase-badge--red {
  color: rgba(200, 41, 26, 0.8);
  border-color: rgba(200, 41, 26, 0.25);
}

.sa-flow__row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  gap: 0;
}

.sa-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.18);
}

.sa-flow__arrow--red {
  color: rgba(200, 41, 26, 0.45);
}

.sa-flow-card {
  background: var(--sa-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sa-flow-card--engaged {
  background: rgba(200, 41, 26, 0.04);
  border-color: rgba(200, 41, 26, 0.18);
}

.sa-flow-card__num {
  font-family: var(--sa-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sa-flow-card__num--red {
  color: var(--sa-red);
  border-color: rgba(200, 41, 26, 0.4);
  background: rgba(200, 41, 26, 0.08);
}

.sa-flow-card__body {
  flex: 1;
  min-width: 0;
}

.sa-flow-card__title {
  font-family: var(--sa-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--sa-white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.3;
}

.sa-flow-card__desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 10px;
}

.sa-flow-card__tag {
  font-family: var(--sa-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.sa-flow-card--engaged .sa-flow-card__tag {
  color: rgba(200, 41, 26, 0.65);
}

.sa-flow-card__badge {
  font-family: var(--sa-font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 2px 8px;
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   12c. STATS STRIP
   -------------------------------------------------------------------------- */
.sa-stats {
  background: var(--sa-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sa-stat-item {
  padding: 80px 40px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

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

.sa-stat-item__num {
  font-family: var(--sa-font-display);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 800;
  color: var(--sa-white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.sa-stat-item--red .sa-stat-item__num {
  color: var(--sa-red);
}

.sa-stat-item__label {
  font-family: var(--sa-font-mono);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   15. TRUST CARDS
   -------------------------------------------------------------------------- */
.sa-trust {
  padding: var(--sa-space-section) 0;
  background: var(--sa-bg);
}

.sa-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.sa-trust-card {
  background: var(--sa-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.25s;
}

.sa-trust-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.sa-trust-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 41, 26, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sa-trust-card__icon svg {
  stroke: var(--sa-red);
}

.sa-trust-card__title {
  font-family: var(--sa-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--sa-white);
  margin-bottom: 10px;
}

.sa-trust-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   16. ICP CARDS
   -------------------------------------------------------------------------- */
.sa-icp {
  padding: var(--sa-space-section) 0;
  background: var(--sa-surface);
}

.sa-icp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sa-icp-card {
  background: var(--sa-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--sa-red);
  border-radius: 0 12px 12px 0;
  padding: 24px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.sa-icp-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  border-left-color: var(--sa-red);
  box-shadow: 0 4px 20px rgba(200, 41, 26, 0.08);
}

.sa-icp-card__title {
  font-family: var(--sa-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--sa-white);
  margin-bottom: 8px;
}

.sa-icp-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.sa-icp-tag,
.sa-icp-card__tag {
  font-size: 10px;
  font-family: var(--sa-font-mono);
  color: #E07B39;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(224, 123, 57, 0.2);
  padding-top: 12px;
  margin-top: auto;
}


/* --------------------------------------------------------------------------
   17. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.sa-faq {
  padding: var(--sa-space-section) 0;
  background: var(--sa-bg);
}

.sa-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.sa-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.sa-faq__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sa-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}

.sa-faq__item[open]::before {
  transform: scaleY(1);
}

.sa-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 22px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sa-white);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.sa-faq__q::-webkit-details-marker {
  display: none;
}

.sa-faq__q::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sa-red);
  border-bottom: 2px solid var(--sa-red);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.sa-faq__item[open] .sa-faq__q::after {
  transform: rotate(-135deg);
}

.sa-faq__q:hover {
  color: var(--sa-red);
}

.sa-faq__a {
  padding: 0 48px 22px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}


/* --------------------------------------------------------------------------
   18. FINAL CTA SECTION (centered, dark bg)
   -------------------------------------------------------------------------- */
.sa-final-cta {
  padding: var(--sa-space-section) 0;
  background: var(--sa-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sa-final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(200, 41, 26, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sa-final-cta__title {
  font-family: var(--sa-font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  color: var(--sa-white);
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.sa-final-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.sa-final-cta__note {
  font-family: var(--sa-font-mono);
  font-size: 12px;
  color: var(--sa-red);
  margin-top: 20px;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.sa-final-cta .sa-section-title {
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   19. CONTACT FORM SECTION
   -------------------------------------------------------------------------- */
.sa-cta {
  background: var(--sa-bg);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.sa-cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--sa-red);
  filter: blur(140px);
  opacity: 0.05;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.sa-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.sa-cta__title {
  font-family: var(--sa-font-display);
  font-size: var(--sa-text-3xl);
  font-weight: 800;
  color: var(--sa-white);
  line-height: 1.15;
  margin: 12px 0 16px;
}

.sa-cta__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}

.sa-cta__contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.sa-cta__contacts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sa-cta__contacts li:last-child {
  border-bottom: none;
}

.sa-cta__contacts li span {
  color: var(--sa-red);
  font-weight: 700;
  flex-shrink: 0;
}

.sa-cta__contacts a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.sa-cta__contacts a:hover {
  color: var(--sa-white);
}

/* Contact form */
.sa-cta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sa-cf-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sa-cf-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sa-cf-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sa-cf-label span {
  color: var(--sa-red);
}

.sa-landing .sa-cf-input {
  background: #111111 !important;
  background-color: #111111 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  font-size: 14px;
  font-family: var(--sa-font);
  color: rgba(255, 255, 255, 0.88) !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

.sa-landing .sa-cf-input:hover {
  border-color: #444444 !important;
  background: #161616 !important;
  background-color: #161616 !important;
}

.sa-landing .sa-cf-input:focus {
  outline: none;
  border-color: var(--sa-red) !important;
  background: #111111 !important;
  background-color: #111111 !important;
  box-shadow: 0 0 0 3px rgba(200, 41, 26, 0.10) !important;
  color: var(--sa-white) !important;
}

.sa-landing .sa-cf-input::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
}

.sa-cf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.sa-cf-select option {
  background: var(--sa-surface);
  color: var(--sa-white);
}

.sa-cf-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.sa-cf-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.sa-cf-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.sa-landing .sa-cf-radio input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}

.sa-landing .sa-cf-radio input[type="radio"]:hover {
  border-color: var(--sa-red) !important;
}

.sa-landing .sa-cf-radio input[type="radio"]:checked {
  background-color: var(--sa-red) !important;
  border-color: var(--sa-red) !important;
}

.sa-landing .sa-cf-radio input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sa-cf-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.sa-cf-check a {
  color: var(--sa-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sa-landing .sa-cf-check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.sa-landing .sa-cf-check input[type="checkbox"]:hover {
  border-color: var(--sa-red) !important;
}

.sa-landing .sa-cf-check input[type="checkbox"]:checked {
  background: var(--sa-red) !important;
  background-color: var(--sa-red) !important;
  border-color: var(--sa-red) !important;
}

.sa-landing .sa-cf-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.sa-cf-submit {
  background: var(--sa-red);
  color: var(--sa-white);
  border: none;
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  font-family: var(--sa-font);
}

.sa-cf-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200, 41, 26, 0.45);
  color: var(--sa-white);
}

.sa-cf-error {
  background: rgba(200, 41, 26, 0.15);
  border: 1px solid rgba(200, 41, 26, 0.3);
  color: #ff6b6b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}


/* --------------------------------------------------------------------------
   20. SUCCESS MODAL
   -------------------------------------------------------------------------- */
.sa-success-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sa-success-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.sa-success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 9999;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.sa-success-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

.sa-success-modal h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--sa-white);
  margin: 20px 0 12px;
}

.sa-success-modal p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   21. RESPONSIVE
   -------------------------------------------------------------------------- */

/* -- Tablet / Small Desktop -------------------------------------------- */
@media (max-width: 1024px) {
  .sa-hero__inner,
  .sa-cta__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sa-problem__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sa-stats__grid {
    grid-template-columns: 1fr;
  }

  .sa-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 24px;
  }

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

  .sa-trust__grid,
  .sa-icp__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sa-compare__grid {
    grid-template-columns: 100px 1fr 1fr;
  }

  .sa-scorecard__card {
    gap: 32px;
  }
}

/* -- Mobile Landscape / Small Tablet ----------------------------------- */
@media (max-width: 768px) {
  :root {
    --sa-space-section: 80px;
  }

  .sa-hero {
    padding: 120px 0 80px;
  }

  .sa-hero__inner {
    max-width: 100%;
  }

  .sa-hero__cta {
    flex-direction: column;
  }

  .sa-hero__cta .sa-btn {
    width: 100%;
    text-align: center;
  }

  .sa-guarantee__grid {
    grid-template-columns: 1fr;
  }

  .sa-guarantee__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 40px 32px;
  }

  .sa-guarantee__item:last-child {
    border-bottom: none;
  }

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

  .sa-scorecard__card {
    grid-template-columns: 1fr;
  }

  .sa-services__grid {
    grid-template-columns: 1fr;
  }

  /* Compare table: block layout on mobile */
  .sa-compare__grid {
    display: block;
  }

  .sa-compare__gh:first-child,
  .sa-compare__gh--bad {
    display: none;
  }

  .sa-compare__gh--good {
    display: block;
    padding: 12px 16px;
  }

  .sa-compare__gl {
    background: var(--sa-surface-2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    padding: 10px 16px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sa-compare__gc {
    padding: 6px 16px 12px;
  }

  .sa-steps {
    max-width: 100%;
  }

  .sa-flow__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sa-flow__arrow {
    display: none;
  }

  .sa-trust__grid {
    grid-template-columns: 1fr;
  }

  .sa-icp__grid {
    grid-template-columns: 1fr;
  }

  .sa-cta__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sa-cf-row--2 {
    grid-template-columns: 1fr;
  }
}

/* -- Mobile Portrait --------------------------------------------------- */
@media (max-width: 480px) {
  .sa-container {
    padding: 0 16px;
  }

  .sa-hero__glow {
    display: none;
  }

  .sa-scorecard__card {
    padding: 24px;
  }

  .sa-guarantee__item {
    padding: 24px 20px;
  }

  .sa-dashboard.sa-sc-card {
    padding: 20px;
  }

  .sa-score-main {
    font-size: 40px;
  }
}

/* -- Fallback: no backdrop-filter support ------------------------------ */
@supports not (backdrop-filter: blur(1px)) {
  .sa-dashboard.sa-sc-card {
    background: rgba(20, 20, 20, 0.98);
  }

  .sa-success-modal {
    background: #1e1e1e;
  }
}


/* --------------------------------------------------------------------------
   22. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes sa-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.sa-live-dot {
  animation: sa-pulse 2s ease-in-out infinite;
}


/* --------------------------------------------------------------------------
   23. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sa-reveal {
    opacity: 1;
    transform: none;
  }

  .sa-kpi-fill,
  .sa-score-bar__fill {
    transition: none;
  }

  .sa-sc-float,
  .sa-sc-card,
  .sa-sc-row--1,
  .sa-sc-row--2,
  .sa-sc-row--3 {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .sa-live-dot {
    animation: none;
  }
}


/* ==========================================================================
   NAVBAR OVERRIDES — system-audit page only
   Scoped with .pagetype-system-audit to avoid affecting other pages.
   ========================================================================== */

/* --- Background — matches hero/page dark background --- */
.pagetype-system-audit .header,
.pagetype-system-audit .nav__main,
.pagetype-system-audit-ja .header,
.pagetype-system-audit-ja .nav__main {
  background: #0A0A0A !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* --- Nav links --- */
.pagetype-system-audit .nav__main .nav__list__item a,
.pagetype-system-audit .nav__main .nav__list__item a:visited,
.pagetype-system-audit-ja .nav__main .nav__list__item a,
.pagetype-system-audit-ja .nav__main .nav__list__item a:visited {
  color: rgba(255, 255, 255, 0.88) !important;
}

.pagetype-system-audit .nav__main .nav__list__item a:hover,
.pagetype-system-audit-ja .nav__main .nav__list__item a:hover {
  color: #ffffff !important;
}

/* Sub-text (Japanese labels under nav items) */
.pagetype-system-audit .nav__main .nav__list .sub-text,
.pagetype-system-audit-ja .nav__main .nav__list .sub-text {
  color: rgba(255, 255, 255, 0.38) !important;
}

.pagetype-system-audit .nav__main .nav__list__item:hover .sub-text,
.pagetype-system-audit-ja .nav__main .nav__list__item:hover .sub-text {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Language selector --- */
.pagetype-system-audit .nav__main .lang-selected,
.pagetype-system-audit-ja .nav__main .lang-selected {
  color: rgba(255, 255, 255, 0.88) !important;
}

.pagetype-system-audit .nav__main .lang-select-chevron,
.pagetype-system-audit-ja .nav__main .lang-select-chevron {
  color: rgba(255, 255, 255, 0.55);
}

.pagetype-system-audit .nav__main .dropdown-menu,
.pagetype-system-audit-ja .nav__main .dropdown-menu {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagetype-system-audit .nav__main .dropdown-menu .dropdown-item,
.pagetype-system-audit-ja .nav__main .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.75) !important;
}

.pagetype-system-audit .nav__main .dropdown-menu .dropdown-item:hover,
.pagetype-system-audit .nav__main .dropdown-menu .dropdown-item.active,
.pagetype-system-audit-ja .nav__main .dropdown-menu .dropdown-item:hover,
.pagetype-system-audit-ja .nav__main .dropdown-menu .dropdown-item.active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

/* --- Logo → white --- */
.pagetype-system-audit .nav__main .img-logo,
.pagetype-system-audit-ja .nav__main .img-logo {
  filter: brightness(0) invert(1);
}

/* --- "Contact us" button → red (matches "Start Free Scan") with sweep effect --- */
.pagetype-system-audit .nav__main .btn-actions,
.pagetype-system-audit-ja .nav__main .btn-actions {
  position: relative !important;
  overflow: hidden !important;
  background: #C8291A !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 14px 24px !important;
  transition: transform 0.2s !important;
  z-index: 0 !important;
}

.pagetype-system-audit .nav__main .btn-actions::before,
.pagetype-system-audit-ja .nav__main .btn-actions::before {
  content: '' !important;
  position: absolute !important;
  width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate3d(-50%, -50%, 0) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, #e83828 0%, #a32214 100%) !important;
  z-index: 1 !important;
  transition: width 0.65s cubic-bezier(0.77, 0, 0.175, 1) !important;
  pointer-events: none !important;
}

.pagetype-system-audit .nav__main .btn-actions:hover::before,
.pagetype-system-audit-ja .nav__main .btn-actions:hover::before {
  width: 280% !important;
}

.pagetype-system-audit .nav__main .btn-actions:hover,
.pagetype-system-audit-ja .nav__main .btn-actions:hover {
  transform: translateY(-2px) !important;
}

.pagetype-system-audit .nav__main .btn-actions .btn-text,
.pagetype-system-audit-ja .nav__main .btn-actions .btn-text {
  position: relative !important;
  z-index: 2 !important;
  color: #ffffff !important;
}

/* --- Mobile hamburger lines → white --- */
.pagetype-system-audit .nav__main .hamburger-icon span,
.pagetype-system-audit-ja .nav__main .hamburger-icon span {
  background-color: rgba(255, 255, 255, 0.88) !important;
}

/* --- Japanese hero: keep static first line on one line, no wrap --- */
.sa-hero__title-static {
  white-space: nowrap;
  display: block;
  text-align: center;
}

/* --- JA hero: 2-line typewriter, font slightly smaller to fit --- */
.pagetype-system-audit-ja .sa-hero__title {
  font-size: clamp(28px, 3.2vw, 46px);
  min-height: 4em; /* 3 lines: static + tw-l1 + tw-l2 */
}

.pagetype-system-audit-ja .sa-typewriter {
  display: block; /* block container so inner spans stack vertically */
}

/* Inner 2-line typewriter spans */
.sa-tw-l1,
.sa-tw-l2 {
  display: block;
  text-align: center;
}

.sa-tw-l1.typing::after,
.sa-tw-l2.typing::after {
  content: '|';
  color: var(--sa-red);
  font-weight: 300;
  animation: sa-blink 0.65s step-end infinite;
}

.sa-tw-l1.done::after,
.sa-tw-l2.done::after {
  display: none;
}

/* --- Japanese guarantee strip: keep strong labels on single lines --- */
.pagetype-system-audit-ja .sa-guarantee__item strong {
  white-space: nowrap;
  font-size: 20px; /* slightly smaller so long JA text fits */
}

/* --- Services sub-nav dropdown (sub-nav__list) → dark on system-audit pages --- */
/* opacity: 0 is set here explicitly so that system-audit.css (render-blocking) beats the async   */
/* common.css load. Without it, the sub-nav is visible until common.css applies opacity:0, which  */
/* causes a noticeable flash (common.css uses rel="preload" onload, so it arrives after render).  */
.pagetype-system-audit .nav__main .sub-nav__list,
.pagetype-system-audit-ja .nav__main .sub-nav__list {
  opacity: 0;
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: opacity 0.2s !important; /* faster than common.css 0.5s, eliminates residual flash */
}

.pagetype-system-audit .nav__main .sub-nav__list li a,
.pagetype-system-audit-ja .nav__main .sub-nav__list li a {
  color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important;
}

.pagetype-system-audit .nav__main .sub-nav__list li a:hover,
.pagetype-system-audit-ja .nav__main .sub-nav__list li a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

/* --- Footer copyright: override Josefin Sans fallback with page body font --- */
.pagetype-system-audit .copy-right,
.pagetype-system-audit-ja .copy-right {
  font-family: var(--sa-font-body) !important;
}
