/* RentSplitter.org - rs- prefix */
/* V2.0 - Warm Modern Skin */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --rs-primary: #4f46e5;
  --rs-primary-dark: #3730a3;
  --rs-primary-light: #e0e7ff;
  --rs-secondary: #f59e0b;
  --rs-accent: #10b981;
  --rs-accent-light: #d1fae5;
  --rs-danger: #ef4444;
  --rs-bg: #f8fafc;
  --rs-bg-warm: #fafaf9;
  --rs-text: #0f172a;
  --rs-text-secondary: #475569;
  --rs-muted: #64748b;
  --rs-card-bg: #ffffff;
  --rs-border: #e2e8f0;
  --rs-border-light: #f1f5f9;
  --rs-font: 'Inter', system-ui, -apple-system, sans-serif;
  --rs-radius-sm: 8px;
  --rs-radius: 12px;
  --rs-radius-lg: 16px;
  --rs-radius-xl: 24px;
  --rs-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --rs-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --rs-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --rs-shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --rs-shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --rs-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.rs-body {
  font-family: var(--rs-font);
  background: var(--rs-bg-warm);
  color: var(--rs-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== HEADER & NAV ==================== */
.rs-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.rs-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rs-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--rs-primary);
  text-decoration: none;
  letter-spacing: -0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rs-logo::before {
  content: "\1F3E0";
  font-size: 22px;
}

.rs-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.rs-nav-link {
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--rs-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--rs-transition);
  display: block;
  position: relative;
}

.rs-nav-link:hover {
  color: var(--rs-primary);
  background: var(--rs-primary-light);
}

.rs-nav-link.active {
  color: var(--rs-primary);
  background: var(--rs-primary-light);
}

.rs-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--rs-primary);
  border-radius: 2px;
}

/* Dropdown */
.rs-nav-dropdown {
  position: relative;
}

.rs-nav-dropdown > .rs-nav-link::after {
  content: " \BC";
  font-size: 9px;
  opacity: 0.5;
  margin-left: 4px;
}

.rs-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  box-shadow: var(--rs-shadow-xl);
  min-width: 240px;
  padding: 10px 0;
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}

.rs-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--rs-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--rs-transition);
  margin: 0 8px;
  border-radius: var(--rs-radius-sm);
}

.rs-dropdown-menu a:hover {
  background: var(--rs-primary-light);
  color: var(--rs-primary);
}

.rs-nav-dropdown:hover .rs-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.rs-menu-btn {
  display: none;
  background: var(--rs-primary-light);
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--rs-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--rs-radius);
  transition: var(--rs-transition);
}

.rs-menu-btn:hover {
  background: var(--rs-primary);
  color: white;
}

/* ==================== MAIN ==================== */
.rs-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: calc(100vh - 200px);
}

/* ==================== HERO ==================== */
.rs-hero {
  text-align: center;
  padding: 80px 0 48px;
  position: relative;
  overflow: hidden;
}

.rs-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 0%, var(--rs-primary-light) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.rs-hero-inner {
  position: relative;
  z-index: 1;
}

.rs-hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--rs-text);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.rs-hero-title span {
  color: var(--rs-primary);
  position: relative;
}

.rs-hero-title span::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--rs-secondary);
  opacity: 0.25;
  border-radius: 4px;
  z-index: -1;
}

.rs-hero-desc {
  font-size: 19px;
  color: var(--rs-text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.rs-hero-btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--rs-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--rs-radius-lg);
  font-weight: 700;
  font-size: 16px;
  transition: var(--rs-transition);
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

.rs-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(79,70,229,0.45);
  background: var(--rs-primary-dark);
}

/* ==================== SECTION TITLES ==================== */
.rs-section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--rs-text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-section-title::before {
  content: "";
  width: 4px;
  height: 28px;
  background: var(--rs-primary);
  border-radius: 2px;
}

/* ==================== TOOLS GRID ==================== */
.rs-tools-section {
  margin: 56px 0;
}

.rs-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

a.rs-tool-card {
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: var(--rs-transition);
  display: block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

a.rs-tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color, var(--rs-primary));
  border-radius: var(--rs-radius-lg) var(--rs-radius-lg) 0 0;
}

a.rs-tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rs-shadow-xl);
  border-color: transparent;
}

a.rs-tool-card * {
  pointer-events: none;
}

