/* ══════════════════════════════════════════════════════
   VideoToolShack — style.css
   Theme: Dark hero / amber-gold accent / light content
   ══════════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amber:           #F5A623;
  --amber-bright:    #FFB830;
  --amber-dim:       #C47F0E;
  --amber-glow:      rgba(245, 166, 35, 0.15);
  --amber-glow-md:   rgba(245, 166, 35, 0.25);
  --amber-glow-lg:   rgba(245, 166, 35, 0.40);

  --dark:            #0B0C0F;
  --dark2:           #111318;
  --dark3:           #181A20;
  --dark-border:     rgba(255, 255, 255, 0.08);
  --dark-border-md:  rgba(255, 255, 255, 0.12);
  --card-bg:         rgba(255, 255, 255, 0.04);

  --text-light:      #F0EEE8;
  --text-muted:      #8A8A90;
  --text-dim:        #525258;

  --light-bg:        #F4F4F6;
  --light-surface:   #FFFFFF;
  --light-border:    #E2E2E8;
  --text-dark:       #1A1A22;
  --text-dark-muted: #5A5A68;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;

  --shadow-card: 0 2px 16px rgba(0,0,0,0.18);
  --shadow-hover: 0 6px 28px rgba(0,0,0,0.28);

  --max-w: 1200px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 12, 15, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dark-border);
  height: var(--nav-h);
}

.site-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px; height: 34px;
  background: var(--amber);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #0B0C0F;
  font-size: 17px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.logo-accent { color: var(--amber); }

/* Nav links */
.nav-links {
  display: flex; align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  font-size: 14px; font-weight: 400;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.active > a {
  color: var(--text-light);
  background: rgba(255,255,255,0.06);
}

/* Fix dropdown hover gap */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  padding-top: 6px;
  min-width: 220px;
  z-index: 200;
}
.dropdown-inner {
  background: #1a1c24;
  border: 1px solid var(--dark-border-md);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  font-size: 13px; color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.dropdown li a:hover { color: var(--amber); background: var(--amber-glow); }
.dropdown-all {
  border-top: 1px solid var(--dark-border);
  margin-top: 4px; padding-top: 4px;
}
.dropdown-all a { color: var(--amber) !important; font-weight: 500; }

/* Nav actions */
.nav-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

/* Search box */
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-border-md);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 36px;
  transition: border-color .2s, background .2s;
}
.nav-search:focus-within {
  border-color: var(--amber);
  background: rgba(245,166,35,0.06);
}
.nav-search i { color: var(--text-dim); font-size: 13px; }
.nav-search input {
  background: transparent; border: none; outline: none;
  color: var(--text-light); font-size: 13px; font-family: var(--font-body);
  width: 150px;
}
.nav-search input::placeholder { color: var(--text-dim); }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--text-muted); font-size: 20px;
  padding: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  font-family: var(--font-body);
  border: none;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #0B0C0F;
}
.btn-primary:hover { background: var(--amber-bright); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--dark-border-md);
  color: var(--text-light);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(245,166,35,0.4);
  color: var(--amber);
}
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--radius-lg); }
.nav-cta { padding: 8px 18px; font-size: 13px; }

/* ══════════════════════════════════════════════════════
   HERO  (dark section)
══════════════════════════════════════════════════════ */
.hero-home {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 80px 32px 68px;
  text-align: center;
}

/* Amber radial glow */
.hero-home::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 25%, rgba(245,166,35,0.13) 0%, transparent 70%);
  pointer-events: none;
}
/* Subtle grid */
.hero-home::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-home > * { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.28);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  color: var(--amber);
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }

.hero-home h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 6.5vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.15);
}
.grad-text {
  color: var(--amber);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Hero stats */
.hero-stats {
  display: flex; justify-content: center; gap: 0;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}
.stat-item {
  flex: 1; padding: 18px 12px; text-align: center;
  border-right: 1px solid var(--dark-border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 24px; font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--dark2);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 0;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--dark-border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.trust-icon.amber  { background: rgba(245,166,35,0.12);  color: var(--amber); }
.trust-icon.green  { background: rgba(80,200,120,0.12);  color: #50C878; }
.trust-icon.blue   { background: rgba(80,140,255,0.12);  color: #508CFF; }
.trust-icon.purple { background: rgba(160,100,255,0.12); color: #A064FF; }
.trust-title { font-size: 14px; font-weight: 500; color: var(--text-light); margin-bottom: 2px; }
.trust-desc  { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   AD ZONE
══════════════════════════════════════════════════════ */
.ad-zone-wrap {
  width: 100%;
  background: var(--dark2);
  padding: 24px 32px 0;
}
.ad-zone-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.ad-zone {
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--dark-border-md);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════
   TOOLS SECTION  (dark bg on homepage)
══════════════════════════════════════════════════════ */
.tools-section {
  background: var(--dark2);
  padding: 72px 32px;
}
.tools-section-inner {
  max-width: var(--max-w); margin: 0 auto;
}

.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 8px;
  text-align: center;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700; color: var(--text-light);
  margin-bottom: 8px;
  text-align: center;
}
.section-sub {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 36px; max-width: 560px;
  text-align: center;
  margin-left: auto; margin-right: auto;
}

/* Category tabs */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}
.cat-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--dark-border-md);
  border-radius: 100px;
  font-size: 13px; font-weight: 400; color: var(--text-muted);
  transition: all .2s;
}
.cat-tab:hover { border-color: rgba(245,166,35,0.4); color: var(--text-light); }
.cat-tab.active {
  background: var(--amber); color: #0B0C0F;
  border-color: var(--amber); font-weight: 600;
}
.tab-count {
  font-size: 11px;
}
.cat-tab.active .tab-count { color: rgba(0,0,0,0.6); }

/* Tool grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Tool card */
.tool-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: block;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.tool-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--amber-glow) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.tool-card:hover {
  border-color: rgba(245,166,35,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.tool-card:hover::before { opacity: 1; }

.card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.card-icon.amber  { background: rgba(245,166,35,0.12);  color: var(--amber); }
.card-icon.green  { background: rgba(80,200,120,0.12);  color: #50C878; }
.card-icon.blue   { background: rgba(80,140,255,0.12);  color: #508CFF; }
.card-icon.purple { background: rgba(160,100,255,0.12); color: #A064FF; }
.card-icon.coral  { background: rgba(255,100,80,0.12);  color: #FF6450; }
.card-icon.teal   { background: rgba(30,200,200,0.12);  color: #1EC8C8; }

.card-title {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}
.card-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.55; margin-bottom: 14px;
}
.card-link {
  font-size: 13px; font-weight: 500; color: var(--amber);
  display: inline-flex; align-items: center; gap: 5px;
}

/* Tool badges */
.tool-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 100px;
  text-transform: uppercase; line-height: 1.6;
}
.tool-badge.hot  { background: rgba(245,166,35,0.15); color: var(--amber); border: 1px solid rgba(245,166,35,0.3); }
.tool-badge.new  { background: rgba(80,200,120,0.15); color: #50C878; border: 1px solid rgba(80,200,120,0.3); }
.tool-badge.pop  { background: rgba(80,140,255,0.15); color: #6eb0ff; border: 1px solid rgba(80,140,255,0.3); }
.tool-badge.free { background: rgba(160,100,255,0.15); color: #c084ff; border: 1px solid rgba(160,100,255,0.3); }

/* ══════════════════════════════════════════════════════
   WHY SECTION  (dark3 bg)
══════════════════════════════════════════════════════ */
.why-section {
  background: var(--dark3);
  border-top: 1px solid var(--dark-border);
  padding: 72px 32px;
}
.why-section .tools-section-inner { max-width: var(--max-w); margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .2s;
  width: 100%;
  text-align: center;
}
.feat-card:hover { border-color: var(--amber-glow-md); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(245,166,35,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--amber);
  margin: 0 auto 16px;
}
.feat-title {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600; color: var(--text-light);
  margin-bottom: 6px;
}
.feat-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════════
   BLOG PREVIEW SECTION
══════════════════════════════════════════════════════ */
.blog-section {
  background: var(--dark2);
  border-top: 1px solid var(--dark-border);
  padding: 72px 32px;
}
.blog-section-inner { max-width: var(--max-w); margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: block;
  transition: border-color .25s, transform .2s;
  width: 100%;
  text-align: center;
}
.blog-card:hover {
  border-color: rgba(245,166,35,0.35);
  transform: translateY(-2px);
}
.blog-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; margin-bottom: 12px;
}
.blog-tag.tips  { background: rgba(245,166,35,0.15); color: var(--amber); }
.blog-tag.howto { background: rgba(80,200,120,0.15); color: #50C878; }
.blog-tag.guide { background: rgba(80,140,255,0.15); color: #6eb0ff; }
.blog-title {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600; color: var(--text-light);
  margin-bottom: 8px; line-height: 1.4;
}
.blog-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.blog-link {
  font-size: 13px; font-weight: 500; color: var(--amber);
  display: inline-flex; align-items: center; gap: 5px;
  justify-content: center;
}
.blog-center { text-align: center; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
}
.footer-inner {
  width: 100%;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 16px;
}
.footer-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(80,200,120,0.1);
  border: 1px solid rgba(80,200,120,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px; color: #50C878; font-weight: 500;
}

/* Network pills */
.footer-network { margin-top: 22px; }
.network-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 10px; font-weight: 600;
}
.network-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.network-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border-md);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px; color: var(--text-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.network-pill:hover {
  color: var(--amber);
  border-color: rgba(245,166,35,0.45);
  background: rgba(245,166,35,0.08);
}

/* Footer columns */
.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text-muted);
  transition: color .2s;
}
.footer-col ul li a i { color: var(--text-dim); font-size: 12px; width: 14px; }
.footer-col ul li a:hover { color: var(--amber); }
.footer-col ul li a:hover i { color: var(--amber); }

/* Footer bottom bar */
.footer-bottom {
  width: 100%;
  padding: 18px 64px;
  border-top: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color .2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ══════════════════════════════════════════════════════
   INNER PAGES — light content area
══════════════════════════════════════════════════════ */

/* Inner page hero (same dark header, smaller) */
.page-hero {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 52px 32px 48px;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,166,35,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--text-light);
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 16px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
}

/* Light content wrapper */
.page-content {
  background: var(--light-bg);
  padding: 56px 32px;
}
.page-content-inner {
  max-width: var(--max-w); margin: 0 auto;
}

/* Light section overrides */
.page-content .section-label { color: var(--amber-dim); }
.page-content .section-title { color: var(--text-dark); }
.page-content .section-sub   { color: var(--text-dark-muted); }

/* Tool card — light variant */
.tool-card-light {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: block;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-card);
}
.tool-card-light:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.tool-card-light .card-title { color: var(--text-dark); }
.tool-card-light .card-desc  { color: var(--text-dark-muted); }

/* ══════════════════════════════════════════════════════
   TOOL PAGE — Two-column layout
══════════════════════════════════════════════════════ */
.tool-main { background: var(--light-bg); }

.tool-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 32px 64px;
}

/* Breadcrumb */
.breadcrumb-wrap {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dark-muted);
  margin-bottom: 20px;
}
.breadcrumb-wrap a { color: var(--text-dark-muted); transition: color .2s; }
.breadcrumb-wrap a:hover { color: var(--amber-dim); }
.breadcrumb-sep { color: var(--light-border); font-size: 16px; }

/* Page header */
.tool-page-header { margin-bottom: 24px; }
.tool-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: 100px; margin-bottom: 10px;
}
.tool-eyebrow.trim    { background: rgba(245,166,35,0.12); color: var(--amber-dim); }
.tool-eyebrow.convert { background: rgba(80,200,120,0.12); color: #3a9e5f; }
.tool-eyebrow.extract { background: rgba(80,140,255,0.12); color: #2d6fc7; }
.tool-eyebrow.optimize{ background: rgba(160,100,255,0.12); color: #7a40c0; }
.tool-eyebrow.edit    { background: rgba(255,100,80,0.12);  color: #c0392b; }

.tool-page-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: var(--text-dark);
  line-height: 1.1; margin-bottom: 10px;
}
.tool-page-sub {
  font-size: 15px; color: var(--text-dark-muted);
  max-width: 680px; line-height: 1.7;
}

/* Two-column layout */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

/* Tool wrap (left col main box) */
.tool-wrap {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

/* Trust bar */
.tool-trust-bar {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--light-border);
}
.tool-trust-bar span {
  font-size: 12px; color: var(--text-dark-muted);
  display: flex; align-items: center; gap: 5px;
}
.tool-trust-bar i { color: var(--amber); }

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--light-border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--amber);
  background: rgba(245,166,35,0.04);
}
.drop-zone i { font-size: 44px; color: var(--amber); margin-bottom: 14px; display: block; }
.drop-zone p { font-size: 15px; color: var(--text-dark-muted); margin-bottom: 6px; }
.drop-zone small { font-size: 12px; color: var(--text-dark-muted); opacity: .65; }

/* File info bar */
.file-info-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--light-bg); border: 1px solid var(--light-border);
  border-radius: var(--radius-md); padding: 8px 14px;
  margin-bottom: 14px; font-size: 13px; color: var(--text-dark);
}
.file-info-bar i { color: var(--amber); }
.file-info-bar .file-size { color: var(--text-dark-muted); }
.btn-text-link {
  background: none; border: none; padding: 0;
  color: var(--amber-dim); font-size: 12px; cursor: pointer;
  margin-left: auto; display: flex; align-items: center; gap: 4px;
  font-family: var(--font-body); transition: color .2s;
}
.btn-text-link:hover { color: var(--amber); }

/* Duration bar */
.duration-bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--text-dark-muted); margin-bottom: 16px;
}
.duration-bar strong { color: var(--text-dark); }

