/* ============================================================
   Universal Converter Hub — Redesigned UI
   Aesthetic: Clean light theme, warm orange accent, soft cards
   Font: Plus Jakarta Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg:           #faf9f7;
  --bg2:          #f4f2ef;
  --white:        #ffffff;
  --border:       #e8e4df;
  --border-light: #f0ede8;
  --accent:       #e8602c;
  --accent-light: #ff7a47;
  --accent-bg:    #fff4f0;
  --grad-doc:     linear-gradient(135deg, #e8602c 0%, #c94a1a 100%);
  --grad-img:     linear-gradient(135deg, #4f8ef5 0%, #2563eb 100%);
  --grad-audio:   linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  --grad-video:   linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --grad-data:    linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --text:         #1a1612;
  --text-2:       #4a4540;
  --text-3:       #8a8480;
  --shadow-sm:    0 1px 3px rgba(26,22,18,.06), 0 1px 2px rgba(26,22,18,.04);
  --shadow:       0 4px 16px rgba(26,22,18,.08);
  --shadow-md:    0 8px 32px rgba(26,22,18,.10);
  --shadow-lg:    0 20px 60px rgba(26,22,18,.12);
  --shadow-accent:0 8px 32px rgba(232,96,44,.25);
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    24px;
  --radius-pill:  999px;
  --font:         'Plus Jakarta Sans', -apple-system, sans-serif;
  --t:            0.2s cubic-bezier(.4,0,.2,1);
  --t-spring:     0.35s cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.2; letter-spacing: -.02em; }
img { max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }

/* ── NAVBAR ─────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,249,247,.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center;
  height: 68px; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.05rem; font-weight: 800;
  color: var(--text); letter-spacing: -.03em; flex-shrink: 0;
}
.logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: white; flex-shrink: 0;
}
.nav-links { display: flex; gap: .1rem; flex: 1; }
.nav-links a {
  padding: .5rem .85rem; border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 600; color: var(--text-2);
  transition: var(--t);
}
.nav-links a:hover { background: var(--bg2); color: var(--text); }
.nav-cta { margin-left: auto; flex-shrink: 0; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.2rem;
  background: var(--accent); color: white;
  border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 700; border: none; cursor: pointer;
  transition: var(--t); box-shadow: var(--shadow-accent); font-family: var(--font);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none;
  border: 1px solid var(--border); color: var(--text);
  padding: .4rem .65rem; border-radius: 8px;
  cursor: pointer; font-size: 1.1rem; margin-left: auto;
}

/* ── HERO ────────────────────────────── */
.hero {
  background: var(--white); padding: 6rem 0 5rem;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ''; position: absolute;
  top: -150px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,96,44,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--accent-bg); border: 1px solid rgba(232,96,44,.2);
  color: var(--accent); font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  font-weight: 800; color: var(--text); margin-bottom: 1.25rem;
  letter-spacing: -.04em;
}
.hero-title .highlight { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-2);
  margin-bottom: 2.5rem; line-height: 1.7; max-width: 440px;
}
/* Search */
.hero-search { position: relative; max-width: 480px; margin-bottom: 2rem; }
.hero-search input {
  width: 100%; padding: .95rem 5rem .95rem 3rem;
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); font-family: var(--font);
  font-size: .95rem; color: var(--text); outline: none;
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.hero-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,96,44,.08); }
.hero-search-icon {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%); color: var(--text-3); font-size: 1rem; pointer-events: none;
}
.hero-search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: .55rem 1rem; background: var(--accent); color: white;
  border: none; border-radius: var(--radius-lg); font-size: .85rem;
  font-weight: 700; cursor: pointer; transition: var(--t); font-family: var(--font);
}
.hero-search-btn:hover { background: var(--accent-light); }
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 300; overflow: hidden; display: none;
}
.search-dropdown.active { display: block; }
.search-result {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.1rem; cursor: pointer; transition: var(--t);
  color: var(--text); font-size: .9rem; font-weight: 500;
}
.search-result:hover { background: var(--bg); color: var(--accent); }
.hero-trust {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: .82rem; color: var(--text-3); font-weight: 500;
}
.hero-trust-item { display: flex; align-items: center; gap: .35rem; }
.hero-trust-item .dot { color: var(--accent); font-size: .6rem; }