.rs-tool-icon {
  font-size: 40px;
  margin-bottom: 20px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-color, var(--rs-primary));
  opacity: 0.1;
  border-radius: var(--rs-radius);
}

.rs-tool-card-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--rs-text);
  letter-spacing: -0.3px;
}

.rs-tool-card-desc {
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.rs-tool-card-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--card-color, var(--rs-primary));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rs-tool-card-btn::after {
  content: "\2192";
  transition: transform 0.2s;
}

a.rs-tool-card:hover .rs-tool-card-btn::after {
  transform: translateX(4px);
}

/* ==================== ARTICLES (Homepage) ==================== */
.rs-articles-section {
  margin: 56px 0;
}

.rs-home-articles {
  display: grid;
  gap: 16px;
}

a.rs-home-article-link {
  display: block;
  padding: 24px 28px;
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--rs-transition);
  cursor: pointer;
  position: relative;
}

a.rs-home-article-link:hover {
  border-color: var(--rs-primary);
  box-shadow: var(--rs-shadow-md);
  transform: translateX(4px);
}

a.rs-home-article-link * {
  pointer-events: none;
}

.rs-home-article-cat {
  display: inline-block;
  padding: 5px 12px;
  background: var(--rs-primary-light);
  color: var(--rs-primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.rs-home-article-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--rs-text);
  line-height: 1.35;
}

.rs-home-article-excerpt {
  font-size: 14px;
  color: var(--rs-muted);
  line-height: 1.55;
}

.rs-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--rs-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: var(--rs-radius);
  transition: var(--rs-transition);
}

.rs-view-all:hover {
  background: var(--rs-primary-light);
}

/* ==================== BLOG PAGE ==================== */
.rs-blog-hero {
  text-align: center;
  padding: 48px 0 36px;
  position: relative;
}

.rs-blog-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--rs-primary-light) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.rs-blog-hero-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.rs-blog-hero-desc {
  font-size: 17px;
  color: var(--rs-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rs-blog-grid .rs-ad-slot {
  grid-column: 1 / -1;
  width: 100%;
}

.rs-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

a.rs-blog-card {
  background: linear-gradient(180deg, var(--rs-card-bg) 0%, #fafbfc 100%);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  overflow: hidden;
  transition: var(--rs-transition);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

a.rs-blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--rs-primary);
  opacity: 0.85;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a.rs-blog-card:hover {
  box-shadow: var(--rs-shadow-xl);
  transform: translateY(-5px);
  border-color: transparent;
}

a.rs-blog-card:hover::before {
  width: 7px;
  opacity: 1;
}

a.rs-blog-card * {
  pointer-events: none;
}

.rs-blog-card-link {
  display: block;
  padding: 28px 28px 28px 36px;
}

.rs-blog-category {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--rs-primary-light), rgba(79,70,229,0.08));
  color: var(--rs-primary);
  font-size: 11px;
  font-weight: 800;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  border: 1px solid rgba(79,70,229,0.12);
}

.rs-blog-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--rs-text);
  letter-spacing: -0.3px;
}

.rs-blog-card-excerpt {
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.rs-blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--rs-muted);
  font-weight: 500;
}

.rs-blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==================== ARTICLE PAGE ==================== */
.rs-article {
  max-width: 720px;
  margin: 0 auto;
}

.rs-article-header {
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rs-border);
}

.rs-article-category {
  display: inline-block;
  padding: 7px 16px;
  background: var(--rs-primary-light);
  color: var(--rs-primary);
  font-size: 12px;
  font-weight: 800;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.rs-article-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
}

.rs-article-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--rs-muted);
  flex-wrap: wrap;
  font-weight: 500;
}

.rs-article-body {
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--rs-text);
}

.rs-article-body p {
  margin-bottom: 24px;
}

.rs-article-h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 44px 0 18px;
  color: var(--rs-text);
  letter-spacing: -0.3px;
}

.rs-article-list {
  margin: 24px 0;
  padding-left: 28px;
}

.rs-article-li {
  margin-bottom: 12px;
  line-height: 1.65;
  color: var(--rs-text-secondary);
}

.rs-article-hr {
  border: none;
  border-top: 1px solid var(--rs-border);
  margin: 40px 0;
}

