:root{
--bg:#f7fbff;--card:#fff;--text:#0f172a;--muted:#556;--accent:#0b76ff;
--radius:12px;--shadow:0 8px 30px rgba(12,18,44,.06);--maxW:1100px
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
display:flex;flex-direction:column;
font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial;
background:var(--bg);color:var(--text);
line-height:1.5;font-size:16px
}
main{flex:1 0 auto;width:100%}
.container{max-width:var(--maxW);margin:28px auto;padding:20px}

/* HEADER */
.site-header{
background:var(--card);
border-bottom:1px solid #eef4ff;
box-shadow:var(--shadow);
position:sticky;top:0;z-index:60
}
.site-header .inner{
display:flex;align-items:center;justify-content:space-between;
max-width:var(--maxW);margin:auto;padding:14px
}
.brand{
font-weight:800;font-size:20px;
color:var(--text);text-decoration:none
}

/* DESKTOP NAV */
.desktop-only{display:flex}
.main-nav a{
margin-left:16px;color:var(--muted);
text-decoration:none;font-weight:600
}
.main-nav a:hover{color:var(--accent)}
nav.main-nav.desktop-only a {
padding: 0 10px;
border-right: 1px solid #1d4ed8;
}
nav.main-nav.desktop-only a:last-child {
    border: none;
}


/* HAMBURGER (MOBILE ONLY) */
.menu-toggle{
display:none;background:none;border:0;
width:32px;height:26px;cursor:pointer;position:relative
}
.menu-toggle span{
position:absolute;left:0;width:100%;height:3px;
background:#222;border-radius:4px;transition:.3s
}
.menu-toggle span:nth-child(1){top:0}
.menu-toggle span:nth-child(2){top:11px}
.menu-toggle span:nth-child(3){top:22px}
.menu-toggle.active span:nth-child(1){top:11px;transform:rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){top:11px;transform:rotate(-45deg)}

/* MOBILE NAV */
.mobile-nav{
display:none;background:#fff;border-top:1px solid #eee;
max-height:0;overflow:hidden;
transition:max-height .35s ease;
box-shadow:0 10px 25px rgba(0,0,0,.08)
}
.mobile-nav.open{max-height:500px}
.mobile-nav a{
display:block;padding:16px 20px;
color:#111;text-decoration:none;
border-bottom:1px solid #f1f1f1
}
.mobile-nav a:hover{
background:#f6f8ff;color:var(--accent)
}

/* RESPONSIVE SWITCH */
@media(max-width:768px){
.desktop-only{display:none}
.menu-toggle{display:block}
.mobile-nav{display:block}
}

/* HERO */
.hero{
background:var(--card);padding:40px 20px;
border-radius:14px;box-shadow:var(--shadow);
text-align:center;max-width:520px;margin:0 auto
}
.hero h1{margin:0 0 12px;font-size:clamp(22px,5vw,28px)}
.hero p{margin:0;color:var(--muted);font-size:14px}
.trust-text{margin-top:12px;font-size:14px;color:#555}

/* BUTTONS */
.btn{
background:linear-gradient(135deg,#2563eb,#1d4ed8);
color:#fff;padding:10px 20px;border-radius:999px;
border:0;cursor:pointer;font-weight:600;
text-decoration:none;
display:inline-flex;align-items:center;justify-content:center;
white-space:nowrap;transition:.15s;
}
.btn:hover{
transform:translateY(-1px);
box-shadow:0 6px 18px rgba(37,99,235,.25)
}


.result-card a.btn{
    width: 50%;
    margin: 0 auto;
}

.result-card a{
   padding: 5px 10px !important;
}

/* ===============================
   Homepage Features Section
================================ */

.features-section {
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.features-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 25px;
  font-weight: 700;
  color: var(--text);
}

/* Feature Card Style */
.feature-card {
  background: var(--card);
  padding: 22px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text);
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card ul li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--muted);
}

/* Bullet Icon */
.feature-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 22px;
  line-height: 16px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .features-title {
    font-size: 22px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card ul li {
    font-size: 14px;
  }
}

/* ===============================
   FAQ Section
================================ */

.faq-section {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 25px;
  font-weight: 700;
  color: var(--text);
}

.faq-item {
  background: var(--card);
  padding: 18px 22px;
  margin-bottom: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}



/* GRID */
.tools-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:16px;margin-top:18px
}
.tool-card{
background:var(--card);padding:16px;
border-radius:12px;box-shadow:var(--shadow);
text-decoration:none;color:inherit
}

/* DROP ZONE */
.drop-zone{
background:linear-gradient(180deg,#fff,#fbfdff);
padding:26px;border-radius:12px;
border:2px dashed rgba(11,118,255,.12);
text-align:center;cursor:pointer
}
.drop-zone.hover{
background:#eef6ff;border-color:var(--accent)
}

/* RESULTS */
.results-grid{
display:grid;grid-template-columns:repeat(3,1fr);
gap:14px;margin-top:18px
}
@media(max-width:900px){
.results-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
.results-grid{grid-template-columns:1fr}
}

/* RESULT CARD */
.result-card{
background:var(--card);border-radius:14px;
padding:12px;box-shadow:var(--shadow);
display:flex;flex-direction:column;gap:10px
}
.preview{
width:100%;height:160px;
object-fit:cover;border-radius:10px;
background:#f4f7fb
}
.filename{font-weight:700;word-break:break-word}
.btn-download{
background:var(--accent);color:#fff;
padding:8px 12px;border-radius:10px;
font-weight:700;text-decoration:none
}

/* FOOTER */
.site-footer{
background:var(--card);padding:18px;
margin-top:30px;border-radius:12px;
box-shadow:var(--shadow);
text-align:center;color:var(--muted);
font-size:14px;flex-shrink:0
}

/* COMING SOON */
.coming-soon .card{
max-width:740px;margin:28px auto
}
.coming-soon .back-btn{
display:inline-block;padding:10px 16px;
border-radius:10px;
background:var(--accent);color:#fff;
text-decoration:none;font-weight:600;
word-break:break-word
}


/* =========================================
   Intelligent Scroll-To-Top Button
   ========================================= */

.scroll-to-top-btn {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 22px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 26px rgba(0,0,0,0.20);

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
  z-index: 9999;
}

.scroll-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-to-top-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

