/* ========== CSS Variables & Reset ========== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fed7aa;
  --secondary: #0ea5e9;
  --secondary-light: #bae6fd;
  --accent: #8b5cf6;
  --accent-light: #ddd6fe;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  --bg: #fffbf7;
  --bg-card: #ffffff;
  --bg-soft: #fef3e8;
  --bg-section: #fff7ed;
  --footer-bg: #1e293b;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #f8fafc;

  --border: #e2e8f0;
  --border-focus: #f97316;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-colored: 0 8px 32px rgba(249,115,22,0.18);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ========== Utility ========== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.tag-blue { background: var(--secondary-light); color: #0369a1; }
.tag-purple { background: var(--accent-light); color: #6d28d9; }

/* Scroll animations */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.animate-on-scroll.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,251,247,0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  height: var(--header-h);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--font-display); font-size: 1.45rem;
}
.logo-icon { font-size: 1.6rem; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.logo-text { color: var(--text-primary); }
.logo-accent { color: var(--primary); }
.nav-list { list-style: none; display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: block; padding: 7px 14px; border-radius: 8px;
  color: var(--text-secondary); text-decoration: none;
  font-weight: 500; font-size: 0.93rem; transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--bg-soft); color: var(--primary); }
.nav-cta {
  display: block; padding: 9px 22px; border-radius: 999px;
  background: var(--primary); color: white !important; text-decoration: none;
  font-weight: 600; font-size: 0.9rem; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(249,115,22,0.3);
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(249,115,22,0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 16px;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-cta { text-align: center; }
}

/* ========== Hero Section ========== */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3e8 40%, #eff6ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  animation: pulse-glow 5s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite reverse;
}
@keyframes pulse-glow { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.1);opacity:1} }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--primary-light);
  color: var(--primary-dark); padding: 6px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.15; color: var(--text-primary); margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  box-shadow: var(--shadow-colored); transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(249,115,22,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--text-primary); text-decoration: none;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.hero-card {
  background: white; border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  position: relative; animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-card-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.hero-card-amount { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 600; color: var(--success); margin-bottom: 24px; }
.hero-breakdown { display: flex; flex-direction: column; gap: 12px; }
.breakdown-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.breakdown-label { color: var(--text-secondary); }
.breakdown-val { font-family: var(--font-mono); font-weight: 600; color: var(--text-primary); }
.breakdown-val.neg { color: var(--danger); }
.breakdown-divider { border: none; border-top: 1px dashed var(--border); margin: 4px 0; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem;
  background: var(--bg-soft); border: 1px solid var(--primary-light);
  color: var(--primary-dark); padding: 4px 12px; border-radius: 999px; font-weight: 500;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 0 50px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
}

/* ========== Stats Section ========== */
.stats-section { padding: 48px 0; background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
}

/* ========== Calculator Section ========== */
.calculator-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg) 100%);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-primary); line-height: 1.2; margin-bottom: 12px;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

.calc-wrapper { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.calc-card {
  background: white; border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.calc-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.calc-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 32px; }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 7px; }
.form-label span { font-weight: 400; color: var(--text-muted); }
.form-input, .form-select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.input-wrap { position: relative; }
.input-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-weight: 600; font-size: 1rem; pointer-events: none;
}
.input-wrap .form-input { padding-left: 32px; }
.input-suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.85rem; pointer-events: none;
}
.input-wrap .form-input.has-suffix { padding-right: 44px; }

.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text-muted);
}

/* Radio group */
.radio-group { display: flex; gap: 10px; }
.radio-option {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition);
}
.radio-option input { display: none; }
.radio-option .radio-dot {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; transition: var(--transition); position: relative;
}
.radio-option input:checked ~ .radio-info .radio-dot,
.radio-option:has(input:checked) .radio-dot {
  border-color: var(--primary); background: var(--primary);
}
.radio-option:has(input:checked) { border-color: var(--primary); background: var(--bg-soft); }
.radio-label { font-size: 0.88rem; font-weight: 600; }
.radio-desc { font-size: 0.75rem; color: var(--text-muted); }
.radio-info { flex: 1; }

.method-note {
  margin-top: 8px; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.82rem; color: var(--text-secondary);
  display: none;
}
.method-note.flat-note { background: rgba(249,115,22,0.08); border-left: 3px solid var(--primary); display: block; }
.method-note.agg-note { background: rgba(139,92,246,0.08); border-left: 3px solid var(--accent); }

.calc-submit {
  width: 100%; padding: 16px; border-radius: 999px;
  background: var(--primary); color: white; font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 700; border: none; cursor: pointer;
  box-shadow: var(--shadow-colored); transition: all var(--transition);
  letter-spacing: 0.02em; margin-top: 8px;
}
.calc-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(249,115,22,0.4); }
.calc-submit.success { background: var(--success); box-shadow: 0 8px 24px rgba(34,197,94,0.3); }

.calc-error {
  background: #fef2f2; border: 1px solid #fecaca; color: var(--danger);
  padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px;
  font-size: 0.88rem; display: none;
}