/* Inline Tool Cards */
a.rs-inline-tool {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(16,185,129,0.05));
  border: 1.5px solid rgba(79,70,229,0.12);
  border-radius: var(--rs-radius-lg);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  margin: 36px 0;
  transition: var(--rs-transition);
  position: relative;
}

a.rs-inline-tool:hover {
  border-color: var(--rs-primary);
  box-shadow: var(--rs-shadow-md);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(16,185,129,0.08));
}

a.rs-inline-tool * {
  pointer-events: none;
}

.rs-inline-tool-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rs-primary-light);
  border-radius: var(--rs-radius);
}

.rs-inline-tool-content {
  flex: 1;
}

.rs-inline-tool-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--rs-text);
}

.rs-inline-tool-desc {
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.rs-inline-tool-privacy {
  font-size: 12px;
  color: var(--rs-muted);
  font-style: italic;
  font-weight: 500;
}

.rs-inline-tool-privacy em {
  color: var(--rs-accent);
  font-style: italic;
}

/* Legacy tool rec (backward compat) */
.rs-tool-rec {
  margin: 36px 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(16,185,129,0.08));
  border: 1.5px solid rgba(79,70,229,0.2);
  border-radius: var(--rs-radius-lg);
  text-align: center;
}

.rs-tool-rec-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--rs-text);
}

.rs-tool-rec-text {
  font-size: 15px;
  color: var(--rs-text-secondary);
  margin-bottom: 20px;
}

.rs-tool-rec-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--rs-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--rs-radius);
  font-weight: 700;
  font-size: 15px;
  transition: var(--rs-transition);
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}

.rs-tool-rec-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}

/* ==================== ARTICLE FOOTER ==================== */
.rs-article-footer {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--rs-border);
}

.rs-share-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.rs-share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--rs-muted);
}

.rs-share-btn {
  padding: 10px 18px;
  background: var(--rs-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  font-size: 14px;
  cursor: pointer;
  color: var(--rs-text);
  transition: var(--rs-transition);
  font-weight: 600;
}

.rs-share-btn:hover {
  background: var(--rs-primary);
  color: white;
  border-color: var(--rs-primary);
}

.rs-author-box {
  padding: 28px;
  background: var(--rs-bg);
  border-radius: var(--rs-radius-lg);
  margin-bottom: 44px;
  border: 1px solid var(--rs-border-light);
}

.rs-author-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--rs-text);
}

.rs-author-bio {
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

/* ==================== TAIL LAYOUT ==================== */
.rs-tail-section {
  margin-top: 56px;
}

.rs-tail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.rs-tail-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rs-tail-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--rs-text);
  letter-spacing: -0.3px;
}

a.rs-tail-card {
  display: block;
  padding: 22px;
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--rs-transition);
  cursor: pointer;
}

a.rs-tail-card:hover {
  border-color: var(--rs-primary);
  box-shadow: var(--rs-shadow-md);
  transform: translateY(-2px);
}

a.rs-tail-card * {
  pointer-events: none;
}

.rs-tail-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rs-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.rs-tail-card-desc {
  font-size: 14px;
  color: var(--rs-text-secondary);
  line-height: 1.55;
}

/* ==================== TOOL PAGE ==================== */
.rs-tool-page {
  max-width: 800px;
  margin: 0 auto;
}

.rs-tool-page-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.8px;
}

.rs-tool-page-desc {
  font-size: 17px;
  color: var(--rs-text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Calculator */
.rs-calc-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.rs-calc-inputs {
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  padding: 32px;
  box-shadow: var(--rs-shadow-sm);
}

.rs-calc-row {
  margin-bottom: 24px;
}

.rs-calc-label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--rs-text);
}

.rs-calc-input, .rs-calc-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--rs-border);
  border-radius: var(--rs-radius);
  font-size: 15.5px;
  font-family: inherit;
  background: var(--rs-bg);
  color: var(--rs-text);
  transition: var(--rs-transition);
}

.rs-calc-input:focus, .rs-calc-select:focus {
  outline: none;
  border-color: var(--rs-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.rs-calc-mode {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rs-mode-btn {
  padding: 12px 24px;
  background: var(--rs-bg);
  border: 1.5px solid var(--rs-border);
  border-radius: var(--rs-radius);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--rs-muted);
  transition: var(--rs-transition);
  font-family: inherit;
}

.rs-mode-btn.active, .rs-mode-btn:hover {
  background: var(--rs-primary);
  color: white;
  border-color: var(--rs-primary);
}

.rs-room-card {
  background: var(--rs-bg);
  border: 1.5px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 24px;
  margin-bottom: 20px;
}

.rs-room-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--rs-text);
}

