/* =====================================================
   FREE ONLINE TEXT EDITOR
   UNDERLINE TEXT GENERATOR
   PART 1
===================================================== */

.fote-underline-page{

  --fote-underline-primary:#5b6ff5;
  --fote-underline-secondary:#7c3aed;
  --fote-underline-dark:#111827;
  --fote-underline-text:#4b5563;
  --fote-underline-muted:#6b7280;
  --fote-underline-border:#e5e7eb;
  --fote-underline-soft:#f7f8fc;
  --fote-underline-white:#ffffff;
  --fote-underline-success:#16a34a;
  --fote-underline-shadow:0 18px 50px rgba(15,23,42,.09);

  width:100%;
  overflow:hidden;
  background:var(--fote-underline-soft);
  color:var(--fote-underline-text);
  font-family:Inter,Arial,sans-serif;

}

.fote-underline-page *,
.fote-underline-page *:before,
.fote-underline-page *:after{

  box-sizing:border-box;

}

.fote-underline-container{

  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 22px;

}

/* ===================================
   HERO
=================================== */

.fote-underline-hero{

  max-width:1180px;
  margin:28px auto 0;
  padding:78px 20px;
  text-align:center;
  color:#fff;

  background:
      radial-gradient(
          circle at 15% 20%,
          rgba(255,255,255,.16),
          transparent 28%
      ),
      linear-gradient(
          135deg,
          var(--fote-underline-primary),
          var(--fote-underline-secondary)
      );

}

.fote-underline-hero .fote-underline-container{

  max-width:850px;

}

.fote-underline-badge,
.fote-underline-section-label{

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:8px 15px;

  border-radius:999px;

  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;

}

.fote-underline-badge{

  margin-bottom:20px;

  color:#fff;

  background:rgba(255,255,255,.15);

  border:1px solid rgba(255,255,255,.25);

}

.fote-underline-hero h1{

  margin:0 0 18px;

  color:#fff !important;

  font-size:52px;

  line-height:1.12;

  font-weight:800;

}

.fote-underline-hero p{

  max-width:760px;

  margin:0 auto;

  color:#eef2ff !important;

  font-size:18px;

  line-height:1.8;

}

.fote-underline-hero-btn{

  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:50px;

  margin-top:28px;

  padding:13px 26px;

  color:#6d3ddb !important;

  background:#fff;

  border-radius:999px;

  text-decoration:none !important;

  font-size:15px;

  font-weight:800;

  box-shadow:0 10px 28px rgba(15,23,42,.15);

  transition:.25s ease;

}

.fote-underline-hero-btn:hover{

  transform:translateY(-3px);

  box-shadow:0 16px 34px rgba(15,23,42,.22);

}

/* ===================================
   GENERATOR
=================================== */

.fote-underline-generator-section{

  padding:52px 0 28px;

}

.fote-underline-generator-box{

  padding:36px;

  background:#fff;

  border:1px solid var(--fote-underline-border);

  border-radius:18px;

  box-shadow:var(--fote-underline-shadow);

}

.fote-underline-generator-header{

  display:flex;

  align-items:flex-start;

  justify-content:space-between;

  gap:25px;

  margin-bottom:28px;

}

.fote-underline-section-label{

  margin-bottom:13px;

  color:var(--fote-underline-secondary);

  background:#f2efff;

}

.fote-underline-generator-header h2{

  margin:0 0 14px;

  color:var(--fote-underline-dark);

  font-size:34px;

  line-height:1.25;

  font-weight:800;

}

.fote-underline-generator-header p{

  max-width:700px;

  margin:0;

  color:var(--fote-underline-muted);

  line-height:1.75;

}

.fote-underline-status{

  display:inline-flex;

  align-items:center;

  gap:8px;

  padding:10px 14px;

  background:#ecfdf3;

  color:#166534;

  border:1px solid #bbf7d0;

  border-radius:999px;

  font-size:13px;

  font-weight:700;

}

.fote-underline-status span{

  width:9px;
  height:9px;

  border-radius:50%;

  background:#22c55e;

}

/* ===================================
   INPUT / OUTPUT
=================================== */

.fote-underline-text-grid{

  display:grid;

  grid-template-columns:repeat(2,minmax(0,1fr));

  gap:22px;

}

.fote-underline-field{

  min-width:0;

}

.fote-underline-field-top{

  display:flex;

  justify-content:space-between;

  align-items:center;

  margin-bottom:9px;

}

.fote-underline-field-top label{

  color:var(--fote-underline-dark);

  font-size:15px;

  font-weight:800;

}

.fote-underline-field-top span{

  color:var(--fote-underline-muted);

  font-size:12px;

  font-weight:700;

}

