﻿/* ============================================================
   EasyCalculator.live - Main Stylesheet
   ============================================================ */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  /* Brand Colors */
  --blue-dark:    #0f2b4c;
  --blue:         #1a3c6e;
  --blue-mid:     #1d4ed8;
  --blue-light:   #2563eb;
  --orange:       #f97316;
  --orange-dark:  #ea6a0a;
  --orange-light: #fdba74;

  /* Neutral */
  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-300:     #cbd5e1;
  --gray-400:     #94a3b8;
  --gray-500:     #64748b;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1e293b;
  --gray-900:     #0f172a;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow:     0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md:  0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg:  0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);

  /* Border Radius */
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Transition */
  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background: var(--gray-50);
  color: var(--gray-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

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

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-tagline {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Nav Center (homepage tagline + stats) */
.nav-center {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

.nav-center-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-center-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 4px;
}

.nav-center-stat {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.nav-center-stat strong {
  color: var(--orange);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Nav Auth ── */
.nav-auth {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-signin-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 7px 20px;
  font-size: 0.83rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-signin-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.38);
}

.nav-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.nav-user-chip:hover { background: rgba(255,255,255,0.16); }

.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4cc2ff;
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-user-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-caret {
  color: rgba(255,255,255,0.45);
  font-size: 0.65rem;
  margin-left: 1px;
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #1e1e1e;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 210px;
  overflow: hidden;
  display: none;
  z-index: 9999;
}
.nav-user-chip.open .nav-user-dropdown { display: block; }

.nav-dropdown-info {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-dropdown-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}
.nav-dropdown-email {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-dropdown-tier {
  font-size: 0.68rem;
  color: #4cc2ff;
  font-weight: 600;
  margin-top: 6px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.15s;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.06); }
.nav-dropdown-link { text-decoration: none; color: rgba(255,255,255,0.75); }
.nav-dropdown-link:hover { color: #fff; }
.nav-dropdown-signout { color: #ff6b6b; }
.nav-dropdown-signout:hover { background: rgba(255,80,80,0.07) !important; }
.nav-upgrade-link { color: #f97316 !important; font-weight: 600; }
.nav-upgrade-link:hover { color: #fb923c !important; }

@media (max-width: 768px) {
  .nav-center { display: none; }
  .nav-logo-tagline { display: none; }
  .nav-user-name,
  .nav-user-caret { display: none; }
  .nav-user-chip { padding: 4px; }
}

/* ── Auth Modal ── */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  padding: 16px;
}
.auth-modal {
  background: #1e1e1e;
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 370px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.07);
}
.auth-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
  font-family: inherit;
}
.auth-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.auth-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 4px; }
.auth-subtitle { color: rgba(255,255,255,0.4); font-size: 0.83rem; margin: 0 0 20px; }
.auth-tabs {
  display: flex;
  background: #262626;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 18px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}
.auth-tab.active { background: #363636; color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-input {
  background: #262626;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.auth-input:focus { border-color: #4cc2ff; }
.auth-input::placeholder { color: rgba(255,255,255,0.28); }
.auth-error { color: #ff6b6b; font-size: 0.76rem; min-height: 14px; }
.auth-submit {
  background: #4cc2ff;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 2px;
  transition: background 0.15s;
}
.auth-submit:hover { background: #76cfff; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: rgba(255,255,255,0.18);
  font-size: 0.75rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}
.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.auth-google-btn:hover { background: #f0f0f0; }

/* ============================================================
   Ad Slots
   ============================================================ */
.ad-slot {
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-leaderboard {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 16px auto;
}

.ad-rectangle {
  width: 300px;
  height: 250px;
}

.ad-large-rectangle {
  width: 100%;
  max-width: 336px;
  height: 280px;
  margin: 20px auto;
}

.ad-wrapper {
  text-align: center;
  padding: 8px 0;
}

/* SEO Hero — homepage H1 */
.seo-hero {
  text-align: center;
  padding: 28px 20px 8px;
  max-width: 860px;
  margin: 0 auto;
}
.seo-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.seo-hero-sub {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}
@media (max-width: 600px) {
  .seo-hero-title { font-size: 1.4rem; }
}

/* ============================================================
   Features Strip — homepage trust bar
   ============================================================ */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 860px;
  margin: 18px auto 4px;
  padding: 0 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-right: 1px solid #e2e8f0;
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.feature-text span {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    margin: 14px 16px 4px;
    padding: 0;
  }
  .feature-item {
    border-bottom: 1px solid #e2e8f0;
  }
  .feature-item:nth-child(2n) { border-right: none; }
  .feature-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f2b4c 0%, #1a3c6e 50%, #1d4ed8 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: var(--gray-800);
  font-family: inherit;
}

.hero-search input::placeholder {
  color: var(--gray-400);
}

.hero-search button {
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.hero-search button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ============================================================
   Main Content & Category Sections
   ============================================================ */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.section-icon.finance {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.section-icon.health {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.section-icon.datetime {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.section-icon.math {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-800);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ============================================================
   Calculator Cards
   ============================================================ */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue-light), var(--orange));
  opacity: 0;
  transition: var(--transition);
}

.calc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--blue-light);
}

.calc-card:hover::before {
  opacity: 1;
}

.calc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.calc-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.calc-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  padding-right: 32px;
}

.calc-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.calc-card:hover .calc-card-arrow {
  background: var(--orange);
  color: var(--white);
}

/* ============================================================
   Calculator Page Layout
   ============================================================ */

/* Inline title + breadcrumb at top of the calculator card */
.calc-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

/* Wraps h1 + breadcrumb so they stack vertically as one flex child */
.csp-title-wrap {
  flex: 1;
  min-width: 0;
}

/* Save widget — right side of header, padded to vertically center with the h1 title text */
.csp-header-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 7px;
}

/* "Your Sessions →" link */
.csp-sessions-link {
  font-size: .78rem;
  color: #6c63ff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .15s;
}
.csp-sessions-link:hover { color: #574fd6; text-decoration: underline; }

.calc-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.2;
}

.calc-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.calc-page-breadcrumb a {
  color: var(--blue-light);
  text-decoration: none;
  transition: var(--transition);
}

.calc-page-breadcrumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.calc-page-breadcrumb span:not(.bc-sep) {
  color: var(--gray-500);
}

.bc-sep {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.calc-layout {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.calc-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calc-body {
  padding: 32px;
}

/* ============================================================
   Form Elements
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-label .hint {
  font-weight: 400;
  color: var(--gray-500);
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}

.form-input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 14px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.input-group {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-weight: 500;
  pointer-events: none;
  font-size: 0.95rem;
}

.input-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-weight: 500;
  pointer-events: none;
  font-size: 0.95rem;
}

.has-prefix {
  padding-left: 32px;
}

.has-suffix {
  padding-right: 40px;
}

.range-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  transition: var(--transition);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  border: none;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-value {
  min-width: 60px;
  text-align: right;
  font-weight: 600;
  color: var(--blue-light);
  font-size: 0.95rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-calculate {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  margin-top: 8px;
  font-family: inherit;
}

.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-reset {
  width: 100%;
  padding: 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  font-family: inherit;
}

.btn-reset:hover {
  background: var(--gray-200);
}

/* ============================================================
   Results Box
   ============================================================ */
.results-box {
  background: linear-gradient(135deg, #0f2b4c, #1a3c6e);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
  color: var(--white);
}

.results-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  font-weight: 600;
}

.result-primary {
  margin-bottom: 24px;
}

.result-primary-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.result-primary-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.result-primary-value span {
  font-size: 1.2rem;
  font-weight: 600;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
}

.result-item-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.result-item-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

/* ============================================================
   Sidebar
   ============================================================ */
.calc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.sidebar-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
  color: var(--gray-800);
}

.related-calc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-calc-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9rem;
  background: var(--gray-50);
  transition: var(--transition);
}

.related-calc-list li a:hover {
  background: var(--blue-light);
  color: var(--white);
}

/* ============================================================
   Info Section
   ============================================================ */
.info-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-top: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.info-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-weight: 700;
}

.info-section h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  color: var(--gray-800);
  font-weight: 600;
}

.info-section p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 12px;
}

.formula-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: var(--gray-700);
  overflow-x: auto;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 20px 30px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo-text {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-stat {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

.footer-stat strong {
  color: var(--orange);
  font-weight: 700;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   Tabs
   ============================================================ */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition);
  font-family: inherit;
}

.tab-btn.active {
  background: var(--white);
  color: var(--blue-light);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Toggle Group
   ============================================================ */
.toggle-group {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.toggle-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: var(--white);
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border-right: 1px solid var(--gray-200);
  font-family: inherit;
}

.toggle-btn.last {
  border-right: none;
}

.toggle-btn.active {
  background: var(--blue-light);
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   Amortization Table
   ============================================================ */
.amort-table-container {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.amort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.amort-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 12px 14px;
  text-align: right;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.amort-table th:first-child {
  text-align: center;
}

.amort-table td {
  padding: 11px 14px;
  text-align: right;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.amort-table td:first-child {
  text-align: center;
  font-weight: 600;
  color: var(--gray-500);
}

.amort-table tbody tr:last-child td {
  border-bottom: none;
}

.amort-table tbody tr:hover td {
  background: var(--gray-50);
}

/* ============================================================
   Scientific Calculator
   ============================================================ */
.sci-calc {
  background: #111827;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sci-display {
  padding: 20px 24px 12px;
  text-align: right;
}

.sci-display .expression {
  min-height: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  word-break: break-all;
}

.sci-display .result {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  word-break: break-all;
  line-height: 1.1;
}

.sci-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 0 2px 2px;
}

.sci-btn {
  padding: 18px 10px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.sci-btn.num {
  background: #2d2d2d;
  color: var(--white);
}

.sci-btn.num:hover {
  background: #3d3d3d;
}

.sci-btn.op {
  background: #3a3a3a;
  color: var(--orange);
}

.sci-btn.op:hover {
  background: #4a4a4a;
}

.sci-btn.fn {
  background: #1e3a5f;
  color: #93c5fd;
  font-size: 0.85rem;
}

.sci-btn.fn:hover {
  background: #254f82;
}

.sci-btn.eq {
  background: var(--orange);
  color: var(--white);
}

.sci-btn.eq:hover {
  background: var(--orange-dark);
}

.sci-btn.clear {
  background: #7f1d1d;
  color: #fca5a5;
}

.sci-btn.clear:hover {
  background: #991b1b;
}

.sci-btn.zero {
  grid-column: span 2;
}

/* ============================================================
   Unit Converter
   ============================================================ */
.unit-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.unit-cat-btn {
  padding: 8px 16px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-600);
  font-family: inherit;
}

.unit-cat-btn.active {
  border-color: var(--blue-light);
  background: var(--blue-light);
  color: var(--white);
}

.unit-cat-btn:hover:not(.active) {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.unit-converter-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.unit-swap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--blue-light);
  flex-shrink: 0;
}

.unit-swap:hover {
  background: var(--blue-light);
  color: var(--white);
  border-color: var(--blue-light);
  transform: rotate(180deg);
}

/* ============================================================
   Progress Bar
   ============================================================ */
.progress-bar-container {
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease;
}

/* ============================================================
   Misc Utilities
   ============================================================ */
.hidden {
  display: none !important;
}

.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 24px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-light);
}

.badge-orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

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

.text-right {
  text-align: right;
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mb-4 {
  margin-bottom: 16px;
}

.w-full {
  width: 100%;
}

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .calc-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  .nav-center {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar {
    position: relative;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .calc-sidebar {
    grid-template-columns: 1fr;
  }

  .hero-search {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .calc-body {
    padding: 20px;
  }

  .sci-buttons {
    grid-template-columns: repeat(4, 1fr);
  }

  .calc-page-title {
    font-size: 1.35rem;
  }
}

/* ============================================================
   Responsive — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .result-primary-value {
    font-size: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ══════════════════════════════════════
   Calc Save Panel  (.csp-*)
══════════════════════════════════════ */
.csp-wrap { margin-top: 1.5rem; }

/* Save button row */
.csp-save-row { display: none; margin-bottom: .75rem; }
.csp-save-row.visible { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.csp-save-btn {
  padding: .45rem 1rem;
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.csp-save-btn:hover:not(:disabled) { background: #574fd6; }
.csp-save-btn:disabled,
.csp-save-btn[disabled] {
  background: #c4c1f0;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Inline name input form */
.csp-name-form { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; width: 100%; }
.csp-name-input {
  flex: 1;
  min-width: 140px;
  padding: .4rem .65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  font-size: .85rem;
  font-family: inherit;
  outline: none;
}
.csp-name-input:focus { border-color: #6c63ff; box-shadow: 0 0 0 2px rgba(108,99,255,.2); }
.csp-confirm-btn {
  padding: .4rem .85rem;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: .82rem;
  font-family: inherit;
  font-weight: 600;
  white-space: nowrap;
}
.csp-confirm-btn:hover { background: #16a34a; }
.csp-cancel-btn {
  padding: .4rem .85rem;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: .82rem;
  font-family: inherit;
}
.csp-cancel-btn:hover { background: #e2e8f0; color: #334155; }
.csp-limit-msg { font-size: .8rem; color: #f87171; margin-top: .35rem; width: 100%; }

/* Mini list section */
.csp-list-section { margin-top: 1.25rem; }
.csp-list-heading {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
  font-weight: 600;
}
.csp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.csp-item-empty, .csp-item-noauth {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  font-style: italic;
  padding: .35rem 0;
  list-style: none;
}
.csp-signin-prompt {
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  font-size: .83rem;
  font-family: inherit;
  padding: .4rem .9rem;
}
.csp-signin-prompt:hover { background: rgba(255,255,255,.07); color: #fff; }

/* Individual session items */
.csp-item {
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.csp-item-header {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  cursor: pointer;
  transition: background .15s;
}
.csp-item-header:hover { background: #f1f5f9; }
.csp-item-label {
  flex: 1;
  font-size: .88rem;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.csp-item-preview {
  font-size: .76rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  flex-shrink: 0;
}
.csp-item-date {
  font-size: .7rem;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
}
.csp-item-actions { display: flex; gap: .2rem; flex-shrink: 0; }
.csp-item-edit-btn,
.csp-item-del-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .82rem;
  padding: .1rem .3rem;
  opacity: .55;
  transition: opacity .15s;
}
.csp-item-edit-btn:hover, .csp-item-del-btn:hover { opacity: 1; }
.csp-item-arrow {
  color: #94a3b8;
  font-size: .8rem;
  transition: transform .2s;
  flex-shrink: 0;
}
.csp-item.open .csp-item-arrow { transform: rotate(90deg); }
.csp-item-body {
  display: none;
  padding: .75rem .9rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.csp-item.open .csp-item-body { display: block; }

/* Dark text overrides — calc page save panel sits on a white background */
.csp-item-body .csp-tmpl                              { color: #334155; }
.csp-item-body .csp-tmpl-heading                      { color: #94a3b8; }
.csp-item-body .csp-tmpl-row                          { border-bottom-color: #f1f5f9; }
.csp-item-body .csp-tmpl-row span:first-child         { color: #64748b; }
.csp-item-body .csp-tmpl-row span:last-child          { color: #1e293b; }
.csp-item-body .csp-tmpl-row.highlight span:last-child{ color: #6366f1; font-weight: 700; }
.csp-item-body .csp-tmpl-empty                        { color: #94a3b8; }
.csp-item-body .csp-tmpl-table th                     { color: #64748b; border-bottom-color: #e2e8f0; }
.csp-item-body .csp-tmpl-table td                     { color: #1e293b; border-bottom-color: #f1f5f9; }
.csp-rename-input {
  flex: 1;
  min-width: 100px;
  padding: .25rem .55rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(108,99,255,.7);
  border-radius: 6px;
  color: #fff;
  font-size: .88rem;
  font-family: inherit;
  outline: none;
}

/* Template styles */
.csp-tmpl { font-size: .83rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.csp-tmpl-section { margin-bottom: .9rem; }
.csp-tmpl-heading {
  font-size: .72rem;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
  font-weight: 600;
}
.csp-tmpl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .22rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  gap: 1rem;
}
.csp-tmpl-row span:first-child { color: rgba(255,255,255,.6); }
.csp-tmpl-row span:last-child  { text-align: right; color: rgba(255,255,255,.9); }
.csp-tmpl-row.highlight span:last-child { color: #a78bfa; font-weight: 700; }
.csp-tmpl-empty { font-size: .8rem; color: rgba(255,255,255,.4); font-style: italic; }
.csp-tmpl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
}
.csp-tmpl-table th {
  color: rgba(255,255,255,.45);
  font-weight: 600;
  text-align: left;
  padding: .25rem .35rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.csp-tmpl-table td {
  padding: .28rem .35rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}

/* ============================================================
   SEO Content Section
   ============================================================ */
.seo-content-section {
  max-width: 860px;
  margin: 40px auto 20px;
  padding: 0 20px;
}
.seo-content-inner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 36px;
}
.seo-content-inner h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
}
.seo-content-inner h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
  margin: 20px 0 8px;
}
.seo-content-inner p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 10px;
}
.seo-content-inner ul {
  padding-left: 20px;
  margin: 0;
}
.seo-content-inner ul li {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .seo-content-inner {
    padding: 20px 18px;
  }
}