.rs-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.rs-add-room-btn {
  width: 100%;
  padding: 14px;
  background: var(--rs-bg);
  border: 2px dashed var(--rs-border);
  border-radius: var(--rs-radius);
  font-size: 15px;
  font-weight: 700;
  color: var(--rs-muted);
  cursor: pointer;
  transition: var(--rs-transition);
  font-family: inherit;
  margin-bottom: 20px;
}

.rs-add-room-btn:hover {
  border-color: var(--rs-primary);
  color: var(--rs-primary);
  background: var(--rs-primary-light);
}

.rs-remove-room {
  margin-top: 14px;
  padding: 8px 14px;
  background: transparent;
  border: 1.5px solid var(--rs-danger);
  color: var(--rs-danger);
  border-radius: var(--rs-radius-sm);
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: var(--rs-transition);
}

.rs-remove-room:hover {
  background: var(--rs-danger);
  color: white;
}

.rs-calc-btn {
  width: 100%;
  padding: 16px;
  background: var(--rs-primary);
  color: white;
  border: none;
  border-radius: var(--rs-radius);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--rs-transition);
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

.rs-calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79,70,229,0.45);
  background: var(--rs-primary-dark);
}

.rs-calc-results {
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  padding: 32px;
  box-shadow: var(--rs-shadow-sm);
}

.rs-results-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.rs-results-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rs-result-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--rs-bg);
  border-radius: var(--rs-radius);
}

.rs-result-name {
  font-weight: 800;
  font-size: 15.5px;
}

.rs-result-details {
  font-size: 13.5px;
  color: var(--rs-muted);
}

.rs-result-amount {
  text-align: right;
}

.rs-result-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--rs-primary);
}

.rs-result-per {
  font-size: 12.5px;
  color: var(--rs-muted);
  margin-top: 3px;
  font-weight: 500;
}

.rs-result-total-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--rs-border);
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  color: var(--rs-text);
}

.rs-results-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.rs-results-btn {
  padding: 12px 24px;
  background: var(--rs-primary);
  color: white;
  border: none;
  border-radius: var(--rs-radius);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--rs-transition);
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(79,70,229,0.25);
}

.rs-results-btn.secondary {
  background: var(--rs-bg);
  color: var(--rs-text);
  border: 1.5px solid var(--rs-border);
  box-shadow: none;
}

.rs-results-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

/* Tool Info */
.rs-tool-info {
  margin-top: 56px;
}

.rs-tool-info-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.rs-tool-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.rs-tool-info-card {
  padding: 28px;
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  transition: var(--rs-transition);
}

.rs-tool-info-card:hover {
  box-shadow: var(--rs-shadow-md);
  border-color: transparent;
}

.rs-tool-info-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--rs-text);
}

.rs-tool-info-card p {
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  line-height: 1.65;
}

/* Placeholder */
.rs-placeholder-box {
  text-align: center;
  padding: 100px 40px;
  background: var(--rs-card-bg);
  border: 1.5px dashed var(--rs-border);
  border-radius: var(--rs-radius-lg);
}

