


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #f8f7f4;
  --bg2:     #f0ede8;
  --bg3:     #e8e4dc;
  --surface: #ffffff;
  --border:  rgba(0,0,0,0.07);
  --border2: rgba(0,0,0,0.12);
  --ink:     #1c1917;
  --ink2:    #44403c;
  --muted:   #a8a29e;
  --muted2:  #78716c;
  --red:     #cd0001;
  --red2:    #cd0001;
  --blue:    #2563eb;
  --green:   #059669;
  --purple:  #7c3aed;
  --orange:  #d97706;
  --r: 16px;
  --shadow:  0 1px 12px rgba(0,0,0,0.07);
  --shadow2: 0 6px 32px rgba(0,0,0,0.12);
  --secondary-font: 'Bricolage Grotesque',sans-serif;
  --heading-font: 'raleway', sans-serif;
}
.secondary-font { font-family: var(--secondary-font); font-weight: 500; }

html,body { min-height:100%; background:var(--bg); color:var(--ink);
  font-family:'Epilogue',sans-serif; font-weight:400; overflow-x:hidden; }

body::before {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(ellipse 60% 50% at 5% 0%, rgba(231,64,10,.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 95% 100%, rgba(37,99,235,.04) 0%, transparent 60%);
}
.site-logo {width:200px !important;}

@media screen and (max-width: 767px) {
  .site-logo {width:120px !important;}
}


.page { position:relative; z-index:1; min-height:100vh; display:flex; flex-direction:column; }

/* ── HEADER ── */
header {
  background: rgba(248,247,244,.92); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border2); padding:0 44px; height:64px;
  display:flex; align-items:center; justify-content:space-between;
  position:sticky; top:0; z-index:100;
}
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-box {
  width:36px; height:36px; border-radius:10px;
  background:var(--red); display:flex; align-items:center; justify-content:center;
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800;
  color:#fff; font-size:1rem; letter-spacing:-1px;
  box-shadow:0 2px 12px rgba(231,64,10,.35);
}
.logo-txt {
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800;
  font-size:1.2rem; letter-spacing:-.5px; color:var(--ink);
}
.logo-txt span { color:var(--red); }
.hright { display:flex; align-items:center; gap:10px; }
.hpill {
  font-size:.68rem; font-weight:600; text-transform:uppercase; letter-spacing:.6px;
  padding:5px 12px; border-radius:100px;
  background:rgba(231,64,10,.07); border:1px solid rgba(231,64,10,.18); color:var(--red);
}

/* ── HERO ── */
.hero { text-align:center; padding:64px 20px 52px; }
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--bg2); border:1px solid var(--border2); color:var(--muted2);
  font-size:.68rem; font-weight:600; text-transform:uppercase; letter-spacing:1.5px;
  padding:6px 16px; border-radius:100px; margin-bottom:22px;
}
.hero h1 {
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800;
  font-size:clamp(2.4rem,6vw,5rem); line-height:1.0; letter-spacing:-2px;
   margin:0 auto 18px;
}
.hero h1 .r { color:var(--red); }
.hero-sub { color:var(--muted2); font-size:1.02rem; max-width:660px; margin:0 auto 36px; line-height:1.75; }