/* Hero floating cards */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-cards-stack { position: relative; width: 320px; height: 380px; }
.hero-card-float {
  position: absolute; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.hero-card-float:nth-child(1) {
  width: 260px; height: 148px; top: 0; right: 0;
  background: var(--grad-doc); transform: rotate(3deg);
  animation: floatA 4s ease-in-out infinite;
}
.hero-card-float:nth-child(2) {
  width: 240px; height: 140px; top: 120px; left: 0;
  background: var(--grad-img); transform: rotate(-2deg);
  animation: floatB 4.5s ease-in-out infinite;
}
.hero-card-float:nth-child(3) {
  width: 220px; height: 132px; bottom: 0; right: 20px;
  background: var(--grad-video); transform: rotate(1.5deg);
  animation: floatA 5s ease-in-out infinite reverse;
}
.card-float-inner {
  height: 100%; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.1rem;
}
.card-float-inner span { font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }
.card-float-inner strong { font-size: 1rem; font-weight: 800; color: white; }
.card-float-wm {
  position: absolute; bottom: 6px; right: 10px;
  font-size: 3.5rem; font-weight: 900; color: rgba(255,255,255,.12);
  line-height: 1; letter-spacing: -.05em;
}
@keyframes floatA { 0%,100%{transform:rotate(3deg) translateY(0)} 50%{transform:rotate(3deg) translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:rotate(-2deg) translateY(0)} 50%{transform:rotate(-2deg) translateY(-8px)} }

/* ── STATS BAR ───────────────────────── */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 5rem; padding: 1.75rem 0;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.stat-label { font-size: .75rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: .1rem; }

/* ── SECTION HEADERS ─────────────────── */
.section-tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .6rem; }
.section-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: .75rem; }
.section-sub { font-size: .97rem; color: var(--text-2); max-width: 520px; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── CATEGORY CARDS ──────────────────── */
.categories { background: var(--bg); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.category-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: var(--t-spring); cursor: pointer;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-thumb {
  height: 130px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cat-docs .cat-thumb   { background: var(--grad-doc); }
.cat-img .cat-thumb    { background: var(--grad-img); }
.cat-audio .cat-thumb  { background: var(--grad-audio); }
.cat-video .cat-thumb  { background: var(--grad-video); }
.cat-data .cat-thumb   { background: var(--grad-data); }
.cat-thumb-icon { font-size: 2.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); }
.cat-thumb-wm {
  position: absolute; bottom: 6px; right: 10px;
  font-size: 2.2rem; font-weight: 900; color: rgba(255,255,255,.13);
  letter-spacing: -.05em; line-height: 1;
}
.cat-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.category-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: .3rem; }
.category-card p { font-size: .775rem; color: var(--text-3); line-height: 1.5; flex: 1; margin-bottom: .85rem; }
.cat-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: var(--accent); }

/* ── HOW IT WORKS ───────────────────── */
.how-it-works { background: var(--white); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 2.4rem; left: calc(16.67% + 1rem); right: calc(16.67% + 1rem);
  height: 1px; background: linear-gradient(to right, var(--border), var(--accent), var(--border));
}
.step { position: relative; z-index: 1; text-align: center; }
.step-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1.2rem;
  background: var(--white); border: 2px solid var(--border); position: relative;
}
.step:nth-child(1) .step-icon { background: var(--accent-bg); border-color: rgba(232,96,44,.25); }
.step:nth-child(2) .step-icon { background: #eff6ff; border-color: rgba(79,142,245,.25); }
.step:nth-child(3) .step-icon { background: #f0fdf4; border-color: rgba(34,197,94,.25); }
.step-num {
  position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; background: var(--accent); color: white;
  border-radius: 50%; font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.step p { font-size: .84rem; color: var(--text-3); }

/* ── TOOL CHIPS ─────────────────────── */
.popular { background: var(--bg); }
.tools-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.tool-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: .55rem 1.1rem;
  font-size: .85rem; font-weight: 600; color: var(--text-2);
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.tool-chip:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-bg); transform: translateY(-2px); box-shadow: var(--shadow);
}

/* ── TRUST ──────────────────────────── */
.trust { background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item {
  background: var(--bg); border-radius: var(--radius-xl);
  padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--border);
}
.trust-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--accent-bg); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin: 0 auto 1rem;
}
.trust-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.trust-item p { font-size: .82rem; color: var(--text-3); line-height: 1.6; }

/* ── CATEGORY HERO ──────────────────── */
.cat-hero { background: var(--white); padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--border); }
.cat-hero-inner { display: flex; align-items: center; gap: 1.5rem; }
.cat-hero-thumb {
  width: 76px; height: 76px; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem; flex-shrink: 0;
}
.cat-hero h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: .4rem; }
.cat-hero p { font-size: .93rem; color: var(--text-2); }