/* Time inputs */
.time-inputs {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.time-input-group {
  flex: 1; min-width: 160px;
  display: flex; flex-direction: column; gap: 6px;
}
.time-input-group label {
  font-size: 13px; font-weight: 500; color: var(--text-dark);
  display: flex; align-items: center; gap: 6px;
}
.time-input-wrap {
  display: flex; align-items: center;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--light-surface); transition: border-color .2s;
}
.time-input-wrap:focus-within { border-color: var(--amber); }
.time-input-wrap input {
  flex: 1; border: none; outline: none; padding: 10px 12px;
  font-size: 15px; font-family: var(--font-body);
  color: var(--text-dark); background: transparent;
}
.time-unit {
  padding: 0 10px; font-size: 12px; color: var(--text-dark-muted);
  background: var(--light-bg); border-left: 1px solid var(--light-border);
  height: 100%; display: flex; align-items: center;
}
.btn-set-time {
  background: none; border: 1px solid var(--light-border);
  border-radius: var(--radius-sm); padding: 5px 10px;
  font-size: 11px; color: var(--text-dark-muted);
  cursor: pointer; font-family: var(--font-body);
  display: flex; align-items: center; gap: 5px;
  transition: all .2s; width: fit-content;
}
.btn-set-time:hover { border-color: var(--amber); color: var(--amber-dim); }
.time-divider {
  padding-top: 36px; color: var(--text-dark-muted);
  font-size: 14px; flex-shrink: 0;
}

