/* =========================
   SEO TOOL PRO UI STYLE
   Seobility Benzeri Tasarım
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fb;
    color:#1e293b;
    line-height:1.6;
}

/* TOP BAR */
.topbar{
    width:100%;
    background:#0f172a;
    padding:14px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#fff;
}

.logo span{
    color:#22c55e;
}

.nav{
    display:flex;
    gap:25px;
}

.nav a{
    color:#cbd5e1;
    text-decoration:none;
    font-size:15px;
    transition:.3s;
}

.nav a:hover{
    color:#fff;
}

/* HERO */
.hero{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    padding:80px 20px;
    text-align:center;
    color:#fff;
}

.hero h1{
    font-size:52px;
    margin-bottom:18px;
    font-weight:800;
}

.hero p{
    max-width:850px;
    margin:auto;
    color:#cbd5e1;
    font-size:18px;
}

/* SEARCH */
.search{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:35px;
    flex-wrap:wrap;
}

.search input{
    width:650px;
    max-width:95%;
    padding:18px 22px;
    border:none;
    border-radius:14px;
    font-size:16px;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
    outline:none;
    transition:.3s;
}

.search input:focus{
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(37,99,235,.25);
}

.search button{
    padding:18px 34px;
    background:#22c55e;
    border:none;
    color:#fff;
    border-radius:14px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 4px 15px rgba(34,197,94,.35);
}

.search button:hover{
    background:#16a34a;
    transform:translateY(-2px);
}

/* SEO SCORE */
.score-box{
    width:220px;
    margin:40px auto 0;
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.score-title{
    font-size:15px;
    color:#64748b;
    margin-bottom:10px;
}

.score{
    font-size:58px;
    font-weight:800;
    color:#22c55e;
}

/* RESULTS */
#results{
    width:95%;
    max-width:1200px;
    margin:40px auto;
}

/* CATEGORY */
.category{
    margin-bottom:30px;
}

.category h2{
    margin-bottom:15px;
    font-size:24px;
    color:#0f172a;
}

/* CARD */
.card{
    background:#fff;
    padding:24px;
    border-radius:18px;
    margin-bottom:18px;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
    transition:.3s;
}

.card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.card h3{
    font-size:20px;
    margin-bottom:10px;
}

.card p{
    color:#475569;
    margin-top:8px;
}

/* STATUS TYPES */
.error{
    border-left:6px solid #ef4444;
    background:#fff5f5;
}

.warning{
    border-left:6px solid #f59e0b;
    background:#fffaf0;
}

.success{
    border-left:6px solid #22c55e;
    background:#f0fdf4;
}

/* SEO METRICS GRID */
.metrics{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:35px;
}

.metric-box{
    background:#fff;
    padding:25px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.metric-box h4{
    color:#64748b;
    margin-bottom:10px;
}

.metric-box .value{
    font-size:38px;
    font-weight:800;
    color:#2563eb;
}

/* PROGRESS BAR */
.progress{
    width:100%;
    height:14px;
    background:#e2e8f0;
    border-radius:20px;
    overflow:hidden;
    margin-top:12px;
}

.progress div{
    height:100%;
    border-radius:20px;
    background:linear-gradient(90deg,#22c55e,#16a34a);
}

/* TABLE */
.table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.table th{
    background:#0f172a;
    color:#fff;
    padding:16px;
    text-align:left;
}

.table td{
    padding:16px;
    border-bottom:1px solid #e2e8f0;
}

.table tr:hover{
    background:#f8fafc;
}

/* FIX BOX */
.fix{
    margin-top:15px;
    padding:15px;
    background:#f8fafc;
    border-radius:12px;
    border:1px dashed #cbd5e1;
}

.fix code{
    display:block;
    margin-top:10px;
    background:#0f172a;
    color:#22c55e;
    padding:14px;
    border-radius:10px;
    overflow:auto;
    font-size:14px;
}

/* FOOTER */
.footer{
    margin-top:60px;
    background:#0f172a;
    color:#cbd5e1;
    text-align:center;
    padding:30px;
}

/* MOBILE */
@media(max-width:768px){

    .hero h1{
        font-size:36px;
    }

    .hero p{
        font-size:15px;
    }

    .search{
        flex-direction:column;
    }

    .search input{
        width:100%;
    }

    .search button{
        width:100%;
    }

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

}