*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --purple:#2B0057;
    --purple-dark:#16002E;
    --pink:#FF4FB8;
    --gold:#F7C948;
    --black:#0B0B0F;
    --white:#FFFFFF;
    --light:#FAF7FF;
    --gray:#555555;
}

body{
    font-family:Arial,sans-serif;
    background:var(--light);
    color:var(--black);
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

/* HEADER */

header{
    background:var(--black);
    color:var(--white);
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:4px solid var(--gold);
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:var(--gold);
}

nav a{
    margin-left:20px;
    font-weight:bold;
    color:var(--white);
}

nav a:hover{
    color:var(--pink);
}

/* HERO */

.hero{
    padding:70px 8%;
    text-align:center;
    color:var(--white);

    background:
    radial-gradient(circle at top left,
    rgba(255,79,184,.45),
    transparent 35%),

    linear-gradient(
    135deg,
    var(--purple-dark),
    var(--purple),
    var(--black));
}

.hero h1{
    font-size:46px;
    color:var(--gold);
    margin-bottom:15px;
}

.hero p{
    max-width:750px;
    margin:0 auto;
    font-size:19px;
    color:#f5f5f5;
}

/* TOOL BOX */

.tool-box{
    background:var(--white);
    max-width:1000px;
    margin:0 auto;
    padding:35px;
    border-radius:22px;
    box-shadow:0 10px 30px rgba(43,0,87,.12);
    border-top:6px solid var(--pink);
}

.input-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
}

.field label{
    display:block;
    font-weight:bold;
    color:var(--purple);
    margin-bottom:8px;
}

input,
textarea{
    width:100%;
    padding:18px;
    border:2px solid #e5d8ff;
    border-radius:14px;
    font-size:17px;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:var(--pink);
}

/* RESULT CARDS */

.stats-grid{
    display:grid;
    gap:18px;
    margin-top:25px;
}

.stat-card{
    background:var(--light);
    border-radius:16px;
    padding:28px;
    text-align:center;
    border:1px solid #eadcff;
}

.stat-card h3{
    color:var(--purple);
}

.stat-card span{
    display:block;
    font-size:48px;
    font-weight:bold;
    color:var(--pink);
}

/* BUTTONS */

button{
    border:none;
    padding:14px 24px;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
}

.clear-btn{
    background:var(--pink);
    color:white;
}

/* CONTENT */

.content-section{
    max-width:1000px;
    margin:0 auto;
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(43,0,87,.08);
}

.content-section h2,
.content-section h3{
    color:var(--purple);
}

/* OPTIN */

.optin{
    background:
    radial-gradient(circle at top right,
    rgba(255,79,184,.35),
    transparent 35%),

    linear-gradient(
    135deg,
    var(--black),
    var(--purple-dark),
    var(--purple));

    color:white;
    text-align:center;
    border-radius:22px;
    padding:45px 30px;
    max-width:1000px;
    margin:0 auto;
    border:2px solid var(--gold);
}

.optin h2{
    color:var(--gold);
    margin-bottom:15px;
}

.optin-form{
    max-width:500px;
    margin:0 auto;
}

.optin-form input,
.optin-form button{
    display:block;
    width:100%;
}

.optin-form input{
    margin-bottom:15px;
}

.optin-form button{
    height:60px;
    background:
    linear-gradient(
    135deg,
    var(--pink),
    var(--purple));

    color:white;
    font-size:18px;
    text-transform:uppercase;
}

/* FOOTER */

footer{
    background:var(--black);
    color:white;
    text-align:center;
    padding:35px 20px;
    margin-top:50px;
    border-top:4px solid var(--gold);
}

.footer-links{
    margin-bottom:15px;
}

.footer-links a{
    color:var(--gold);
    font-weight:bold;
    margin:0 12px;
}

.footer-links a:hover{
    color:var(--pink);
}

.copyright{
    color:#cccccc;
    font-size:14px;
}

/* MOBILE */

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    nav a{
        margin:0 8px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:17px;
    }

}

/* HOMEPAGE */

section{
    padding:60px 8%;
}

.btn{
    display:inline-block;
    background:var(--pink);
    color:var(--white);
    padding:15px 32px;
    border-radius:10px;
    font-weight:bold;
    margin-top:10px;
    box-shadow:0 8px 22px rgba(255,79,184,.35);
}

.btn:hover{
    background:var(--gold);
    color:var(--black);
}

.section-title{
    text-align:center;
    font-size:34px;
    margin-bottom:15px;
    color:var(--purple);
}

.section-subtitle{
    text-align:center;
    max-width:700px;
    margin:0 auto 40px;
    color:var(--gray);
}

.tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.tool-card{
    border:1px solid #eeeeee;
    border-top:5px solid var(--pink);
    border-radius:16px;
    padding:25px;
    background:var(--white);
    box-shadow:0 8px 20px rgba(43,0,87,.10);
    transition:.3s;
}

.tool-card:hover{
    transform:translateY(-5px);
    border-top-color:var(--gold);
    box-shadow:0 14px 30px rgba(43,0,87,.18);
}

.tool-card h3{
    margin-bottom:10px;
    color:var(--purple);
    font-size:21px;
}

.tool-card p{
    color:var(--gray);
    font-size:15px;
    margin-bottom:18px;
}

.tool-link{
    color:var(--pink);
    font-weight:bold;
}

.tool-link:hover{
    color:var(--gold);
}

.categories{
    background:var(--light);
}

.category-card{
    text-align:center;
}

.category-card span{
    font-size:38px;
    display:block;
    margin-bottom:10px;
}

/* HEADER */

header{
    background:var(--black);
    color:var(--white);
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:4px solid var(--gold);
}

.logo a{
    color:var(--gold);
    font-size:28px;
    font-weight:bold;
    text-decoration:none;
}

nav{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

nav a{
    color:var(--white);
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:var(--pink);
}

/* FOOTER */

footer{
    background:var(--black);
    color:var(--white);
    text-align:center;
    padding:35px 20px;
    margin-top:50px;
    border-top:4px solid var(--gold);
}

.footer-links{
    margin-bottom:15px;
}

.footer-links a{
    color:var(--gold);
    text-decoration:none;
    font-weight:bold;
    margin:0 12px;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--pink);
}

.copyright{
    color:#cccccc;
    font-size:14px;
}

.generator-result{
    margin-top:15px;
    font-size:18px;
    color:var(--purple);
    line-height:1.7;
    text-align:left;
    word-wrap:break-word;
}