/* ===============================
   GOOGLE FONT
================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===============================
   RESET
================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#f5f7fb;

    color:#1f2937;

    line-height:1.6;

}

/* ===============================
   HEADER
================================= */

.header{

    width:100%;

    background:#ffffff;

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

}

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

}

.logo{

    text-decoration:none;

    font-size:30px;

    font-weight:700;

    color:#2563eb;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:#374151;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#2563eb;

}

/* ===============================
   HERO
================================= */

.hero{

    width:90%;

    max-width:1200px;

    margin:60px auto;

    text-align:center;

}

.hero h1{

    font-size:52px;

    margin-bottom:15px;

    color:#111827;

}

.hero p{

    font-size:20px;

    color:#6b7280;

}

/* ===============================
   MAIN CONTAINER
================================= */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

    padding-bottom:60px;

}

/* ===============================
   TEXTAREA
================================= */

.editor{

    margin-top:40px;

}

textarea{

    width:100%;

    min-height:330px;

    resize:vertical;

    padding:22px;

    border:none;

    outline:none;

    border-radius:18px;

    background:#ffffff;

    font-size:17px;

    line-height:1.8;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

textarea:focus{

    box-shadow:0 0 0 4px rgba(37,99,235,.15);

}

/* ===============================
   STATISTICS
================================= */

.statistics{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:40px;

}

.card{

    background:#ffffff;

    padding:28px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h2{

    color:#2563eb;

    font-size:42px;

    margin-bottom:8px;

}

.card p{

    color:#6b7280;

    font-size:17px;

}


/* ===============================
   ACTION BUTTONS
================================= */

.actions{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin:45px 0;

}

.actions button{

    padding:15px 35px;

    border:none;

    border-radius:12px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

#copyBtn{

    background:#2563eb;

    color:white;

}

#clearBtn{

    background:#ef4444;

    color:white;

}

#downloadBtn{

    background:#10b981;

    color:white;

}

.actions button:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 25px rgba(0,0,0,.15);

}

/* ===============================
   FEATURES
================================= */

.features{

    background:white;

    padding:45px;

    border-radius:20px;

    margin-top:50px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.features h2{

    text-align:center;

    font-size:34px;

    margin-bottom:35px;

}

.features ul{

    list-style:none;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

}

.features li{

    background:#f8fafc;

    padding:18px;

    border-radius:12px;

    font-size:17px;

    transition:.3s;

}

.features li:hover{

    background:#2563eb;

    color:white;

    transform:translateY(-5px);

}

/* ===============================
   FOOTER
================================= */

footer{

    margin-top:70px;

    background:#111827;

    color:white;

    text-align:center;

    padding:25px;

    font-size:15px;

}

/* ===============================
   SCROLLBAR
================================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#e5e7eb;

}

/* ===============================
   MOBILE
================================= */

@media(max-width:900px){

.header{

    flex-direction:column;

    gap:20px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.hero h1{

    font-size:38px;

}

.hero p{

    font-size:17px;

}

textarea{

    min-height:260px;

}

.features{

    padding:30px;

}

}

@media(max-width:600px){

.logo{

    font-size:24px;

}

.hero{

    margin-top:40px;

}

.hero h1{

    font-size:30px;

}

.hero p{

    font-size:15px;

}

.card h2{

    font-size:34px;

}

.actions button{

    width:100%;

}

.features h2{

    font-size:28px;

}

}