/* ════════════════════════════════════════════
   DESIGN TOKENS — SwiftOTP Dark Palette
════════════════════════════════════════════ */
:root {
  --bg:           hsl(224 40% 9%);
  --bg-alt:       hsl(220 35% 6%);
  --card:         hsl(220 32% 15%);
  --card-2:       hsl(220 28% 18%);
  --card-hover:   hsl(218 28% 21%);
  --fg:           hsl(210 40% 97%);
  --muted:        hsl(215 18% 58%);
  --border:       hsl(218 22% 24%);
  --border-2:     hsl(218 22% 30%);
  --primary:      hsl(263 72% 68%);
  --primary-2:    hsl(248 68% 58%);
  --secondary:    hsl(199 90% 62%);
  --green:        #4ade80;
  --yellow:       #facc15;
  --red:          hsl(0 84% 62%);
  --radius:       0.875rem;
  --radius-sm:    0.5rem;
  --radius-lg:    1.25rem;
  --gradient-btn: linear-gradient(135deg, hsl(263 72% 68%), hsl(248 68% 58%));
  --gradient-banner: linear-gradient(135deg, hsl(263 65% 52%) 0%, hsl(248 65% 46%) 50%, hsl(238 65% 42%) 100%);
  --shadow-card:  0 2px 12px hsl(220 35% 3% / .5), 0 1px 0 hsl(218 22% 26% / .8) inset;
  --shadow-glow:  0 0 0 1px hsl(263 72% 68% / .22), 0 8px 32px hsl(263 72% 68% / .14);
  --shadow-btn:   0 4px 20px hsl(263 72% 68% / .38);
}

html.light {
  --bg:           hsl(220 20% 97%);
  --bg-alt:       hsl(220 18% 94%);
  --card:         hsl(0 0% 100%);
  --card-2:       hsl(220 18% 96%);
  --card-hover:   hsl(220 18% 93%);
  --fg:           hsl(220 25% 12%);
  --muted:        hsl(218 14% 48%);
  --border:       hsl(220 15% 88%);
  --border-2:     hsl(220 15% 80%);
  --primary:      hsl(263 72% 60%);
  --primary-2:    hsl(248 68% 52%);
  --secondary:    hsl(199 90% 44%);
  --green:        #16a34a;
  --yellow:       #ca8a04;
  --red:          hsl(0 84% 52%);
  --gradient-btn: linear-gradient(135deg, hsl(263 72% 60%), hsl(248 68% 52%));
  --gradient-banner: linear-gradient(135deg, hsl(263 65% 48%) 0%, hsl(248 65% 42%) 50%, hsl(238 65% 38%) 100%);
  --shadow-card:  0 1px 4px hsl(220 25% 12% / .07), 0 4px 16px hsl(220 25% 12% / .05), 0 0 0 1px hsl(220 15% 88%);
  --shadow-glow:  0 0 0 1px hsl(263 72% 60% / .18), 0 8px 24px hsl(263 72% 60% / .1);
  --shadow-btn:   0 4px 16px hsl(263 72% 60% / .3);
}

/* ════════════════════════════════════════════ LIGHT MODE OVERRIDES */
html.light body { background-image: radial-gradient(ellipse 80% 50% at 50% -10%, hsl(263 72% 60% / .06), transparent); }
html.light .glass { background: hsl(220 20% 97% / .9); backdrop-filter: blur(20px) saturate(1.2); }
html.light .card-box { background: hsl(0 0% 100%); border-color: hsl(220 15% 88%); }
html.light .header { border-bottom-color: hsl(220 15% 88%); }
html.light .search-input { background: hsl(220 18% 94%); border-color: hsl(220 15% 85%); }
html.light .faq-card { background: hsl(0 0% 100%); border-color: hsl(220 15% 88%); }
html.light .faq-card-header:hover { background: hsl(220 18% 96%); }
html.light .faq-item { background: hsl(220 18% 96%); border-color: hsl(220 15% 88%); }
html.light .faq-item-q { color: hsl(220 25% 20%); }
html.light .faq-item-q:hover { color: var(--primary); }
html.light .faq-item-a { background: hsl(220 18% 98%); color: hsl(218 14% 40%); }
html.light .sidebar-card { background: hsl(0 0% 100%); border-color: hsl(220 15% 88%); }
html.light .cat-btn { color: hsl(218 14% 48%); }
html.light .cat-btn:hover { background: hsl(220 18% 93%); color: var(--fg); }
html.light .cat-btn.active { background: hsl(263 72% 60% / .1); color: var(--primary); }
html.light .feedback-card { background: hsl(0 0% 100%); border-color: hsl(220 15% 88%); }
html.light .feedback-input { background: hsl(220 18% 95%); border-color: hsl(220 15% 88%); color: var(--fg); }
html.light .email-input { background: hsl(220 18% 95%); border-color: hsl(220 15% 88%); color: var(--fg); }
html.light .feedback-input::placeholder { color: hsl(215 14% 58%); }
html.light .email-input::placeholder { color: hsl(215 14% 58%); }
html.light .footer-wrap { background: hsl(220 25% 8%); }
html.light .breadcrumb a { color: hsl(218 14% 48%); }
html.light .mobile-nav { background: hsl(220 18% 95%); }
html.light .mob-nav-link:hover { background: hsl(220 18% 89%); }
html.light .mob-nav-link.active { background: hsl(263 72% 60% / .08); color: var(--primary); }
html.light .theme-toggle { color: var(--muted); background: var(--card); border-color: var(--border); }
html.light .theme-toggle:hover { color: var(--fg); background: var(--card-hover); }
html.light .banner-strip { background: hsl(263 65% 48% / .08); border-color: hsl(263 65% 48% / .2); }
html.light .empty-state { background: hsl(220 18% 97%); }
html.light .toast { background: hsl(0 0% 100%); border-color: hsl(220 15% 86%); }
html.light .tag { background: hsl(263 72% 60% / .1); }

/* ════════════════════════════════════════════ RESET */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { font-family: 'Inter', system-ui, sans-serif; line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; background-image: radial-gradient(ellipse 80% 50% at 50% -10%, hsl(263 72% 68% / .08), transparent); transition: background .35s, color .35s; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; outline: none; background: none; color: inherit; }
img, svg { display: block; }

/* ════════════════════════════════════════════ ANIMATIONS */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes spin   { to{transform:rotate(360deg)} }
@keyframes toastIn{ from{opacity:0;transform:translateY(12px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes themeSwitch { 0%{transform:scale(1) rotate(0)} 30%{transform:scale(.82) rotate(-15deg);opacity:.6} 70%{transform:scale(1.08) rotate(8deg);opacity:.9} 100%{transform:scale(1) rotate(0);opacity:1} }
@keyframes slideDown { from{opacity:0;max-height:0} to{opacity:1;max-height:600px} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.anim-fade-up { animation: fadeUp .5s cubic-bezier(.22,1,.36,1) both; }
.spin { animation: spin .7s linear infinite; }

/* ════════════════════════════════════════════ HELPERS */
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:480px){.container{padding:0 1.25rem;}}
@media(min-width:768px){.container{padding:0 1.5rem;}}
.gradient-text { background: var(--gradient-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-btn-bg { background: var(--gradient-btn); }
.glass { background: hsl(224 40% 9% / .88); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
.card-box {
  background: linear-gradient(145deg, hsl(220 32% 16%), hsl(220 28% 13%));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.card-box::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, hsl(210 40% 97% / .03) 0%, transparent 60%);
  pointer-events: none;
}

/* ════════════════════════════════════════════ SCROLLBAR */
::-webkit-scrollbar { width: .25rem; height: .25rem; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: hsl(218 22% 28%); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: hsl(218 22% 36%); }

/* ════════════════════════════════════════════ THEME TOGGLE */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: .625rem;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.theme-toggle:hover { background: var(--card-hover); border-color: var(--border-2); color: var(--fg); box-shadow: 0 2px 10px hsl(263 72% 68% / .15); }
.theme-toggle .ico-sun, .theme-toggle .ico-moon { position: absolute; transition: opacity .25s, transform .3s; }
.theme-toggle .ico-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.theme-toggle .ico-moon { opacity: 1; transform: rotate(0) scale(1); }
html.light .theme-toggle .ico-sun { opacity: 1; transform: rotate(0) scale(1); }
html.light .theme-toggle .ico-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
.theme-toggle.animating { animation: themeSwitch .38s ease; }

/* ════════════════════════════════════════════ HEADER */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid hsl(218 22% 20% / .8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 3.75rem; padding: 0 1rem; gap: .5rem; min-width: 0;
}
@media(min-width:768px){.header-inner{height:4rem;padding:0 1.5rem;gap:.75rem;}}
.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; min-width: 0; }
.logo-icon {
  width: 2.375rem; height: 2.375rem; border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px hsl(263 72% 68% / .35);
  position: relative; overflow: hidden;
}
.logo-icon::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(135deg, hsl(210 40% 97% / .15), transparent); pointer-events: none;
}
.logo-text { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; }
.logo-otp { color: var(--primary); }
.header-nav {
  display: none; align-items: center; gap: .125rem; flex: 1; justify-content: center;
}
@media(min-width:900px){.header-nav{display:flex;}}
.header-nav-link {
  padding: .4375rem .75rem; border-radius: .625rem;
  font-size: .875rem; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: color .15s, background .15s; white-space: nowrap;
}
.header-nav-link:hover { color: var(--fg); background: hsl(220 28% 18%); }
html.light .header-nav-link:hover { background: hsl(220 18% 92%); }
.header-nav-link.active { color: var(--primary); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.25rem; border-radius: .75rem;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gradient-btn); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: var(--card); border-color: var(--border); color: var(--muted); }
.btn-ghost:hover { background: var(--card-hover); border-color: var(--border-2); color: var(--fg); }
.btn-sm { padding: .375rem .875rem; font-size: .8125rem; }

/* mob menu */
.mob-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: .625rem;
  transition: background .15s; flex-shrink: 0;
}
.mob-btn:hover { background: var(--card-hover); }
.mobile-nav {
  display: none; flex-direction: column; gap: .25rem;
  padding: .75rem; border-top: 1px solid var(--border);
  background: hsl(220 32% 13%);
}
.mobile-nav.open { display: flex; animation: fadeIn .2s ease; }
.mob-nav-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem .75rem; border-radius: .625rem;
  font-size: .9375rem; font-weight: 500; color: var(--fg);
  transition: background .15s; text-align: left; width: 100%;
}
.mob-nav-link:hover { background: hsl(220 28% 19%); }
.mob-nav-link.active { background: hsl(263 72% 68% / .1); color: var(--primary); }

/* ════════════════════════════════════════════ BANNER STRIP */
.banner-strip {
  background: hsl(263 65% 52% / .07); border-bottom: 1px solid hsl(263 65% 52% / .15);
  padding: .5rem 1rem; text-align: center; font-size: .8125rem; color: var(--muted);
}
.banner-strip strong { color: var(--primary); }

/* ════════════════════════════════════════════ BREADCRUMB */
.breadcrumb {
  display: flex; align-items: center; gap: .375rem;
  font-size: .8125rem; color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--secondary); text-decoration: underline; }
.breadcrumb span { color: var(--fg); font-weight: 500; }

/* ════════════════════════════════════════════ PAGE HERO */
.page-hero {
  padding: 2.5rem 0 2rem;
}
.page-hero-title {
  font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: .75rem;
}
@media(max-width:640px){.page-hero-title{font-size:1.75rem;}}
.page-hero-sub { font-size: 1rem; color: var(--muted); max-width: 34rem; }

/* ════════════════════════════════════════════ SEARCH */
.search-wrap { position: relative; margin-bottom: 1.5rem; }
.search-ico { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.search-input {
  width: 100%; padding: .75rem 1rem .75rem 2.75rem;
  background: hsl(220 35% 10%); border: 1px solid var(--border); border-radius: .875rem;
  font-size: .9375rem; color: var(--fg); transition: border-color .2s, box-shadow .2s, background .2s;
}
.search-input::placeholder { color: hsl(215 18% 38%); }
.search-input:focus {
  background: hsl(220 35% 11%);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(263 72% 68% / .12);
}

/* ════════════════════════════════════════════ LAYOUT */
.faq-layout {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media(min-width:1024px){.faq-layout{grid-template-columns:1fr 17rem;}}

/* ════════════════════════════════════════════ FAQ CARD */
.faq-card {
  background: linear-gradient(145deg, hsl(220 32% 16%), hsl(220 28% 13%));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: .875rem;
  position: relative;
}
.faq-card::before {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(135deg, hsl(210 40% 97% / .025) 0%, transparent 60%);
  pointer-events:none;
}
.faq-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.375rem; cursor: pointer;
  transition: background .15s; gap: .75rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative; z-index:1;
}
.faq-card-header:hover { background: hsl(218 28% 18% / .6); }
.faq-card-header-left { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.faq-cat-icon {
  width: 2.25rem; height: 2.25rem; border-radius: .625rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: hsl(263 72% 68% / .12); border: 1px solid hsl(263 72% 68% / .2);
  color: var(--primary);
}
.faq-cat-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.faq-card-toggle {
  width: 1.75rem; height: 1.75rem; border-radius: .5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: hsl(263 72% 68% / .1); border: 1px solid hsl(263 72% 68% / .18);
  color: var(--primary); font-size: 1.125rem; font-weight: 700;
  transition: transform .25s, background .2s;
}
.faq-card.open .faq-card-toggle { transform: rotate(45deg); }

/* faq items inside card */
.faq-items-wrap {
  display: none; padding: 0 1.375rem 1.125rem; position: relative; z-index: 1;
}
.faq-card.open .faq-items-wrap { display: block; animation: fadeIn .22s ease; }
.faq-item {
  background: hsl(218 28% 19%); border: 1px solid var(--border);
  border-radius: .875rem; margin-bottom: .625rem; overflow: hidden;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 1rem; cursor: pointer; font-size: .9rem; font-weight: 600;
  color: var(--fg); transition: color .15s; gap: .75rem;
  text-align: left; width: 100%; background: none;
}
.faq-item-q:hover { color: var(--primary); }
.faq-item-q-chevron {
  flex-shrink: 0; transition: transform .25s; color: var(--muted);
  width: 1.125rem; height: 1.125rem;
}
.faq-item.open .faq-item-q-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-item-a {
  display: none; padding: 0 1rem 1rem; font-size: .875rem; line-height: 1.65;
  color: var(--muted); background: hsl(218 28% 17%);
  border-top: 1px solid hsl(218 22% 22%);
}
.faq-item.open .faq-item-a { display: block; animation: fadeIn .2s ease; }

/* ════════════════════════════════════════════ EMPTY STATE */
.empty-state {
  background: hsl(220 32% 14%); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center; display: none;
}
.empty-state.visible { display: block; animation: fadeUp .4s ease; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-title { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.empty-sub { color: var(--muted); font-size: .9rem; }

/* ════════════════════════════════════════════ SIDEBAR */
.sidebar-card {
  background: linear-gradient(145deg, hsl(220 32% 16%), hsl(220 28% 13%));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden; position: relative;
}
.sidebar-card::before {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(135deg, hsl(210 40% 97% / .025) 0%, transparent 60%);
  pointer-events:none;
}
.sidebar-head {
  padding: 1rem 1.125rem .75rem; border-bottom: 1px solid var(--border);
  font-size: .75rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: .375rem;
  position: relative; z-index: 1;
}
.sidebar-head::before { content:''; width:.3rem; height:.3rem; border-radius:50%; background:var(--primary); flex-shrink:0; }
.sidebar-nav { padding: .625rem; position: relative; z-index: 1; }
.cat-btn {
  display: flex; align-items: center; gap: .625rem;
  padding: .5625rem .75rem; border-radius: .625rem; width: 100%;
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: all .15s; text-align: left; cursor: pointer;
  background: none;
}
.cat-btn:hover { background: hsl(220 28% 20%); color: var(--fg); }
.cat-btn.active { background: hsl(263 72% 68% / .1); color: var(--primary); border: 1px solid hsl(263 72% 68% / .2); }
.cat-btn svg { flex-shrink: 0; opacity: .8; }
.cat-btn.active svg { opacity: 1; }

/* stats card in sidebar */
.stats-card {
  background: linear-gradient(145deg, hsl(220 32% 16%), hsl(220 28% 13%));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 1.125rem; margin-top: 1rem;
  position: relative; overflow: hidden;
}
.stats-card::after {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(135deg, hsl(263 72% 68% / .04) 0%, transparent 60%);
  pointer-events:none;
}
.stats-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.stats-row:last-child { margin-bottom: 0; }
.stats-label { font-size: .8125rem; color: var(--muted); }
.stats-val { font-size: .9375rem; font-weight: 700; color: var(--primary); }

/* ════════════════════════════════════════════ FEEDBACK */
.feedback-card {
  background: linear-gradient(145deg, hsl(220 32% 16%), hsl(220 28% 13%));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); margin-top: 2rem; padding: 1.5rem;
  position: relative; overflow: hidden;
}
.feedback-card::before {
  content:''; position:absolute; top:0; left:1.5rem; right:1.5rem; height:1.5px;
  background: var(--gradient-btn); border-radius:0 0 9999px 9999px; opacity:.4;
}
.feedback-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.feedback-title svg { color: var(--primary); }
.feedback-input {
  width: 100%; padding: .75rem 1rem;
  background: hsl(220 35% 11%); border: 1px solid var(--border); border-radius: .75rem;
  font-size: .9rem; color: var(--fg); transition: border-color .2s, box-shadow .2s;
  resize: vertical; min-height: 7rem;
}
.feedback-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px hsl(263 72% 68% / .12); }
.feedback-input::placeholder { color: hsl(215 18% 38%); }
.email-input {
  width: 100%; padding: .625rem 1rem; margin-top: .75rem;
  background: hsl(220 35% 11%); border: 1px solid var(--border); border-radius: .75rem;
  font-size: .875rem; color: var(--fg); transition: border-color .2s, box-shadow .2s;
}
.email-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px hsl(263 72% 68% / .12); }
.email-input::placeholder { color: hsl(215 18% 38%); }
.cb-row { display: flex; align-items: flex-start; gap: .625rem; margin-top: .875rem; }
.cb-box {
  width: 1.0625rem; height: 1.0625rem; border-radius: .3rem; flex-shrink: 0;
  border: 1.5px solid var(--border); background: var(--card);
  cursor: pointer; transition: all .15s; margin-top: .125rem;
  display: flex; align-items: center; justify-content: center;
}
.cb-box.checked { background: var(--primary); border-color: var(--primary); }
.cb-label { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.cb-label a { color: var(--secondary); }
.cb-label a:hover { text-decoration: underline; }
.feedback-actions { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }

/* file upload */
.file-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: .625rem; font-size: .8125rem; font-weight: 500;
  border: 1px solid var(--border); color: var(--muted); background: var(--card);
  cursor: pointer; transition: all .15s;
}
.file-btn:hover { background: var(--card-hover); border-color: var(--border-2); color: var(--fg); }
.file-note { font-size: .75rem; color: var(--muted); }

/* ════════════════════════════════════════════ TAG */
.tag {
  display: inline-flex; align-items: center; padding: .2rem .625rem;
  border-radius: 9999px; font-size: .725rem; font-weight: 700; letter-spacing: .01em;
  background: hsl(263 72% 68% / .12); color: var(--primary); border: 1px solid hsl(263 72% 68% / .25);
}

/* ════════════════════════════════════════════ FOOTER */
.footer-wrap {
  background: hsl(220 40% 5%); border-top: 1px solid hsl(218 22% 18%);
  margin-top: 4rem; padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  margin-bottom: 2.5rem;
}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:900px){.footer-grid{grid-template-columns:1.5fr repeat(4,1fr);}}
.footer-brand p { font-size: .875rem; color: hsl(210 40% 65%); margin: .75rem 0 1.25rem; line-height: 1.6; }
.footer-social { display: flex; gap: .625rem; }
.social-btn {
  width: 2.5rem; height: 2.5rem; border-radius: .625rem;
  background: hsl(218 22% 18%); border: 1px solid hsl(218 22% 24%);
  display: flex; align-items: center; justify-content: center;
  color: hsl(215 18% 60%); transition: all .2s;
}
.social-btn:hover { background: hsl(263 72% 68% / .15); border-color: hsl(263 72% 68% / .3); color: var(--primary); }
.footer-col-title { font-size: .8125rem; font-weight: 700; color: hsl(210 40% 90%); margin-bottom: 1rem; letter-spacing: .01em; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; color: hsl(215 18% 55%); transition: color .15s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid hsl(218 22% 18%); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  font-size: .8125rem; color: hsl(215 18% 45%);
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: hsl(215 18% 45%); transition: color .15s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ════════════════════════════════════════════ WHATSAPP FLOAT */
.wa-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #25d366; box-shadow: 0 4px 20px hsl(142 70% 45% / .5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s; color: #fff;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px hsl(142 70% 45% / .65); }

/* ════════════════════════════════════════════ TOAST */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(14px) scale(.97);
  background: hsl(220 32% 18%); border: 1px solid var(--border);
  border-radius: .875rem; padding: .6875rem 1rem; display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; z-index: 9999;
  box-shadow: 0 8px 32px hsl(220 35% 3% / .4); opacity: 0; pointer-events: none;
  max-width: 22rem; min-width: 12rem; white-space: nowrap;
}
.toast.show { animation: toastIn .28s cubic-bezier(.22,1,.36,1) forwards; opacity: 1; }
.toast.out { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.97); transition: opacity .22s, transform .22s; }
.toast.success .t-ico { color: var(--green); }
.toast.error   .t-ico { color: var(--red); }
.toast.info    .t-ico { color: var(--primary); }

/* ════════════════════════════════════════════ NO RESULTS COUNTER */
.result-count {
  font-size: .8rem; color: var(--muted); margin-bottom: 1rem; font-weight: 500;
  display: flex; align-items: center; gap: .375rem;
}
.result-count span { color: var(--primary); font-weight: 700; }

/* ════════════════════════════════════════════ RESPONSIVE */
@media(max-width:640px){
  .page-hero { padding: 1.5rem 0 1.25rem; }
  .feedback-card { padding: 1.125rem; }
  .faq-card-header { padding: .875rem 1rem; }
  .faq-items-wrap { padding: 0 1rem .875rem; }
  .faq-cat-title { font-size: .9375rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { display: none; }
}