:root{
  --orange:#ff7900;
  --yellow:#fada01;
  --navy:#111827;
  --cream:#fffaf3;
  --white:#ffffff;
  --card:#fffaf5;
  --border:#fed7aa;
  --text:#111827;
  --muted:#4b5563;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--cream);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit}

.whl-header{
  background:var(--navy);
  color:#fff;
  padding:15px 6%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  box-shadow:0 10px 28px rgba(17,24,39,.18);
}

.whl-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:26px;
  font-weight:900;
  letter-spacing:-.6px;
  text-decoration:none;
  color:#fff;
  white-space:nowrap;
}

.whl-logo:before{
  content:"✦";
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--yellow),var(--orange));
  color:#111827;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 26px rgba(255,121,0,.35);
  font-size:20px;
  flex:0 0 auto;
}

.whl-logo span{color:#fff}

.whl-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.whl-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
}

.whl-nav a:hover{
  background:rgba(255,121,0,.16);
  color:var(--orange);
}

.whl-top-badge{
  background:var(--orange);
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  margin-left:6px;
}

.whl-dark-toggle{
  background:var(--orange);
  color:#fff;
  border:0;
  border-radius:999px;
  padding:8px 13px;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}

.whl-hero{
  background:var(--cream);
  color:var(--text);
  padding:64px 6% 52px;
}

.whl-hero-inner{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:center;
}

.whl-badge{
  display:inline-block;
  background:#fff;
  border:1px solid #d8c9ff;
  color:#6d28d9;
  padding:10px 16px;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  margin-bottom:22px;
  box-shadow:0 10px 24px rgba(17,24,39,.05);
}

.whl-hero h1{
  font-size:clamp(42px,6vw,68px);
  line-height:1.08;
  margin:0 0 22px;
  color:var(--navy);
  letter-spacing:-1.7px;
}

.whl-hero h1 span{
  color:var(--orange);
}

.whl-hero p{
  font-size:20px;
  max-width:760px;
  line-height:1.75;
  color:#1f2937;
  margin:0 0 28px;
}

.whl-search-wrap{
  margin-top:26px;
  max-width:760px;
}

.whl-search{
  width:100%;
  padding:18px 22px;
  border-radius:999px;
  border:1px solid rgba(255,121,0,.28);
  font-size:17px;
  background:#fff;
  color:#172033;
  box-shadow:0 14px 34px rgba(17,24,39,.08);
  outline:none;
}

.whl-search:focus{
  border-color:var(--orange);
  box-shadow:0 18px 44px rgba(255,121,0,.18);
}

.whl-hero-card{
  background:var(--navy);
  color:#fff;
  border-radius:34px;
  padding:28px;
  min-height:390px;
  position:relative;
  overflow:hidden;
  box-shadow:0 28px 70px rgba(17,24,39,.15);
}

.whl-hero-card:before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  background:rgba(255,121,0,.24);
  border-radius:50%;
  top:-80px;
  right:-80px;
}

.whl-hero-card:after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  background:rgba(250,218,1,.18);
  border-radius:50%;
  bottom:-70px;
  left:-70px;
}

.whl-hero-tiles{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:26px;
}

.whl-hero-tiles div{
  height:82px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.13);
}

.whl-hero-tiles div:nth-child(2){background:rgba(255,121,0,.35)}
.whl-hero-tiles div:nth-child(5){background:rgba(124,58,237,.35)}
.whl-hero-tiles div:nth-child(8){background:rgba(34,197,94,.25)}

.whl-hero-card h2{
  position:relative;
  z-index:2;
  margin:0 0 12px;
  font-size:32px;
  color:#fff;
}

.whl-hero-card p{
  position:relative;
  z-index:2;
  color:#fff;
  font-size:17px;
  margin:0;
}

.whl-wrap{
  padding:42px 6%;
  max-width:1220px;
  margin:auto;
}

.whl-category{
  margin-bottom:46px;
}

.whl-section-title{
  font-size:34px;
  margin:0 0 24px;
  line-height:1.2;
  color:var(--navy);
}

.whl-tool-count{
  display:inline-block;
  background:var(--orange);
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  margin-left:12px;
  vertical-align:middle;
}

.whl-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.whl-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:28px;
  padding:28px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  min-height:208px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  transition:.25s ease;
}