/* Feature pills */
.hero-pills { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.fpill {
  display:flex; align-items:center; gap:6px;
  background:var(--surface); border:1px solid var(--border2);
  padding:7px 14px; border-radius:100px; font-size:.78rem; font-weight:500; color:var(--ink2);
  box-shadow:var(--shadow);
}

/* ── TOOL CATEGORIES ── */
.tools-section { width:100%; max-width:1200px; margin: 0 auto; display:flex; flex-direction:column; padding:12px 24px 80px; }
.cat-block { margin-bottom:44px; }
.cat-header { display: none !important;
  display:flex; align-items:center; gap:12px; margin-bottom:18px;
}
.cat-icon {
  width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; font-size:1rem;
  flex-shrink:0;
}
.cat-title { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:1.1rem; }
.cat-desc  { font-size:.8rem; color:var(--muted); margin-top:2px; }

.tools-row { display:grid; grid-template-columns:repeat(auto-fill,minmax(20%,1fr)); gap:12px; }
@media screen and (max-width:800px) {
  .tools-row { display:flex; flex-direction: column; }
  
}

/* Tool card */
.tcard {
  background:var(--surface); border:1.5px solid var(--border);
  border-radius:var(--r); padding:20px 16px 16px;
  cursor:pointer; display:flex; flex-direction:column; gap:9px;
  transition:border-color .15s, transform .15s, box-shadow .15s;
  position:relative; overflow:hidden;
}
.tcard::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2.5px;
  background:var(--cc, var(--red)); opacity:0; transition:opacity .15s;
}
.tcard:hover { border-color:var(--cc,var(--red)); transform:translateY(-2px); box-shadow:var(--shadow2); }
.tcard:hover::before { opacity:1; }
.tcard-ico {
  width:42px; height:42px; border-radius:10px;
  background:var(--cbg, rgba(231,64,10,.08));
  display:flex; align-items:center; justify-content:center; font-size:1.25rem;
}
.tcard-name { font-family:'Bricolage Grotesque',sans-serif; font-size:.9rem; font-weight:700; color:var(--ink); line-height:1.3; }
.tcard-desc { font-size:.72rem; color:var(--muted); line-height:1.55; }
.tcard-arr  { font-size:.72rem; color:var(--cc,var(--red)); font-weight:600; opacity:0; transition:opacity .15s; margin-top:auto; }
.tcard:hover .tcard-arr { opacity:1; }

