/* ============================================================
   HUZIHUB DESIGN SYSTEM & GLOBAL STYLES
   ============================================================ */
:root {
  --ink: #15132b;
  --ink-soft: #4d4a6b;
  --ink-faint: #8985a8;
  --bg: #fcfbff;
  --bg-soft: #f4f2ff;
  --line: #e7e4f6;
  --line-soft: #f0eefb;
  --primary: #4f46e5;
  --primary-dark: #3b33c4;
  --primary-light: #eeebff;
  --accent: #7c3aed;
  --white: #ffffff;

  --font-heading: "Lexend", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 1px 3px rgba(21, 19, 43, 0.05);
  --shadow-md: 0 4px 12px rgba(21, 19, 43, 0.08);
  --shadow-lg: 0 12px 32px rgba(79, 70, 229, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

button,
input,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   GLOBAL NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(252, 251, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link,
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.nav-link:hover,
.dropdown-toggle:hover,
.dropdown-toggle.active {
  color: var(--primary);
  background: var(--bg-soft);
}

.chevron {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 520px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 950;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-link:hover,
.dropdown-link.current {
  background: var(--bg-soft);
}

.dropdown-link .tool-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.dropdown-link .tool-desc {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 2px;
}

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

.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 50px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: var(--transition);
}

.search-trigger-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.search-shortcut {
  font-size: 0.75rem;
  background: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   MOBILE NAVIGATION PANEL
   ============================================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 19, 43, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1020;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.mobile-close-btn {
  background: var(--bg-soft);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-accordion-item {
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0.5rem;
}

.mobile-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 12px;
  padding-bottom: 0;
}

.mobile-accordion-content a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: var(--transition);
}

.mobile-accordion-content a:hover,
.mobile-accordion-content a.current {
  color: var(--primary);
}

.mobile-simple-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-simple-links a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 19, 43, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1100;
}

.search-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.open .search-modal {
  transform: translateY(0);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--ink);
  outline: none;
}

.search-close-btn {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--ink-faint);
  cursor: pointer;
}

.search-results-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 12px;
}

.search-hint {
  text-align: center;
  color: var(--ink-faint);
  padding: 2rem;
  font-size: 0.95rem;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--bg-soft);
}

.search-result-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.search-result-cat {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-bg-mesh {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.08) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.2fr 1fr;
    padding: 2rem 1.5rem;
  }
}

.badge-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--line);
}

.btn-outline {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--ink-faint);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* 3D Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-goal-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 360px;
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.floating-goal-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.goal-label {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.goal-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.card-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.card-progress-bar {
  width: 100%;
  height: 10px;
  background: var(--bg-soft);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 5px;
}

.card-footer-flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.accent-text {
  color: var(--primary);
  font-weight: 600;
}

.orbit-shape {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background: rgba(79, 70, 229, 0.15);
  top: -20px;
  left: -20px;
}

.shape-2 {
  width: 60px;
  height: 60px;
  background: rgba(124, 58, 237, 0.15);
  bottom: -15px;
  right: -15px;
}

/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calculator-section {
  padding: 3rem 1.5rem;
}

.calculator-wrapper {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

@media (min-width: 768px) {
  .calculator-wrapper {
    padding: 3rem;
  }
}

/* Mode Switcher */
.calc-mode-switcher {
  display: flex;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  gap: 6px;
}

.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.mode-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Presets Bar */
.presets-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.presets-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.presets-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-chip {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.preset-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* Calculator Grid */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .calculator-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}

.calc-inputs-pane {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: var(--white);
}

.input-prefix-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  color: var(--ink-faint);
  font-weight: 500;
}

.form-control.with-prefix {
  padding-left: 32px;
}

.input-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 0.5rem;
}

/* Results Pane */
.calc-results-pane {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.results-header-banner {
  text-align: center;
}

.results-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.primary-result-highlight {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  margin: 8px 0;
}

.estimated-date-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.progress-section-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.progress-meta-flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.main-progress-track {
  width: 100%;
  height: 12px;
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
}

.main-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 6px;
  transition: width 0.5s ease;
}

.metrics-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-card-mini {
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.metric-lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.results-action-bar {
  display: flex;
  gap: 12px;
}

.results-action-bar .btn {
  flex: 1;
}

/* Yearly Breakdown Table */
.breakdown-collapsible-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.breakdown-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.breakdown-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
  white-space: nowrap;
}

.breakdown-table th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.breakdown-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}

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

/* ============================================================
   ADSENSE & ARTICLE SECTIONS
   ============================================================ */
.ad-wrapper-section {
  padding: 2rem 1.5rem;
}

.ad-placeholder-box {
  width: 100%;
  height: 90px;
  background: var(--bg-soft);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content-article-section {
  padding: 2rem 1.5rem 4rem;
}

.article-inner-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.article-inner-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-inner-wrapper p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* FAQ Accordion */
.faq-accordion-container {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-bottom: 0;
}

.faq-answer p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.financial-disclaimer-box {
  margin-top: 3rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Related Tools */
.related-tools-section {
  padding: 3rem 1.5rem 5rem;
  border-top: 1px solid var(--line);
}

.related-tools-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .related-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .related-tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1200;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   GLOBAL FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo-text {
  color: var(--white);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col-links h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.footer-col-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