.whl-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 44px rgba(17,24,39,.12);
}

.whl-card h2{
  margin:0 0 18px;
  font-size:24px;
  line-height:1.25;
  color:var(--navy);
}

.whl-card p{
  flex:1;
  font-size:17px;
  line-height:1.7;
  margin:0 0 22px;
  color:#4b5563;
}

button,
.whl-btn{
  background:var(--orange);
  color:#fff;
  border:0;
  border-radius:16px;
  padding:14px 20px;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}

.whl-card .whl-btn{
  background:transparent;
  color:var(--orange);
  padding:0;
  border-radius:0;
  font-weight:900;
}

.whl-card .whl-btn::after{
  content:" →";
}

input,textarea,select{
  width:100%;
  padding:15px;
  border:1px solid #d0d5dd;
  border-radius:14px;
  font-size:16px;
}

textarea{font-family:Consolas,monospace}

.whl-hidden{display:none!important}

.whl-mini-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.whl-mini-btn{
  background:var(--navy);
  color:#fff;
  border:0;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.whl-related-tools{
  margin:60px auto 0;
  max-width:1100px;
  padding:30px 20px 0;
  border-top:1px solid rgba(17,24,39,.08);
}

.whl-related-tools h2{
  margin:0 0 20px;
  font-size:30px;
  color:var(--navy);
}

.whl-related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}

.whl-related-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  padding:20px;
  transition:.2s;
}

.whl-related-card:hover{
  transform:translateY(-4px);
}

.whl-related-card a{
  color:var(--navy);
  text-decoration:none;
  font-weight:900;
  display:block;
  margin-bottom:8px;
}

.whl-related-card p{
  color:#4b5563;
  font-size:14px;
  line-height:1.6;
  margin:0;
}

.tool-howto-section,
.tool-faq-section{
  max-width:1100px;
  margin:34px auto;
  padding:28px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:0 12px 34px rgba(15,23,42,.07);
}

.tool-howto-section h2,
.tool-faq-section h2{
  margin:0 0 18px;
  color:var(--navy);
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.03em;
}

.tool-howto-section ol{
  margin:0;
  padding-left:22px;
  color:#334155;
  line-height:1.8;
  font-weight:650;
}

.tool-howto-section li::marker{
  color:var(--orange);
  font-weight:900;
}

.tool-faq-item{
  padding:18px 0;
  border-top:1px solid #f1d6b7;
}

.tool-faq-item:first-of-type{border-top:0}

.tool-faq-item h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:20px;
}

.tool-faq-item p{
  margin:0;
  color:#475569;
  line-height:1.7;
}

.whl-authority-section{
  padding:70px 20px;
}

.whl-authority-wrap{
  max-width:1200px;
  margin:0 auto;
}

.whl-authority-section h2{
  text-align:center;
  font-size:clamp(30px,4vw,48px);
  margin-bottom:18px;
  color:var(--navy);
}

.whl-authority-intro{
  text-align:center;
  max-width:860px;
  margin:0 auto 40px;
  color:#475569;
  font-size:18px;
  line-height:1.8;
}