.rs-placeholder-icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.rs-placeholder-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.rs-placeholder-text {
  font-size: 17px;
  color: var(--rs-text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

.rs-placeholder-link {
  color: var(--rs-primary);
  font-weight: 700;
  text-decoration: none;
}

/* ==================== ABOUT PAGE ==================== */
.rs-about-page {
  max-width: 680px;
  margin: 0 auto;
}

.rs-about-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 36px;
  letter-spacing: -0.8px;
}

.rs-about-content p {
  font-size: 17.5px;
  line-height: 1.8;
  margin-bottom: 22px;
  color: var(--rs-text);
}

.rs-about-lead {
  font-size: 20px !important;
  color: var(--rs-text-secondary) !important;
  font-weight: 500;
}

.rs-about-link {
  color: var(--rs-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--rs-primary-light);
  transition: var(--rs-transition);
}

.rs-about-link:hover {
  border-bottom-color: var(--rs-primary);
}

.rs-about-contact {
  margin-top: 44px;
  padding: 28px;
  background: var(--rs-bg);
  border-radius: var(--rs-radius-lg);
  border: 1px solid var(--rs-border-light);
}

.rs-about-contact h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ==================== CONTACT PAGE ==================== */
.rs-contact-page {
  max-width: 600px;
  margin: 0 auto;
}

.rs-contact-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.rs-contact-desc {
  font-size: 17px;
  color: var(--rs-text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
}

.rs-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.rs-contact-card {
  padding: 28px;
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  transition: var(--rs-transition);
}

.rs-contact-card:hover {
  box-shadow: var(--rs-shadow-md);
  border-color: transparent;
}

.rs-contact-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}

.rs-contact-link {
  color: var(--rs-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--rs-primary-light);
  transition: var(--rs-transition);
}

.rs-contact-link:hover {
  border-bottom-color: var(--rs-primary);
}

.rs-contact-note {
  font-size: 13.5px;
  color: var(--rs-muted);
  margin-top: 8px;
  font-weight: 500;
}

.rs-contact-faq-link {
  padding: 22px;
  background: var(--rs-bg);
  border-radius: var(--rs-radius-lg);
  font-size: 16px;
  margin-bottom: 36px;
  border: 1px solid var(--rs-border-light);
}

/* Standard disclaimer block */
.rs-disclaimer-block {
  padding: 28px;
  background: #f1f5f9;
  border-radius: var(--rs-radius-lg);
  border-left: 4px solid var(--rs-muted);
  margin-top: 44px;
}

.rs-disclaimer-block p {
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ==================== FAQ PAGE ==================== */
.rs-faq-page {
  max-width: 720px;
  margin: 0 auto;
}

.rs-faq-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 36px;
  letter-spacing: -0.8px;
}

.rs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rs-faq-item {
  padding: 28px;
  background: var(--rs-card-bg);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-lg);
  transition: var(--rs-transition);
}

.rs-faq-item:hover {
  box-shadow: var(--rs-shadow-sm);
  border-color: transparent;
}

.rs-faq-q {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--rs-text);
  line-height: 1.4;
}

.rs-faq-a {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--rs-text-secondary);
}

.rs-faq-link {
  color: var(--rs-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--rs-primary-light);
  transition: var(--rs-transition);
}

.rs-faq-link:hover {
  border-bottom-color: var(--rs-primary);
}

/* ==================== LEGAL PAGES ==================== */
.rs-legal-page {
  max-width: 680px;
  margin: 0 auto;
}

.rs-legal-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.8px;
}

.rs-legal-date {
  font-size: 14.5px;
  color: var(--rs-muted);
  margin-bottom: 36px;
  font-weight: 500;
}

.rs-legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 18px;
  color: var(--rs-text);
  letter-spacing: -0.3px;
}

.rs-legal-content p {
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--rs-text);
}

.rs-legal-content ul {
  margin: 18px 0;
  padding-left: 28px;
}

.rs-legal-content li {
  margin-bottom: 12px;
  line-height: 1.65;
  color: var(--rs-text-secondary);
}

.rs-legal-link {
  color: var(--rs-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--rs-primary-light);
  transition: var(--rs-transition);
}

.rs-legal-link:hover {
  border-bottom-color: var(--rs-primary);
}

/* Breadcrumb */
.rs-breadcrumb {
  font-size: 14.5px;
  color: var(--rs-muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.rs-breadcrumb a {
  color: var(--rs-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--rs-transition);
}

.rs-breadcrumb a:hover {
  text-decoration: underline;
}

/* ==================== 404 ==================== */
.rs-notfound {
  text-align: center;
  padding: 100px 24px;
}

.rs-notfound-code {
  font-size: 140px;
  font-weight: 900;
  color: var(--rs-border);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -4px;
}

.rs-notfound-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.rs-notfound-desc {
  font-size: 17px;
  color: var(--rs-text-secondary);
  margin-bottom: 36px;
}

.rs-notfound-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--rs-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--rs-radius);
  font-weight: 700;
  margin: 0 8px 10px;
  transition: var(--rs-transition);
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}

.rs-notfound-btn.secondary {
  background: var(--rs-bg);
  color: var(--rs-text);
  border: 1.5px solid var(--rs-border);
  box-shadow: none;
}

