:root {
  /* Colors - SepticX-inspired Bright Scholarly Theme */
  --primary: #20c05c;       /* Bright Green */
  --primary-dark: #12b347;  /* Secondary Green */
  --primary-light: #c9ff6b; /* Lime Yellow */
  --accent-bg: #fbfff3;     /* Cream Accent Background */
  
  --bg-body: #fbfff3;       /* Bright Cream Body */
  --bg-surface: #ffffff;    /* Surface White */
  --bg-surface-secondary: #f0f7e6; /* Soft green-cream */
  
  --text-main: #0b2b12;     /* Deep Ink Green-Black for headings */
  --text-body: #1c3d24;     /* Forest Slate Grey for body */
  --text-muted: #526b58;    /* Muted Sage */
  
  --border-color: #d8e2cf;  /* Soft light Sage Borders */
  --transition-speed: 0.2s;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Override text utilities for scholarly theme */
.text-muted {
  color: var(--text-muted) !important;
}
.text-secondary {
  color: var(--text-muted) !important;
}

/* Scholarly Serif Headings */
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  color: var(--text-main);
  font-weight: 700;
}

/* --- Navbar --- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--text-main) !important;
}

.navbar-brand span {
  color: var(--primary);
  font-weight: 400;
  font-style: italic;
}

.nav-link {
  color: var(--text-body) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 1rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* --- Buttons --- */
.btn-primary {
  background-color: var(--primary); 
  border: 1px solid var(--primary-dark);
  color: #fff;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 4px; /* Conservative, not fully rounded */
  transition: all var(--transition-speed) ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-body);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-surface-secondary);
  color: var(--primary);
}

.btn-outline-primary {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition-speed) ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  border: 1px solid var(--border-color);
  color: var(--text-body);
  background: transparent;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-outline-light:hover {
  background-color: var(--bg-surface-secondary);
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  padding: 9rem 0 6rem 0;
  background: linear-gradient(180deg, #eaffc7 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-color);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.security-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Mock Manuscript Outline (Scholarly visual) --- */
.mock-map-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mock-map-container:hover {
  transform: translateY(-2px);
}

.mock-map-header {
  padding: 0.75rem 1rem;
  background: var(--bg-surface-secondary);
  border-bottom: 1px solid var(--border-color);
}

.dot-indicators span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  background-color: var(--border-color);
}

.mock-map-body {
  padding: 1.5rem;
  background: var(--bg-surface);
  min-height: 280px;
}

.map-alert-box {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.85rem;
  width: 100%;
}

/* Manuscript layout simulation */
.manuscript-line {
  height: 8px;
  background-color: #e8efe2;
  margin-bottom: 12px;
  border-radius: 2px;
}
.manuscript-line.short { width: 60%; }
.manuscript-line.medium { width: 85%; }
.manuscript-line.long { width: 95%; }

.manuscript-heading {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
}

/* --- Section --- */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

/* --- Cards --- */
.card-feature {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.25rem;
  height: 100%;
  transition: all 0.2s ease;
}

.card-feature:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(32, 192, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(32, 192, 92, 0.15);
}

/* --- Pricing Card --- */
.card-pricing {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.card-pricing.premium {
  border-color: var(--primary);
  border-width: 2px;
  background: var(--bg-surface);
  box-shadow: 0 10px 20px rgba(32, 192, 92, 0.06);
}

.card-pricing.premium::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  font-family: "Inter", sans-serif;
}

.card-pricing:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.price-box {
  margin: 1.5rem 0;
}

.price-num {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  font-family: "Merriweather", serif;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  color: var(--primary);
  margin-right: 10px;
}

/* --- Footer --- */
.footer {
  background: #0b2b12;
  padding: 4.5rem 0 2rem 0;
  font-size: 0.9rem;
  color: #a4bea8;
  border-top: 1px solid var(--border-color);
}

.footer-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 3.5rem;
}

/* --- Contact Form / Support Form --- */
.form-control {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main) !important;
  border-radius: 4px;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  background-color: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(32, 192, 92, 0.15);
}

.form-label {
  font-weight: 500;
  color: var(--text-main);
}