.whl-authority-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.whl-authority-card,
.whl-category-authority{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:28px;
  padding:28px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.whl-authority-card h3,
.whl-category-authority h2{
  margin:0 0 12px;
  color:var(--orange);
  font-size:22px;
}

.whl-authority-card p,
.whl-category-authority p{
  margin:0;
  color:#475569;
  line-height:1.7;
}

.whl-footer{
  background:var(--navy);
  color:#fff;
  text-align:center;
  padding:48px 6% 44px;
  margin-top:50px;
}

.whl-footer h2{
  color:#fff;
  font-size:26px;
  margin:0 0 18px;
}

.whl-footer a{
  color:var(--yellow);
  font-weight:900;
  text-decoration:none;
}

.whl-footer a:hover{
  color:var(--orange);
  text-decoration:underline;
}

.whl-footer-categories,
.whl-ecosystem{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 18px;
  margin:0 auto 22px;
}

.whl-footer-categories a,
.whl-ecosystem a{
  color:var(--yellow);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(250,218,1,.25);
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
}

.whl-footer-small{
  margin-top:16px;
  color:#ffffff;
  font-size:15px;
}

body.whl-dark{
  background:#071526;
  color:#f8fafc;
}

body.whl-dark .whl-card,
body.whl-dark .tool-howto-section,
body.whl-dark .tool-faq-section,
body.whl-dark .whl-authority-card,
body.whl-dark .whl-category-authority{
  background:#111827;
  border-color:#263244;
  color:#f8fafc;
}

body.whl-dark .whl-card p,
body.whl-dark .tool-howto-section ol,
body.whl-dark .tool-faq-item p,
body.whl-dark .whl-authority-intro,
body.whl-dark .whl-authority-card p{
  color:#cbd5e1;
}

body.whl-dark .whl-section-title,
body.whl-dark .tool-howto-section h2,
body.whl-dark .tool-faq-section h2,
body.whl-dark .tool-faq-item h3{
  color:#ffffff;
}

body.whl-dark input,
body.whl-dark textarea,
body.whl-dark select{
  background:#0b1728;
  color:#fff;
  border-color:#334155;
}

@media(max-width:1000px){
  .whl-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:760px){
  .whl-header{
    display:block;
    padding:16px 20px;
  }

  .whl-nav{
    margin-top:14px;
    justify-content:flex-start;
  }

  .whl-nav a{
    display:inline-block;
    margin:0;
  }

  .whl-hero{
    padding:42px 20px;
  }

  .whl-hero h1{
    font-size:38px;
  }

  .whl-wrap{
    padding:34px 20px;
  }

  .whl-grid{
    grid-template-columns:1fr;
  }

  .whl-section-title{
    font-size:30px;
  }

  .whl-card{
    min-height:auto;
  }

  .tool-howto-section,
  .tool-faq-section{
    margin:24px 14px;
    padding:22px;
    border-radius:18px;
  }
}

/* ===== WEBHOSTLAB TOOLS MEGA MENU - CLEAN SECTION ===== */
.whl-mega-header{
  position:sticky;
  top:0;
  z-index:9999;
}

.whl-mega-toggle{
  display:none;
}

.whl-mega-item{
  position:relative;
}

.whl-mega-trigger{
  background:rgba(255,121,0,.16)!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  min-height:auto!important;
  font-size:14px!important;
  font-weight:900!important;
  cursor:pointer;
}

.whl-mega-trigger:hover{
  color:var(--orange)!important;
}

.whl-mega-panel{
  position:absolute;
  top:44px;
  right:0;
  width:min(1040px,92vw);
  background:#fffaf5;
  color:#111827;
  border:1px solid #fed7aa;
  border-radius:28px;
  box-shadow:0 30px 80px rgba(17,24,39,.22);
  padding:24px;
  display:none;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  z-index:10000;
}

.whl-mega-item:hover .whl-mega-panel,
.whl-mega-panel.whl-mega-open{
  display:grid;
}

.whl-mega-col{
  background:#fff;
  border:1px solid #fed7aa;
  border-radius:20px;
  padding:18px;
  min-width:0;
}

.whl-mega-col h3{
  margin:0 0 12px;
  font-size:17px;
  color:#ff7900;
  letter-spacing:-.02em;
}

.whl-mega-col a{
  display:block!important;
  color:#111827!important;
  background:transparent!important;
  padding:8px 0!important;
  border-radius:0!important;
  font-size:14px!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:normal!important;
}

.whl-mega-col a:hover{
  color:#ff7900!important;
  text-decoration:underline!important;
}

.whl-mega-ecosystem{
  background:#111827;
  border-color:#111827;
}

.whl-mega-ecosystem h3{
  color:#fada01;
}

.whl-mega-ecosystem a{
  color:#fff!important;
}

.whl-mega-ecosystem a:hover{
  color:#fada01!important;
}

@media(max-width:980px){
  .whl-mega-toggle{
    display:inline-flex!important;
    width:48px!important;
    height:48px!important;
    background:#ff7900!important;
    color:#fff!important;
    border:3px solid #fff!important;
    border-radius:14px!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:24px!important;
    font-weight:900!important;
    cursor:pointer!important;
  }

  .whl-mega-header{
    align-items:center!important;
  }

  .whl-mega-nav{
    display:none!important;
    position:absolute!important;
    top:78px!important;
    left:14px!important;
    right:14px!important;
    background:#111827!important;
    border:1px solid rgba(255,121,0,.35)!important;
    border-radius:22px!important;
    padding:16px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    box-shadow:0 24px 60px rgba(0,0,0,.35)!important;
  }

  .whl-mega-nav.whl-mobile-open{
    display:flex!important;
  }

  .whl-mega-nav > a,
  .whl-mega-nav > button,
  .whl-mega-nav > span{
    width:100%!important;
    text-align:left!important;
    margin:0!important;
  }

  .whl-mega-item{
    width:100%!important;
  }

  .whl-mega-trigger{
    width:100%!important;
    text-align:left!important;
    padding:13px 14px!important;
    border-radius:14px!important;
  }

  .whl-mega-panel{
    position:static!important;
    width:100%!important;
    margin-top:10px!important;
    display:none!important;
    grid-template-columns:1fr!important;
    padding:12px!important;
    border-radius:18px!important;
    box-shadow:none!important;
  }

  .whl-mega-panel.whl-mega-open{
    display:grid!important;
  }

  .whl-mega-item:hover .whl-mega-panel{
    display:none;
  }

  .whl-mega-item:hover .whl-mega-panel.whl-mega-open{
    display:grid!important;
  }
}

/* WHL Shared Tool SEO Upgrade */
.whl-faq-section,.whl-howto-section,.whl-related-tools{
  max-width:1180px;
  margin:34px auto;
  padding:26px;
  background:linear-gradient(135deg,#fff7ed,#fff);
  border:1px solid #fed7aa;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(7,21,38,.05);
}
.whl-faq-section h2,.whl-howto-section h2,.whl-related-tools h2{
  color:#071526;
  font-size:28px;
  margin-top:0;
}
.whl-faq-item,.whl-howto-step{
  background:#fff;
  border-left:6px solid #ff7900;
  border-radius:16px;
  padding:18px 20px;
  margin:14px 0;
  box-shadow:0 10px 25px rgba(7,21,38,.06);
}
.whl-faq-item h3,.whl-howto-step h3{
  margin:0 0 10px;
  color:#071526;
}
.whl-related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:16px;
}
.whl-related-card{
  display:block;
  background:#fff;
  border:1px solid #fdba74;
  border-radius:18px;
  padding:20px;
  color:#071526;
  text-decoration:none;
  box-shadow:0 12px 30px rgba(7,21,38,.05);
}
.whl-related-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(255,122,0,.14);
}
.whl-footer,.whl-ecosystem{
  background:#071526!important;
  color:#fff!important;
}
.whl-ecosystem a{
  color:#ffe600!important;
  font-weight:900;
}
@media(max-width:760px){
  .whl-faq-section,.whl-howto-section,.whl-related-tools{
    margin:24px 12px;
    padding:20px 14px;
    border-radius:20px;
  }
  .whl-related-grid{
    grid-template-columns:1fr;
  }
}

