/* ==========================================================================
   CHARGEBACK CLOCK — Theme v5
   Default: clean WHITE light theme. Optional DARK MODE via header toggle
   (saved in localStorage). One theme system shared by ALL pages.
   Brand accents: violet / pink / cyan aurora gradients (same both modes).
   ========================================================================== */
:root {
  /* ---- light (default) ---- */
  --bg-0: #FFFFFF;
  --bg-1: #F5F2FE;
  --bg-tint-1: rgba(139, 92, 246, 0.10);
  --bg-tint-2: rgba(103, 232, 249, 0.10);
  --bg-tint-3: rgba(232, 121, 249, 0.07);
  --surface: #FFFFFF;
  --surface-2: #F8F6FF;
  --txt-1: #1D1445;
  --txt-2: #4B4567;
  --txt-3: #7E779E;
  --line: rgba(109, 88, 246, 0.16);
  --card-border: rgba(109, 88, 246, 0.20);
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-border: rgba(109, 88, 246, 0.16);
  --hero-bg: linear-gradient(165deg, #FFFFFF 0%, #F2EEFE 42%, #E6DDfD 72%, #DCCFFB 100%);
  --hero-orb-1: rgba(139, 92, 246, 0.28);
  --hero-orb-2: rgba(103, 232, 249, 0.30);
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(109, 88, 246, 0.22);
  --opt-bg: #FFFFFF;
  --opt-border: rgba(109, 88, 246, 0.30);
  --opt-hover-bg: #F4EFFE;
  --opt-selected-bg: #F1EBFF;
  --input-bg: #FFFFFF;
  --input-border: rgba(109, 88, 246, 0.32);
  --note-bg: #F5F0FF;
  --note-border: rgba(109, 88, 246, 0.28);
  --check-bg: #FFFFFF;
  --disc-bg: #F7F5FF;
  --disc-border: rgba(109, 88, 246, 0.30);
  --table-line: #E9E2FA;
  --faq-line: rgba(109, 88, 246, 0.18);
  --footer-bg: #F4F1FD;
  --footer-border: rgba(109, 88, 246, 0.16);
  --footer-txt: #6E6690;
  --shadow-lg: 0 30px 70px -28px rgba(76, 40, 160, 0.28);
  --shadow-md: 0 14px 34px -14px rgba(76, 40, 160, 0.20);
  --shadow-glow: 0 12px 40px -10px rgba(139, 92, 246, 0.45);
  color-scheme: light;

  /* ---- brand (same both modes) ---- */
  --violet-300: #B7A6F7;
  --violet-400: #A78BFA;
  --violet-500: #8B5CF6;
  --violet-600: #7C3AED;
  --violet-700: #6D28D9;
  --pink-400: #F0ABFC;
  --pink-500: #D946EF;
  --cyan-300: #67E8F9;
  --blue-400: #60A5FA;
  --radius: 16px;
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --grad-primary: linear-gradient(135deg, #B39DDB 0%, #8B5CF6 50%, #6D28D9 100%);
  --grad-accent: linear-gradient(135deg, #F0ABFC 0%, #A855F7 55%, #6366F1 100%);
  --grad-aurora: linear-gradient(90deg, #22D3EE, #8B5CF6, #D946EF, #22D3EE);
  --grad-hero: var(--hero-bg);
  --grad-card-top: linear-gradient(90deg, #8B5CF6, #D946EF, #22D3EE, #8B5CF6);
  --tool-head-bg: linear-gradient(135deg, #2A1A66 0%, #4C2A9E 60%, #7C3AED 130%);
}

[data-theme="dark"] {
  --bg-0: #170D3B;
  --bg-1: #1E1349;
  --bg-tint-1: rgba(139, 92, 246, 0.28);
  --bg-tint-2: rgba(96, 165, 250, 0.20);
  --bg-tint-3: rgba(232, 121, 249, 0.14);
  --surface: rgba(30, 19, 73, 0.62);
  --surface-2: rgba(255, 255, 255, 0.055);
  --txt-1: #FFFFFF;
  --txt-2: #D9CFF7;
  --txt-3: #A89AD9;
  --line: rgba(196, 181, 253, 0.16);
  --card-border: rgba(196, 181, 253, 0.25);
  --header-bg: rgba(23, 13, 59, 0.72);
  --header-border: rgba(196, 181, 253, 0.18);
  --hero-bg: linear-gradient(165deg, #170D3B 0%, #221457 40%, #2E1C72 70%, #3B2585 100%);
  --hero-orb-1: rgba(167, 139, 250, 0.55);
  --hero-orb-2: rgba(103, 232, 249, 0.35);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-border: rgba(196, 181, 253, 0.22);
  --opt-bg: rgba(255, 255, 255, 0.045);
  --opt-border: rgba(196, 181, 253, 0.28);
  --opt-hover-bg: rgba(139, 92, 246, 0.14);
  --opt-selected-bg: rgba(139, 92, 246, 0.20);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(196, 181, 253, 0.30);
  --note-bg: rgba(139, 92, 246, 0.12);
  --note-border: rgba(196, 181, 253, 0.25);
  --check-bg: rgba(255, 255, 255, 0.055);
  --disc-bg: rgba(255, 255, 255, 0.04);
  --disc-border: rgba(196, 181, 253, 0.30);
  --table-line: rgba(196, 181, 253, 0.16);
  --faq-line: rgba(196, 181, 253, 0.18);
  --footer-bg: rgba(11, 6, 32, 0.9);
  --footer-border: rgba(196, 181, 253, 0.15);
  --footer-txt: #A89AD9;
  --shadow-lg: 0 30px 70px -22px rgba(10, 4, 30, 0.65);
  --shadow-md: 0 14px 34px -14px rgba(10, 4, 30, 0.5);
  --shadow-glow: 0 12px 40px -10px rgba(139, 92, 246, 0.55);
  --grad-hero: var(--hero-bg);
  --tool-head-bg: linear-gradient(135deg, #150A38 0%, #2A1660 55%, #4C1D95 130%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--txt-2);
  background:
    radial-gradient(1100px 520px at 12% -4%, var(--bg-tint-1), transparent 60%),
    radial-gradient(900px 480px at 88% 8%, var(--bg-tint-2), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, var(--bg-tint-3), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-0));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--violet-600); }
[data-theme="dark"] a { color: var(--violet-300); }

/* ---------- keyframes ---------- */
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -34px) scale(1.14); }
}
@keyframes shineSweep {
  0% { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(217, 70, 239, 0); }
}
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 6px 14px rgba(139, 92, 246, 0.40)); }
  50% { transform: translateY(-4px); filter: drop-shadow(0 12px 22px rgba(217, 70, 239, 0.50)); }
}
@keyframes textFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ---------- layout ---------- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 800; margin-bottom: 14px;
  background: var(--grad-aurora); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textFlow 7s linear infinite;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--txt-1); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lead { font-size: 1.13rem; color: var(--txt-3); max-width: 640px; }
