.container{
  width:90%;
}

.header h1 {
    font-size: clamp(2rem, 5vw, 2.7rem);
  }

body{
    font-family:'Inter', system-ui;
    background:#f0f2f5;
    font-size:16px;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    min-height:100vh;
    align-items:center;
    width: 100%;
}

a{color:#0078ff;text-decoration:none;}

.header p {
    max-width: 600px;
}



#toolsDiv {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  max-width: 850px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  padding: 20px 18px;
  margin: 0 auto;
}

/* Modern input group layout */
#toolsDiv .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group {
    margin-bottom: 20px;
}

#toolsDiv label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

/* Premium Input Styling */
#toolsDiv .input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #c5c5c5;
    font-size: 15px;
    background: #f0f2f5;
    color: #0f172a;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

#toolsDiv .input::placeholder {
  color: #94a3b8;
}

#toolsDiv .input:focus {
  outline: none;
  background: #ffffff;
  border-color: #0078ff;
  box-shadow: 0 0 0 4px rgba(0, 120, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Premium SaaS Mode Selector Grid */
#toolsDiv .mode-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23%, 1fr));
    gap: 12px;
    margin-top: 2px;
}

#toolsDiv .mode-pills .mode-pill {
    background: #ff5d331f;
    border: 1.5px solid #ff5d33;
    border-radius: 12px;
    padding: 16px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    text-align: left;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

#toolsDiv .mode-pills .mode-pill:active {
  transform: scale(0.985);
}

#toolsDiv .mode-pills .mode-pill:hover:not(.active) {
  border-color: #cbd5e1;
  background: #fafafa;
  color: #1e293b;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Premium active selection style profile */
#toolsDiv .mode-pills .mode-pill.active {
    background: #ff5d33;
    border-color: #ff643a;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 120, 255, 0.08), 0 1px 3px rgba(0, 120, 255, 0.04);
}

#toolsDiv .mode-pills .mode-pill.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0078ff;
  display: none;
}

#toolsDiv .mode-pills .mode-pill.active span {
  color: #ffffff;
  font-weight: 400;
}

/* Description helper text structure within pill elements */
#toolsDiv .mode-pills .mode-pill span {
  font-size: 12px;
  color: #718096;
  font-weight: 400;
  line-height: 1.3;
}

/* Premium Dashboard Trigger Actions Section */
#toolsDiv .action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;

}

#toolsDiv .action-bar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #ff5c32;
  color: #ffffff;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 4px rgba(0, 120, 255, 0.16), 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-sizing: border-box;
}

#toolsDiv .action-bar .btn:hover:not(:disabled) {
  background: #ff5c32;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.24);
}

#toolsDiv .action-bar .btn:active:not(:disabled) {
  transform: translateY(0);
}

#toolsDiv .action-bar .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#toolsDiv .action-bar .btn.ghost {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

#toolsDiv .action-bar .btn.ghost:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#toolsDiv .action-bar #downloadLink {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

#toolsDiv .action-bar #downloadLink:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* TOOL UI */
/*
.input,select{
    padding:12px;border-radius:8px;border:1px solid #d1d5db;
    font-size:15px;width:100%;
}
.btn{
    padding:10px 16px;border:none;border-radius:8px;
    background:#0078ff;color:#fff;cursor:pointer;font-size: 14px;
}
.btn:disabled{opacity:0.6;cursor:not-allowed;}
.btn.ghost{background:#f3f4f6;color:#333;border:1px solid #e5e7eb}
*/
.links-box{
    margin-top:12px;max-height:300px;overflow:auto;
    background:#fafafa;padding:12px;border-radius:8px;
    border:1px solid #e5e7eb;
}
.progress{
    width:100%;background:#e6eefe;border-radius:10px;
    height:8px;overflow:hidden;margin-top:6px;
}
.progress-bar{
    width:0%;height:100%;background:#10b981;
    transition:width .4s ease;
}
.progress-bar {
    width: 0%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #0078ff,
        #0078ff 10px,
        #3399ff 10px,
        #3399ff 20px
    );
    border-radius: 10px;
    transition: width .4s ease;
}

/* Terminal / Log Window Style */
.terminal {
  background: #0f1724;
  color: #e6eef8;
  padding: 12px;
  border-radius: 0 0 8px 8px;
  min-height: 100px;
  max-height: 300px;
  overflow: auto;
  font-family: monospace;
  white-space: pre-wrap;
  margin-top: 0;
  font-size: 13px;
  border: none;
}

.terminal a {
    color: #ffffff;
    text-decoration: none;
}

.terminal a:hover {
    text-decoration: underline;
}

.terminal-line {
    padding: 4px 0;
    border-bottom: 1px solid #2a2a2a;
}

#loadStatus {
    color: #ffd479; /* yellow-ish like terminals */
}