.fote-underline-field textarea{

  width:100%;

  min-height:250px;

  resize:vertical;

  padding:18px;

  border:1px solid #d1d5db;

  border-radius:13px;

  background:#fff;

  color:#111827;

  outline:none;

  font-family:Inter,Arial,sans-serif;

  font-size:16px;

  line-height:1.7;

  transition:.25s;

}

.fote-underline-field textarea:focus{

  border-color:var(--fote-underline-primary);

  box-shadow:0 0 0 4px rgba(91,111,245,.12);

}

#foteUnderlineText{

  background:#fafaff;

  color:#111827;

  font-size:18px;

}

/* ===================================
   BUTTONS
=================================== */

.fote-underline-actions{

  display:flex;

  align-items:center;

  gap:12px;

  flex-wrap:wrap;

  margin-top:20px;

}

.fote-underline-actions button{

  min-height:47px;

  padding:12px 20px;

  border:0;

  border-radius:10px;

  cursor:pointer;

  font-size:14px;

  font-weight:800;

  transition:.25s;

}

.fote-underline-copy-btn{

  color:#fff;

  background:linear-gradient(
      135deg,
      var(--fote-underline-primary),
      var(--fote-underline-secondary)
  );

  box-shadow:0 10px 24px rgba(91,111,245,.20);

}

.fote-underline-copy-btn:hover{

  transform:translateY(-2px);

}

.fote-underline-clear-btn{

  background:#f3f4f6;

  color:#374151;

  border:1px solid #e5e7eb !important;

}

.fote-underline-clear-btn:hover{

  background:#e5e7eb;

}

.fote-underline-copy-message{

  min-height:20px;

  color:var(--fote-underline-success);

  font-size:13px;

  font-weight:700;

}
/* =====================================================
   PART 2
   BENEFITS + HOW IT WORKS
===================================================== */

/* ===========================
   GENERIC SECTION
=========================== */

.fote-underline-section{
  padding:72px 0;
  background:#ffffff;
}

.fote-underline-heading{
  max-width:820px;
  margin:0 auto 38px;
  text-align:center;
}

.fote-underline-heading h2{
  margin:0 0 16px;
  color:var(--fote-underline-dark);
  font-size:36px;
  line-height:1.25;
  letter-spacing:-.5px;
  font-weight:800;
}

.fote-underline-heading p{
  max-width:720px;
  margin:0 auto;
  color:var(--fote-underline-muted);
  font-size:16px;
  line-height:1.8;
}

/* ===========================
   BENEFIT GRID
=========================== */