/* Status notices */
.status-notice {
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--radius-md); padding: 12px 16px;
  font-size: 14px; margin-bottom: 16px;
}
.notice-info  { background: rgba(80,140,255,0.08); color: #2d6fc7; border: 1px solid rgba(80,140,255,0.2); }
.notice-error { background: rgba(220,50,50,0.08);  color: #c0392b; border: 1px solid rgba(220,50,50,0.2); }

/* Progress */
.progress-wrap { margin-bottom: 16px; }
.progress-track { height: 6px; background: var(--light-border); border-radius: 100px; overflow: hidden; margin-bottom: 8px; }
.progress-bar-fill { height: 100%; width: 0%; background: var(--amber); border-radius: 100px; transition: width .3s ease; }
.progress-label { font-size: 12px; color: var(--text-dark-muted); text-align: center; }

/* Tool actions */
.tool-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Download step */
.step-download { text-align: center; padding: 16px 0 8px; }
.step-download i { font-size: 52px; color: #50C878; margin-bottom: 16px; display: block; }
.step-download h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-download p  { font-size: 14px; color: var(--text-dark-muted); margin-bottom: 24px; }

/* Section cards (below tool wrap, in left col) */
.tool-section-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.tool-section-title {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}

/* How it works steps */
.how-steps { display: flex; flex-direction: column; gap: 16px; }
.how-step { display: flex; gap: 14px; align-items: flex-start; }
.how-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--amber); color: #0B0C0F;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.how-step-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.how-step-desc  { font-size: 13px; color: var(--text-dark-muted); line-height: 1.6; margin: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--light-border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q {
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  margin: 0 0 8px; font-family: var(--font-body);
}
.faq-a { font-size: 13px; color: var(--text-dark-muted); line-height: 1.7; margin: 0; }

/* Sidebar */
.tool-col-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; align-self: start; }
.sidebar-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.sidebar-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dark-muted);
  margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
}
.sidebar-title i { color: var(--amber); }