/* Results panel */
.results-panel {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.results-panel.visible { opacity: 1; transform: none; pointer-events: auto; }

.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.results-title { font-family: var(--font-display); font-size: 1.4rem; }
.results-badge {
  background: var(--bg-soft); border: 1px solid var(--primary-light);
  color: var(--primary-dark); font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}

.net-amount-box {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0; border-radius: var(--radius);
  padding: 22px; text-align: center; margin-bottom: 24px;
}
.net-amount-label { font-size: 0.82rem; font-weight: 600; color: #15803d; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.net-amount-value { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--success); }
.net-amount-pct { font-size: 0.85rem; color: #16a34a; margin-top: 4px; }

.result-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.result-row { display: flex; align-items: center; gap: 10px; }
.result-row-left { flex: 1; }
.result-row-label { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 3px; }
.result-row-bar-wrap { height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden; }
.result-row-bar { height: 100%; border-radius: 3px; transition: width 0.7s cubic-bezier(0.4,0,0.2,1); width: 0; }
.bar-federal { background: var(--primary); }
.bar-state { background: var(--accent); }
.bar-fica { background: var(--secondary); }
.bar-net { background: var(--success); }
.result-row-val { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; color: var(--text-primary); min-width: 80px; text-align: right; }

.result-summary {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 16px 20px; display: flex; gap: 16px;
}
.summary-item { flex: 1; text-align: center; }
.summary-item-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.summary-item-val { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--text-primary); }

.donut-section { text-align: center; margin: 24px 0 0; }
.donut-title { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 12px; }
#donut-chart { width: 160px; height: 160px; }
.donut-legend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-secondary); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

@media (max-width: 980px) {
  .calc-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========== How It Works ========== */
.how-section { padding: 90px 0; background: white; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 12px; }
.step-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0); transition: transform var(--transition); transform-origin: left;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-card:hover::before { transform: scaleX(1); }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  background: var(--bg-soft); color: var(--primary); border: 2px solid var(--primary-light);
}
.step-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; }
.step-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

/* ========== Tax Rates Section ========== */
.rates-section { padding: 90px 0; background: var(--bg-section); }
.tab-group { }
.tabs-header {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 6px; margin-bottom: 28px; width: fit-content;
}
.tab-btn {
  padding: 10px 22px; border-radius: 8px; border: none; background: none;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.tab-btn.active { background: var(--primary); color: white; box-shadow: 0 2px 12px rgba(249,115,22,0.25); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.rates-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.rates-table {
  width: 100%; border-collapse: collapse; background: white;
  font-size: 0.9rem;
}
.rates-table th {
  background: var(--text-primary); color: white;
  padding: 14px 20px; text-align: left; font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.rates-table th:first-child { border-radius: 12px 0 0 0; }
.rates-table th:last-child { border-radius: 0 12px 0 0; }
.rates-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:hover td { background: var(--bg-soft); }
.rate-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; font-family: var(--font-mono);
}
.rate-10 { background: #dcfce7; color: #15803d; }
.rate-12 { background: #dbeafe; color: #1d4ed8; }
.rate-22 { background: #fef9c3; color: #92400e; }
.rate-24 { background: #ffedd5; color: #c2410c; }
.rate-32 { background: #fce7f3; color: #9d174d; }
.rate-35 { background: #ede9fe; color: #5b21b6; }
.rate-37 { background: #fee2e2; color: #b91c1c; }
.highlight-row td { background: rgba(249,115,22,0.05); font-weight: 600; }

/* ========== Methods Section ========== */
.methods-section { padding: 90px 0; background: white; }
.methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.method-card {
  background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; transition: all var(--transition);
}
.method-card:hover { border-color: var(--primary); box-shadow: var(--shadow-colored); transform: translateY(-3px); }
.method-card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.method-card-title { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 10px; }
.method-card-desc { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; margin-bottom: 20px; }
.method-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros, .cons { }
.pros-title, .cons-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pros-title { color: var(--success); }
.cons-title { color: var(--danger); }
.pros li, .cons li { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 5px; list-style: none; padding-left: 18px; position: relative; }
.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons li::before { content: '✗'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
@media (max-width: 768px) { .methods-grid { grid-template-columns: 1fr; } }

/* ========== Keywords/Content Sections ========== */
.content-section { padding: 90px 0; background: var(--bg-section); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all var(--transition);
}
.content-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.content-card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.content-card-title { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; color: var(--text-primary); }
.content-card-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 768px) { .content-grid { grid-template-columns: 1fr; } }

/* ========== Tips Section ========== */
.tips-section { padding: 90px 0; background: white; }
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tip-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); transition: all var(--transition);
}
.tip-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.tip-icon { font-size: 1.8rem; flex-shrink: 0; }
.tip-title { font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.tip-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }
@media (max-width: 640px) { .tips-grid { grid-template-columns: 1fr; } }

/* ========== FAQ ========== */
.faq-section { padding: 90px 0; background: var(--bg-section); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--primary-light); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--text-primary); gap: 16px;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; transition: transform var(--transition), background var(--transition);
  color: var(--primary);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }

/* ========== CTA Section ========== */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 65%);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 65%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-tag { background: rgba(249,115,22,0.2); color: var(--primary-light); border: 1px solid rgba(249,115,22,0.3); }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); color: white; margin-bottom: 16px; }
.cta-desc { font-size: 1.05rem; color: #94a3b8; max-width: 520px; margin: 0 auto 36px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: white; text-decoration: none;
  padding: 16px 36px; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 32px rgba(249,115,22,0.4); transition: all var(--transition);
}
.cta-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(249,115,22,0.5); }

/* ========== Footer ========== */
.site-footer { background: var(--footer-bg); color: white; }
.footer-wave { line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-body { padding: 60px 0 32px; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 14px; }
.footer-tagline { font-size: 0.88rem; color: #94a3b8; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  color: #94a3b8; font-size: 0.85rem; font-weight: 700; transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.footer-links h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #e2e8f0; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: #64748b; }
.footer-url { font-family: var(--font-mono); color: var(--primary) !important; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ========== Disclaimer banner ========== */
.disclaimer-bar { background: #fef9c3; border-top: 1px solid #fde68a; padding: 12px 0; }
.disclaimer-inner { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #78350f; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.disclaimer-icon { font-size: 1rem; flex-shrink: 0; }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
