/*
Theme Name: SSRocket
Theme URI: https://ssrocket.net
Description: SSRocket custom branded WordPress theme — Apple-inspired dark tech minimalism.
Version: 1.0.0
Author: SSRocket
Author URI: https://ssrocket.net
Text Domain: ssrocket
*/

/* ── Design Tokens (§10.8 Design System) ─────── */
:root {
  /* Colors — WCAG AA verified contrast ratios */
  --sr-black:       #0a0a0f;
  --sr-dark:        #111118;
  --sr-card:        #16161f;
  --sr-border:      #1e1e2a;
  --sr-muted:       #8b8ba0;  /* 4.67:1 on #0a0a0f — AA ✓ */
  --sr-text:        #c8c8d8;  /* 10.3:1 on #0a0a0f — AAA ✓ */
  --sr-white:       #eeeef5;  /* 14.8:1 on #0a0a0f — AAA ✓ */
  --sr-accent:      #3b82f6;  /* 4.62:1 on #0a0a0f — AA ✓ */
  --sr-accent-glow: #2563eb;
  --sr-accent-soft: rgba(59,130,246,0.12);
  --sr-red:         #f87171;
  --sr-orange:      #fb923c;
  --sr-yellow:      #facc15;
  --sr-green:       #34d399;

  /* Typography — fluid clamp() scale */
  --sr-font:        'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  --sr-text-xs:     clamp(0.6875rem, 0.65rem + 0.12vw, 0.75rem);    /* 11→12 */
  --sr-text-sm:     clamp(0.8125rem, 0.775rem + 0.12vw, 0.875rem);   /* 13→14 */
  --sr-text-base:   clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);         /* 15→16 */
  --sr-text-lg:     clamp(1rem, 0.95rem + 0.16vw, 1.0625rem);        /* 16→17 */
  --sr-text-xl:     clamp(1.125rem, 1rem + 0.4vw, 1.25rem);          /* 18→20 */
  --sr-text-2xl:    clamp(1.5rem, 1.25rem + 0.8vw, 2rem);            /* 24→32 */
  --sr-text-3xl:    clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);         /* 28→40 */
  --sr-text-4xl:    clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);          /* 36→56 */
  --sr-text-hero:   clamp(2.5rem, 1.5rem + 3.2vw, 4.5rem);           /* 40→72 */

  /* Spacing — 8px grid */
  --sr-space-1:  8px;
  --sr-space-2:  16px;
  --sr-space-3:  24px;
  --sr-space-4:  32px;
  --sr-space-5:  40px;
  --sr-space-6:  48px;
  --sr-space-8:  64px;
  --sr-space-10: 80px;

  /* Layout */
  --sr-radius:      12px;
  --sr-radius-sm:   8px;
  --sr-radius-full: 9999px;
  --sr-nav-h:       64px;

  /* Transitions */
  --sr-ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --sr-duration:    0.25s;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sr-font);
  font-size: var(--sr-text-base);
  background: var(--sr-black);
  color: var(--sr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--sr-accent); text-decoration: none; transition: color var(--sr-duration) var(--sr-ease); }
a:hover { color: var(--sr-accent-glow); }

/* Focus ring for keyboard navigation (A11Y) */
:focus-visible {
  outline: 2px solid var(--sr-accent);
  outline-offset: 2px;
}

/* Skip link for screen readers */
.sr-skip-link {
  position: absolute;
  top: -100%;
  left: var(--sr-space-2);
  z-index: 10000;
  padding: var(--sr-space-1) var(--sr-space-2);
  background: var(--sr-accent);
  color: #fff;
  border-radius: var(--sr-radius-sm);
  font-weight: 600;
}
.sr-skip-link:focus {
  top: var(--sr-space-1);
}

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

/* ── Utility ──────────────────────────────────── */
.sr-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-section {
  padding: var(--sr-space-10) 0;
}

.sr-section--dark {
  background: var(--sr-dark);
}

.sr-section__title {
  font-size: var(--sr-text-3xl);
  font-weight: 700;
  color: var(--sr-white);
  text-align: center;
  margin-bottom: var(--sr-space-2);
}

.sr-section__sub {
  color: var(--sr-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--sr-space-6);
  font-size: var(--sr-text-base);
}

/* ── Buttons ──────────────────────────────────── */
.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--sr-radius-full);
  font-size: var(--sr-text-base);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--sr-duration) var(--sr-ease),
              box-shadow var(--sr-duration) var(--sr-ease),
              transform 0.15s var(--sr-ease),
              border-color var(--sr-duration) var(--sr-ease);
  line-height: 1;
  position: relative;
}

.sr-btn:active { transform: scale(.97); }

.sr-btn--primary {
  background: var(--sr-accent);
  color: #fff;
}
.sr-btn--primary:hover {
  background: var(--sr-accent-glow);
  color: #fff;
  box-shadow: 0 0 24px rgba(59,130,246,.35);
  transform: translateY(-1px);
}

.sr-btn--ghost {
  background: transparent;
  color: var(--sr-text);
  border: 1px solid var(--sr-border);
}
.sr-btn--ghost:hover {
  border-color: var(--sr-accent);
  color: var(--sr-white);
  box-shadow: 0 0 16px rgba(59,130,246,.12);
  transform: translateY(-1px);
}

.sr-btn--block {
  width: 100%;
}

.sr-btn--sm {
  padding: var(--sr-space-1) 20px;
  font-size: var(--sr-text-sm);
}

.sr-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Navigation ───────────────────────────────── */
.sr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--sr-nav-h);
  background: rgba(10,10,15,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}

.sr-nav.is-scrolled {
  border-bottom-color: var(--sr-border);
}

.sr-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.sr-nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sr-white);
}
.sr-nav__logo span { color: var(--sr-accent); }

.sr-nav__links {
  display: none;
  gap: 32px;
}
.sr-nav__links a {
  color: var(--sr-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}
.sr-nav__links a:hover { color: var(--sr-white); }

.sr-nav__actions {
  display: none;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.sr-lang-switch {
  display: flex;
  align-items: center;
  background: var(--sr-dark);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius-full);
  padding: 2px;
  gap: 0;
}
.sr-lang-btn {
  background: none;
  border: none;
  color: var(--sr-muted);
  font-size: var(--sr-text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--sr-radius-full);
  cursor: pointer;
  transition: color var(--sr-duration) var(--sr-ease), background var(--sr-duration) var(--sr-ease);
  line-height: 1.4;
}
.sr-lang-btn:hover {
  color: var(--sr-white);
}
.sr-lang-btn.is-active {
  background: var(--sr-accent);
  color: #fff;
}

/* Hamburger */
.sr-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.sr-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sr-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile Menu */
.sr-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--sr-nav-h);
  background: var(--sr-black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.sr-mobile-menu a {
  font-size: 1.25rem;
  color: var(--sr-text);
  font-weight: 600;
}
.sr-mobile-menu a:hover { color: var(--sr-accent); }

.sr-mobile-menu.is-open {
  display: flex;
}

/* Hamburger open state */
.sr-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sr-hamburger.is-open span:nth-child(2) { opacity: 0; }
.sr-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────── */
.sr-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: var(--sr-nav-h);
  overflow: hidden;
}

.sr-hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sr-hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--sr-accent-soft);
  color: var(--sr-accent);
  border-radius: 9999px;
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.sr-hero__title {
  font-size: var(--sr-text-hero);
  font-weight: 800;
  color: var(--sr-white);
  line-height: 1.1;
  margin-bottom: var(--sr-space-3);
}

.sr-hero__title .sr-gradient {
  background: linear-gradient(135deg, var(--sr-accent) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-hero__desc {
  color: var(--sr-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.0625rem;
}

.sr-hero__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Stats ────────────────────────────────────── */
.sr-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sr-stats__item {
  text-align: center;
  padding: 24px 16px;
}

.sr-stats__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sr-white);
  margin-bottom: 4px;
}

.sr-stats__label {
  color: var(--sr-muted);
  font-size: .875rem;
}

/* ── Feature Cards ────────────────────────────── */
.sr-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sr-feature-card {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: var(--sr-space-4) var(--sr-space-3);
  transition: transform var(--sr-duration) var(--sr-ease),
              border-color var(--sr-duration) var(--sr-ease),
              box-shadow var(--sr-duration) var(--sr-ease);
}
.sr-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--sr-accent);
  box-shadow: 0 8px 32px rgba(59,130,246,.08);
}

.sr-feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.sr-feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 6px;
}

.sr-feature-card__desc {
  color: var(--sr-muted);
  font-size: .875rem;
  line-height: 1.5;
}

/* ── Pricing Cards ────────────────────────────── */
.sr-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sr-pricing-card {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: var(--sr-space-4) var(--sr-space-3);
  text-align: center;
  position: relative;
  transition: transform var(--sr-duration) var(--sr-ease),
              border-color var(--sr-duration) var(--sr-ease),
              box-shadow var(--sr-duration) var(--sr-ease);
}
.sr-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.sr-pricing-card--featured {
  border-color: var(--sr-accent);
  background: linear-gradient(var(--sr-card), var(--sr-card)) padding-box,
              linear-gradient(135deg, var(--sr-accent), #34d399) border-box;
  border: 2px solid transparent;
}

.sr-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sr-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
}

.sr-pricing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 8px;
}

.sr-pricing-card__price {
  font-size: var(--sr-text-4xl);
  font-weight: 800;
  color: var(--sr-white);
  margin-bottom: 4px;
}
.sr-pricing-card__price small {
  font-size: var(--sr-text-sm);
  font-weight: 400;
  color: var(--sr-muted);
}

.sr-pricing-card__period {
  color: var(--sr-muted);
  font-size: .8125rem;
  margin-bottom: 20px;
}

.sr-pricing-card__features {
  text-align: left;
  margin-bottom: 24px;
}
.sr-pricing-card__features li {
  padding: 6px 0;
  color: var(--sr-text);
  font-size: .875rem;
}
.sr-pricing-card__features li::before {
  content: '✓';
  color: var(--sr-accent);
  margin-right: 8px;
  font-weight: 700;
}

/* ── CTA Banner ───────────────────────────────── */
.sr-cta {
  text-align: center;
  padding: 80px 0;
}

.sr-cta__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 12px;
}

.sr-cta__desc {
  color: var(--sr-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ── FAQ ──────────────────────────────────────── */
.sr-faq {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sr-faq details {
  background: var(--sr-dark);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  overflow: hidden;
}

.sr-faq summary {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--sr-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sr-faq summary::-webkit-details-marker { display: none; }
.sr-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--sr-muted);
  transition: transform .2s;
}
.sr-faq details[open] summary::after {
  content: '−';
}

.sr-faq details div {
  padding: 0 20px 16px;
  color: var(--sr-muted);
  font-size: .875rem;
  line-height: 1.7;
}

/* ── Auth Forms ───────────────────────────────── */
.sr-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--sr-nav-h) + 40px) 20px 40px;
}

.sr-auth__card {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 40px 32px;
  width: 100%;
  max-width: 400px;
}

.sr-auth__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sr-white);
  text-align: center;
  margin-bottom: 8px;
}
.sr-auth__logo span { color: var(--sr-accent); }

.sr-auth__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sr-white);
  text-align: center;
  margin-bottom: 4px;
}

.sr-auth__sub {
  color: var(--sr-muted);
  text-align: center;
  font-size: .875rem;
  margin-bottom: 28px;
}

.sr-form-group {
  margin-bottom: 18px;
}

.sr-form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--sr-text);
  margin-bottom: 6px;
}

.sr-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--sr-dark);
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  color: var(--sr-white);
  font-size: .9375rem;
  font-family: var(--sr-font);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sr-input:focus {
  border-color: var(--sr-accent);
  box-shadow: 0 0 0 3px var(--sr-accent-soft);
}
.sr-input::placeholder { color: var(--sr-muted); }

.sr-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: .8125rem;
}

.sr-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sr-muted);
  cursor: pointer;
}
.sr-checkbox input {
  accent-color: var(--sr-accent);
}

.sr-form-error {
  display: none;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.25);
  color: var(--sr-red);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .8125rem;
  margin-bottom: 18px;
}
.sr-form-error.is-visible {
  display: block;
}

.sr-form-success {
  display: none;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  color: var(--sr-green);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .8125rem;
  margin-bottom: 18px;
}
.sr-form-success.is-visible {
  display: block;
}

.sr-auth__footer {
  text-align: center;
  margin-top: 20px;
  font-size: .8125rem;
  color: var(--sr-muted);
}
.sr-auth__footer a { font-weight: 600; }

/* Password strength */
.sr-pw-strength {
  height: 4px;
  background: var(--sr-border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.sr-pw-strength__bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width .3s, background .3s;
}

.sr-pw-strength__text {
  font-size: .75rem;
  margin-top: 4px;
  color: var(--sr-muted);
}

/* ── Footer ───────────────────────────────────── */
.sr-footer {
  background: var(--sr-dark);
  border-top: 1px solid var(--sr-border);
  padding: 60px 0 0;
}

.sr-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.sr-footer__brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 10px;
}
.sr-footer__brand-name span { color: var(--sr-accent); }

.sr-footer__brand-desc {
  color: var(--sr-muted);
  font-size: .875rem;
  line-height: 1.6;
}

.sr-footer__col-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 14px;
}

.sr-footer__links li { margin-bottom: 10px; }
.sr-footer__links a {
  color: var(--sr-muted);
  font-size: .875rem;
  transition: color .2s;
}
.sr-footer__links a:hover { color: var(--sr-white); }

.sr-footer__bottom {
  border-top: 1px solid var(--sr-border);
  padding: 20px 0;
  text-align: center;
  color: var(--sr-muted);
  font-size: .8125rem;
}

/* ── Page Content ─────────────────────────────── */
.sr-page {
  padding-top: calc(var(--sr-nav-h) + 40px);
  padding-bottom: 60px;
  min-height: 60vh;
}

.sr-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 24px;
}

.sr-page__content {
  color: var(--sr-text);
  line-height: 1.8;
}
.sr-page__content h2 {
  font-size: 1.5rem;
  color: var(--sr-white);
  margin: 32px 0 12px;
}
.sr-page__content h3 {
  font-size: 1.25rem;
  color: var(--sr-white);
  margin: 24px 0 8px;
}
.sr-page__content p { margin-bottom: 16px; }
.sr-page__content ul, .sr-page__content ol {
  margin: 0 0 16px 24px;
  list-style: disc;
}

/* ── Animations ───────────────────────────────── */
.sr-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.sr-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sr-animate--d1 { transition-delay: .1s; }
.sr-animate--d2 { transition-delay: .2s; }
.sr-animate--d3 { transition-delay: .3s; }
.sr-animate--d4 { transition-delay: .4s; }

/* ── Responsive ───────────────────────────────── */
@media (min-width: 480px) {
  .sr-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .sr-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .sr-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .sr-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .sr-features {
    grid-template-columns: repeat(3, 1fr);
  }
  .sr-nav__links {
    display: flex;
  }
  .sr-nav__actions {
    display: flex;
  }
  .sr-hamburger {
    display: none;
  }
}

@media (min-width: 960px) {
  .sr-pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .sr-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ── Three-Layer Cards ───────────────────────────── */
.sr-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sr-layer-card {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 32px 28px;
  transition: transform .25s, border-color .25s;
}
.sr-layer-card:hover {
  transform: translateY(-4px);
}

.sr-layer-card--accent {
  border-color: var(--sr-accent);
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(16,185,129,0.05));
}

.sr-layer-card__icon {
  color: var(--sr-accent);
  margin-bottom: 12px;
}

.sr-layer-card__tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sr-accent);
  margin-bottom: 8px;
}

.sr-layer-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 8px;
}

.sr-layer-card__desc {
  color: var(--sr-muted);
  font-size: .875rem;
  line-height: 1.6;
}

/* ── Billing Toggle ──────────────────────────────── */
.sr-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.sr-billing-toggle__label {
  font-size: .875rem;
  color: var(--sr-muted);
  cursor: pointer;
  transition: color .2s;
}
.sr-billing-toggle__label.is-active {
  color: var(--sr-white);
  font-weight: 600;
}
.sr-billing-toggle__label em {
  font-style: normal;
  color: var(--sr-green);
  font-size: .75rem;
  font-weight: 600;
}

.sr-billing-toggle__switch {
  width: 48px;
  height: 26px;
  background: var(--sr-border);
  border: none;
  border-radius: 13px;
  cursor: pointer;
  position: relative;
  transition: background .2s;
}
.sr-billing-toggle__switch.is-active {
  background: var(--sr-accent);
}

.sr-billing-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--sr-white);
  border-radius: 50%;
  transition: transform .2s;
}
.sr-billing-toggle__switch.is-active .sr-billing-toggle__knob {
  transform: translateX(22px);
}

/* ── Pricing Card Tagline ────────────────────────── */
.sr-pricing-card__tagline {
  color: var(--sr-muted);
  font-size: .8125rem;
  margin-bottom: 16px;
}

/* ── Social Proof ────────────────────────────────── */
.sr-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sr-proof__item {
  text-align: center;
  padding: 28px 16px;
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  transition: border-color .25s;
}
.sr-proof__item:hover {
  border-color: var(--sr-accent);
}

.sr-proof__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sr-white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.sr-proof__label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--sr-text);
  margin-bottom: 4px;
}

.sr-proof__sub {
  font-size: .75rem;
  color: var(--sr-muted);
}

/* ── AI Spotlight ────────────────────────────────── */
.sr-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.sr-spotlight__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.sr-spotlight__desc {
  color: var(--sr-muted);
  margin-bottom: 20px;
  font-size: .9375rem;
  line-height: 1.7;
}

.sr-spotlight__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sr-spotlight__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sr-text);
  font-size: .875rem;
}

/* AI Chat Preview Mock */
.sr-ai-preview {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  overflow: hidden;
}

.sr-ai-preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--sr-border);
}

.sr-ai-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sr-border);
}
.sr-ai-preview__dot:nth-child(1) { background: #ff5f57; }
.sr-ai-preview__dot:nth-child(2) { background: #febc2e; }
.sr-ai-preview__dot:nth-child(3) { background: #28c840; }

.sr-ai-preview__title {
  margin-left: auto;
  font-size: .75rem;
  color: var(--sr-muted);
}

.sr-ai-preview__body {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sr-ai-preview__msg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .8125rem;
  line-height: 1.5;
  max-width: 85%;
}

.sr-ai-preview__msg--user {
  background: var(--sr-accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.sr-ai-preview__msg--ai {
  background: rgba(255,255,255,0.05);
  color: var(--sr-text);
  border-bottom-left-radius: 4px;
}

.sr-ai-preview__model {
  display: inline-block;
  font-size: .625rem;
  font-weight: 700;
  color: var(--sr-green);
  background: rgba(52,211,153,0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

/* ── Steps ───────────────────────────────────────── */
.sr-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.sr-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sr-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sr-accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 4px;
}

.sr-step__desc {
  color: var(--sr-muted);
  font-size: .875rem;
}

/* ── Feature Card Tier Badge ─────────────────────── */
.sr-feature-card__tier {
  display: inline-block;
  margin-top: 10px;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--sr-accent);
  background: var(--sr-accent-soft);
  padding: 3px 10px;
  border-radius: 9999px;
}

/* ── Comparison Table ────────────────────────────── */
.sr-compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sr-compare__table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.sr-compare__table th,
.sr-compare__table td {
  padding: 12px 16px;
  text-align: center;
  font-size: .8125rem;
  border-bottom: 1px solid var(--sr-border);
}

.sr-compare__table th {
  color: var(--sr-white);
  font-weight: 700;
  background: rgba(255,255,255,0.03);
}

.sr-compare__table td:first-child {
  text-align: left;
  color: var(--sr-text);
  font-weight: 500;
}

.sr-compare__table td {
  color: var(--sr-muted);
}

.sr-compare__table .is-featured {
  background: rgba(59,130,246,0.06);
  color: var(--sr-white);
}

/* ── FAQ Category Title ──────────────────────────── */
.sr-faq-category {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sr-white);
  margin: 48px auto 16px;
  max-width: 640px;
}
.sr-faq-category:first-of-type {
  margin-top: 0;
}

/* ── Account Page ────────────────────────────────── */
/* ===== ACCOUNT PAGE v2 ===== */

/* Body — no main site nav/footer */
.sr-acct-body { background: #0a0e17; color: #f1f5f9; font-family: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif; }
.sr-acct-body .sr-nav,
.sr-acct-body .sr-footer,
.sr-acct-body .sr-mobile-menu { display: none !important; }

/* Minimal header */
.sr-acct-header {
  position: sticky; top: 0; z-index: 100;
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,14,23,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,41,59,0.5);
}
.sr-acct-header__logo {
  font-size: 18px; font-weight: 700; color: #f1f5f9; text-decoration: none;
}
.sr-acct-header__logo span { color: #3b82f6; }
.sr-acct-header__right { display: flex; align-items: center; gap: 12px; }
.sr-acct-header__lang { display: flex; gap: 2px; }
.sr-acct-header__lang-btn {
  padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600;
  border: 1px solid #1e293b; background: transparent; color: #64748b; cursor: pointer;
  transition: all .15s;
}
.sr-acct-header__lang-btn.active { background: #1e293b; color: #f1f5f9; border-color: #334155; }
.sr-acct-header__email {
  font-size: 12px; color: #94a3b8; max-width: 160px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sr-acct-header__logout {
  font-size: 12px; font-weight: 600; color: #64748b; text-decoration: none;
  padding: 4px 10px; border-radius: 6px; border: 1px solid #1e293b;
  transition: all .15s;
}
.sr-acct-header__logout:hover { color: #ef4444; border-color: #ef4444; }

/* Minimal footer */
.sr-acct-footer {
  text-align: center; padding: 20px 16px; font-size: 12px; color: #475569;
  border-top: 1px solid rgba(30,41,59,0.3);
}
.sr-acct-footer__social {
  display: flex; justify-content: center; gap: 16px; margin-bottom: 10px;
}
.sr-acct-footer__social a {
  color: #64748b; transition: color .15s; display: flex; align-items: center;
}
.sr-acct-footer__social a:hover { color: #3b82f6; }

/* Page container — tabs directly below header */
.sr-acct {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* Subscription status banner (compact one-line) */
.sr-acct-status-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 10px; margin-bottom: 12px; font-size: 12.5px; font-weight: 600;
}
.sr-acct-status-bar--loading { background: #111827; color: #64748b; }
.sr-acct-status-bar--active { background: rgba(16,185,129,0.1); color: #10b981; border: 1px solid rgba(16,185,129,0.2); }
.sr-acct-status-bar--warning { background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.sr-acct-status-bar--expired { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
#sub-status-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-acct-status-bar__btn {
  flex-shrink: 0; padding: 4px 14px; border-radius: 6px; font-size: 11px;
  font-weight: 700; color: #fff; background: #3b82f6; text-decoration: none;
  border: none; cursor: pointer; transition: background .15s;
}
.sr-acct-status-bar__btn:hover { background: #2563eb; }
.sr-acct-status-bar--expired .sr-acct-status-bar__btn { background: #ef4444; }
.sr-acct-status-bar--expired .sr-acct-status-bar__btn:hover { background: #dc2626; }
.sr-acct-status-bar__cancel {
  flex-shrink: 0; font-size: 11px; color: #64748b; background: none;
  border: none; cursor: pointer; padding: 4px 8px;
}
.sr-acct-status-bar__cancel:hover { color: #94a3b8; text-decoration: underline; }

/* Banner (renewal reminder - now unused, kept for safety) */
.sr-acct__banner {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25);
  border-radius: 10px; margin-bottom: 12px; font-size: 12px; color: #f59e0b;
}
.sr-acct__banner svg { flex-shrink: 0; }

/* Tab bar — pill style, flush to header */
.sr-acct__tabs {
  display: flex; gap: 2px; background: #111827; border-radius: 10px;
  padding: 3px; margin-top: 16px; margin-bottom: 12px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.sr-acct__tabs::-webkit-scrollbar { display: none; }
.sr-acct__tab {
  flex: 1; min-width: 0; padding: 8px 4px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: #64748b; text-align: center;
  cursor: pointer; transition: all .2s; white-space: nowrap;
  border: none; background: transparent;
}
.sr-acct__tab.active { background: #3b82f6; color: #fff; }
.sr-acct__tab:not(.active):hover { color: #94a3b8; }

/* Panel */
.sr-acct__panel { }

/* Card */
.sr-acct-card {
  background: #111827; border: 1px solid #1e293b; border-radius: 14px;
  padding: 18px; margin-bottom: 12px;
}
.sr-acct-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.sr-acct-card__head h3 {
  font-size: 14px; font-weight: 700; color: var(--sr-white);
  display: flex; align-items: center; gap: 7px;
}
.sr-acct-card__head h3 svg { opacity: 0.5; }

/* Status badge */
.sr-acct-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.sr-acct-badge--active { background: rgba(16,185,129,0.1); color: #10b981; }
.sr-acct-badge--expired { background: rgba(239,68,68,0.1); color: #ef4444; }
.sr-acct-badge--trial  { background: rgba(245,158,11,0.1); color: #f59e0b; }

/* Rows */
.sr-acct-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(30,41,59,0.5);
}
.sr-acct-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.sr-acct-row__label { font-size: 12.5px; color: #64748b; }
.sr-acct-row__value { font-size: 13px; font-weight: 600; color: var(--sr-white); }

/* Action buttons */
.sr-acct-actions { display: flex; gap: 8px; margin-top: 16px; }
.sr-acct-btn {
  flex: 1; padding: 10px; border-radius: 10px; font-size: 13px;
  font-weight: 600; border: none; cursor: pointer; text-align: center;
  transition: all .2s; text-decoration: none; display: inline-block;
}
.sr-acct-btn--renew { background: #3b82f6; color: #fff; }
.sr-acct-btn--renew:hover { background: #2563eb; }
.sr-acct-btn--cancel { background: transparent; color: #64748b; border: 1px solid #1e293b; }
.sr-acct-btn--cancel:hover { color: #94a3b8; border-color: #64748b; }

/* Referral card */
.sr-acct-referral {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
  border: 1px solid rgba(59,130,246,0.15); border-radius: 14px;
  padding: 16px; display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; cursor: pointer; transition: all .2s;
}
.sr-acct-referral:hover { border-color: rgba(59,130,246,0.3); }
.sr-acct-referral__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(59,130,246,0.1); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.sr-acct-referral__info { flex: 1; }
.sr-acct-referral__info h4 { font-size: 13px; font-weight: 700; color: var(--sr-white); margin-bottom: 1px; }
.sr-acct-referral__info p { font-size: 11px; color: #64748b; margin: 0; }
.sr-acct-referral__stat { text-align: right; }
.sr-acct-referral__stat .num { font-size: 18px; font-weight: 800; color: #3b82f6; }
.sr-acct-referral__stat .label { font-size: 10px; color: #64748b; }

/* Hint text */
.sr-acct-hint { font-size: 11px; color: #64748b; }

/* Subscription URL box */
.sr-acct-url {
  background: #0a0e17; border: 1px solid #1e293b; border-radius: 10px;
  padding: 12px; margin-bottom: 14px;
}
.sr-acct-url__label {
  font-size: 11px; color: #64748b; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.sr-acct-url__value {
  font-size: 12px; color: #94a3b8; word-break: break-all;
  font-family: 'SF Mono', 'Fira Code', monospace; line-height: 1.5;
}

/* Import buttons 2×2 grid */
.sr-acct-imports {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px;
}
.sr-acct-imports__btn {
  padding: 10px; border-radius: 10px; font-size: 12px; font-weight: 600;
  border: 1px solid #1e293b; background: #111827; color: #94a3b8;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 6px; transition: all .2s;
}
.sr-acct-imports__btn:hover { border-color: #3b82f6; color: var(--sr-white); }
.sr-acct-imports__btn.recommended {
  border-color: #3b82f6; background: rgba(59,130,246,0.08); color: #3b82f6;
}
.sr-acct-imports__btn svg { flex-shrink: 0; }

/* Regenerate button - removed, keeping minimal */
.sr-acct-regen {
  font-size: 11px; color: #64748b; background: none; border: none;
  cursor: pointer; padding: 4px 0; margin-top: 8px;
}
.sr-acct-regen:hover { color: #94a3b8; text-decoration: underline; }
.sr-acct-regen:disabled { opacity: 0.4; cursor: default; }

/* Node group */
.sr-acct-ngroup { margin-bottom: 16px; }
.sr-acct-ngroup__title {
  font-size: 11px; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 8px 0; display: flex; align-items: center; gap: 6px;
}

/* Node item */
.sr-acct-node {
  display: flex; align-items: center; padding: 11px 12px;
  border-radius: 10px; background: #0a0e17;
  border: 1px solid rgba(30,41,59,0.5); margin-bottom: 6px;
  cursor: pointer; transition: all .2s;
}
.sr-acct-node:hover { border-color: #3b82f6; background: #151d2e; }
.sr-acct-node__info { flex: 1; min-width: 0; }
.sr-acct-node__name { font-size: 13px; font-weight: 600; color: var(--sr-white); margin-bottom: 1px; }
.sr-acct-node__meta { font-size: 11px; color: #64748b; }
.sr-acct-node__status { display: flex; align-items: center; gap: 10px; }
.sr-acct-node__latency { font-size: 11px; color: #64748b; font-weight: 500; }
.sr-acct-node__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sr-acct-node__dot.ok { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.4); }
.sr-acct-node__dot.slow { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.4); }
.sr-acct-node__dot.off { background: #ef4444; opacity: 0.5; }
.sr-acct-pro {
  font-size: 9px; font-weight: 800; color: #8b5cf6;
  background: rgba(139,92,246,0.1); padding: 1px 5px;
  border-radius: 4px; margin-left: 6px;
}

/* AI quota bar */
.sr-acct-quota { margin-bottom: 14px; }
.sr-acct-quota__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.sr-acct-quota__label { font-size: 12px; color: #64748b; }
.sr-acct-quota__value { font-size: 12px; font-weight: 600; color: var(--sr-white); }
.sr-acct-quota__bar { height: 6px; background: #0a0e17; border-radius: 3px; overflow: hidden; }
.sr-acct-quota__fill { height: 100%; border-radius: 3px; transition: width .4s ease; }
.sr-acct-quota__fill.low { background: #10b981; }
.sr-acct-quota__fill.mid { background: #f59e0b; }
.sr-acct-quota__fill.high { background: #ef4444; }
.sr-acct-quota__footer { font-size: 11px; color: #64748b; margin-top: 4px; }

/* AI model list */
.sr-acct-models { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sr-acct-model {
  display: flex; align-items: center; padding: 10px 12px;
  border-radius: 10px; background: #0a0e17;
  border: 1px solid rgba(30,41,59,0.5);
}
.sr-acct-model__icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; margin-right: 10px; font-weight: 800;
}
.sr-acct-model__icon.gpt { background: rgba(16,163,127,0.1); color: #10a37f; }
.sr-acct-model__icon.claude { background: rgba(214,131,68,0.1); color: #d68344; }
.sr-acct-model__icon.gemini { background: rgba(66,133,244,0.1); color: #4285f4; }
.sr-acct-model__info { flex: 1; }
.sr-acct-model__name { font-size: 13px; font-weight: 600; color: var(--sr-white); }
.sr-acct-model__desc { font-size: 11px; color: #64748b; }
.sr-acct-model__status { font-size: 11px; font-weight: 600; color: #10b981; }

/* Launch button */
.sr-acct-launch {
  width: 100%; padding: 12px; border-radius: 10px; font-size: 14px;
  font-weight: 700; color: #fff; background: #3b82f6; border: none;
  cursor: pointer; transition: all .2s;
}
.sr-acct-launch:hover { background: #2563eb; }

/* AI upgrade CTA */
.sr-acct-upgrade { text-align: center; padding: 24px 16px; }
.sr-acct-upgrade__lock { font-size: 32px; margin-bottom: 12px; opacity: 0.3; }
.sr-acct-upgrade h3 { font-size: 16px; font-weight: 700; color: var(--sr-white); margin-bottom: 4px; }
.sr-acct-upgrade p { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.sr-acct-upgrade__btn {
  display: inline-block; padding: 10px 24px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: #fff; background: #8b5cf6;
  border: none; cursor: pointer; text-decoration: none; transition: all .2s;
}
.sr-acct-upgrade__btn:hover { opacity: 0.85; }

/* Billing cards */
.sr-acct-bill {
  background: #0a0e17; border: 1px solid rgba(30,41,59,0.5);
  border-radius: 10px; padding: 14px; margin-bottom: 8px;
}
.sr-acct-bill__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sr-acct-bill__date { font-size: 12px; color: #64748b; }
.sr-acct-bill__amount { font-size: 14px; font-weight: 700; color: var(--sr-white); }
.sr-acct-bill__bottom { display: flex; justify-content: space-between; align-items: center; }
.sr-acct-bill__plan { font-size: 12px; color: #94a3b8; }
.sr-acct-bill__status { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.sr-acct-bill__status--paid { background: rgba(16,185,129,0.1); color: #10b981; }
.sr-acct-bill__status--refunded { background: rgba(245,158,11,0.1); color: #f59e0b; }
.sr-acct-bill__status--pending { background: rgba(245,158,11,0.1); color: #f59e0b; }
.sr-acct-bill__status--failed { background: rgba(239,68,68,0.1); color: #ef4444; }

/* Settings rows */
.sr-acct-setting {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(30,41,59,0.5);
}
.sr-acct-setting:last-child { border-bottom: none; }
.sr-acct-setting__label { font-size: 13px; font-weight: 500; color: var(--sr-white); }
.sr-acct-setting__value { font-size: 13px; color: #64748b; }
.sr-acct-setting__action {
  font-size: 12px; font-weight: 600; color: #3b82f6;
  background: none; border: none; cursor: pointer; text-decoration: none;
}
.sr-acct-setting__action:hover { text-decoration: underline; }

/* WeChat support */
.sr-acct-wechat {
  margin-top: 16px; padding: 14px; background: #0a0e17;
  border: 1px solid rgba(30,41,59,0.5); border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
}
.sr-acct-wechat svg { flex-shrink: 0; opacity: 0.5; }
.sr-acct-wechat__text { font-size: 12px; color: #64748b; }
.sr-acct-wechat__id { font-size: 13px; font-weight: 600; color: #94a3b8; }

/* Logout */
.sr-acct-logout {
  width: 100%; padding: 12px; border-radius: 10px; font-size: 13px;
  font-weight: 600; color: #ef4444; background: transparent;
  border: 1px solid #ef4444; cursor: pointer; margin-top: 16px; transition: all .2s;
}
.sr-acct-logout:hover { background: rgba(239,68,68,0.1); }

/* Empty state */
.sr-acct-empty { text-align: center; padding: 32px 16px; }
.sr-acct-empty svg { opacity: 0.15; margin-bottom: 12px; }
.sr-acct-empty p { font-size: 13px; color: #64748b; }

/* Toast */
.sr-acct-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 10px 20px; border-radius: 10px; background: #111827;
  border: 1px solid #1e293b; font-size: 13px; font-weight: 600;
  color: #10b981; box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.sr-acct-toast.show { opacity: 1; }

/* Desktop */
@media (min-width: 768px) {
  .sr-acct { max-width: 640px; padding: 0 24px 80px; }
  .sr-acct-header { padding: 14px 24px; }
  .sr-acct-imports { grid-template-columns: repeat(4, 1fr); }
}
/* Mobile: hide email in header, tighter */
@media (max-width: 479px) {
  .sr-acct-header__email { display: none; }
  .sr-acct-header { padding: 10px 12px; }
  .sr-acct { padding: 0 12px 60px; }
  .sr-acct__tabs { margin-top: 12px; }
}
/* ===== END ACCOUNT PAGE v2 ===== */

/* ── Modal ───────────────────────────────────────── */
.sr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sr-modal {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: 12px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
}
.sr-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 8px;
}
.sr-modal__desc {
  font-size: .875rem;
  color: var(--sr-muted);
  line-height: 1.6;
}

/* (Billing table + renewal banner moved to ACCOUNT PAGE v2 section) */

/* ── About Page ──────────────────────────────────── */
.sr-about-content {
  color: var(--sr-text);
  line-height: 1.8;
}
.sr-about-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--sr-white);
  margin: 40px 0 12px;
}
.sr-about-content h2:first-child {
  margin-top: 0;
}
.sr-about-content p {
  margin-bottom: 16px;
}
.sr-about-content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.sr-about-content li {
  margin-bottom: 8px;
  color: var(--sr-text);
}

/* ── CTA Buttons Row ─────────────────────────────── */
.sr-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Gradient Text ───────────────────────────────── */
.sr-gradient {
  background: linear-gradient(135deg, var(--sr-accent) 0%, #60a5fa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Additional Responsive ───────────────────────── */
@media (min-width: 640px) {
  .sr-layers {
    grid-template-columns: repeat(3, 1fr);
  }
  .sr-proof {
    grid-template-columns: repeat(4, 1fr);
  }
  .sr-spotlight {
    grid-template-columns: 1fr 1fr;
  }
  .sr-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .sr-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .sr-spotlight__title {
    font-size: var(--sr-text-3xl);
  }
}

/* ── Layer Card Hover Gradient ──────────────────── */
.sr-layer-card {
  transition: transform var(--sr-duration) var(--sr-ease),
              border-color var(--sr-duration) var(--sr-ease),
              box-shadow var(--sr-duration) var(--sr-ease);
}
.sr-layer-card:hover {
  box-shadow: 0 8px 32px rgba(59,130,246,.1);
}

/* ── Proof Card Hover ───────────────────────────── */
.sr-proof__item {
  transition: border-color var(--sr-duration) var(--sr-ease),
              transform var(--sr-duration) var(--sr-ease);
}
.sr-proof__item:hover {
  transform: translateY(-2px);
}

/* ── FAQ Open/Close Transition ──────────────────── */
.sr-faq details {
  transition: border-color var(--sr-duration) var(--sr-ease);
}
.sr-faq details[open] {
  border-color: rgba(59,130,246,0.2);
}

/* ── Setup Guide Page ──────────────────────────── */
.sr-setup-page {
  padding: calc(var(--sr-nav-h) + 48px) 0 64px;
}
.sr-setup__header {
  text-align: center;
  margin-bottom: 40px;
}
.sr-setup__title {
  font-size: var(--sr-text-3xl);
  font-weight: 800;
  color: var(--sr-white);
  margin-bottom: 12px;
}
.sr-setup__subtitle {
  font-size: var(--sr-text-lg);
  color: var(--sr-muted);
}

/* Tabs */
.sr-setup__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sr-setup__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 12px 20px;
  color: var(--sr-muted);
  font-size: var(--sr-text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--sr-duration) var(--sr-ease),
              color var(--sr-duration) var(--sr-ease),
              background var(--sr-duration) var(--sr-ease);
}
.sr-setup__tab:hover {
  border-color: var(--sr-accent);
  color: var(--sr-text);
}
.sr-setup__tab.is-active {
  background: var(--sr-accent-soft);
  border-color: var(--sr-accent);
  color: var(--sr-white);
}
.sr-setup__tab-icon {
  font-size: 1.25rem;
}
.sr-setup__tab-label {
  white-space: nowrap;
}

/* Panels */
.sr-setup__panel {
  display: none;
}
.sr-setup__panel.is-active {
  display: block;
}

/* Steps */
.sr-setup__steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sr-setup__step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}
.sr-setup__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: var(--sr-border);
}
.sr-setup__step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sr-accent);
  color: #fff;
  font-size: var(--sr-text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.sr-setup__step-body {
  flex: 1;
  min-width: 0;
}
.sr-setup__step-title {
  font-size: var(--sr-text-lg);
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 8px;
}
.sr-setup__step-desc {
  color: var(--sr-text);
  font-size: var(--sr-text-base);
  line-height: 1.7;
}

/* Tip Box */
.sr-setup__tip {
  max-width: 680px;
  margin: 40px auto 0;
  display: flex;
  gap: 12px;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--sr-radius);
  padding: 16px 20px;
  color: var(--sr-text);
  font-size: var(--sr-text-sm);
  line-height: 1.6;
}
.sr-setup__tip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.sr-setup__tip strong {
  color: var(--sr-white);
}
.sr-setup__tip p {
  margin-top: 4px;
}

/* CTA */
.sr-setup__cta {
  text-align: center;
  margin-top: 48px;
}
.sr-setup__cta-help {
  margin-top: 12px;
  color: var(--sr-muted);
  font-size: var(--sr-text-sm);
}
.sr-setup__cta-help a {
  color: var(--sr-accent);
  text-decoration: none;
}
.sr-setup__cta-help a:hover {
  text-decoration: underline;
}

/* Mobile: horizontal scroll tabs */
@media (max-width: 600px) {
  .sr-setup__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .sr-setup__tabs::-webkit-scrollbar { display: none; }
  .sr-setup__tab {
    flex-shrink: 0;
  }
}

/* ── Reduced Motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .sr-animate {
    opacity: 1;
    transform: none;
  }
}

/* ── Print Styles ───────────────────────────────── */
@media print {
  .sr-nav, .sr-mobile-menu, .sr-hamburger,
  .sr-hero__glow, .sr-cta, .sr-footer {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  .sr-section {
    padding: 24px 0;
  }
  a { color: #111; text-decoration: underline; }
}

/* ═══════════════════════════════════════════════════
   Single SKU Product Card + Checkout Overlay (§3.2)
   ═══════════════════════════════════════════════════ */

/* ── Pricing Hero Section (dense, no large gaps) ── */
.sr-pricing-hero {
  padding: 7rem 0 3rem;
  text-align: center;
}

.sr-pricing-hero .sr-section__title {
  margin-bottom: 8px;
}

.sr-pricing-hero .sr-section__sub {
  margin-bottom: 32px;
}

/* ── Single Product Card ───────────────────────── */
.sr-product-card {
  background: var(--sr-card);
  border: 2px solid transparent;
  border-radius: var(--sr-radius);
  padding: 36px 28px 32px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background-image: linear-gradient(var(--sr-card), var(--sr-card)),
                    linear-gradient(135deg, var(--sr-accent), #34d399);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.sr-product-card__badge {
  display: inline-block;
  background: var(--sr-accent-soft);
  color: var(--sr-accent);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: var(--sr-radius-full);
  margin-bottom: 12px;
}

.sr-product-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--sr-white);
  margin-bottom: 16px;
}

.sr-product-card__price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
}

.sr-product-card__currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sr-white);
  align-self: flex-start;
  margin-top: 4px;
}

.sr-product-card__amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--sr-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.sr-product-card__unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--sr-muted);
  margin-left: 2px;
}

.sr-product-card__period {
  color: var(--sr-muted);
  font-size: .8125rem;
  margin-bottom: 20px;
  min-height: 1.3em;
}

.sr-product-card__features {
  text-align: left;
  list-style: none;
  margin: 0 auto 24px;
  max-width: 300px;
}

.sr-product-card__features li {
  padding: 5px 0;
  color: var(--sr-text);
  font-size: .875rem;
}

.sr-product-card__features li::before {
  content: '\2713';
  color: var(--sr-accent);
  margin-right: 8px;
  font-weight: 700;
}

.sr-product-card__fine {
  color: var(--sr-muted);
  font-size: .75rem;
  margin-top: 14px;
}

.sr-btn--lg {
  padding: 14px 24px;
  font-size: 1rem;
}

/* ── Cycle Selector (4 pills) ──────────────────── */
.sr-cycle-selector {
  display: inline-flex;
  gap: 0;
  justify-content: center;
  background: var(--sr-dark);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius-full);
  padding: 3px;
  margin-bottom: 24px;
}

.sr-cycle-btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  border-radius: var(--sr-radius-full);
  color: var(--sr-muted);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--sr-duration) var(--sr-ease);
  position: relative;
  font-family: var(--sr-font);
  line-height: 1.3;
  white-space: nowrap;
}

.sr-cycle-btn:hover {
  color: var(--sr-white);
}

.sr-cycle-btn.is-active {
  background: var(--sr-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.sr-cycle-btn--featured {
  /* subtle glow when not active */
}

.sr-cycle-btn__tag {
  display: inline-block;
  background: #34d399;
  color: #000;
  font-size: .5625rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--sr-radius-full);
  margin-left: 4px;
  vertical-align: 1px;
  letter-spacing: .02em;
}

.sr-cycle-btn.is-active .sr-cycle-btn__tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--sr-accent);
}

/* ── Add-on Preview Cards (below product card) ─── */
.sr-addon-cards {
  max-width: 720px;
  margin: 32px auto 0;
}

.sr-addon-cards__title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sr-muted);
  margin-bottom: 16px;
}

.sr-addon-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sr-addon-preview-card {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 20px 16px;
  text-align: center;
  transition: border-color var(--sr-duration) var(--sr-ease),
              transform var(--sr-duration) var(--sr-ease);
}

.sr-addon-preview-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.sr-addon-preview-card__icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.sr-addon-preview-card__name {
  display: block;
  font-weight: 700;
  color: var(--sr-white);
  font-size: .875rem;
  margin-bottom: 2px;
}

.sr-addon-preview-card__price {
  display: block;
  color: var(--sr-accent);
  font-weight: 700;
  font-size: .8125rem;
  margin-bottom: 8px;
}

.sr-addon-preview-card p {
  color: var(--sr-muted);
  font-size: .75rem;
  line-height: 1.45;
  margin: 0;
}

/* ── Also Available ────────────────────────────── */
.sr-also-available {
  text-align: center;
  margin-top: 28px;
  color: var(--sr-muted);
  font-size: .8125rem;
}

.sr-also-available a {
  color: var(--sr-accent);
  text-decoration: none;
}

.sr-also-available a:hover {
  text-decoration: underline;
}

.sr-also-sep {
  margin: 0 8px;
  opacity: .4;
}

/* ── Overlay (Checkout + QR) ───────────────────── */
.sr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.sr-overlay__card {
  background: var(--sr-card);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: srSlideUp 0.25s ease-out;
}

@keyframes srSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sr-overlay__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--sr-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .2s;
}

.sr-overlay__close:hover {
  color: var(--sr-white);
}

.sr-overlay__heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sr-white);
  margin: 0 0 24px;
}

.sr-overlay__heading span {
  color: var(--sr-accent);
}

/* ── Add-on Section (inside overlay) ───────────── */
.sr-addon-section {
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--sr-border);
}

.sr-addon-section__title {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sr-muted);
  text-align: center;
  margin-bottom: 12px;
}

.sr-addon-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color var(--sr-duration) var(--sr-ease),
              background var(--sr-duration) var(--sr-ease);
}

.sr-addon-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.04);
}

.sr-addon-item:has(input:checked) {
  border-color: var(--sr-accent);
  background: var(--sr-accent-soft);
}

.sr-addon-item input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--sr-accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.sr-addon-item__info {
  flex: 1;
  min-width: 0;
}

.sr-addon-item__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.sr-addon-item__name {
  font-weight: 600;
  color: var(--sr-white);
  font-size: .875rem;
}

.sr-addon-item__price {
  font-weight: 600;
  color: var(--sr-accent);
  font-size: .8125rem;
  white-space: nowrap;
}

.sr-addon-item__desc {
  font-size: .75rem;
  color: var(--sr-muted);
}

/* ── Checkout Total ────────────────────────────── */
.sr-checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--sr-border);
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--sr-text);
}

.sr-checkout-total strong {
  font-size: 1.25rem;
  color: var(--sr-white);
}

/* ── Checkout Actions ──────────────────────────── */
.sr-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sr-btn--alipay {
  background: #1677ff;
  color: #fff;
  border: none;
}

.sr-btn--alipay:hover {
  background: #0d5fd9;
  color: #fff;
  transform: translateY(-1px);
}

.sr-btn--wxpay {
  background: #07c160;
  color: #fff;
  border: none;
}

.sr-btn--wxpay:hover {
  background: #06a84f;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Checkout Fine Print ───────────────────────── */
.sr-checkout-fine {
  color: var(--sr-muted);
  font-size: .6875rem;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── Pricing Responsive ──────────────────────────── */
@media (min-width: 480px) {
  .sr-product-card {
    padding: 44px 40px 36px;
  }
}

/* ── Admin Bar Override (all users) ────────────── */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* ══════════════════════════════════════════════════
   RESPONSIVE LAYOUT — Mobile / Tablet / Desktop
   375px (mobile) → 768px (tablet) → 1000px+ (desktop)
   ══════════════════════════════════════════════════ */

/* ── Tablet & below (< 768px) ─────────────────── */
@media (max-width: 767px) {
  /* Section padding reduction */
  .sr-section {
    padding: 48px 0;
  }
  .sr-section__title {
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  }
  .sr-section__sub {
    margin-bottom: var(--sr-space-4);
  }

  /* Buttons full-width */
  .sr-hero__btns .sr-btn,
  .sr-cta__btns .sr-btn,
  .sr-setup__cta .sr-btn {
    width: 100%;
    justify-content: center;
  }
  .sr-hero__btns,
  .sr-cta__btns {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer 2-col → already handled above */

  /* Modal full-screen on mobile */
  .sr-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .sr-modal {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 90vh;
    overflow-y: auto;
  }
  .sr-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .sr-overlay__card {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 95vh;
    overflow-y: auto;
    padding: 24px 20px;
  }

  /* Contact page: cards grid */
  .sr-contact-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing product card */
  .sr-product-card {
    padding: 28px 20px 24px;
  }
  .sr-product-card__amount {
    font-size: 2.75rem;
  }

  /* Cycle selector: compact */
  .sr-cycle-selector {
    flex-wrap: wrap;
    border-radius: var(--sr-radius);
  }
  .sr-cycle-btn {
    padding: 7px 14px;
    font-size: .75rem;
  }

  /* Addon cards below pricing: stack */
  .sr-addon-cards__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Pricing hero */
  .sr-pricing-hero {
    padding-top: 5.5rem;
  }

  /* CTA section */
  .sr-cta {
    padding: 48px 0;
  }
  .sr-cta__title {
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  }

  /* Comparison table: horizontal scroll with hint */
  .sr-compare__table {
    min-width: 500px;
  }

  /* Page content headings */
  .sr-page__title {
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  }
  .sr-page__content h2 {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  }

  /* Renewal banner: stack */
  .sr-renewal-banner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
  }
  .sr-renewal-banner .sr-btn {
    width: 100%;
    margin-left: 0;
  }

  /* About content headings */
  .sr-about-content h2 {
    font-size: 1.125rem;
    margin: 28px 0 10px;
  }

  /* AI upgrade card */
  .sr-ai-upgrade {
    padding: 24px 16px;
  }
  .sr-ai-upgrade .sr-ai-models {
    grid-template-columns: 1fr;
  }
}

/* ── Mobile-only (< 480px) ────────────────────── */
@media (max-width: 479px) {
  /* Section padding tighter */
  .sr-section {
    padding: 32px 0;
  }

  /* Container padding stays 20px (already set) */

  /* Auth card: full width */
  .sr-auth {
    padding: calc(var(--sr-nav-h) + 20px) 16px 32px;
  }
  .sr-auth__card {
    padding: 28px 20px;
  }

  /* Footer: single column */
  .sr-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sr-footer {
    padding: 40px 0 0;
  }

  /* Stats: 2 col (already set, but tighter) */
  .sr-stats {
    gap: 12px;
  }
  .sr-stats__num {
    font-size: 1.5rem;
  }

  /* Proof cards: 2 col (already), tighter */
  .sr-proof {
    gap: 12px;
  }
  .sr-proof__num {
    font-size: 1.75rem;
  }

  /* Contact form: tighter */
  .sr-contact-form-wrap {
    padding: 20px;
  }

  /* FAQ: full width, no margin clamp */
  .sr-faq {
    max-width: 100%;
  }
  .sr-faq summary {
    padding: 14px 16px;
    font-size: .9375rem;
  }
  .sr-faq details div {
    padding: 0 16px 14px;
  }
  .sr-faq-category {
    max-width: 100%;
    font-size: 1.1rem;
  }

  /* Steps: single column with left alignment */
  .sr-steps {
    grid-template-columns: 1fr;
  }
  .sr-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  /* Layers: single column */
  .sr-layers {
    grid-template-columns: 1fr;
  }

  /* Spotlight: single column */
  .sr-spotlight {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Nav logo: ensure no squeeze */
  .sr-nav__logo {
    flex-shrink: 0;
    font-size: 1.125rem;
  }

  /* Hamburger touch target */
  .sr-hamburger {
    padding: 8px;
  }

  /* Mobile menu lang switch */
  .sr-mobile-menu .sr-lang-switch {
    margin-bottom: 8px;
  }
}

/* ── Homepage responsive (from front-page.php inline) ── */
@media (max-width: 767px) {
  .h-hero { padding: 120px 20px 48px; }
  .h-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); letter-spacing: -0.5px; }
  .h-hero .h-subtitle { font-size: 15px; }
  .h-hero__btns {
    flex-direction: column;
    align-items: stretch;
  }
  .h-hero__btns .h-btn {
    width: 100%;
    justify-content: center;
  }
  .h-features {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 48px;
  }
  .h-pricing { padding: 40px 20px 48px; }
  .h-pricing__title { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); }
  .h-price-cards { grid-template-columns: 1fr; }
  .h-pricing .h-btn { width: 100%; }
  .h-trust { gap: 16px; padding: 24px 20px; flex-direction: column; align-items: center; }
  .h-social { padding: 40px 20px; }
  .h-social-links { flex-direction: column; align-items: stretch; }
  .h-social-link { justify-content: center; width: 100%; }
  .h-cta { padding: 40px 20px 56px; }
  .h-cta h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); }
  .h-cta .h-btn { width: 100%; }
}

/* ── Contact page responsive (from page-contact.php inline) ── */
@media (max-width: 767px) {
  .sr-contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sr-contact-form-wrap {
    margin-top: 32px;
    padding: 24px 16px;
  }
  .sr-contact-form .sr-btn {
    font-size: .9375rem;
  }
}

/* ── Minimum font-size guard ──────────────────── */
@media (max-width: 479px) {
  body {
    font-size: max(13px, var(--sr-text-base));
  }
  .sr-faq summary,
  .sr-footer__links a,
  .sr-footer__brand-desc,
  .sr-form-group label,
  .sr-input {
    font-size: max(13px, inherit);
  }
}

/* ═══════════════════════════════════════════════════
   GEO GUIDED RECOMMEND (from prototype 1:1)
   ═══════════════════════════════════════════════════ */
.sr-guided-recommend {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

/* Persona header */
.sr-gr-header { margin-bottom: 24px; }
.sr-gr-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 12px;
}
.sr-gr-label--cn-chinese  { background: rgba(245,158,11,0.1); color: #f59e0b; }
.sr-gr-label--cn-expat    { background: rgba(59,130,246,0.15); color: #3b82f6; }
.sr-gr-label--overseas-cn { background: rgba(16,185,129,0.1); color: #10b981; }
.sr-gr-label--overseas-en { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.sr-gr-greeting {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.3; margin-bottom: 6px; color: #f1f5f9;
}
.sr-gr-desc { font-size: 14px; color: #94a3b8; line-height: 1.6; }

/* Inline Pricing */
.sr-gr-pricing {
  padding: 16px; border-radius: 16px;
  background: #111827; border: 1px solid #1e293b;
  margin-bottom: 24px;
}
.sr-gr-pricing__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.sr-gr-pricing__label { font-size: 14px; font-weight: 700; color: #f1f5f9; }
.sr-gr-pricing__price { font-size: 20px; font-weight: 900; color: #3b82f6; }
.sr-gr-pricing__price small { font-size: 12px; font-weight: 500; color: #64748b; }
.sr-gr-pricing__cny { display: block; font-size: 11px; font-weight: 500; color: #475569; }
.sr-gr-pricing__features {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.sr-gr-pricing__features span {
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
  background: rgba(59,130,246,0.15); color: #3b82f6;
}
.sr-gr-pricing__cta {
  display: block; width: 100%; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #fff; text-align: center;
  background: #3b82f6; text-decoration: none; transition: all .2s;
}
.sr-gr-pricing__cta:hover { background: #2563eb; transform: translateY(-1px); }
.sr-gr-addon-suggest {
  margin-top: 12px; padding: 12px; border-radius: 10px;
  background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.15);
}
.sr-gr-addon-suggest__title { font-size: 12px; font-weight: 700; color: #8b5cf6; margin-bottom: 4px; }
.sr-gr-addon-suggest__desc  { font-size: 12px; color: #64748b; line-height: 1.4; }

/* Section label */
.sr-gr-section-label {
  font-size: 11px; font-weight: 700; color: #475569;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 16px 0 8px;
}

/* Quick Action Cards */
.sr-gr-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.sr-gr-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 16px;
  background: #111827; border: 1px solid #1e293b;
  cursor: pointer; transition: all .25s;
  text-decoration: none; color: inherit;
}
.sr-gr-card:hover {
  border-color: #3b82f6; background: #151d2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.08);
}
.sr-gr-card.recommended {
  border-color: rgba(59,130,246,0.3);
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(16,185,129,0.04));
}
.sr-gr-card__badge {
  position: absolute; top: -8px; right: 12px;
  padding: 2px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 800; color: #fff;
  background: #3b82f6;
}
.sr-gr-card__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.sr-gr-card__icon--net   { background: rgba(59,130,246,0.1); color: #3b82f6; }
.sr-gr-card__icon--china { background: rgba(245,158,11,0.1); color: #f59e0b; }
.sr-gr-card__icon--ai    { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.sr-gr-card__icon--setup { background: rgba(16,185,129,0.1); color: #10b981; }
.sr-gr-card__icon--price { background: rgba(59,130,246,0.1); color: #3b82f6; }
.sr-gr-card__icon--blog  { background: rgba(148,163,184,0.1); color: #94a3b8; }
.sr-gr-card__content { flex: 1; min-width: 0; }
.sr-gr-card__title { font-size: 14px; font-weight: 700; color: #f1f5f9; margin-bottom: 2px; }
.sr-gr-card__desc  { font-size: 12px; color: #64748b; line-height: 1.4; }
.sr-gr-card__arrow { color: #475569; flex-shrink: 0; transition: transform .2s; }
.sr-gr-card:hover .sr-gr-card__arrow { transform: translateX(3px); color: #3b82f6; }

/* Override strip */
.sr-gr-override {
  text-align: center; padding: 16px 0 32px;
}
.sr-gr-override a {
  font-size: 12px; color: #475569; text-decoration: underline;
  text-underline-offset: 2px; transition: color .2s;
}
.sr-gr-override a:hover { color: #94a3b8; }

/* ═══════════════════════════════════════════════════
   PERSONA PICKER (manual selection)
   ═══════════════════════════════════════════════════ */
.sr-persona-picker {
  max-width: 520px; margin: 0 auto; padding: 40px 20px 60px;
}
.sr-persona-picker__inner h2 {
  font-size: 18px; font-weight: 800; margin-bottom: 6px; color: #f1f5f9;
}
.sr-persona-picker__inner p {
  font-size: 13px; color: #64748b; margin-bottom: 20px;
}
.sr-persona-picker__cards {
  display: flex; flex-direction: column; gap: 10px;
}
.sr-pick-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 16px;
  background: #111827; border: 1px solid #1e293b;
  cursor: pointer; transition: all .25s;
  text-decoration: none; color: inherit;
}
.sr-pick-card:hover {
  border-color: #3b82f6; background: #151d2e;
}
.sr-pick-card__flag { font-size: 28px; flex-shrink: 0; }
.sr-pick-card div strong {
  display: block; font-size: 14px; font-weight: 700; color: #f1f5f9; margin-bottom: 2px;
}
.sr-pick-card div p {
  font-size: 12px; color: #64748b; margin: 0;
}

/* ═══════════════════════════════════════════════════
   TRUST COUNTERS (homepage, below hero)
   ═══════════════════════════════════════════════════ */
.h-counters {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid #1e293b;
}
.h-counter {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.h-counter__num {
  font-size: 28px; font-weight: 900; color: #f1f5f9;
  letter-spacing: -0.5px;
}
.h-counter__label {
  font-size: 12px; font-weight: 500; color: #64748b;
}
@media (max-width: 600px) {
  .h-counters { gap: 24px; padding: 28px 20px; }
  .h-counter__num { font-size: 22px; }
}
/* ═══════════════════════════════════════════════════════════════
   SSROCKET CSS PATCH — Unstyled Pages Fix
   
   Pages affected:
   - page-faq.php (Help Center) — complete restyle
   - page-blog.php (Blog listing) — new styles
   - single.php (Blog article) — new styles
   - page-status.php (Service status) — new styles
   - front-page.php (Latest Posts section) — new h-latest styles
   
   Design system: dark theme, matching existing --h-* variables
   Append to end of style.css
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════
   FAQ / HELP CENTER (page-faq.php)
   BEM: .sr-faq__*
   ═══════════════════════════════════════════════════ */
.sr-faq-page {
  background: #0a0e17;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 64px;
}
.sr-faq-page .sr-container {
  max-width: 720px;
}
.sr-faq__title {
  font-size: 32px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 8px;
}
.sr-faq__sub {
  font-size: 15px;
  color: #64748b;
  text-align: center;
  margin-bottom: 32px;
}

/* Search */
.sr-faq__search-wrap {
  position: relative;
  margin-bottom: 36px;
}
.sr-faq__search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  pointer-events: none;
}
.sr-faq__search {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #111827;
  color: #f1f5f9;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.sr-faq__search::placeholder { color: #475569; }
.sr-faq__search:focus { border-color: #3b82f6; }

/* Groups */
.sr-faq__group {
  margin-bottom: 32px;
}
.sr-faq__group-title {
  font-size: 14px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-bottom: 12px;
  margin-bottom: 0;
  border-bottom: 1px solid #1e293b;
}

/* Items (accordion) */
.sr-faq__item {
  border-bottom: 1px solid rgba(30,41,59,0.5);
}
.sr-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.5;
  transition: color 0.2s;
}
.sr-faq__question:hover { color: #3b82f6; }
.sr-faq__chevron {
  flex-shrink: 0;
  color: #475569;
  transition: transform 0.25s ease;
}
.sr-faq__question[aria-expanded="true"] .sr-faq__chevron {
  transform: rotate(180deg);
  color: #3b82f6;
}
.sr-faq__answer {
  padding: 0 0 16px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}
.sr-faq__answer a {
  color: #3b82f6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sr-faq__answer a:hover { color: #60a5fa; }
.sr-faq__no-results {
  text-align: center;
  color: #475569;
  font-size: 14px;
  padding: 40px 0;
}

/* CTA section at bottom */
.sr-faq-page + .sr-section--dark {
  background: #0d1117;
  border-top: 1px solid #1e293b;
}


/* ═══════════════════════════════════════════════════
   BLOG LISTING (page-blog.php)
   BEM: .sr-blog-*
   ═══════════════════════════════════════════════════ */
.sr-blog-page {
  background: #0a0e17;
  min-height: 100vh;
}
.sr-blog-hero {
  padding: 120px 0 40px;
  text-align: center;
}
.sr-blog-hero h1 {
  font-size: 32px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.sr-blog-hero p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}
.sr-blog-grid-wrap {
  padding-bottom: 64px;
}
.sr-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .sr-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sr-blog-grid { grid-template-columns: 1fr; }
}

/* Blog card */
.sr-blog-card {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.sr-blog-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
}
.sr-blog-card__img {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d1117;
}
.sr-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.sr-blog-card:hover .sr-blog-card__img img {
  transform: scale(1.04);
}
.sr-blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sr-blog-card__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 10px;
}
.sr-blog-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.sr-blog-card__title a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.2s;
}
.sr-blog-card__title a:hover { color: #3b82f6; }
.sr-blog-card__excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.sr-blog-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.sr-tag {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}
.sr-blog-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}
.sr-blog-card__link:hover { color: #60a5fa; }
.sr-blog-empty {
  text-align: center;
  color: #475569;
  font-size: 15px;
  padding: 80px 0;
}

/* Pagination */
.sr-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 36px;
}
.sr-blog-pagination__btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: #111827;
  border: 1px solid #1e293b;
  text-decoration: none;
  transition: all 0.2s;
}
.sr-blog-pagination__btn:hover {
  color: #f1f5f9;
  border-color: #3b82f6;
}
.sr-blog-pagination__info {
  font-size: 13px;
  color: #475569;
}


/* ═══════════════════════════════════════════════════
   BLOG ARTICLE (single.php)
   BEM: .sr-article*
   ═══════════════════════════════════════════════════ */
.sr-article {
  background: #0a0e17;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 64px;
}
.sr-article__layout {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.sr-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.sr-article__back:hover { color: #3b82f6; }
.sr-article__header {
  margin-bottom: 32px;
}
.sr-article__header h1 {
  font-size: 30px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.sr-article__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #475569;
}
.sr-article__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Prose — article body content */
.sr-prose {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.8;
}
.sr-prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.5px;
  margin: 40px 0 16px;
}
.sr-prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 32px 0 12px;
}
.sr-prose p {
  margin: 0 0 18px;
}
.sr-prose a {
  color: #3b82f6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sr-prose a:hover { color: #60a5fa; }
.sr-prose ul, .sr-prose ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.sr-prose li {
  margin-bottom: 6px;
}
.sr-prose blockquote {
  border-left: 3px solid #3b82f6;
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(59,130,246,0.05);
  border-radius: 0 8px 8px 0;
  color: #94a3b8;
  font-style: italic;
}
.sr-prose code {
  background: #1e293b;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #e2e8f0;
}
.sr-prose pre {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.sr-prose pre code {
  background: none;
  padding: 0;
}
.sr-prose img {
  max-width: 100%;
  border-radius: 10px;
  margin: 24px 0;
}
.sr-prose hr {
  border: none;
  border-top: 1px solid #1e293b;
  margin: 36px 0;
}

/* Article CTA */
.sr-article-cta {
  margin-top: 48px;
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.06));
  border: 1px solid rgba(59,130,246,0.15);
  text-align: center;
}
.sr-article-cta h3 {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.sr-article-cta p {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* Related posts at bottom of single */
.sr-article .sr-blog-card {
  max-width: 100%;
}


/* ═══════════════════════════════════════════════════
   SERVICE STATUS (page-status.php)
   BEM: .sr-status__*
   ═══════════════════════════════════════════════════ */
.sr-status-page {
  background: #0a0e17;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 64px;
}
.sr-status-page .sr-container {
  max-width: 700px;
}
.sr-status__title {
  font-size: 32px;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 32px;
}

/* Overall banner */
.sr-status__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 28px;
}
.sr-status__banner--ok {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
}
.sr-status__banner--issue {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.2);
  color: #eab308;
}

/* Service cards */
.sr-status__services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.sr-status__card {
  padding: 20px;
  border-radius: 14px;
  background: #111827;
  border: 1px solid #1e293b;
}
.sr-status__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sr-status__card-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
}
.sr-status__card-name svg {
  color: #64748b;
  flex-shrink: 0;
}
.sr-status__indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dot-color, #22c55e);
}
.sr-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot-color, #22c55e);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.sr-status__card-msg {
  margin-top: 10px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}
.sr-status__card-time {
  margin-top: 6px;
  font-size: 12px;
  color: #475569;
}

/* Incidents */
.sr-status__incidents h2 {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e293b;
}
.sr-status__incident {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,41,59,0.5);
}
.sr-status__incident time {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  flex-shrink: 0;
  width: 80px;
  padding-top: 2px;
}
.sr-status__incident strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.sr-status__incident p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.sr-status__no-incidents {
  text-align: center;
  color: #475569;
  font-size: 14px;
  padding: 32px 0;
}


/* ═══════════════════════════════════════════════════
   HOMEPAGE: LATEST POSTS SECTION (front-page.php)
   BEM: .h-latest*
   ═══════════════════════════════════════════════════ */
.h-latest {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px 64px;
}
.h-latest__title {
  font-size: 28px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}
.h-latest__desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 28px;
}
.h-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .h-latest { padding: 0 20px 48px; }
  .h-latest__grid { grid-template-columns: 1fr; }
}
.h-latest__card {
  display: block;
  padding: 22px;
  border-radius: 14px;
  background: #111827;
  border: 1px solid #1e293b;
  text-decoration: none;
  transition: all 0.3s;
}
.h-latest__card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
}
.h-latest__card time {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 8px;
}
.h-latest__card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.4;
  margin-bottom: 6px;
}
.h-latest__card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}


/* ═══════════════════════════════════════════════════
   ONBOARDING CHECKLIST + CROSS-SELL (page-account.php)
   These may already be partially styled via inline —
   adding fallback rules for consistency
   ═══════════════════════════════════════════════════ */
.sr-onboard-v2 { margin-bottom: 24px; }
.sr-onboard-welcome {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(16,185,129,0.06));
  border: 1px solid rgba(59,130,246,0.15);
  margin-bottom: 16px;
}
.sr-onboard-welcome h3 {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.sr-onboard-welcome p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}
.sr-onboard-progress { margin-bottom: 16px; }
.sr-onboard-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.sr-onboard-progress__label span:first-child { color: #94a3b8; }
.sr-onboard-progress__label .sr-ob-pct { color: #3b82f6; }
.sr-onboard-bar {
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  overflow: hidden;
}
.sr-onboard-bar__fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.sr-onboard-checklist {
  display: flex;
  flex-direction: column;
}
.sr-onboard-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,41,59,0.5);
}
.sr-onboard-item:last-child { border-bottom: none; }
.sr-onboard-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.3s;
}
.sr-onboard-check svg { opacity: 0; transition: opacity 0.2s; }
.sr-onboard-item.done .sr-onboard-check {
  border-color: #10b981;
  background: #10b981;
}
.sr-onboard-item.done .sr-onboard-check svg { opacity: 1; }
.sr-onboard-item__text h4 {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.sr-onboard-item.done .sr-onboard-item__text h4 {
  color: #64748b;
  text-decoration: line-through;
}
.sr-onboard-item__text p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
.sr-onboard-action {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.sr-onboard-action:hover { background: rgba(59,130,246,0.2); }

/* Cross-sell */
.sr-cross-sell {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(59,130,246,0.06));
  border: 1px solid rgba(139,92,246,0.15);
  margin-bottom: 20px;
}
.sr-cross-sell__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sr-cross-sell__header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}
.sr-cross-sell p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}
.sr-cross-sell__btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #8b5cf6;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  text-decoration: none;
  transition: all 0.2s;
}
.sr-cross-sell__btn:hover { background: rgba(139,92,246,0.2); }
