/* ----------------------------------------------------------
   GLOBAL TOOL UI FRAMEWORK — aracstil.css
   Tüm araç sayfalarında ortak kullanılacak modern UI seti
---------------------------------------------------------- */

/* ========== ROOT VARIABLES ========== */
:root{
    --bg-body:#050816;
    --card-bg:rgba(15,23,42,0.96);
    --card-border:rgba(148,163,184,0.2);

    --accent:#3b82f6;
    --accent-soft:rgba(59,130,246,0.15);

    --radius-lg:18px;
    --radius-md:12px;

    --shadow-lg:0 18px 45px rgba(0,0,0,0.55);
    --shadow-md:0 10px 28px rgba(0,0,0,0.35);

    --text-main:#e5e7eb;
    --text-muted:#94a3b8;

    --input-bg:#0f172a;
    --input-border:#1e293b;
}

/* Reset */
*{
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, sans-serif;
}

body{
    color:var(--text-main);
    line-height:1.55;
}

/* ==========================================================
   PAGE STRUCTURE
========================================================== */

.page-wrap{
    max-width:1120px;
    margin:30px auto;
    padding:0 16px 40px;
}

/* MAIN TOOL BOX */
.tool-box{
    background:var(--card-bg);
    padding:20px 22px;
    border-radius:var(--radius-lg);
    border:1px solid var(--card-border);
    box-shadow:var(--shadow-lg);
    backdrop-filter:blur(18px);
}

/* Headers */
.tool-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:6px;
}

.tool-subtitle{
    font-size:13px;
    color:var(--text-muted);
    margin-bottom:16px;
}

/* ==========================================================
   GRID SYSTEM
========================================================== */

.grid-2{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
    gap:18px;
}

.grid-3{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
    gap:14px;
}
.dns-field { margin-bottom: 12px; }

.dns-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569; /* gri - aynı tema */
    margin-bottom: 4px;
}

/* ==========================================================
   INPUTS & FORM ELEMENTS
========================================================== */

label{
    font-size:12px;
    color:var(--text-muted);
    margin-bottom:4px;
}

.input, select, textarea {
    width: 100%;
    height: 60px;
    background: #ffffff;
    border: 1px solid var(--input-border);
    color: #3d3838;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 12px;
    outline: none;
    transition: .16s 
ease; 

}

textarea{
    height:auto;
    min-height:90px;
    padding:12px 14px;
}

.input:focus,
select:focus,
textarea:focus{
    border-color:var(--accent);
    box-shadow:0 0 0 1px var(--accent), 0 0 0 5px var(--accent-soft);
}

/* Select arrow */
select{
    appearance:none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 12px) 50%,
        calc(100% - 8px) 50%;
    background-size:6px 6px;
    background-repeat:no-repeat;
}

/* ==========================================================
   BUTTON
========================================================== */

.btn,
.tool-btn{
    height:60px;
    width:100%;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#2563eb,#4f46e5);
    color:white;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    box-shadow:0 12px 35px rgba(37,99,235,.55);
    transition:.18s ease;
}

.btn:hover,
.tool-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 45px rgba(37,99,235,.75);
    filter:brightness(1.07);
}

/* ==========================================================
   SECTION TITLES
========================================================== */

.section-title{
    font-size:15px;
    font-weight:600;
    margin:20px 0 10px;
    display:flex;
    align-items:center;
    gap:8px;
}

.section-title::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 0 4px var(--accent-soft);
}

/* ==========================================================
   OPTION BOXES
========================================================== */

.option-box{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:12px;
    padding:14px 16px;
    box-shadow:var(--shadow-md);
}

/* ==========================================================
   CHECKBOXES
========================================================== */

.checkbox-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:6px;
    font-size:13px;
}

.checkbox-row input[type="checkbox"]{
    width:18px;
    height:18px;
    cursor:pointer;
    accent-color:var(--accent);
}

/* ==========================================================
   TABS (GENERIC)
========================================================== */

.tab-buttons{
    display:flex;
    gap:8px;
    margin-bottom:18px;
}