#alldone {
    color: #50fa7b; /* bright green */
    font-weight: 600;
}
a#downloadLink {
    font-size: 14px;
}
footer p.small {
    max-width: 90%;
    margin: 0 auto;
    padding-bottom: 30px;
}

.tool-form-area.container {
    margin: 25px auto auto auto;
    max-width:820px;
    background:#fff; border-radius:12px; padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

a,button,.btn-primary{transition: all 0.3s;}
textarea{width:100%;min-height:160px;padding:12px;border:1px solid #ddd;border-radius:8px;background:#fbfbfd;}
.btn{padding:12px 24px;border:none;border-radius:10px;cursor:pointer;font-weight:600}
.btn:hover{background:#ff5c35;}
.primary{background:#ff5c32;color:#fff;font-size: 16px;}
.ghost{background:#fff;border:1px solid #ddd}
.cancel{background:#ff4d4f;color:#fff}
.log{background:#0f1724;color:#e6eef8;padding:12px;border-radius:0 0 8px 8px;min-height:220px;max-height:350px;overflow:auto;font-family:monospace;white-space:pre-wrap;margin-top:0;}
footer a{text-decoration: none;}
.percent{font-weight:bold;margin-left:6px;}
a{color: #ff5c32;}
.unlink a,footer a:hover {text-decoration: underline;text-decoration-thickness: 1px;text-underline-offset: .2em;
}

.unlink a:hover{text-decoration: none;}
.tip-ins span{color:#ff5c35;}
.tool-content { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color:#222; max-width:850px; margin:28px auto; padding:0 18px; line-height:1.65; }
  h1 { font-size:28px; margin:0 0 20px; color:#0f1724; text-align: center;}
  h1 span{color:#ff5c32;}
  .tool-content .lede { font-size:16px; color:#444; margin-bottom:18px; }
  .features { display:grid;  grid-template-columns: repeat(2, 1fr);gap:12px; margin:18px 0 24px; }
  .feature { background:#fff; border:1px solid #e7e9ee; padding:14px; border-radius:10px; box-shadow:0 2px 8px rgba(15,23,36,0.03); }
  .feature h3 { margin:0 0 6px; font-size:16px; color:#222222; }
  .feature p { margin:0; color:#444; font-size:14px; }
  .howto {
      background: #fef0c7;
      margin: 40px 0;
      padding: 20px;
      border-radius: 10px;
      border: 1px dashed #f6c95b;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }
  .howto ol { padding-left:20px; margin:8px 0; }
  .cta { margin:20px 0; display:flex;flex-direction: column; gap:12px; align-items:center; flex-wrap:wrap;text-align: center;}
  .btn-primary { background:#ff5c32; color:#fff; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:600; }
  .small { font-size:13px; color:#666; }
  .faq { margin-top:60px; background: #ffffff; padding: 20px; border-radius: 10px; border: 1px solid #eef2ff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); }
  .content-box { margin-top:0px; background: #ffffff; padding: 20px; border-radius: 10px; border: 1px solid #d8d8d8; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);line-height: 1.8em;}

  h2#faq-title { font-size: 26px;margin-top:0;margin-bottom: 26px;}
  .faq h4 { margin:14px 0 6px; font-size:16px; color:#0f1724; }
  .faq p { margin:0 0 10px; color:#444; }
  .howto ol li {margin-bottom: 8px;}
  .howto ol li:last-child {margin-bottom: 0;}
  .content-box  ul {  padding-left: 16px;}
  .content-box  ul li {margin-bottom: 5px;}
  .content-box  ul li:last-child {margin-bottom: 0;}
  article.faq p {  padding-bottom: 15px;}
  article.faq p:last-child {  padding-bottom: 15px;}
  .content-box  h2{
    margin-top: 46px;
  }
  .content-box  h2:first-child{
    margin-top: 0px;
  }



h2,h4,h3,strong{font-weight: 600;}
footer .small {  width: 90%;  margin: 0 auto;padding-bottom: 30px;
}

.conversion-stat {
    color: white;
    margin-top: 50px;
    text-align: center;
    background: #283f4d;
    backdrop-filter: blur(10px);
    color: white;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.3);
    letter-spacing: .4px;
    font-weight: 400;
}


.conversion-stat {

}
.terminal-header {
    background: #1f2937;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    border-radius: 8px 8px 0 0;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}


.features>div{
  border: 1px solid #e0e0e0;
}
.features>div:nth-child(1){
  background: #ddecfa;
}

.features>div:nth-child(2){
  background: #ecfdf3;
}

.features>div:nth-child(3){
  background: #fde6e4;
}

.features>div:nth-child(4){
  background: #fff7ef;
}




  @media (max-width:767px){ .tool-content h1 { font-size:22px }


   h1 {font-size: 24px;}
   h2 {font-size: 20px;  line-height: 1.4em;}
   }
   .container {width: 90%;}