.rs-notfound-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}

/* ==================== AD SLOTS ==================== */
.rs-ad-slot {
  min-height: 250px;
  max-height: 250px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.03), rgba(245,158,11,0.03));
  border: 1.5px dashed var(--rs-border);
  border-radius: var(--rs-radius-lg);
  position: relative;
  overflow: hidden;
}

.rs-ad-slot.has-content {
  border-style: solid;
  background: transparent;
}

.rs-ad-label {
  font-size: 11px;
  color: var(--rs-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.4;
  font-weight: 700;
}

.rs-ad-slot.has-content .rs-ad-label {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 10px;
  z-index: 2;
  opacity: 0.6;
}

/* ==================== FOOTER ==================== */
.rs-footer {
  background: var(--rs-card-bg);
  border-top: 1px solid var(--rs-border);
  margin-top: 80px;
}

.rs-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.rs-footer-copy {
  font-size: 14.5px;
  color: var(--rs-muted);
  font-weight: 500;
}

.rs-footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.rs-footer-link {
  font-size: 14.5px;
  color: var(--rs-muted);
  text-decoration: none;
  transition: var(--rs-transition);
  font-weight: 500;
}

.rs-footer-link:hover {
  color: var(--rs-primary);
}

/* Footer Grid (4-column) */
.rs-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}

.rs-footer-grid h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--rs-text);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rs-footer-grid a {
  display: block;
  font-size: 14.5px;
  color: var(--rs-text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--rs-transition);
  font-weight: 500;
}

.rs-footer-grid a:hover {
  color: var(--rs-primary);
  transform: translateX(2px);
}

.rs-footer-grid p {
  font-size: 13.5px;
  color: var(--rs-muted);
  line-height: 1.6;
}

.rs-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  border-top: 1px solid var(--rs-border);
  text-align: center;
}

.rs-footer-bottom p {
  font-size: 13.5px;
  color: var(--rs-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .rs-header-inner {
    padding: 0 16px;
    height: 60px;
  }

  .rs-logo {
    font-size: 20px;
  }

  .rs-nav {
    display: none !important;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rs-border);
    flex-direction: column !important;
    padding: 16px;
    gap: 4px;
    z-index: 150;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }

  .rs-nav.active {
    display: flex !important;
  }

  .rs-nav-dropdown .rs-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--rs-border);
    border-radius: 0;
    padding: 4px 0;
    margin-left: 12px;
    opacity: 1;
    transform: none;
  }

  .rs-nav-dropdown.open .rs-dropdown-menu {
    display: block;
  }

  .rs-menu-btn {
    display: block;
  }

  .rs-main {
    padding: 24px 16px;
  }

  .rs-hero {
    padding: 48px 0 32px;
  }

  .rs-hero-title {
    font-size: 36px;
  }

  .rs-hero-desc {
    font-size: 16px;
  }

  .rs-tools-grid {
    grid-template-columns: 1fr;
  }

  .rs-blog-grid .rs-ad-slot {
    grid-column: 1 / -1;
    width: 100%;
  }

  .rs-blog-grid {
    grid-template-columns: 1fr;
  }

  .rs-article-title {
    font-size: 28px;
  }

  .rs-article-body {
    font-size: 16px;
  }

  .rs-room-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rs-result-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rs-result-amount {
    text-align: left;
  }

  .rs-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .rs-calc-mode {
    flex-direction: column;
  }

  .rs-mode-btn {
    width: 100%;
  }

  .rs-tail-grid {
    grid-template-columns: 1fr;
  }

  .rs-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 40px 16px 20px;
  }

  .rs-blog-hero-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .rs-room-grid {
    grid-template-columns: 1fr;
  }

  .rs-notfound-code {
    font-size: 90px;
  }

  .rs-footer-grid {
    grid-template-columns: 1fr;
  }

  .rs-hero-title {
    font-size: 30px;
  }
}

/* ==================== STICKY BAR ==================== */
.rs-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rs-border);
  padding: 14px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.rs-sticky-bar-left {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.rs-sticky-btn {
  background: var(--rs-primary-light);
  color: var(--rs-primary);
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--rs-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rs-sticky-btn:hover {
  background: var(--rs-primary);
  color: white;
}

@media (max-width: 768px) {
  .rs-sticky-bar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .rs-sticky-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
