/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;font-size:17px;line-height:1.7;color:#1f2937;background:#f8fafc}
img{max-width:100%;height:auto;display:block}
a{color:#1a56db;text-decoration:none;transition:color .2s}
a:hover{color:#1e40af}
ul,ol{list-style:none}
table{width:100%;border-collapse:collapse}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4{font-weight:700;line-height:1.3;color:#0f172a}
h1{font-size:2rem;margin-bottom:1rem}
h2{font-size:1.55rem;margin:2rem 0 .75rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0}
h3{font-size:1.25rem;margin:1.5rem 0 .5rem}
h4{font-size:1.1rem;margin:1.2rem 0 .4rem}
p{margin-bottom:1rem}
strong{font-weight:600}
blockquote{border-left:4px solid #1a56db;padding:1rem 1.25rem;margin:1.5rem 0;background:#eff6ff;border-radius:0 8px 8px 0;font-style:italic}

/* ===== CONTAINER ===== */
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}

/* ===== HEADER ===== */
.header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-size:1.4rem;font-weight:800;color:#0f172a;letter-spacing:-.5px}
.logo span{color:#1a56db}
.logo small{font-size:.65rem;font-weight:500;color:#64748b;display:block;margin-top:-4px;letter-spacing:0}
.nav ul{display:flex;gap:.25rem}
.nav a{display:block;padding:.5rem .85rem;border-radius:6px;font-size:.9rem;font-weight:500;color:#475569;transition:all .2s}
.nav a:hover,.nav a.active{background:#eff6ff;color:#1a56db}
.menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px}
.menu-toggle span{display:block;width:24px;height:2.5px;background:#334155;border-radius:2px;transition:all .3s}

/* ===== BREADCRUMB ===== */
.breadcrumb{background:#fff;border-bottom:1px solid #f1f5f9;padding:.65rem 0;font-size:.85rem}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.breadcrumb li{display:flex;align-items:center;color:#94a3b8}
.breadcrumb li:not(:last-child)::after{content:"\203A";margin-left:.35rem;color:#cbd5e1;font-size:1.1rem}
.breadcrumb a{color:#64748b}
.breadcrumb a:hover{color:#1a56db}
.breadcrumb li[aria-current="page"]{color:#1e293b;font-weight:500}

/* ===== CONTENT LAYOUT ===== */
.content-wrapper{display:grid;grid-template-columns:1fr 320px;gap:2.5rem;padding-top:2rem;padding-bottom:3rem}
.main-content{min-width:0}

/* ===== ARTICLE ===== */
article{background:#fff;border-radius:12px;padding:2.5rem;box-shadow:0 1px 3px rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.06)}
.article-meta{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #f1f5f9;font-size:.85rem;color:#64748b}
.article-meta span{display:flex;align-items:center;gap:.35rem}
.article-date::before{content:"";display:inline-block;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") center/contain no-repeat}
.article-read::before{content:"";display:inline-block;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") center/contain no-repeat}
article ul,article ol{margin:0 0 1rem 1.5rem}
article ul{list-style:disc}
article ol{list-style:decimal}
article li{margin-bottom:.4rem}
article li::marker{color:#1a56db}

/* ===== TABLE OF CONTENTS ===== */
.toc{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.25rem 1.5rem;margin-bottom:2rem}
.toc-title{font-size:1rem;font-weight:700;margin-bottom:.75rem;color:#0f172a}
.toc ol{list-style:decimal;margin-left:1.25rem}
.toc li{margin-bottom:.35rem;font-size:.92rem}
.toc a{color:#475569}
.toc a:hover{color:#1a56db}

/* ===== INFO BOX ===== */
.info-box{border-radius:10px;padding:1.25rem 1.5rem;margin:1.5rem 0;font-size:.95rem}
.info-box.tip{background:#f0fdf4;border-left:4px solid #16a34a}
.info-box.warning{background:#fffbeb;border-left:4px solid #f59e0b}
.info-box.important{background:#eff6ff;border-left:4px solid #1a56db}
.info-box-title{font-weight:700;margin-bottom:.35rem}

/* ===== FAQ SECTION ===== */
.faq-section{margin-top:2.5rem}
.faq-item{border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.75rem;overflow:hidden;background:#fff}
.faq-question{width:100%;text-align:left;padding:1rem 1.25rem;background:#f8fafc;border:none;cursor:pointer;font-size:1rem;font-weight:600;color:#1e293b;display:flex;justify-content:space-between;align-items:center;font-family:inherit;transition:background .2s}
.faq-question:hover{background:#f1f5f9}
.faq-question::after{content:"+";font-size:1.5rem;font-weight:300;color:#94a3b8;transition:transform .3s}
.faq-item.active .faq-question::after{transform:rotate(45deg);color:#1a56db}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}
.faq-item.active .faq-answer{max-height:500px;padding:1rem 1.25rem}

/* ===== TABLES ===== */
.styled-table{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;margin:1.5rem 0}
.styled-table thead{background:#f8fafc}
.styled-table th{padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.9rem;color:#475569;border-bottom:2px solid #e2e8f0}
.styled-table td{padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;font-size:.92rem}
.styled-table tbody tr:hover{background:#f8fafc}
.styled-table tbody tr:last-child td{border-bottom:none}

/* ===== RELATED ARTICLES ===== */
.related-articles{margin-top:2.5rem;padding-top:2rem;border-top:2px solid #e2e8f0}
.related-articles h3{font-size:1.2rem;margin-bottom:1rem}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.related-card{display:block;padding:1rem 1.25rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;color:#1e293b;font-weight:500;font-size:.92rem;transition:all .2s}
.related-card:hover{background:#eff6ff;border-color:#93c5fd;color:#1a56db;transform:translateY(-1px)}

/* ===== SIDEBAR ===== */
.sidebar{position:sticky;top:80px;align-self:start}
.sidebar-widget{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.06)}
.sidebar-widget h3{font-size:1.05rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #1a56db;color:#0f172a}
.sidebar-widget ul{display:flex;flex-direction:column;gap:.4rem}
.sidebar-widget a{display:block;padding:.5rem .75rem;border-radius:6px;font-size:.9rem;color:#475569;transition:all .15s}
.sidebar-widget a:hover{background:#eff6ff;color:#1a56db}
.sidebar-cta{background:linear-gradient(135deg,#1a56db 0%,#1e40af 100%);color:#fff;border-radius:12px;padding:1.5rem;text-align:center}
.sidebar-cta h3{color:#fff;border-bottom-color:rgba(255,255,255,.3);margin-bottom:.75rem;padding-bottom:.5rem}
.sidebar-cta p{color:rgba(255,255,255,.9);font-size:.9rem;margin-bottom:1rem}
.sidebar-cta .btn{background:#fff;color:#1a56db;display:inline-block;padding:.6rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9rem}
.sidebar-cta .btn:hover{background:#f0f9ff}

/* ===== CATEGORY HUB ===== */
.hub-header{text-align:center;padding:2.5rem 0 1.5rem}
.hub-header p{max-width:700px;margin:0 auto;color:#64748b;font-size:1.05rem}
.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.5rem;margin-bottom:2rem}
.hub-card{background:#fff;border-radius:12px;padding:1.75rem;box-shadow:0 1px 3px rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.06);border:1px solid #f1f5f9;transition:all .2s}
.hub-card:hover{border-color:#93c5fd;box-shadow:0 4px 12px rgba(26,86,219,.1);transform:translateY(-2px)}
.hub-card h2{font-size:1.15rem;margin:0 0 .5rem;border:none;padding:0}
.hub-card h2 a{color:#0f172a}
.hub-card h2 a:hover{color:#1a56db}
.hub-card p{color:#64748b;font-size:.9rem;margin:0;line-height:1.5}

/* ===== HERO SECTION (Ana Sayfa) ===== */
.hero{background:linear-gradient(135deg,#1a56db 0%,#1e3a8a 100%);color:#fff;padding:4rem 0 3.5rem;text-align:center}
.hero h1{color:#fff;font-size:2.4rem;margin-bottom:1rem;font-weight:800}
.hero p{font-size:1.15rem;color:rgba(255,255,255,.9);max-width:650px;margin:0 auto 2rem}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:.75rem 1.75rem;border-radius:8px;font-weight:600;font-size:.95rem;transition:all .2s;border:none;cursor:pointer;font-family:inherit}
.btn-primary{background:#fff;color:#1a56db}
.btn-primary:hover{background:#f0f9ff;color:#1e40af}
.btn-secondary{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3)}
.btn-secondary:hover{background:rgba(255,255,255,.25)}
.btn-green{background:#047857;color:#fff}
.btn-green:hover{background:#065f46}
.btn-blue{background:#1a56db;color:#fff}
.btn-blue:hover{background:#1e40af}

/* ===== HOME CATEGORIES ===== */
.home-section{padding:3rem 0}
.home-section:nth-child(even){background:#fff}
.section-title{text-align:center;font-size:1.75rem;margin-bottom:.5rem}
.section-subtitle{text-align:center;color:#64748b;margin-bottom:2rem;font-size:1rem}
.category-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.category-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;text-align:center;transition:all .2s}
.category-card:hover{border-color:#93c5fd;box-shadow:0 4px 12px rgba(26,86,219,.08);transform:translateY(-2px)}
.category-card-icon{width:48px;height:48px;margin:0 auto .75rem;background:#eff6ff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}
.category-card h3{font-size:1rem;margin-bottom:.35rem}
.category-card h3 a{color:#0f172a}
.category-card h3 a:hover{color:#1a56db}
.category-card p{font-size:.85rem;color:#64748b;margin:0}

/* ===== CALCULATOR ===== */
.calculator{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:2rem;margin:1.5rem 0}
.calculator h3{margin-top:0;margin-bottom:1.5rem;font-size:1.2rem}
.calc-form{display:grid;gap:1.25rem}
.form-group{display:flex;flex-direction:column;gap:.35rem}
.form-group label{font-size:.9rem;font-weight:600;color:#374151}
.form-group input,.form-group select{padding:.7rem 1rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:1rem;font-family:inherit;transition:border-color .2s;background:#fff}
.form-group input:focus,.form-group select:focus{outline:none;border-color:#1a56db;box-shadow:0 0 0 3px rgba(26,86,219,.1)}
.calc-btn{width:100%;padding:.85rem;background:#1a56db;color:#fff;font-size:1rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;font-family:inherit;transition:background .2s}
.calc-btn:hover{background:#1e40af}
.calc-result{margin-top:1.5rem;padding:1.5rem;background:#f0fdf4;border-radius:10px;border:1px solid #bbf7d0;display:none}
.calc-result.visible{display:block}
.calc-result h4{margin-top:0;color:#047857}
.result-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #dcfce7}
.result-row:last-child{border-bottom:none}
.result-label{color:#475569;font-size:.92rem}
.result-value{font-weight:700;color:#047857;font-size:1rem}
.payment-table{max-height:400px;overflow-y:auto;margin-top:1rem}
.payment-table table{font-size:.85rem}
.payment-table th{position:sticky;top:0;background:#f0fdf4}

/* ===== FOOTER ===== */
.footer{background:#0f172a;color:#e2e8f0;padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:2rem}
.footer h4{color:#fff;font-size:1rem;margin-bottom:1rem}
.footer p{font-size:.88rem;line-height:1.6;margin-bottom:.5rem;color:#e2e8f0}
.footer a{color:#cbd5e1;font-size:.88rem}
.footer a:hover{color:#fff}
.footer ul{display:flex;flex-direction:column;gap:.4rem}
.footer-bottom{border-top:1px solid #334155;padding-top:1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.82rem;color:#94a3b8}

/* ===== COOKIE CONSENT ===== */
.cookie-consent{position:fixed;bottom:0;left:0;right:0;background:#0f172a;color:#e2e8f0;padding:1.25rem;z-index:1000;display:none;box-shadow:0 -4px 12px rgba(0,0,0,.15)}
.cookie-consent.show{display:block}
.cookie-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.cookie-inner p{flex:1;font-size:.88rem;margin:0}
.cookie-inner a{color:#93c5fd}
.cookie-buttons{display:flex;gap:.75rem}
.cookie-btn{padding:.55rem 1.5rem;border-radius:6px;border:none;font-weight:600;cursor:pointer;font-size:.88rem;font-family:inherit}
.cookie-accept{background:#1a56db;color:#fff}
.cookie-accept:hover{background:#1e40af}
.cookie-decline{background:transparent;color:#94a3b8;border:1px solid #475569}
.cookie-decline:hover{border-color:#94a3b8;color:#fff}

/* ===== LEGAL PAGES ===== */
.legal-page h1{font-size:1.75rem}
.legal-page h2{font-size:1.3rem}
.legal-page h3{font-size:1.1rem}

/* ===== 404 PAGE ===== */
.page-404{text-align:center;padding:4rem 2rem}
.page-404 h1{font-size:5rem;color:#1a56db;margin-bottom:.5rem}
.page-404 p{font-size:1.15rem;color:#64748b;margin-bottom:2rem}

/* ===== AD PLACEHOLDER ===== */
.ad-space{background:#f1f5f9;border:1px dashed #cbd5e1;border-radius:8px;padding:1rem;text-align:center;color:#94a3b8;font-size:.8rem;margin:1.5rem 0;min-height:90px;display:flex;align-items:center;justify-content:center}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
    .content-wrapper{grid-template-columns:1fr;gap:2rem}
    .sidebar{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
    body{font-size:16px}
    h1{font-size:1.65rem}
    h2{font-size:1.3rem}
    .header-inner{height:56px}
    .menu-toggle{display:flex}
    .nav{position:fixed;top:56px;left:0;right:0;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-110%);transition:transform .3s;z-index:99}
    .nav.open{transform:translateY(0)}
    .nav ul{flex-direction:column;padding:1rem}
    .nav a{padding:.75rem 1rem;font-size:1rem}
    article{padding:1.5rem;border-radius:8px}
    .hub-grid{grid-template-columns:1fr}
    .related-grid{grid-template-columns:1fr}
    .sidebar{grid-template-columns:1fr}
    .hero{padding:2.5rem 0 2rem}
    .hero h1{font-size:1.75rem}
    .hero p{font-size:1rem}
    .footer-grid{grid-template-columns:1fr}
    .footer-bottom{flex-direction:column;text-align:center}
    .category-cards{grid-template-columns:repeat(2,1fr)}
    .cookie-inner{flex-direction:column;text-align:center}
}
@media(max-width:480px){
    .category-cards{grid-template-columns:1fr}
    .hero-buttons{flex-direction:column;align-items:center}
}

/* ===== PRINT ===== */
@media print{
    .header,.footer,.sidebar,.breadcrumb,.cookie-consent,.ad-space,.related-articles{display:none}
    .content-wrapper{display:block}
    article{box-shadow:none;padding:0}
    body{font-size:12pt;color:#000}
}