.grad-rule, .gold-rule { width: 72px; height: 3px; background: var(--grad-accent); border: 0; margin: 22px 0; border-radius: 2px; }
.center { text-align: center; }
.center .grad-rule, .center .gold-rule { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; animation: logoFloat 5s ease-in-out infinite; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--txt-1); font-weight: 700; white-space: nowrap; }
.brand-name span {
  background: var(--grad-aurora); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textFlow 6s linear infinite;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--txt-2); font-weight: 500; font-size: 0.95rem; position: relative; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--grad-aurora); border-radius: 2px; transition: width .25s ease;
}
.nav a:hover { color: var(--txt-1); }
.nav a:hover::after { width: 100%; }
/* theme toggle */
.theme-toggle {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--card-border); background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.theme-toggle:hover { transform: scale(1.1) rotate(12deg); border-color: var(--violet-500); box-shadow: var(--shadow-glow); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .icon-sun { display: none; color: #B45309; }
.theme-toggle .icon-moon { display: block; color: #6D28D9; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; color: #FCD34D; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease;
  position: relative; overflow: hidden;
}
.btn-primary, .btn-gold {
  background: var(--grad-primary);
  background-size: 160% 160%;
  color: #fff; box-shadow: var(--shadow-glow); border: none;
}
.btn-primary::after, .btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-130%) skewX(-18deg);
}
.btn-primary:hover, .btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 46px -10px rgba(139, 92, 246, 0.7); }
.btn-primary:hover::after, .btn-gold:hover::after { animation: shineSweep .7s ease; }
.btn-outline { border-color: var(--violet-500); color: var(--violet-700); background: transparent; }
[data-theme="dark"] .btn-outline { color: #fff; border-color: rgba(196,181,253,0.45); background: rgba(255,255,255,0.05); }
.btn-outline:hover { background: var(--violet-700); color: #fff; transform: translateY(-2px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero {
  background: var(--hero-bg);
  padding: 88px 0 76px;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px; top: -180px; right: -140px;
  background: radial-gradient(circle, var(--hero-orb-1), transparent 65%);
  animation: floatOrb 11s ease-in-out infinite;
}
.hero::after {
  width: 480px; height: 480px; bottom: -200px; left: -150px;
  background: radial-gradient(circle, var(--hero-orb-2), transparent 65%);
  animation: floatOrb 15s ease-in-out infinite reverse;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 .grad, .hero h1 .gold {
  background: var(--grad-aurora); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textFlow 7s linear infinite;
}
.hero-clarifier {
  display: inline-block; margin-top: 18px; padding: 13px 22px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); color: var(--txt-1); font-weight: 600; font-size: 1.02rem;
  box-shadow: var(--shadow-md);
}
.hero-points { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--txt-2); }
.hero-points .tick {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(139,92,246,0.5);
}
.steps-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 8px; }
.mini-step {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; padding: 18px 14px; text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mini-step:hover {
  transform: translateY(-6px);
  border-color: var(--violet-500);
  box-shadow: var(--shadow-glow);
}
.mini-step .ms-n {
  width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--grad-accent); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(168,85,247,0.45);
  transition: transform .25s ease;
}
.mini-step:hover .ms-n { transform: scale(1.16) rotate(-8deg); }
.mini-step p { margin: 0; font-size: 0.88rem; color: var(--txt-3); line-height: 1.5; }
.mini-step strong { color: var(--txt-1); display: block; margin-bottom: 4px; font-size: 0.95rem; }