/* ── MODAL ── */
.overlay {
  position:fixed; inset:0; background:rgba(28,25,23,.5);
  backdrop-filter:blur(8px); z-index:200;
  display:none; align-items:center; justify-content:center; padding:20px;
}
.overlay.open { display:flex; }
.modal {
  background:var(--surface); border-radius:22px;
  width:100%; max-width:680px; max-height:92vh; overflow-y:auto;
  box-shadow:0 24px 80px rgba(0,0,0,.18);
  animation:popUp .22s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popUp { from{opacity:0;transform:scale(.93)} to{opacity:1;transform:scale(1)} }

.mhead {
  padding:24px 24px 0; display:flex; align-items:flex-start; justify-content:space-between;
  border-bottom:1px solid var(--border); padding-bottom:18px; margin-bottom:0;
}
.mhead-left  { display:flex; align-items:center; gap:13px; }
.mhead-icon  {
  width:46px; height:46px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0;
}
.mhead-title { font-family:'Bricolage Grotesque',sans-serif; font-size:1.15rem; font-weight:700; }
.mhead-sub   { font-size:.78rem; color:var(--muted); margin-top:2px; }
.xbtn {
  width:32px; height:32px; border-radius:8px; background:var(--bg2);
  border:none; cursor:pointer; color:var(--muted2); font-size:.9rem;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .15s;
}
.xbtn:hover { background:var(--bg3); }

.mbody { padding:22px 24px 24px; }

/* Drop zone */
.dzone {
  border:2px dashed var(--border2); border-radius:var(--r);
  padding:36px 24px; text-align:center; cursor:pointer; position:relative;
  background:var(--bg); transition:border-color .2s, background .2s;
}
.dzone.over { border-color:var(--red); background:rgba(231,64,10,.03); }
.dzone input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.dz-ico   { font-size:2rem; margin-bottom:10px; }
.dz-title { font-weight:600; font-size:.95rem; margin-bottom:5px; }
.dz-sub   { color:var(--muted); font-size:.8rem; }
.dz-sub b { color:var(--red); font-weight:600; }

/* File list */
.flist { margin-top:12px; display:flex; flex-direction:column; gap:7px; }
.fitem {
  display:flex; align-items:center; gap:10px;
  background:var(--bg); border:1px solid var(--border);
  border-radius:9px; padding:9px 12px;
}
.fitem-ico  { font-size:.95rem; flex-shrink:0; }
.fitem-name { flex:1; font-size:.82rem; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fitem-size { font-size:.7rem; color:var(--muted); flex-shrink:0; }
.fitem-del  {
  width:22px; height:22px; border-radius:5px; border:none;
  background:rgba(0,0,0,.05); cursor:pointer; font-size:.7rem;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .15s;
}
.fitem-del:hover { background:rgba(231,64,10,.12); color:var(--red); }

/* Options */
.opts { margin-top:16px; display:flex; flex-direction:column; gap:12px; }
.opt-lbl { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.7px; color:var(--ink2); margin-bottom:5px; display:block; }

.qrow { display:flex; gap:7px; }
.qbtn {
  flex:1; padding:9px 6px; border-radius:9px;
  border:1.5px solid var(--border2); background:var(--bg);
  color:var(--ink2); font-size:.78rem; font-weight:500; cursor:pointer;
  font-family:'Epilogue',sans-serif; text-align:center; transition:all .15s;
}
.qbtn.on { border-color:var(--red); background:rgba(231,64,10,.05); color:var(--red); }

.pinput {
  width:100%; border:1.5px solid var(--border2); border-radius:9px;
  padding:10px 13px; font-size:.88rem; font-family:'Epilogue',sans-serif;
  background:var(--bg); color:var(--ink); outline:none; transition:border-color .15s;
}
.pinput:focus { border-color:var(--red); }

select.pinput { cursor:pointer; }

/* Action button */
.gobtn {
  width:100%; margin-top:18px; padding:14px;
  background:var(--red); color:#fff; border:none; border-radius:11px;
  font-size:.95rem; font-weight:700; font-family:'Epilogue',sans-serif;
  cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
  box-shadow:0 4px 18px rgba(231,64,10,.3);
  transition:background .15s, transform .1s, box-shadow .15s;
}
.gobtn:hover:not(:disabled) { background:var(--red2); transform:translateY(-1px); box-shadow:0 6px 22px rgba(231,64,10,.35); }
.gobtn:active:not(:disabled) { transform:translateY(0); }
.gobtn:disabled { opacity:.55; cursor:not-allowed; }
.bspin {
  width:14px; height:14px; border-radius:50%;
  border:2px solid rgba(255,255,255,.35); border-top-color:#fff;
  animation:spin .7s linear infinite; display:none;
}
.bspin.on { display:block; }
@keyframes spin { to{transform:rotate(360deg)} }

/* Progress */
.prog-wrap { display:none; margin-top:16px; }
.prog-wrap.show { display:block; }
.prog-lbl {
  font-size:.78rem; color:var(--muted2); margin-bottom:7px;
  display:flex; justify-content:space-between;
}
.prog-track { background:var(--bg2); border-radius:100px; height:5px; overflow:hidden; }
.prog-fill {
  height:100%; border-radius:100px;
  background:linear-gradient(90deg,var(--red),var(--red2));
  width:0%; transition:width .25s ease;
  animation:shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { 0%,100%{opacity:1} 50%{opacity:.65} }

/* Result box */
.rbox {
  display:none; margin-top:14px;
  background:rgba(5,150,105,.06); border:1px solid rgba(5,150,105,.2);
  border-radius:10px; padding:14px 16px;
  display:none; align-items:center; gap:12px;
}
.rbox.show { display:flex; }
.rbox-ico  { font-size:1.3rem; }
.rbox-txt  { flex:1; font-size:.83rem; color:var(--green); font-weight:500; }
.rdl {
  padding:8px 16px; background:var(--green); color:#fff;
  border-radius:8px; font-size:.78rem; font-weight:700;
  cursor:pointer; border:none; font-family:'Epilogue',sans-serif; transition:opacity .15s;
}
.rdl:hover { opacity:.85; }

/* Error */
.ebox {
  display:none; margin-top:14px;
  background:rgba(231,64,10,.06); border:1px solid rgba(231,64,10,.18);
  border-radius:10px; padding:12px 16px; font-size:.82rem; color:var(--red);
}
.ebox.show { display:block; }

/* ── FEATURES BAR ── */
.fbar {
  background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:24px 40px; display:flex; gap:36px; justify-content:center; flex-wrap:wrap;
}
.fbar-item { display:flex; align-items:center; gap:8px; font-size:.8rem; color:var(--ink2); font-weight:500; }

footer {
  background:var(--surface); border-top:1px solid var(--border);
  padding:22px 40px; text-align:center; color:var(--muted); font-size:.73rem; margin-top:auto;
}

/* Toast */
#toast {
  position:fixed; bottom:28px; left:50%;
  transform:translateX(-50%) translateY(80px);
  background:var(--ink); color:#fff; border-radius:10px;
  padding:11px 20px; font-size:.82rem; font-weight:500;
  z-index:500; transition:transform .3s cubic-bezier(.34,1.56,.64,1);
  white-space:nowrap; box-shadow:0 8px 28px rgba(0,0,0,.2);
}
#toast.show { transform:translateX(-50%) translateY(0); }
#toast.ok   { background:var(--green); }
#toast.fail { background:var(--red); }

@media(max-width:640px){
  header { padding:0 16px; }
  .hero  { padding:44px 16px 40px; }
  .tools-section { padding:8px 12px 60px; }
  .fbar { padding:18px 16px; gap:16px; }
  footer { padding:18px 16px; }
}

/* Single Tool Page */
.tool-section {
  min-height: 100vh;
  background: #f8fafc;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-section .container {
  max-width: 720px;
}

.tool-badge {
  display: inline-block;
  background: #fff3e8;
  color: #d97706;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.tool-page-icon {
  font-size: 54px;
  margin-bottom: 12px;
}

.tool-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tool-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .tool-title {
    font-size: 30px;
  }
}

.popular-tools {
  padding: 20px 20px;
  background: #ffffff;
}

.popular-container {
  max-width: 1200px;
  margin: 0 auto;
}

.popular-heading {
  text-align: center;
  margin-bottom: 40px;
}

.popular-heading h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 40px;
  color: #1e1e1e;
  margin-bottom: 12px;
}

