/* ============================================================
   SEOWebChecker.com — Email Address Suggestion Tool
   style.css — Production 2026
   ============================================================ */

/* === CSS VARIABLES === */
:root {
  /* Dark Theme (default) */
  --bg-primary:     #0d0f14;
  --bg-secondary:   #13161e;
  --bg-card:        #191c27;
  --bg-card-hover:  #1f2333;
  --bg-input:       #111420;
  --border:         #262b3e;
  --border-focus:   #5b6cff;
  --text-primary:   #e8eaf0;
  --text-secondary: #8e95b0;
  --text-muted:     #565d7a;
  --accent:         #5b6cff;
  --accent-hover:   #4a5ae6;
  --accent-light:   rgba(91,108,255,.12);
  --success:        #22c55e;
  --success-light:  rgba(34,197,94,.12);
  --warning:        #f59e0b;
  --error:          #ef4444;
  --error-light:    rgba(239,68,68,.1);
  --gradient:       linear-gradient(135deg,#5b6cff 0%,#8b5cf6 100%);
  --gradient-hero:  linear-gradient(160deg,#0d0f14 0%,#13161e 60%,#1a1b2e 100%);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.4);
  --shadow-md:      0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.6);
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      18px;
  --radius-xl:      24px;
  --nav-height:     68px;
  --transition:     .22s ease;
}

[data-theme="light"] {
  --bg-primary:     #f4f5f9;
  --bg-secondary:   #ffffff;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f8f9ff;
  --bg-input:       #f0f1f8;
  --border:         #dde1f0;
  --border-focus:   #5b6cff;
  --text-primary:   #1a1d2e;
  --text-secondary: #4a5068;
  --text-muted:     #9499b4;
  --accent:         #5b6cff;
  --accent-hover:   #4a5ae6;
  --accent-light:   rgba(91,108,255,.08);
  --success:        #16a34a;
  --success-light:  rgba(22,163,74,.1);
  --warning:        #d97706;
  --error:          #dc2626;
  --error-light:    rgba(220,38,38,.08);
  --gradient-hero:  linear-gradient(160deg,#eef0ff 0%,#f4f5f9 60%,#ffffff 100%);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.15);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* === UTILITY === */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; text-align: center; margin-bottom: .6rem; }
.section-sub { text-align: center; color: var(--text-secondary); margin-bottom: 2.5rem; font-size: .98rem; }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 1rem 1.5rem; box-shadow: var(--shadow-lg);
}
.cookie-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
.cookie-icon { font-size: 1.4rem; flex-shrink: 0; }
.cookie-inner p { flex: 1; font-size: .88rem; color: var(--text-secondary); min-width: 200px; }
.cookie-inner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-cookie-accept, .btn-cookie-dismiss {
  padding: .45rem 1.1rem; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600;
  transition: opacity var(--transition);
}
.btn-cookie-accept { background: var(--gradient); color: #fff; }
.btn-cookie-dismiss { border: 1px solid var(--border); color: var(--text-secondary); background: transparent; }
.btn-cookie-accept:hover, .btn-cookie-dismiss:hover { opacity: .85; }

/* === HEADER / NAVBAR === */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,15,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}
[data-theme="light"] .site-header { background: rgba(255,255,255,.92); }

.navbar { height: 100%; }
.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; color: var(--text-primary); }
.nav-logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.4rem; }
.logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; }
.logo-dot { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .45rem .85rem; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: .9rem; font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: var(--accent-light); text-decoration: none; }
.caret { font-size: .65rem; transition: transform var(--transition); }
.has-mega .mega-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%; right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.2rem; min-width: 520px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: opacity .18s, transform .18s;
  z-index: 100;
}
.has-mega:hover .mega-menu,
.has-mega .mega-toggle[aria-expanded="true"] + .mega-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem; }
.mega-grid a {
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: .85rem;
  transition: background var(--transition), color var(--transition);
  display: block;
}
.mega-grid a:hover { background: var(--accent-light); color: var(--text-primary); text-decoration: none; }

/* Nav Controls */
.nav-controls { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: background var(--transition);
}
.theme-btn:hover { background: var(--accent); }

.hamburger {
  display: none; flex-direction: column; justify-content: space-around;
  width: 36px; height: 36px; padding: 6px; border-radius: var(--radius-sm);
  background: var(--accent-light);
}
.hamburger span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* === BREADCRUMB === */
.breadcrumb-wrap { background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: .7rem 0; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--text-muted); }

/* === HERO === */
.hero-section {
  background: var(--gradient-hero);
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem 1rem; border-radius: 99px;
  background: var(--accent-light); border: 1px solid rgba(91,108,255,.3);
  color: var(--accent); font-size: .82rem; font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem,5vw,3rem); font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .8rem; line-height: 1.2;
}
.hero-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 640px; margin: 0 auto 2.5rem; }

/* === TOOL CARD === */
.tool-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  max-width: 820px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group:nth-child(5), .form-group:nth-child(6) { /* range and select in full or half */ }

.form-label { font-size: .85rem; font-weight: 600; color: var(--text-secondary); }
.optional { font-weight: 400; color: var(--text-muted); }
.field-hint { font-size: .75rem; color: var(--text-muted); }
.field-error { font-size: .78rem; color: var(--error); min-height: 1rem; }

.form-input {
  padding: .72rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg-input); border: 1.5px solid var(--border);
  color: var(--text-primary); font-size: .92rem; font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus {
  outline: none; border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-input.input-error { border-color: var(--error); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e95b0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2rem; cursor: pointer; }

/* Range Slider */
.form-range { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--border); cursor: pointer; border: none; padding: 0; }
.form-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gradient); cursor: pointer; box-shadow: var(--shadow-sm); }
.form-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gradient); border: none; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }

/* Form Actions */
.form-actions { display: flex; gap: .8rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: var(--radius-md);
  background: var(--gradient); color: #fff;
  font-size: .95rem; font-weight: 700; font-family: inherit;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(91,108,255,.4);
  flex-shrink: 0;
}
.btn-primary:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(91,108,255,.5); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .85rem 1.3rem; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); color: var(--text-secondary);
  font-size: .9rem; font-weight: 600; font-family: inherit;
  background: transparent; transition: border-color var(--transition), color var(--transition);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-icon { font-size: 1.1rem; }

/* === LOADING === */
.loading-state { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 2rem 0; }
.loader-ring {
  width: 52px; height: 52px; border-radius: 50%;
  border: 4px solid var(--border); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-weight: 600; font-size: 1rem; }
.loading-subtext { font-size: .83rem; color: var(--text-muted); }

/* === RESULT SECTION === */
.result-section { padding: 3rem 0; }
.result-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.result-header h2 { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 700; }
.result-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.provider-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .8rem; border-radius: 99px;
  background: var(--success-light); color: var(--success);
  font-size: .78rem; font-weight: 700; border: 1px solid rgba(34,197,94,.2);
}
.result-count { font-size: .85rem; color: var(--text-muted); }

/* Filter/Sort */
.result-controls { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filter-input {
  flex: 1; min-width: 200px; padding: .65rem 1rem;
  border-radius: var(--radius-sm); background: var(--bg-input);
  border: 1.5px solid var(--border); color: var(--text-primary);
  font-size: .9rem; font-family: inherit;
}
.filter-input:focus { outline: none; border-color: var(--border-focus); }
.sort-controls { display: flex; gap: .4rem; }
.sort-btn {
  padding: .45rem .9rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); color: var(--text-secondary);
  font-size: .82rem; font-weight: 600; background: transparent;
  transition: all var(--transition);
}
.sort-btn.active, .sort-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* Results Grid */
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.result-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem 1.2rem;
  display: flex; flex-direction: column; gap: .4rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.result-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient); border-radius: 0 2px 2px 0;
}
.result-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.result-card.hidden-card { display: none; }
.email-text {
  font-family: 'Inter', monospace; font-size: .95rem; font-weight: 600;
  color: var(--accent); word-break: break-all;
}
.email-style-tag {
  display: inline-flex; align-items: center;
  padding: .2rem .6rem; border-radius: 99px;
  background: var(--accent-light); color: var(--accent);
  font-size: .72rem; font-weight: 600; text-transform: capitalize;
}
.email-reason { font-size: .8rem; color: var(--text-muted); line-height: 1.4; }
.card-copy-btn {
  align-self: flex-end; padding: .3rem .7rem; border-radius: var(--radius-sm);
  background: var(--accent-light); border: 1px solid rgba(91,108,255,.2);
  color: var(--accent); font-size: .75rem; font-weight: 600;
  transition: all var(--transition); margin-top: .2rem;
}
.card-copy-btn:hover { background: var(--accent); color: #fff; }
.card-copy-btn.copied { background: var(--success); border-color: var(--success); color: #fff; }

/* Result Actions */
.result-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-action {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; font-family: inherit;
  border: 1.5px solid var(--border); background: var(--bg-card);
  color: var(--text-secondary); transition: all var(--transition);
}
.btn-action:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.btn-regen { border-color: var(--success); color: var(--success); }
.btn-regen:hover { background: var(--success-light); }

/* Share & Feedback */
.share-feedback-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.share-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; flex: 1; }
.share-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.share-btn {
  padding: .38rem .85rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-secondary); font-size: .8rem; font-weight: 600;
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.feedback-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: var(--radius-sm);
  background: var(--warning); color: #000;
  font-size: .82rem; font-weight: 700;
  transition: opacity var(--transition);
}
.feedback-btn:hover { opacity: .85; text-decoration: none; }

/* === ERROR SECTION === */
.error-section { padding: 2.5rem 0; }
.error-card {
  background: var(--bg-card); border: 1.5px solid var(--error);
  border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.error-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.error-card h2 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; margin-bottom: .5rem; }
.error-card p { color: var(--text-secondary); margin-bottom: 1rem; font-size: .93rem; }
.error-details { text-align: left; margin: 1rem 0; }
.error-details summary { cursor: pointer; font-size: .85rem; color: var(--text-muted); }
.error-details ul { margin-top: .7rem; display: flex; flex-direction: column; gap: .4rem; }
.error-details li { font-size: .8rem; color: var(--text-muted); padding: .4rem .6rem; background: var(--error-light); border-radius: var(--radius-sm); }

/* === FEATURES === */
.features-section { padding: 4.5rem 0; background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: .9rem; }
.feature-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--text-secondary); font-size: .88rem; line-height: 1.6; }

/* === HOW IT WORKS === */
.how-section { padding: 4.5rem 0; }
.steps-track { display: flex; align-items: flex-start; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; flex: 1; min-width: 180px; max-width: 220px;
  text-align: center;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h3 { font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.step-card p { color: var(--text-secondary); font-size: .82rem; line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: var(--text-muted); align-self: center; flex-shrink: 0; }

/* === CONTENT SECTION === */
.content-section { padding: 4rem 0; background: var(--bg-secondary); }
.content-wrap { max-width: 820px; margin: 0 auto; }
.content-wrap h2 { font-family: 'Outfit', sans-serif; font-size: 1.7rem; font-weight: 700; margin-bottom: 1.5rem; }
.content-body { display: flex; flex-direction: column; gap: 1.1rem; }
.content-body p { color: var(--text-secondary); line-height: 1.8; font-size: .95rem; }
.content-body strong { color: var(--text-primary); }
.content-body em { color: var(--accent); font-style: normal; font-weight: 500; }

/* === FAQ === */
.faq-section { padding: 4.5rem 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .95rem; font-weight: 600; color: var(--text-primary);
  text-align: left; background: transparent; border: none; cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: 1.2rem; font-weight: 300; flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-answer:not([hidden]) { padding: .1rem 1.3rem 1.1rem; max-height: 300px; }
.faq-answer p { color: var(--text-secondary); font-size: .9rem; line-height: 1.7; }

/* === CTA === */
.cta-section {
  padding: 5rem 0; text-align: center;
  background: linear-gradient(135deg, #1a1b2e 0%, #0d0f14 100%);
}
[data-theme="light"] .cta-section { background: linear-gradient(135deg,#f0f1ff 0%,#eef0ff 100%); }
.cta-section h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.7rem,3vw,2.3rem); font-weight: 800; margin-bottom: .7rem; }
.cta-section p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  padding: .9rem 2.2rem; border-radius: var(--radius-md);
  background: var(--gradient); color: #fff;
  font-size: 1rem; font-weight: 700; transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 18px rgba(91,108,255,.4);
}
.btn-cta-primary:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }
.btn-cta-secondary {
  padding: .9rem 2.2rem; border-radius: var(--radius-md);
  border: 1.5px solid var(--accent); color: var(--accent);
  font-size: 1rem; font-weight: 700; background: transparent;
  transition: all var(--transition);
}
.btn-cta-secondary:hover { background: var(--accent-light); text-decoration: none; }

/* === RELATED TOOLS BAND === */
.related-band { padding: 3rem 0; background: var(--bg-secondary); }
.related-title { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.2rem; }
.related-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.related-link {
  padding: .42rem 1rem; border-radius: 99px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: .82rem; font-weight: 500;
  transition: all var(--transition);
}
.related-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); text-decoration: none; }

/* === FOOTER === */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.footer-heading { font-family: 'Outfit', sans-serif; font-size: .9rem; font-weight: 700; margin-bottom: .8rem; color: var(--text-primary); }
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { color: var(--text-muted); font-size: .83rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.footer-copy { font-size: .83rem; color: var(--text-muted); }
.footer-disclaimer { font-size: .78rem; color: var(--text-muted); line-height: 1.6; max-width: 900px; }

/* === TOAST === */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: .7rem 1.4rem; border-radius: var(--radius-md);
  font-size: .88rem; font-weight: 600; color: var(--text-primary);
  box-shadow: var(--shadow-lg); opacity: 0;
  transition: opacity .25s, transform .25s; z-index: 9000; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--success); color: var(--success); }
.toast.error { border-color: var(--error); color: var(--error); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .mega-menu { min-width: 280px; }
  .mega-grid { grid-template-columns: 1fr; }
  .steps-track { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .step-card { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 1rem; max-height: calc(100vh - var(--nav-height));
    overflow-y: auto; transform: translateX(-100%);
    transition: transform .3s ease; z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { width: 100%; }
  .mega-menu {
    position: static; opacity: 1 !important; pointer-events: auto !important;
    transform: none !important; box-shadow: none;
    border: none; border-top: 1px solid var(--border);
    padding: .5rem 0; min-width: unset;
    display: none;
  }
  .has-mega .mega-toggle[aria-expanded="true"] + .mega-menu { display: block; }
  .hamburger { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .result-header { flex-direction: column; }
  .result-actions { flex-direction: column; }
  .share-feedback-bar { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tool-card { padding: 1.3rem; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .sort-controls { flex-wrap: wrap; }
}
