/* ============================================================
   ASTROLOGER GLOBAL - SHARED TOOL STYLESHEET
   Shared CSS for all calculator/tool pages on astrologerglobal.com
   Extracted from the homepage design system.

   Usage: <link rel="stylesheet" href="/tools/shared-style.css">
   Requires Google Fonts loaded in HTML <head>:
   https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS VARIABLES
   ---------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-deep: #0e0c0a;
  --bg-section: #141210;
  --bg-card: #1c1916;
  --bg-card-hover: #242019;

  /* Brand colors */
  --copper: #c8956c;
  --copper-light: #ddb894;
  --copper-dark: #a06a3c;
  --cream: #f5ece0;
  --cream-muted: #d4c8b8;
  --blush: #c9908e;
  --blush-light: #dbb0ae;
  --sage: #8a9a7e;
  --gold: #c9a96e;
  --gold-light: #e2c992;

  /* Text */
  --text-primary: #ede6db;
  --text-secondary: #a69d90;
  --text-muted: #6b6259;

  /* Glows & borders */
  --warm-glow: rgba(200, 149, 108, 0.1);
  --blush-glow: rgba(201, 144, 142, 0.08);
  --border-subtle: rgba(200, 149, 108, 0.1);
  --border-warm: rgba(200, 149, 108, 0.2);

  /* Typography */
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Outfit', sans-serif;
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 18px;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--copper);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--copper-light);
}

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

/* ----------------------------------------------------------
   3. CONTAINER
   ---------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   4. NAVIGATION BAR
   ---------------------------------------------------------- */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: all 0.4s ease;
}

.nav-bar.scrolled {
  background: rgba(14, 12, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper);
  letter-spacing: 3px;
}

.logo span {
  color: var(--blush-light);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--copper);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  padding: 10px 24px;
  border: 1px solid var(--copper);
  color: var(--copper);
  border-radius: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--copper);
  color: var(--bg-deep);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--copper);
  transition: all 0.3s ease;
  display: block;
}

/* ----------------------------------------------------------
   5. MOBILE MENU OVERLAY
   ---------------------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 12, 10, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

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

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 3px;
}

.mobile-menu a:hover {
  color: var(--copper);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--copper);
  cursor: pointer;
  background: none;
  border: none;
}

/* ----------------------------------------------------------
   6. SECTION HEADERS
   ---------------------------------------------------------- */
section {
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--copper);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 0;
}

.divider-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--copper-dark), transparent);
}

.divider-icon {
  width: 18px;
  height: 18px;
  color: var(--copper);
  opacity: 0.7;
}

/* ----------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------- */
.btn-primary {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(200, 149, 108, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 149, 108, 0.35);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(200, 149, 108, 0.2);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 14px 36px;
  background: transparent;
  color: var(--copper);
  border: 1px solid rgba(200, 149, 108, 0.3);
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  text-align: center;
}

.btn-ghost:hover {
  border-color: var(--copper);
  background: rgba(200, 149, 108, 0.06);
  color: var(--copper-light);
}

.btn-ghost:active {
  background: rgba(200, 149, 108, 0.1);
}

.btn-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Small button variant */
.btn-sm {
  padding: 10px 24px;
  font-size: 0.75rem;
}

/* Large button variant */
.btn-lg {
  padding: 18px 48px;
  font-size: 0.88rem;
}

/* Full-width button */
.btn-block {
  width: 100%;
}

/* ----------------------------------------------------------
   8. CARDS (.result-card)
   ---------------------------------------------------------- */
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, var(--warm-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.result-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-warm);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

.result-card > * {
  position: relative;
  z-index: 1;
}

.result-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.result-card-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--copper);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.result-card-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--copper-light);
  margin-bottom: 12px;
}

.result-card-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Card variants */
.result-card--blush {
  border-color: rgba(201, 144, 142, 0.15);
}

.result-card--blush::before {
  background: radial-gradient(circle at 50% 0%, var(--blush-glow), transparent 70%);
}

.result-card--highlight {
  border-color: var(--border-warm);
  background: var(--bg-card-hover);
}

/* ----------------------------------------------------------
   9. FORM INPUTS
   ---------------------------------------------------------- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cream-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-label-hint {
  font-weight: 300;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  margin-left: 4px;
}

.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="time"],
input[type="datetime-local"],
select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
input::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.08);
}

/* Select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8956c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Textarea */
textarea,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
  min-height: 120px;
}

textarea:focus,
.form-textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.08);
}

textarea::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--copper);
  cursor: pointer;
}

/* Form row (side-by-side fields) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Form error state */
.form-input--error,
.form-error {
  border-color: #c95a5a !important;
}