/* ── CAT PAGE TOOLS ─────────────────── */
.cat-page { background: var(--bg); }
.cat-section-label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: 1.2rem;
}
.tools-featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.tool-feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; transition: var(--t-spring); cursor: pointer;
}
.tool-feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.tool-feat-thumb {
  height: 138px; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.tool-feat-thumb-icon { font-size: 2.4rem; filter: drop-shadow(0 4px 16px rgba(0,0,0,.2)); }
.tool-feat-thumb-wm {
  position: absolute; bottom: 6px; right: 10px;
  font-size: 3.2rem; font-weight: 900; color: rgba(255,255,255,.12);
  letter-spacing: -.05em; line-height: 1;
}
.tool-feat-body { padding: 1.1rem 1.2rem; }
.tool-feat-body h3 { font-size: .93rem; font-weight: 700; margin-bottom: .2rem; }
.tool-feat-body p { font-size: .79rem; color: var(--text-3); }

.tools-list { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.tool-list-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 1.2rem; border-bottom: 1px solid var(--border-light);
  transition: var(--t); cursor: pointer; color: var(--text);
}
.tool-list-item:last-child { border-bottom: none; }
.tool-list-item:hover { background: var(--bg); color: var(--accent); }
.tool-list-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.tool-list-body { flex: 1; }
.tool-list-body h4 { font-size: .88rem; font-weight: 700; }
.tool-list-body p { font-size: .77rem; color: var(--text-3); margin-top: .1rem; }
.tool-list-arrow { color: var(--text-3); font-size: .9rem; flex-shrink: 0; }

/* ── TOOL PAGE ──────────────────────── */
.tool-hero { background: var(--white); padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.tool-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: .5rem; }
.tool-desc { font-size: .93rem; color: var(--text-2); max-width: 540px; }
.tool-layout { display: grid; grid-template-columns: 1fr 256px; gap: 2rem; align-items: start; padding-top: 2rem; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm); }

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-xl);
  padding: 3rem 2rem; text-align: center; cursor: pointer;
  transition: var(--t); position: relative; margin-bottom: 1.5rem; background: var(--bg);
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--accent); background: var(--accent-bg); }
.drop-icon { font-size: 2.75rem; margin-bottom: .9rem; }
.drop-text { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.drop-sub { font-size: .82rem; color: var(--text-3); }
.drop-sub strong { color: var(--accent); }
.file-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.file-preview {
  display: none; background: var(--accent-bg); border: 1px solid rgba(232,96,44,.2);
  border-radius: var(--radius); padding: .65rem 1rem;
  font-size: .84rem; font-weight: 600; color: var(--accent); margin-bottom: 1.2rem;
}
.file-preview.visible { display: block; }

/* Fields */
.field-group { margin-bottom: 1.2rem; }
.field-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--text-2); margin-bottom: .4rem; }
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%; padding: .72rem 1rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font); font-size: .9rem; outline: none; transition: var(--t);
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(232,96,44,.08);
}
.field-row { display: flex; gap: 1rem; }
.field-row .field-group { flex: 1; }

/* Convert button */
.btn-convert {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: 1rem; background: var(--accent); color: white;
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  border: none; border-radius: var(--radius-pill); cursor: pointer;
  transition: var(--t); box-shadow: var(--shadow-accent);
}
.btn-convert:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,96,44,.3); }
.btn-convert:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Tool info */
.tool-info { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tool-info h2 { font-size: .8rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.tool-info ol { padding-left: 1.25rem; font-size: .86rem; color: var(--text-3); line-height: 2.2; }
.security-note {
  margin-top: 1rem; font-size: .77rem; color: #15803d;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius); padding: .6rem .9rem;
  display: flex; align-items: center; gap: .35rem;
}

/* Related tools sidebar */
.related-tools {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.4rem;
  position: sticky; top: 84px; box-shadow: var(--shadow-sm);
}
.related-tools h3 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: .9rem; }
.related-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem .7rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; color: var(--text-2);
  transition: var(--t); margin-bottom: .2rem;
}
.related-link:hover { background: var(--bg); color: var(--accent); }
.related-link::after { content: '→'; font-size: .8rem; color: var(--text-3); }

/* Alerts */
.alert { border-radius: var(--radius); padding: .85rem 1rem; font-size: .875rem; margin-bottom: 1.2rem; display: flex; align-items: flex-start; gap: .55rem; font-weight: 500; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text-3); margin-bottom: 1.2rem; font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .4; }

/* ── FOOTER ─────────────────────────── */
.footer { background: var(--text); color: rgba(255,255,255,.88); padding: 4rem 0 2.5rem; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: white; margin-bottom: .75rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); max-width: 240px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.footer-col h4 { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); margin-bottom: .9rem; }
.footer-col a { display: block; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: .45rem; transition: var(--t); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { font-size: .78rem; color: rgba(255,255,255,.28); text-align: center; }

/* ── ERRORS ─────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; }
.error-code { font-size: 7rem; font-weight: 800; color: var(--accent); opacity: .15; line-height: 1; margin-bottom: 1rem; letter-spacing: -.06em; }
.error-page h1 { font-size: 1.75rem; margin-bottom: .75rem; }
.error-page p { color: var(--text-2); margin-bottom: 2rem; }
.btn-back { display: inline-flex; align-items: center; gap: .4rem; padding: .8rem 1.75rem; background: var(--accent); color: white; border-radius: var(--radius-pill); font-weight: 700; transition: var(--t); box-shadow: var(--shadow-accent); }
.btn-back:hover { background: var(--accent-light); }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .tool-layout { grid-template-columns: 1fr; }
  .related-tools { position: static; }
}
@media (max-width: 700px) {
  .navbar { position: relative; }
  .navbar-inner { flex-wrap: wrap; height: auto; padding: .75rem 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: .75rem; z-index: 200; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; border-radius: var(--radius); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .stats-inner { gap: 2rem; flex-wrap: wrap; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-featured-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3rem 0; }
  .tool-card { padding: 1.25rem; }
  .drop-zone { padding: 2rem 1rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
