body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f7fa;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.site-header {
    background: #111;
    color: #fff;
    padding: 15px 0;
}

    .site-header a {
        color: #fff;
        text-decoration: none;
        margin-right: 20px;
       
    }

.hero {
    background: #1e293b;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    font-family: monospace;
}

.result-box {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.site-footer {
    margin-top: 60px;
    padding: 20px;
    text-align: center;
    background: #111;
    color: white;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.blog-container {
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.blog-article {
    background: white;
    padding: 40px;
    border-radius: 12px;
    line-height: 1.8;
}

    .blog-article h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

.meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}


.blog-article h2 {
    margin-top: 40px;
    font-size: 24px;
}

.blog-article p {
    margin: 20px 0;
}

.blog-article ul {
    margin: 20px 0;
    padding-left: 20px;
}

.blog-article code {
    /*background: #f4f4f4;*/
    padding: 3px 6px;
    border-radius: 4px;
}

pre {
    background: #1e293b;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
}

.sidebar-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
}

    .sidebar-card h3 {
        margin-bottom: 15px;
    }

@media(max-width:900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg,#2563eb,#1e40af);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 8px;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* RESET */
body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1150px;
    margin: auto;
}

/* HEADER */
.site-header {
    background: #0f172a;
    padding: 18px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg,#2563eb,#1e40af);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.main-nav a {
    color: #cbd5e1;
    margin-left: 25px;
    font-size: 14px;
}

    .main-nav a:hover {
        color: white;
    }

/* BLOG LAYOUT */
.blog-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    margin: 50px auto;
}

.blog-article {
    background: white;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

    .blog-article h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

.meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 35px;
}

.blog-article h2 {
    margin-top: 40px;
    font-size: 22px;
}

.blog-article p {
    margin: 18px 0;
}

.blog-article ul {
    padding-left: 20px;
    margin: 18px 0;
}

pre {
    background: #0f172a;
    color: white;
    padding: 18px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 14px;
}

/* SIDEBAR */
.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

    .sidebar-card h3 {
        margin-bottom: 20px;
    }

.popular-item {
    display: block;
    background: #f1f5f9;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    transition: 0.2s ease;
}

    .popular-item:hover {
        background: #2563eb;
        color: white;
        transform: translateX(3px);
    }

.ad-sidebar {
    margin-top: 30px;
}

/* FOOTER */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 600;
    margin-bottom: 6px;
    color: white;
}

.footer-right {
    font-size: 13px;
}

/* RESPONSIVE */
@media(max-width:900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.sidebar-card ul {
    list-style: none;
    padding-left: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
}

    .data-table th {
        background: #1e293b;
        color: white;
        text-align: left;
        padding: 12px;
    }

    .data-table td {
        padding: 12px;
        border-bottom: 1px solid #e2e8f0;
    }

    .data-table tr:hover {
        background: #f8fafc;
    }

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
    border: 2px solid #f8fafc;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.site-header {
    background: #0f172a;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.main-nav a {
    color: #cbd5e1;
    margin-left: 25px;
    font-size: 14px;
    position: relative;
}

    .main-nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: white;
        transition: 0.2s ease;
    }

    .main-nav a:hover::after {
        width: 100%;
    }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
}

.blog-article {
    max-width: 760px;
}

    .blog-article h1 {
        font-size: 34px;
        font-weight: 700;
        line-height: 1.3;
    }

.meta {
    font-size: 13px;
    color: #94a3b8;
}

.sidebar-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

a, .popular-item {
    transition: all 0.2s ease;
}


.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card li {
    margin-bottom: 12px;
}

.card a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .card a:hover {
        background: #e2e8f0;
        transform: translateX(4px);
    }
    .card a:hover {
        background: white;
        transform: translateX(4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    }

.hero {
    padding: 25px 0;
    background: linear-gradient(to bottom, #0f172a, #111827);
    color: white;
}

.hero-inner {
    max-width: 900px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
}

    .btn-primary:hover {
        background: #1e40af;
    }

.btn-secondary {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 12px 24px;
    border-radius: 8px;
}

    .btn-secondary:hover {
        background: #1e293b;
    }

.hero-trust {
    font-size: 13px;
    color: #94a3b8;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 30px;
    margin: 80px auto;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    }

    .card h3 {
        margin-bottom: 20px;
        font-size: 18px;
    }

.stats-section {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 60px auto;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

.tool-home {
    background: white;
    margin-top: -40px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    max-width: 900px;
}

    .tool-home textarea {
        width: 100%;
        height: 180px;
        padding: 15px;
        font-family: monospace;
        font-size: 14px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        resize: vertical;
        margin-bottom: 20px;
        background-color: rgb(248 250 252);
        margin-left: -18px;
    }

.result-box {
    margin-top: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    --tw-text-opacity: 1;
    color: rgb(148 163 184 / var(--tw-text-opacity, 1));
    width: 100%;
}

.ad-home {
    margin-top: 30px;
}

.analyze-wrapper {
    display: flex;
    justify-content: center;
}

.analyze-btn {
    background: rgb(37 99 235);
    color: white;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
}

    .analyze-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45);
    }

    .analyze-btn:active {
        transform: translateY(1px);
        box-shadow: 0 5px 12px rgba(37, 99, 235, 0.25);
    }

.spinner {
    border: 4px solid #e2e8f0;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.score-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.risk-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
}

    .risk-item strong {
        display: inline-block;
        margin-bottom: 5px;
    }

.score-overview {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.grade-box {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.grade-A {
    background: #22c55e;
}

.grade-B {
    background: #84cc16;
}

.grade-C {
    background: #f59e0b;
}

.grade-D {
    background: #f97316;
}

.grade-F {
    background: #ef4444;
}

.risk-card {
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.inline-tool {
    margin: 60px 0;
    padding: 40px;
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-align: center;
}

.inline-input-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.inline-tool textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    font-family: monospace;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    resize: vertical;
}

.inline-btn-wrapper {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.inline-result {
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.inline-tool textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

footer .logo-text {
  
    color: rgb(15 23 42);
}

.ad-block {
    margin: 60px auto;
    text-align: center;
    min-height: 90px;
    display: none;
}

    .ad-block::before {
        content: "Advertisement";
        display: block;
        font-size: 11px;
        color: #94a3b8;
        margin-bottom: 8px;
    }

.quick-analyzer textarea {
    width: 100%;
    height: 120px;
    font-family: monospace;
    font-size: 13px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    margin-left: -10px;
}

    .quick-analyzer textarea:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    }

.quick-analyzer .analyze-btn {
    width: 100%;
}

.quick-analyzer {
    margin-top: 20px;
}

.ad-sidebar {
    margin-top: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    text-align: center;
    min-height: 250px; /* rectangle boyutu için */
    position: relative;
    display: none;
}

    .ad-sidebar::before {
        content: "Advertisement";
        display: block;
        font-size: 11px;
        color: #94a3b8;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }