:root {
  --rr-bg: #f8fafc;
  --rr-surface: #ffffff;
  --rr-dark: #0f172a;
  --rr-dark-2: #1e293b;
  --rr-muted: #475569;
  --rr-subtle: #64748b;
  --rr-border: #e2e8f0;
  --rr-brand: #059669;
  --rr-brand-hover: #047857;
  --rr-brand-soft: #ecfdf5;
  --rr-amber: #d97706;
  --rr-danger: #dc2626;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--rr-bg);
  color: var(--rr-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Navbar */
.sr-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rr-border);
}

.sr-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.sr-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rr-dark);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.sr-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #059669, #0f766e);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.sr-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sr-nav-links a {
  color: var(--rr-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.sr-nav-links a:hover {
  color: var(--rr-dark);
}

.sr-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sr-lang-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--rr-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background 0.14s ease;
  white-space: nowrap;
}

.sr-btn:hover {
  transform: translateY(-1px);
}

.sr-btn-primary {
  background: var(--rr-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.22);
}

.sr-btn-primary:hover {
  background: var(--rr-brand-hover);
}

.sr-btn-outline {
  background: #fff;
  color: var(--rr-dark);
  border-color: #cbd5e1;
}

.sr-btn-dark {
  background: var(--rr-dark);
  color: #fff;
}

.sr-btn-sm {
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 8px;
}

/* Paid Success Banner */
.sr-paid-banner {
  background: #ecfdf5;
  border-bottom: 2px solid #10b981;
  color: #065f46;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.sr-paid-banner.visible {
  display: block;
}

/* Hero Split */
.sr-hero {
  padding: 46px 0 38px;
  background: radial-gradient(circle at 15% 0%, rgba(16, 185, 129, 0.09), transparent 46%), #ffffff;
  border-bottom: 1px solid var(--rr-border);
}

.sr-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: center;
}

.sr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rr-brand-soft);
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.sr-h1 {
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--rr-dark);
}

.sr-lead {
  font-size: 16px;
  color: var(--rr-muted);
  margin: 0 0 20px;
  max-width: 620px;
}

.sr-spec-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.sr-spec-item {
  background: var(--rr-bg);
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.sr-spec-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--rr-brand);
}

.sr-spec-lbl {
  font-size: 12px;
  color: var(--rr-muted);
}

.sr-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Live Showroom Card */
.sr-demo-card {
  background: var(--rr-dark);
  color: #f8fafc;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
  border: 1px solid #334155;
}

.sr-demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #334155;
  margin-bottom: 14px;
}

.sr-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
}

.sr-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.sr-brand-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.sr-prompt-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.sr-prompt-btn:hover {
  border-color: #10b981;
  background: #0f172a;
}

/* Generic Sections */
.sr-section,
section[id] {
  scroll-margin-top: 76px;
}

.sr-section {
  padding: 48px 0;
}

.sr-section-alt {
  background: #ffffff;
  border-top: 1px solid var(--rr-border);
  border-bottom: 1px solid var(--rr-border);
}

.sr-sec-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 30px;
}

.sr-h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.sr-sec-sub {
  font-size: 15px;
  color: var(--rr-muted);
  margin: 0;
}

/* TCO Calculator */
.sr-tco-box {
  background: #fff;
  border: 1px solid var(--rr-border);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 26px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sr-slider-group {
  margin-bottom: 16px;
}

.sr-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sr-slider {
  width: 100%;
  accent-color: var(--rr-brand);
}

.sr-tco-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sr-tco-row {
  border: 1px solid var(--rr-border);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sr-tco-row.winner {
  background: var(--rr-brand-soft);
  border: 2px solid var(--rr-brand);
}

.sr-tco-price {
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

/* 3 Feature Pillars */
.sr-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sr-pillar {
  background: var(--rr-bg);
  border: 1px solid var(--rr-border);
  border-radius: 14px;
  padding: 20px;
}

.sr-pillar h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.sr-pillar p {
  margin: 0;
  font-size: 13.5px;
  color: var(--rr-muted);
}

/* Pricing Grid */
.sr-email-bar {
  max-width: 520px;
  margin: 0 auto 24px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sr-email-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--rr-dark);
  min-width: 0;
}

.sr-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.sr-price-card {
  background: #fff;
  border: 1px solid var(--rr-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sr-price-card.featured {
  border: 2px solid var(--rr-brand);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.12);
}

.sr-pop-tag {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--rr-brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 999px;
}

.sr-price-num {
  font-size: 36px;
  font-weight: 800;
  margin: 8px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sr-price-strike {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.sr-feat-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  flex: 1;
}

.sr-feat-list li {
  font-size: 13.5px;
  color: var(--rr-dark-2);
  margin-bottom: 9px;
  padding-left: 20px;
  position: relative;
}

.sr-feat-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rr-brand);
  font-weight: 800;
}

/* Turnkey Banner & Modal */
.sr-turnkey-card {
  margin-top: 28px;
  background: var(--rr-dark);
  color: #fff;
  border-radius: 16px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sr-modal-backdrop.open {
  display: flex;
}

.sr-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}

.sr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.sr-input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--rr-dark);
}

.sr-gate-box {
  background: #f8fafc;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
  font-size: 12.5px;
}

.sr-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.sr-footer {
  padding: 28px 0 88px;
  text-align: center;
  font-size: 13px;
  color: var(--rr-subtle);
}

@media (max-width: 960px) {
  .sr-hero-grid,
  .sr-tco-box,
  .sr-pillars,
  .sr-pricing-grid,
  .sr-form-row {
    grid-template-columns: 1fr;
  }
  .sr-nav-links {
    display: none;
  }
  .sr-h1 {
    font-size: 27px;
  }
  .sr-hero-ctas .sr-btn {
    width: 100%;
  }
}