.fote-underline-benefit-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.fote-underline-benefit-card{
  padding:32px 26px;
  text-align:center;
  background:#ffffff;
  border:1px solid var(--fote-underline-border);
  border-radius:16px;
  box-shadow:0 10px 30px rgba(15,23,42,.07);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.fote-underline-benefit-card:hover{

  transform:translateY(-6px);

  border-color:#d8d4ff;

  box-shadow:0 18px 42px rgba(15,23,42,.12);

}

.fote-underline-card-icon{

  width:62px;
  height:62px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin:0 auto 18px;

  color:#ffffff;

  background:linear-gradient(
      135deg,
      var(--fote-underline-primary),
      var(--fote-underline-secondary)
  );

  border-radius:18px;

  font-size:28px;

}

.fote-underline-benefit-card h3{

  margin:0 0 12px;

  color:var(--fote-underline-dark);

  font-size:20px;

  font-weight:800;

}

.fote-underline-benefit-card p{

  margin:0;

  color:var(--fote-underline-muted);

  font-size:14px;

  line-height:1.75;

}

/* ===========================
   HOW SECTION
=========================== */

.fote-underline-how{

  max-width:1180px;

  margin:0 auto;

  padding:72px 20px;

  color:#ffffff;

  background:
      radial-gradient(
          circle at 15% 20%,
          rgba(255,255,255,.16),
          transparent 28%
      ),
      linear-gradient(
          135deg,
          var(--fote-underline-primary),
          var(--fote-underline-secondary)
      );

}

.fote-underline-heading-light h2{

  color:#ffffff !important;

}

.fote-underline-heading-light p{

  color:#f3f4ff !important;

}

.fote-underline-label-light{

  color:#ffffff;

  background:rgba(255,255,255,.16);

  border:1px solid rgba(255,255,255,.22);

}

/* ===========================
   STEP GRID
=========================== */

.fote-underline-step-grid{

  display:grid;

  grid-template-columns:repeat(3,minmax(0,1fr));

  gap:22px;

}

.fote-underline-step-card{

  position:relative;

  overflow:hidden;

  padding:34px 26px;

  color:#111827;

  background:#ffffff;

  border-radius:16px;

  box-shadow:0 12px 30px rgba(15,23,42,.14);

  transition:
      transform .25s ease,
      box-shadow .25s ease;

}

.fote-underline-step-card:hover{

  transform:translateY(-6px);

  box-shadow:0 18px 40px rgba(15,23,42,.18);

}

.fote-underline-step-number{

  position:absolute;

  top:18px;

  right:20px;

  color:#ecebff;

  font-size:38px;

  line-height:1;

  font-weight:900;

}

.fote-underline-step-card h3{

  position:relative;

  margin:0 0 12px;

  color:#111827;

  font-size:20px;

  font-weight:800;

}

.fote-underline-step-card p{

  position:relative;

  margin:0;

  color:#6b7280;

  font-size:14px;

  line-height:1.75;

}

/* ===========================
   TABLET
=========================== */

@media(max-width:980px){

  .fote-underline-benefit-grid{

      grid-template-columns:repeat(2,minmax(0,1fr));

  }

  .fote-underline-step-grid{

      grid-template-columns:repeat(2,minmax(0,1fr));

  }

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:700px){

  .fote-underline-section{

      padding:56px 0;

  }

  .fote-underline-how{

      padding:58px 15px;

  }

  .fote-underline-heading h2{

      font-size:28px;

  }

  .fote-underline-benefit-grid{

      grid-template-columns:1fr;

  }

  .fote-underline-step-grid{

      grid-template-columns:1fr;

  }

}
/* =====================================================
   PART 3
   CONTENT + USE CASES + RELATED TOOLS
===================================================== */

/* ===========================
   CONTENT SECTION
=========================== */

.fote-underline-content-section{
  padding:72px 0;
  background:var(--fote-underline-soft);
}

.fote-underline-content-card{
  padding:48px;
  background:#ffffff;
  border:1px solid var(--fote-underline-border);
  border-radius:18px;
  box-shadow:var(--fote-underline-shadow);
}

.fote-underline-content-card h2{
  margin:38px 0 16px;
  color:var(--fote-underline-dark);
  font-size:30px;
  line-height:1.3;
  letter-spacing:-.4px;
  font-weight:800;
}

.fote-underline-content-card h2:first-of-type{
  margin-top:0;
}

.fote-underline-content-card p{
  margin:0 0 16px;
  color:var(--fote-underline-text);
  font-size:16px;
  line-height:1.85;
}

/* ===========================
   USE CASE GRID
=========================== */

.fote-underline-use-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px 18px;
  margin:25px 0 34px;
}

.fote-underline-use-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 15px;
  color:#374151;
  background:#f9fafb;
  border:1px solid var(--fote-underline-border);
  border-radius:11px;
  font-size:14px;
  font-weight:700;
}

.fote-underline-use-item span{
  flex:0 0 24px;
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  background:linear-gradient(
    135deg,
    var(--fote-underline-primary),
    var(--fote-underline-secondary)
  );
  border-radius:50%;
  font-size:12px;
  font-weight:800;
}

/* ===========================
   NOTE BOX
=========================== */

.fote-underline-note{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-top:24px;
  padding:20px;
  background:#fff8e7;
  border:1px solid #f8dda0;
  border-left:5px solid #f59e0b;
  border-radius:12px;
}

.fote-underline-note-icon{
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  background:#f59e0b;
  border-radius:50%;
  font-family:Georgia,serif;
  font-size:20px;
  font-weight:800;
}

.fote-underline-note p{
  margin:0;
  color:#78350f;
  font-size:14px;
  line-height:1.75;
}

/* ===========================
   RELATED TOOLS
=========================== */

.fote-underline-tools-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}