/* Privacy card */
.sidebar-privacy {
  background: rgba(245,166,35,0.06);
  border-color: rgba(245,166,35,0.2);
  text-align: center;
}
.sidebar-privacy-icon { font-size: 32px; color: var(--amber); margin-bottom: 10px; }
.sidebar-privacy-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text-dark); margin-bottom: 6px; }
.sidebar-privacy-desc { font-size: 12px; color: var(--text-dark-muted); line-height: 1.6; }

/* Affiliate card */
.sidebar-affiliate { text-align: center; }
.sidebar-affiliate-icon { font-size: 28px; color: var(--amber); margin-bottom: 10px; }
.sidebar-affiliate-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text-dark); margin-bottom: 6px; }
.sidebar-affiliate-desc { font-size: 12px; color: var(--text-dark-muted); line-height: 1.6; margin-bottom: 12px; }

/* Tips */
.tip-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--text-dark-muted);
  line-height: 1.6; margin-bottom: 12px;
}
.tip-item:last-child { margin-bottom: 0; }
.tip-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(245,166,35,0.15); color: var(--amber-dim);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.tip-item a { color: var(--amber-dim); text-decoration: underline; }
.tip-item strong { color: var(--text-dark); }

/* Related tools in sidebar */
.related-tool-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--light-border);
  font-size: 13px; font-weight: 500; color: var(--text-dark);
  transition: color .2s;
}
.related-tool-link:last-child { border-bottom: none; padding-bottom: 0; }
.related-tool-link:hover { color: var(--amber-dim); }
.related-tool-link .card-icon {
  width: 32px; height: 32px; border-radius: 7px; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Network tool links (sidebar) */
.network-tool-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--light-border);
  transition: opacity .2s;
}
.network-tool-link:last-child { border-bottom: none; padding-bottom: 0; }
.network-tool-link:hover { opacity: .75; }
.network-tool-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.network-tool-name { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 1px; }
.network-tool-desc { font-size: 11px; color: var(--text-dark-muted); }

/* ══════════════════════════════════════════════════════
   ABOUT / STATIC PAGE
══════════════════════════════════════════════════════ */
.about-box {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-card);
  max-width: 760px; margin: 0 auto;
}
.about-box h2 {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px; margin-top: 28px;
}
.about-box h2:first-child { margin-top: 0; }
.about-box p { font-size: 15px; color: var(--text-dark-muted); line-height: 1.75; margin-bottom: 14px; }
.about-box a { color: var(--amber-dim); text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-layout { grid-template-columns: 1fr 260px; gap: 20px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #13151b;
    border-bottom: 1px solid var(--dark-border);
    padding: 16px;
    z-index: 150; gap: 2px;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a { width: 100%; padding: 10px 12px; }
  .nav-actions { margin-left: auto; }
  .nav-search { display: none; }
  .nav-hamburger { display: flex; }
  .dropdown { position: static; box-shadow: none; border: none;
    background: rgba(255,255,255,0.03); margin-top: 4px; }
  .has-dropdown.open .dropdown { display: block; }
}

@media (max-width: 700px) {
  .hero-home { padding: 56px 20px 48px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; border-radius: var(--radius-lg); }
  .stat-item { min-width: 33%; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .trust-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tools-section, .why-section, .blog-section { padding: 48px 20px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-container { padding: 20px 16px 48px; }
  .time-inputs { flex-direction: column; }
  .time-divider { display: none; }
}