.tab-btn{
    padding:10px 16px;
    border-radius:12px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    color:var(--text-muted);
    cursor:pointer;
    font-size:13px;
    transition:.16s;
}

.tab-btn:hover{
    background:rgba(255,255,255,0.08);
    color:white;
}

.tab-btn.active{
    background:linear-gradient(135deg,#3b82f6,#6366f1);
    color:white;
    border-color:transparent;
    box-shadow:0 10px 22px rgba(59,130,246,0.45);
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/* ==========================================================
   MESSAGES
========================================================== */

.msg-success{
    color:#22c55e;
    font-size:13px;
}

.msg-error{
    color:#ef4444;
    font-size:13px;
}

.msg-info{
    color:#3b82f6;
    font-size:13px;
}

/* ==========================================================
   RESULT BOX (STANDART)
========================================================== */

.result-box{
    background:#020617;
    border:1px solid #1e293b;
    color:var(--text-main);
    padding:14px 16px;
    border-radius:12px;
    margin-top:18px;
    max-height:450px;
    overflow:auto;
    font-family:monospace;
    box-shadow:var(--shadow-md);
}

        h1,h2,h3{
            margin:0 0 10px;
        }

        /* ANA KUTU */
        .dns-health-box{
            background:var(--card-bg);
            border-radius:18px;
            border:1px solid var(--border);
            padding:22px 20px 24px;
            margin-bottom:25px;
            box-shadow:0 10px 30px rgba(15,23,42,0.08);
        }

        .dns-health-header{
            display:flex;
            justify-content:space-between;
            align-items:flex-start;
            gap:12px;
            flex-wrap:wrap;
            margin-bottom:14px;
        }

        .dns-title{
            font-size:20px;
            font-weight:800;
        }

        .dns-subtitle{
            font-size:13px;
            color:var(--muted);
            max-width:480px;
        }

        .dns-badge-pro{
            padding:4px 10px;
            border-radius:999px;
            font-size:11px;
            font-weight:700;
            background:#f9731622;
            color:#ea580c;
            border:1px solid #fed7aa55;
            display:inline-flex;
            align-items:center;
            gap:6px;
        }

        .dns-badge-pro span{
            font-size:14px;
        }

        /* FORM */
        .dns-health-form{
            margin-top:10px;
            display:flex;
            flex-wrap:wrap;
            gap:10px;
        }

        .dns-health-input{
            flex:1;
            min-width:180px;
            padding:11px 12px;
            border-radius:10px;
            border:1px solid #ccc;
            font-size:15px;
            outline:none;
            transition:border-color .15s, box-shadow .15s;
        }

        .dns-health-input:focus{
            border-color:var(--accent);
            box-shadow:0 0 0 2px #3b82f633;
        }

        .dns-health-btn{
            padding:11px 16px;
            border-radius:10px;
            border:none;
            background:linear-gradient(135deg,#2563eb,#1d4ed8);
            color:white;
            font-size:15px;
            font-weight:700;
            cursor:pointer;
            display:flex;
            align-items:center;
            gap:8px;
            white-space:nowrap;
            box-shadow:0 6px 16px rgba(37,99,235,0.4);
            transition:transform .08s ease, box-shadow .08s ease, background .1s;
        }
        .dns-health-btn span{
            font-size:18px;
        }

        .dns-health-btn:hover{
            background:linear-gradient(135deg,#1d4ed8,#1e40af);
            box-shadow:0 8px 20px rgba(37,99,235,0.55);
            transform:translateY(-1px);
        }
        .dns-health-btn:active{
            transform:translateY(0);
            box-shadow:0 4px 10px rgba(37,99,235,0.4);
        }

        .dns-health-msg{
            margin-top:10px;
            font-weight:600;
            font-size:13px;
        }

        .dns-health-msg small{
            font-weight:400;
            font-size:11px;
            color:var(--muted);
            display:block;
            margin-top:2px;
        }

        /* SCORE ALANI */
        .dns-score-wrapper{
            margin-top:20px;
            display:flex;
            align-items:center;
            gap:20px;
            flex-wrap:wrap;
        }

        .dns-score-circle{
            width:130px;
            height:130px;
            border-radius:50%;
            display:flex;
            justify-content:center;
            align-items:center;
            font-size:38px;
            font-weight:900;
            border:8px solid #ccc;
            position:relative;
            overflow:hidden;
        }

        .dns-score-circle::after{
            content:"";
            position:absolute;
            inset:0;
            border-radius:inherit;
            background:radial-gradient(circle at 30% 0%, #ffffff66, transparent 55%);
            pointer-events:none;
        }

        .dns-score-A{ border-color:var(--success); color:var(--success); }
        .dns-score-B{ border-color:var(--info); color:var(--info); }
        .dns-score-C{ border-color:var(--warning); color:var(--warning); }
        .dns-score-F{ border-color:var(--danger); color:var(--danger); }

        .dns-grade-badge{
            padding:4px 10px;
            border-radius:999px;
            font-size:12px;
            font-weight:700;
        }

        .grade-A{ background:#28a74522; color:var(--success); }
        .grade-B{ background:#17a2b822; color:#0f766e; }
        .grade-C{ background:#ffc10722; color:#92400e; }
        .grade-F{ background:#dc354522; color:var(--danger); }

        /* KATEGORİ KUTUSU */
        .dns-category-box{
            background:var(--card-bg);
            border-radius:14px;
            border:1px solid var(--border-soft);
            padding:18px 16px 14px;
            margin-bottom:18px;
            box-shadow:0 1px 5px rgba(15,23,42,0.05);
        }

        .dns-category-header{
            font-size:15px;
            font-weight:700;
            padding-bottom:8px;
            border-bottom:1px solid var(--border-soft);
            margin-bottom:10px;
            display:flex;
            justify-content:space-between;
            align-items:center;
            gap:10px;
        }

        .dns-category-header span.label{
            display:inline-flex;
            align-items:center;
            gap:6px;
            font-size:12px;
            font-weight:500;
            color:var(--muted);
        }

        .dns-toggle{
            font-size:20px;
            cursor:pointer;
            color:var(--muted);
            padding:1px 8px;
            border-radius:999px;
            transition:background .1s, transform .1s;
            user-select:none;
        }

        .dns-toggle:hover{
            background:rgba(148,163,184,0.3);
            transform:translateY(-1px);
        }

.dns-test-row {
    display: flex;
    gap: 14px;
    padding: 10px 9px;
    background: #4c4f53;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    margin-bottom: 9px;
}

        @media (prefers-color-scheme: dark){
            .dns-test-row{
                background:#020617;
            }
        }

        .dns-test-icon{
            width:32px;
            height:32px;
            border-radius:50%;
            display:flex;
            justify-content:center;
            align-items:center;
            font-size:18px;
            font-weight:700;
        }

        .pass-icon{ background:#22c55e22; color:var(--success); }
        .warn-icon{ background:#eab30822; color:#ca8a04; }
        .fail-icon{ background:#ef444422; color:var(--danger); }
        .info-icon{ background:#0ea5e922; color:#0f766e; }

        .dns-test-details{ flex:1; }
        .dns-test-title{
            font-size:14px;
            font-weight:600;
        }
        .dns-test-msg{
            font-size:12px;
            margin-top:4px;
            color:var(--muted);
        }

        /* Gizleme */
        .hidden{ display:none; }

        /* Küçük ekran adaptasyonu */
        @media(max-width:600px){
            .dns-score-wrapper{
                flex-direction:column;
                align-items:flex-start;
            }
            .dns-score-circle{
                width:110px;
                height:110px;
                font-size:32px;
                border-width:7px;
            }
        }

        /* Küçük “chip”ler */
        .dns-chip-row{
            margin-top:6px;
            display:flex;
            flex-wrap:wrap;
            gap:6px;
        }
        .dns-chip{
            font-size:11px;
            border-radius:999px;
            padding:2px 8px;
            border:1px solid var(--border-soft);
            color:var(--muted);
            background:#4c4f53;
        }

        @media(prefers-color-scheme:dark){
            .dns-chip{
                background:#020617;
            }
        }
		.tool-header .tool-title{
    color:#000 !important;
}

.tool-header .tool-subtitle{
    color:#333 !important;
}

.tool-header .tool-badge-right{
    color:#111 !important;
}
/* ==========================================================
    WHOIS RESULT — PREMIUM UI
========================================================== */

/* Ana sonuç kartı (tool-box yeniden kullanılıyor ama daha küçük görünsün diye override) */
.whois-result-box{
    background:var(--card-bg);
    border-radius:18px;
    border:1px solid var(--card-border);
    padding:20px 22px 24px;
    margin-top:20px;
    box-shadow:var(--shadow-lg);
}

/* Başlık */
.whois-result-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:6px;
}

/* Chip yapısı */
.chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:4px;
}

.chip{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    color:var(--text-muted);
}

/* Badge'ler */
.badge{
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.badge-success{
    background:#22c55e22;
    color:#16a34a;
}

.badge-info{
    background:#0ea5e922;
    color:#0f766e;
}

.badge-error{
    background:#ef444422;
    color:#b91c1c;
}

/* İç bilgi satırları */
.field-row{
    font-size:14px;
    margin-bottom:6px;
    color:var(--text-main);
}

.field-row b{
    color:var(--accent);
}

/* RAW WHOIS */
.raw-output-wrap{
    margin-top:12px;
}

pre.output{
    background:#020617;
    border:1px solid #1e293b;
    color:#e5e7eb;
    padding:14px;
    border-radius:12px;
    font-size:12px;
    max-height:350px;
    overflow:auto;
    box-shadow:var(--shadow-md);
}

/* RAW toggle button */
.small-btn{
    height:48px !important;
    font-size:14px !important;
    border-radius:12px;
    background:linear-gradient(135deg,#475569,#334155);
    box-shadow:0 8px 22px rgba(51,65,85,0.45);
}

.small-btn:hover{
    filter:brightness(1.1);
    transform:translateY(-2px);
}
/* ----------------------------------------------------------
   KOMİSYON HESAPLAYICI — GLOBAL PREMIUM UI
---------------------------------------------------------- */

.komisyon-box .input{
    height:60px;
    font-size:15px;
}

.finans-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
}

.finans-kart{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    padding:16px;
    border-radius:14px;
    box-shadow:var(--shadow-md);
    text-align:center;
    backdrop-filter:blur(12px);
}

.finans-title{
    font-size:16px;
    font-weight:700;
    margin-bottom:10px;
    color:var(--accent);
}

.finans-kart .label{
    font-size:12px;
    color:var(--text-muted);
    margin-top:6px;
}

.finans-kart .value{
    font-size:16px;
    font-weight:700;
    margin-bottom:6px;
}
/* ==============================
   SEO META ANALIZ TOOL
============================== */

.info-line{
    display:block;
    margin-top:6px;
    padding:8px 10px;
    border-radius:10px;
    background:rgba(15,23,42,0.9);
    border:1px solid rgba(148,163,184,0.4);
    font-size:12px;
    color:var(--text-main);
}

/* Progress bar */
.progress-wrapper{
    margin-top:6px;
}
.progress-bar-line{
    height:6px;
    border-radius:4px;
    background:rgba(148,163,184,0.28);
    overflow:hidden;
}
.progress-fill{
    height:100%;
    width:0%;
    border-radius:4px;
    transition:width .25s, background-color .25s;
}
.bad-fill{ background:#ef4444; }
.warn-fill{ background:#facc15; }
.good-fill{ background:#22c55e; }

/* Badge */
.seo-badge{
    display:inline-block;
    padding:3px 8px;
    font-size:11px;
    margin-left:6px;
    border-radius:999px;
    font-weight:700;
}
.badge-good{ background:#22c55e22; color:#22c55e; }
.badge-warn{ background:#facc1522; color:#facc15; }
.badge-bad { background:#ef444422; color:#ef4444; }

/* Score box (sağ kolon) */
.seo-score-box{
    text-align:center;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.score-number{
    font-size:64px;
    font-weight:900;
    line-height:1;
    margin-bottom:4px;
}
.score-good{ color:#22c55e; }
.score-warn{ color:#facc15; }
.score-bad { color:#ef4444; }

.score-text{
    font-size:14px;
    font-weight:600;
    color:var(--text-muted);
    margin-bottom:6px;
}

/* Detay listeleri */
.score-details{
    text-align:left;
    font-size:13px;
    margin-top:6px;
}
.score-details h5 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    color: white;
}
.score-details ul{
    padding-left:18px;
    margin:4px 0 6px;
}
.score-details li.good{ color:#22c55e; }
.score-details li.warn{ color:#facc15; }
.score-details li.bad { color:#ef4444; }

/* Soldaki açıklama kutusu */
.score-explanation{
    margin-top:10px;
    padding:12px 14px;
    border-radius:12px;
    background:rgba(15,23,42,0.9);
    border:1px solid rgba(148,163,184,0.35);
    font-size:13px;
}
.score-explanation h5{
    font-size:14px;
    font-weight:700;
    margin-bottom:6px;
	color:white;
}
.score-explanation ul{
    padding-left:18px;
    margin:0;
}
.score-explanation li.good{ color:#22c55e; }
.score-explanation li.warn{ color:#facc15; }
.score-explanation li.bad { color:#ef4444; }

/* Kopyalama alanı */
.copy-box{
    margin-top:8px;
    text-align:left;
}
.copy-box h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}
.copy-result{
    margin-top:8px;
    font-size:12px;
    font-weight:600;
}

/* ============================
   HERO
============================ */
.hero{
    text-align:center;
    padding:90px 0 70px;
}
.hero h1{
    font-size:42px;
    font-weight:800;
    margin-bottom:12px;
}
.hero p{
    font-size:18px;
    color:var(--text-muted);
    margin-bottom:22px;
}
.hero-btn{
    display:inline-block;
    padding:14px 34px;
    font-size:18px;
    font-weight:700;
    background:#ff8400;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(255,132,0,0.4);
}
.hero-btn:hover{
    filter:brightness(1.05);
    transform:translateY(-2px);
}

/* ============================
   SECTION TITLES
============================ */
.section-title-center{
    font-size:30px;
    font-weight:700;
    text-align:center;
    margin-bottom:40px;
}

/* ============================
   FEATURES GRID
============================ */
.grid-features{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
    gap:22px;
}
.feature-card{
    background:var(--card-bg);
    border:1px solid var(--card-border);
    border-radius:16px;
    box-shadow:var(--shadow-md);
    padding:20px 22px;
    text-align:center;
	
}
.feature-card h4{
    font-size:20px;
    margin-bottom:10px;
    font-weight:700;
	    color: white;
}
.feature-card p{
    font-size:14px;
    color:var(--text-muted);
}

/* ============================
   HOW IT WORKS
============================ */
.section.alt{
    background:rgba(255,255,255,0.03);
    border-radius:20px;
    padding:50px 0;
}
.how-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}
.how-step{
    background:var(--card-bg);
    padding:16px 20px;
    border-radius:14px;
    border:1px solid var(--card-border);
    min-width:220px;
    text-align:center;
    font-weight:600;
    box-shadow:var(--shadow-md);
}

/* ============================
   CTA
============================ */
.cta{
    text-align:center;
    padding:80px 0;
    background:#ff8400;
    margin-top:50px;
    border-radius:20px;
}
.cta h2{
    font-size:32px;
    font-weight:800;
    margin-bottom:12px;
}
.cta p{
    font-size:18px;
    margin-bottom:18px;
}
.cta-btn{
    background:#fff;
    color:#ff8400;
    padding:14px 32px;
    border-radius:12px;
    font-size:18px;
    font-weight:700;
}
.cta-btn:hover{
    transform:translateY(-2px);
}

/* ============================
   FAQ
============================ */
.faq{
    max-width:760px;
    margin:auto;
}
.faq-item{
    background:var(--card-bg);
    border:1px solid var(--card-border);
    border-radius:14px;
    padding:20px 24px;
    margin-bottom:20px;
	
}
.faq-item h4{
    font-size:20px;
    font-weight:700;
    margin-bottom:6px;
	    color: white;
}
.faq-item p{
    color:var(--text-muted);
    font-size:14px;
}