.fote-underline-tool-card{
  display:block;
  padding:27px 22px;
  color:#111827;
  background:#ffffff;
  border:1px solid var(--fote-underline-border);
  border-top:5px solid var(--fote-underline-primary);
  border-radius:14px;
  box-shadow:0 9px 27px rgba(15,23,42,.07);
  text-align:center;
  text-decoration:none !important;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.fote-underline-tool-card:hover{
  transform:translateY(-5px);
  border-color:#d7d3ff;
  box-shadow:0 17px 37px rgba(15,23,42,.11);
}

.fote-underline-tool-card > span{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  color:#ffffff;
  background:linear-gradient(
    135deg,
    var(--fote-underline-primary),
    var(--fote-underline-secondary)
  );
  border-radius:15px;
  font-size:21px;
  font-weight:800;
}

.fote-underline-tool-card strong{
  display:block;
  margin-bottom:9px;
  color:#111827;
  font-size:17px;
  font-weight:800;
}

.fote-underline-tool-card p{
  margin:0;
  color:#6b7280;
  font-size:13px;
  line-height:1.65;
}

/* ===========================
   TABLET
=========================== */

@media(max-width:980px){

  .fote-underline-tools-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:700px){

  .fote-underline-content-section{
    padding:56px 0;
  }

  .fote-underline-content-card{
    padding:30px 22px;
    border-radius:14px;
  }

  .fote-underline-content-card h2{
    font-size:25px;
  }

  .fote-underline-use-grid{
    grid-template-columns:1fr;
  }

  .fote-underline-tools-grid{
    grid-template-columns:1fr;
  }

  .fote-underline-note{
    flex-direction:column;
  }

}
/* =====================================================
   PART 4
   FAQ + CTA + FINAL RESPONSIVE
===================================================== */

/* ===========================
   FAQ SECTION
=========================== */

.fote-underline-faq-section{
    padding:72px 0;
    background:var(--fote-underline-soft);
}

.fote-underline-faq{
    max-width:850px;
    margin:0 auto;
}

.fote-underline-faq-item{
    margin-bottom:14px;
    overflow:hidden;
    background:#ffffff;
    border:1px solid var(--fote-underline-border);
    border-radius:14px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
    transition:.25s ease;
}

.fote-underline-faq-item:hover{
    box-shadow:0 12px 30px rgba(15,23,42,.10);
}

.fote-underline-faq-item > button{

    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    padding:20px 22px;

    background:transparent;

    border:0;

    cursor:pointer;

    text-align:left;

    color:#111827;

    font-size:16px;

    font-weight:700;

}

.fote-underline-faq-item > button span{

    flex:0 0 32px;

    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    color:#ffffff;

    background:linear-gradient(
        135deg,
        var(--fote-underline-primary),
        var(--fote-underline-secondary)
    );

    font-size:20px;

    transition:.25s ease;

}

.fote-underline-faq-answer{

    display:none;

    padding:0 22px 22px;

}

.fote-underline-faq-answer p{

    margin:0;

    color:var(--fote-underline-muted);

    font-size:15px;

    line-height:1.85;

}

.fote-underline-faq-item.active .fote-underline-faq-answer{

    display:block;

}

.fote-underline-faq-item.active button span{

    transform:rotate(45deg);

}

/* ===========================
   CTA SECTION
=========================== */

.fote-underline-cta{

    max-width:1180px;

    margin:0 auto 50px;

    padding:78px 20px;

    text-align:center;

    color:#ffffff;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--fote-underline-primary),
            var(--fote-underline-secondary)
        );

}

.fote-underline-cta h2{

    margin:0 0 18px;

    color:#ffffff !important;

    font-size:40px;

    line-height:1.2;

    font-weight:800;

}

.fote-underline-cta p{

    max-width:720px;

    margin:0 auto 30px;

    color:#eef2ff;

    font-size:17px;

    line-height:1.8;

}

.fote-underline-cta a{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-height:50px;

    padding:14px 28px;

    color:#6d3ddb !important;

    background:#ffffff;

    border-radius:999px;

    text-decoration:none !important;

    font-size:15px;

    font-weight:800;

    box-shadow:0 10px 28px rgba(15,23,42,.15);

    transition:.25s ease;

}

.fote-underline-cta a:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 36px rgba(15,23,42,.20);

}

/* ===========================
   TABLET
=========================== */

@media(max-width:980px){

    .fote-underline-generator-header{

        flex-direction:column;

    }

    .fote-underline-status{

        align-self:flex-start;

    }

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:700px){

    .fote-underline-container{

        padding:0 15px;

    }

    .fote-underline-hero{

        margin-top:0;

        padding:58px 12px;

    }

    .fote-underline-hero h1{

        font-size:36px;

    }

    .fote-underline-hero p{

        font-size:16px;

    }

    .fote-underline-generator-section{

        padding-top:30px;

    }

    .fote-underline-generator-box{

        padding:24px 20px;

        border-radius:14px;

    }

    .fote-underline-generator-header h2{

        font-size:28px;

    }

    .fote-underline-text-grid{

        grid-template-columns:1fr;

    }

    .fote-underline-field textarea{

        min-height:210px;

    }

    .fote-underline-actions{

        flex-direction:column;

        align-items:stretch;

    }

    .fote-underline-actions button{

        width:100%;

    }

    .fote-underline-copy-message{

        text-align:center;

    }

    .fote-underline-faq-item>button{

        padding:18px;

        font-size:15px;

    }

    .fote-underline-faq-answer{

        padding:0 18px 18px;

    }

    .fote-underline-cta{

        margin-bottom:35px;

        padding:60px 15px;

    }

    .fote-underline-cta h2{

        font-size:30px;

    }

}

/* ===========================
   SMALL MOBILE
=========================== */

@media(max-width:420px){

    .fote-underline-hero h1{

        font-size:32px;

    }

    .fote-underline-generator-header h2{

        font-size:25px;

    }

    .fote-underline-cta h2{

        font-size:27px;

    }

}