.popular-heading p {
  font-size: 17px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.popular-grid a {
    text-decoration: none;
}

.popular-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.04);
  transition: 0.3s ease;
}

.popular-card:hover {
  transform: translateY(-5px);
}

.popular-icon {
  width: 60px;
  height: 60px;
  background: #fff2ec;
  color: #ff5a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 18px;
}

.popular-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #222;
}

.popular-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 18px;
}

.popular-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 30px;
  background: #fff3ee;
  color: #ff5a1f;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .popular-grid {
    grid-template-columns: 1fr;
  }

  .popular-heading h2 {
    font-size: 32px;
  }
}

/* How it workds */
  .step-icon {
    font-size: 40px;
    background: #f1f5f9;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
  }

  .step-card {
    transition: all 0.3s ease;
  }

  .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  }
  .sub-heading-two {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 600;
  }
  .fw-semibold {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 500;
  }
  p {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 400;
  }


/* Single Tool Page */
/* .tool-section {
  min-height: 80vh;
  background: #f8fafc;
}

.tool-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tool-subtitle {
  color: #555;
  font-size: 16px;
}

.upload-box {
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 20px;
  padding: 50px 20px;
  max-width: 560px;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  cursor: pointer;
}

.upload-box.dragover {
  border-color: #e53935;
  background: #fff5f5;
  transform: scale(1.01);
}

.upload-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.upload-btn {
  background: #e53935;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.upload-btn:hover {
  background: #d32f2f;
}

.selected-file {
  font-size: 14px;
  color: #222;
  word-break: break-word;
}

.features {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .tool-title {
    font-size: 30px;
  }

  .upload-box {
    padding: 35px 16px;
  }
} */