/* ---------- tool card ---------- */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
  transition: background-color .3s ease;
}
[data-theme="dark"] .tool-card { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.tool-card::before {
  content: ""; display: block; height: 5px;
  background: var(--grad-card-top); background-size: 200% 100%;
  animation: borderFlow 6s linear infinite;
}
.tool-head {
  background: var(--tool-head-bg);
  padding: 26px 30px 20px; position: relative; overflow: hidden;
}
.tool-head::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  top: -150px; right: -90px; background: radial-gradient(circle, rgba(167,139,250,0.4), transparent 65%);
  pointer-events: none;
}
.tool-head h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.tool-head p { margin: 0; color: #D9CFF7; font-size: 0.95rem; }
.tool-body { padding: 8px 30px 30px; }

.form-section { margin-bottom: 24px; animation: fadeUp .4s ease backwards; }
.form-section:nth-child(2) { animation-delay: .06s; }
.form-section:nth-child(3) { animation-delay: .12s; }
.form-section:nth-child(4) { animation-delay: .18s; }
.form-section:nth-child(5) { animation-delay: .24s; }
.q-label { font-weight: 700; font-size: 1.06rem; color: var(--txt-1); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.q-label .q-n {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; font-size: 0.85rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(139,92,246,0.5);
}
.q-hint { color: var(--txt-3); font-size: 0.9rem; margin-bottom: 12px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.opt {
  display: flex; gap: 12px; align-items: center; text-align: left;
  border: 1.5px solid var(--opt-border); border-radius: 999px;
  padding: 11px 18px 11px 12px;
  background: var(--opt-bg); cursor: pointer;
  font-family: var(--font-body); font-size: 0.96rem; font-weight: 600; color: var(--txt-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.opt-grid .opt { border-radius: var(--radius); align-items: flex-start; }
.opt .opt-key {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--opt-border); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: var(--txt-3); background: transparent;
  transition: all .18s ease;
}
.opt small { display: block; color: var(--txt-3); font-weight: 400; font-size: 0.82rem; margin-top: 2px; }
.opt:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--violet-500);
  box-shadow: 0 14px 30px -12px rgba(139, 92, 246, 0.5);
  background: var(--opt-hover-bg);
}
.opt:hover .opt-key {
  border-color: var(--violet-500); color: var(--violet-700);
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 14px rgba(139,92,246,0.5);
}
[data-theme="dark"] .opt:hover .opt-key { color: #fff; }
.opt.selected {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--opt-selected-bg), var(--opt-selected-bg)) padding-box,
              var(--grad-accent) border-box;
  box-shadow: 0 12px 30px -12px rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}
.opt.selected .opt-key {
  background: var(--grad-primary); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px rgba(139,92,246,0.55);
}
.opt:focus-visible { outline: 3px solid rgba(139,92,246,0.5); outline-offset: 2px; }

.field { margin-bottom: 4px; }
.date-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; color: var(--txt-1); }
.field label .req { color: var(--pink-500); }
.field input[type="date"] {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: var(--font-body);
  border: 1.5px solid var(--input-border); border-radius: var(--radius);
  background: var(--input-bg); color: var(--txt-1);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.field input[type="date"]:hover { border-color: var(--violet-500); transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(139,92,246,0.5); }
.field input[type="date"]:focus { outline: none; border-color: var(--violet-600); box-shadow: 0 0 0 4px rgba(139,92,246,.22); }
.field .hint { font-size: 0.82rem; color: var(--txt-3); margin-top: 6px; }
.form-error {
  display: none; background: rgba(217,70,239,0.10); border: 1px solid rgba(217,70,239,0.45); color: #A21CAF;
  padding: 12px 16px; border-radius: 10px; margin: 18px 0; font-weight: 500;
  animation: fadeUp .25s ease;
}
[data-theme="dark"] .form-error { color: #F5C6FB; }
.form-error.show { display: block; }
.big-cta { width: 100%; text-align: center; font-size: 1.12rem; padding: 17px; margin-top: 8px; }

/* ---------- result ---------- */
.result-wrap { animation: fadeUp .45s ease; }
.result-wrap .step-title { color: var(--txt-1); }
.result-badge {
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 16px;
  color: #fff;
}
.urgency-safe { background: linear-gradient(135deg, #34D399, #059669); }
.urgency-warning { background: linear-gradient(135deg, #FBBF24, #D97706); }
.urgency-critical, .urgency-missed { background: linear-gradient(135deg, #F0ABFC, #C026D3); }
.urgency-critical { animation: pulseBadge 1.8s ease-in-out infinite; }
.result-date { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--txt-1); margin: 6px 0 4px; }
.result-date small { font-family: var(--font-body); font-size: 1rem; color: var(--txt-3); display: block; }
.days-left { font-size: 1.25rem; font-weight: 700; margin: 10px 0 20px; color: var(--txt-1); }
.days-left .n {
  font-size: 1.7rem;
  background: var(--grad-aurora); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textFlow 5s linear infinite;
}
.result-wrap h3 { color: var(--txt-1); }
.window-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.window-table th, .window-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--table-line); color: var(--txt-1); }
.window-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--txt-3); }
.window-table tr.primary td { font-weight: 700; }
.window-table td small { color: var(--txt-3); }
.notes { background: var(--note-bg); border: 1px solid var(--note-border); border-left: 4px solid; border-image: var(--grad-accent) 1; padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--txt-2); }
.notes strong { color: var(--txt-1); }
.notes li { margin-bottom: 8px; }
.checklist { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--check-bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 12px 15px; color: var(--txt-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.checklist li:hover { transform: translateX(6px); box-shadow: var(--shadow-glow); }
.checklist .n {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; font-size: 0.8rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.disclaimer {
  margin-top: 22px; padding: 14px 18px; font-size: 0.85rem; color: var(--txt-3);
  background: var(--disc-bg); border-radius: 10px; border: 1px dashed var(--disc-border);
}
.disclaimer strong { color: var(--txt-2); }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- content sections ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card {
  background: var(--surface); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: none; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-card-top); background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: var(--violet-500); }
.card:hover::before { transform: scaleX(1); animation: borderFlow 3s linear infinite; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--txt-3); font-size: 0.96rem; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: var(--grad-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 8px 22px rgba(139,92,246,0.5);
  transition: transform .25s ease;
}
.card:hover .icon { transform: scale(1.12) rotate(-6deg); }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 36px auto 0; }
.faq-item { border-bottom: 1px solid var(--faq-line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--txt-1);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--violet-600); }
[data-theme="dark"] .faq-q:hover { color: var(--violet-300); }
.faq-q::after {
  content: "+"; font-size: 1.5rem; font-weight: 300; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,0.14); color: var(--violet-600); transition: transform .25s ease, background .25s ease;
}
[data-theme="dark"] .faq-q::after { color: var(--violet-300); }
.faq-item.open .faq-q::after { content: "–"; transform: rotate(180deg); background: var(--grad-primary); color: #fff; }
.faq-a { display: none; padding: 0 0 22px; color: var(--txt-3); }
.faq-item.open .faq-a { display: block; animation: fadeUp .3s ease; }

/* ---------- article ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 40px; }
.article p, .article li { color: var(--txt-2); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article .meta { color: var(--txt-3); font-size: 0.9rem; margin-bottom: 24px; }
.toc { background: var(--surface-2); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.toc strong { display: block; margin-bottom: 10px; font-family: var(--font-display); color: var(--txt-1); }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--txt-2); text-decoration: none; }
.toc a:hover { color: var(--violet-600); }
.cta-box {
  background: linear-gradient(135deg, #2A1A66 0%, #4C2A9E 60%, #7C3AED 130%);
  border: 1px solid rgba(139,92,246,0.35);
  border-radius: 20px; padding: 44px 40px; color: #fff; margin: 44px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  top: -180px; right: -110px; background: radial-gradient(circle, rgba(103,232,249,0.28), transparent 65%);
  animation: floatOrb 12s ease-in-out infinite;
}
.cta-box h3 { color: #fff; font-size: 1.6rem; position: relative; }
.cta-box p { color: #D9CFF7; position: relative; }
.cta-box a { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--footer-border); color: var(--footer-txt); padding: 60px 0 30px; transition: background-color .3s ease; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: var(--txt-1); font-family: var(--font-display); margin: 0 0 16px; font-size: 1.05rem; }
.site-footer p { font-size: 0.92rem; }
.site-footer a { color: var(--footer-txt); text-decoration: none; display: block; margin-bottom: 10px; font-size: 0.94rem; transition: color .2s ease, transform .2s ease; }
.site-footer a:hover { color: var(--violet-600); transform: translateX(4px); }
[data-theme="dark"] .site-footer a:hover { color: var(--violet-300); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- ad slots ---------- */
.ad-slot { margin: 36px auto; text-align: center; }
.ad-slot .ad-label { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--txt-3); margin-bottom: 6px; }

/* ---------- utilities (no inline styles anywhere) ---------- */
.hero-slim { padding: 56px 0 40px; }
.pt-0 { padding-top: 0; }
.mt-18 { margin-top: 18px; }
.mt-40 { margin-top: 40px; }
.my-28 { margin: 28px 0; }
.mx-auto { margin: 0 auto; }
.mw-760 { max-width: 760px; }
.hero-narrow { max-width: 720px; margin: 0 auto 36px; }
.tip-note { font-size: .9rem; color: var(--txt-3); }
.btn-on-dark { border-color: #fff; color: #fff; margin-left: 10px; }
.btn-on-dark:hover { background: #fff; color: var(--violet-700); border-color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
  .nav { display: none; }
  .steps-strip { grid-template-columns: 1fr; }
  .date-row { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .tool-body { padding: 6px 20px 24px; }
  .tool-head { padding: 22px 20px 16px; }
  .result-actions .btn { width: 100%; text-align: center; }
  .brand-name { font-size: 1.15rem; }
}
@media print {
  .site-header, .site-footer, .result-actions, .ad-slot, .big-cta, .theme-toggle { display: none; }
  body { background: #fff; color: #000; }
  .tool-card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