.form-error-msg {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: #c95a5a;
  margin-top: 6px;
  display: block;
}

/* ----------------------------------------------------------
   10. LEAD CAPTURE FORM SECTION
   ---------------------------------------------------------- */
.lead-form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px 40px;
  margin: 60px auto;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.lead-form-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.06), transparent 70%);
}

.lead-form-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 144, 142, 0.04), transparent 70%);
}

.lead-form-section > * {
  position: relative;
  z-index: 1;
}

.lead-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cream);
  text-align: center;
  margin-bottom: 8px;
}

.lead-form-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.7;
}

.lead-form-section .form-group {
  margin-bottom: 20px;
}

.lead-form-section .form-check {
  margin-bottom: 24px;
}

.lead-form-section .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 0.85rem;
}

/* ----------------------------------------------------------
   11. RESULTS SECTION
   ---------------------------------------------------------- */
.results-section {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.results-section.active {
  display: block;
}

.results-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.results-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.results-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.results-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

.results-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--copper), transparent);
  margin: 40px auto;
}

/* ----------------------------------------------------------
   12. STARFIELD CANVAS
   ---------------------------------------------------------- */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#starfield canvas {
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------
   13. REVEAL ANIMATIONS
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ----------------------------------------------------------
   14. GRID SYSTEM
   ---------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .logo {
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--cream);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--copper);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------- */

/* Tablet landscape & below */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-pad {
    padding: 80px 0;
  }
}

/* Tablet portrait & below */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .section-desc {
    font-size: 0.95rem;
  }

  .section-pad {
    padding: 60px 0;
  }

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

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

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

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

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

  .result-card {
    padding: 24px;
  }

  .lead-form-section {
    padding: 32px 24px;
    margin: 40px auto;
  }

  .lead-form-title {
    font-size: 1.3rem;
  }

  .results-title {
    font-size: 1.6rem;
  }

  .tool-hero {
    padding: 100px 24px 50px;
    min-height: auto;
  }

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

  .tool-hero h1 em {
    font-size: 2.2rem;
  }

  .breadcrumb {
    padding-top: 80px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 12px 28px;
    font-size: 0.75rem;
  }

  .result-card {
    padding: 20px 16px;
  }

  .result-card-value {
    font-size: 1.8rem;
  }

  .lead-form-section {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .tool-hero h1 {
    font-size: 1.6rem;
  }

  .tool-hero h1 em {
    font-size: 1.75rem;
  }
}

/* ----------------------------------------------------------
   17. LOADING SPINNER
   ---------------------------------------------------------- */
.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--copper);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 1.5px;
}

.spinner-lg {
  width: 60px;
  height: 60px;
  border-width: 3px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 12, 10, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.loading-text {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Inline loading for buttons */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ----------------------------------------------------------
   18. TOOL HERO SECTION
   ---------------------------------------------------------- */
.tool-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 60px;
  min-height: 50vh;
  overflow: hidden;
  z-index: 1;
}

.tool-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(200, 149, 108, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 144, 142, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(138, 154, 126, 0.03) 0%, transparent 50%);
  z-index: 0;
}

.tool-hero-content {
  position: relative;
  z-index: 1;
}

.tool-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--copper);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.tool-hero-tag {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--copper);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.tool-hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.tool-hero h1 em {
  font-style: italic;
  color: var(--copper-light);
  font-family: var(--font-body);
  font-size: 3rem;
}

.tool-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

/* ----------------------------------------------------------
   19. BREADCRUMB NAVIGATION
   ---------------------------------------------------------- */
.breadcrumb {
  padding: 90px 24px 0;
  position: relative;
  z-index: 2;
}

.breadcrumb-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--copper);
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.6rem;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--copper);
}

/* ----------------------------------------------------------
   20. ICON SYSTEM
   ---------------------------------------------------------- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------
   21. UTILITY CLASSES
   ---------------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-copper  { color: var(--copper); }
.text-blush   { color: var(--blush); }
.text-cream   { color: var(--cream); }
.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }
.font-ui      { font-family: var(--font-ui); }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 40px; }
.mt-5  { margin-top: 60px; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 40px; }
.mb-5  { margin-bottom: 60px; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------
   22. SCROLLBAR STYLING
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 149, 108, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 149, 108, 0.35);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 149, 108, 0.2) var(--bg-deep);
}

/* ----------------------------------------------------------
   23. SELECTION STYLING
   ---------------------------------------------------------- */
::selection {
  background: rgba(200, 149, 108, 0.25);
  color: var(--cream);
}

::-moz-selection {
  background: rgba(200, 149, 108, 0.25);
  color: var(--cream);
}

/* ----------------------------------------------------------
   24. FOCUS VISIBLE (accessibility)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