/* WHL Batch 1 Small Tool UX */
.whl-tool-panel{
  max-width:1180px;
  margin:28px auto;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:26px;
  box-shadow:0 18px 45px rgba(7,21,38,.06);
}
.whl-tool-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.whl-tool-panel textarea,
.whl-tool-panel input,
.whl-tool-panel select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d1d5db;
  border-radius:16px;
  padding:14px;
  font-size:15px;
  outline:none;
  background:#fff;
}
.whl-tool-panel textarea:focus,
.whl-tool-panel input:focus{
  border-color:#ff7900;
  box-shadow:0 0 0 4px rgba(255,121,0,.12);
}
.whl-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:16px 0;
}
.whl-actions button,
.whl-tool-panel button{
  border:0;
  border-radius:14px;
  padding:13px 18px;
  font-weight:900;
  cursor:pointer;
  background:#ff7900;
  color:#fff;
  box-shadow:0 10px 24px rgba(255,121,0,.22);
}
.whl-actions button.secondary,
.whl-tool-panel button.secondary{
  background:#071526;
}
.whl-status{
  margin:12px 0;
  padding:12px 14px;
  border-left:5px solid #ff7900;
  background:#fff7ed;
  border-radius:14px;
  font-weight:800;
  color:#071526;
}
@media(max-width:800px){
  .whl-tool-panel{
    margin:22px 12px;
    padding:18px 14px;
  }
  .whl-tool-grid{
    grid-template-columns:1fr;
  }
  .whl-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .whl-actions button,
  .whl-tool-panel button{
    width:100%;
  }
}
