:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-blue: #0d6efd;
    --accent: #ff8fa3;
    --accent-dark: #ff748c;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --success: #38a169;
    --danger: #e53e3e;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary-blue);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary);
}

.text-white {
    color: var(--bg-white);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    max-width: 1400px;
    /* Expands header to move logo further left */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a:not(.btn) {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.9rem;
}

.nav a:not(.btn):hover {
    color: var(--primary-blue);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 12px;
    padding: 10px 0;
    top: 100%;
    left: 0;
    border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: var(--text-dark) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue) !important;
}

/* Mobile Dropdown */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    background-color: var(--bg-light);
    border-radius: 10px;
    margin: 10px 0;
    padding: 10px 0;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-menu a {
    font-size: 1rem !important;
    padding: 8px 15px !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.nav-phone i {
    color: #25d366;
    font-size: 1.1rem;
}

.nav-phone a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
}

.nav a:not(.btn):hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 60px 25px 40px 25px;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 1400px;
    padding-left: 0;
    /* Align directly with logo edge */
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 40px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 143, 163, 0.15);
    color: var(--accent-dark);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.align-center {
    align-items: center;
}

/* Content Box */
.content-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: transform 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.icon-box.accent {
    background-color: rgba(255, 143, 163, 0.15);
    color: var(--accent-dark);
}

.content-box h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.content-box p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
}

.check-list i {
    color: var(--success);
    margin-top: 5px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--border);
}

.card.premium {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.15);
}

.card-header {
    padding: 25px;
    background-color: var(--bg-light);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.card.premium .card-header {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-bottom: none;
}

.card-body {
    padding: 30px;
}

.card-body li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border);
}

.card-body li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Feature List */
.image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    /* Better for multi-line text */
    gap: 20px;
    margin-bottom: 25px;
}

.feature-item i,
.feature-item>.icon {
    font-size: 2rem;
    background: var(--bg-white);
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 14px;
    box-sizing: border-box;
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-light);
}

/* Info Cards (PPV/NPV) */
.info-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-card-icon {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.info-card-icon.positive {
    background-color: var(--primary-blue);
}

.info-card-icon.negative {
    background-color: var(--accent);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-card .highlight {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.stat-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Table */
.table-container {
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.08);
    position: relative;
}

/* Sticky düzgün çalışsın diye collapse yerine separate kullanılıyor */
.comparison-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

/* Genel hücre görünümü */
.comparison-table th,
.comparison-table td {
    min-width: 130px;
    padding: 11px 10px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.82rem;
    line-height: 1.35;
    white-space: normal;
}

/* En üstteki test isimleri aşağı kaydırınca sabit kalır */
.comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--primary);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 140px;
}

/* Soldaki satır başlıkları sağa-sola kaydırınca sabit kalır */
.comparison-table th:first-child,
.comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 25;
    min-width: 230px;
    max-width: 230px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    background: #f1f5fb;
    box-shadow: 4px 0 8px rgba(26, 54, 93, 0.08);
}

/* Sol üst köşe hem üstte hem solda sabit kalacağı için en yüksek z-index */
.comparison-table thead th:first-child {
    z-index: 50;
    background: var(--primary);
    color: var(--bg-white);
}

/* Son sütunda sağ çizgi olmasın */
.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none;
}

/* Test İçeriği / Bilimsel Performans ara başlıkları */
.comparison-table .section-row td {
    background: #d9dcf9 !important;
    color: var(--primary) !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 13px 16px !important;
    box-shadow: none !important;
}

/* Test İçeriği / Bilimsel Performans yazan sol hücre */
.comparison-table .section-row td:first-child {
    position: sticky !important;
    left: 0;
    z-index: 28;
    min-width: 230px;
    max-width: 230px;
    text-align: left !important;
    background: #d9dcf9 !important;
    box-shadow: 4px 0 8px rgba(26, 54, 93, 0.08) !important;
}

/* Sağdaki boş uzayan alan */
.comparison-table .section-row td:not(:first-child) {
    position: static !important;
    text-align: left !important;
}

.section-row span {
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
}

/* Dipnot satırı */
.comparison-table .note-row td {
    position: static !important;
    background: var(--bg-white);
    color: var(--text-dark);
    text-align: left !important;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 14px !important;
    white-space: normal;
    box-shadow: none !important;
}

/* Hover */
.comparison-table tbody tr:hover td {
    background: #f8fafc;
}

.comparison-table tbody tr:hover td:first-child {
    background: #edf2f7;
}

.comparison-table .section-row:hover td {
    background: #d9dcf9 !important;
}

.comparison-table .note-row:hover td {
    background: var(--bg-white) !important;
}

/* Eski highlight class kullanılırsa bozulmasın */
.comparison-table .highlight-col {
    background-color: rgba(13, 110, 253, 0.03);
    border-left: 2px solid var(--primary-blue) !important;
    border-right: 2px solid var(--primary-blue) !important;
}

.comparison-table th.highlight-col {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border: none;
}

.table-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
    text-align: right;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .table-container {
        max-height: 70vh;
        border-radius: 12px;
    }

    .comparison-table {
        table-layout: fixed;
        width: 1365px;
    }

    .comparison-table th,
    .comparison-table td {
        width: 85px;
        padding: 8px 6px;
        font-size: 0.65rem;
        word-break: break-word;
        white-space: normal;
    }

    .comparison-table thead th {
        width: 85px;
        font-size: 0.65rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
        font-size: 0.63rem;
        word-break: break-word;
        white-space: normal;
    }

    .table-note {
        text-align: left;
        font-size: 0.78rem;
    }
}

/* Contact */
.contact-wrapper {
    display: flex;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-info {
    flex: 1;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail i {
    font-size: 1.5rem;
    color: #25d366;
    width: 40px;
}

.contact-detail h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-detail p {
    margin: 0;
}

.contact-form {
    flex: 1.5;
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    /* Changed to slightly off-white to distinguish from contact section if needed, or white */
    padding: 70px 0 30px;
    border-top: 2px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-col {
    text-align: center;
    max-width: 600px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: var(--primary-blue);
    font-size: 2rem;
}

.footer-col p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-align: center;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-contact-list {
    text-align: center;
}

.footer-contact-list li {
    font-size: 1.2rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact-list li {
    line-height: 1.5;
}

.footer-contact-list i {
    color: #25d366;
    margin-right: 10px;
}

.footer-contact-list a {
    color: inherit;
    font-weight: 600;
}

.footer-contact-list a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-white);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question svg {
    color: var(--primary-blue);
    fill: currentColor;
    stroke: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Top NIPT Ranking Table */
/* Top NIPT Ranking Table */
.top-nipt-table-wrapper {
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    background: var(--bg-white);
    border: 1px solid var(--border);
    position: relative;
}

.top-nipt-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.top-nipt-table thead tr {
    background: var(--primary);
    color: var(--bg-white);
}

.top-nipt-table th,
.top-nipt-table td {
    padding: 14px 16px;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-white);
    vertical-align: middle;
    white-space: normal;
}

/* Üst başlıklar aşağı kaydırınca sabit kalsın */
.top-nipt-table thead th {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--primary);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

/* 1. sütun: Sıra */
.top-nipt-table th:nth-child(1),
.top-nipt-table td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 20;
    width: 75px;
    min-width: 75px;
    max-width: 75px;
    background: #f1f5fb;
    text-align: center;
    box-shadow: 4px 0 8px rgba(26, 54, 93, 0.08);
}

/* 2. sütun: Test adı */
.top-nipt-table th:nth-child(2),
.top-nipt-table td:nth-child(2) {
    position: sticky;
    left: 75px;
    z-index: 20;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: #f8fafc;
    text-align: left;
    box-shadow: 4px 0 8px rgba(26, 54, 93, 0.06);
}

/* Sol üstteki sticky başlıkların diğerlerinden üstte kalması */
.top-nipt-table thead th:nth-child(1),
.top-nipt-table thead th:nth-child(2) {
    z-index: 45;
    background: var(--primary);
    color: var(--bg-white);
}

/* Skor sütunları */
.top-nipt-table .score-col {
    width: 110px;
    min-width: 110px;
    font-variant-numeric: tabular-nums;
}

/* Toplam sütunu */
.top-nipt-table .total-col {
    background-color: rgba(13, 110, 253, 0.06);
    color: var(--primary-blue) !important;
    font-size: 0.95rem !important;
    font-weight: 700;
}

/* Header'daki toplam sütunu lacivert kalmalı */
.top-nipt-table thead .total-col {
    background: var(--primary-blue);
    color: var(--bg-white) !important;
}

/* Yorum sütunu */
.top-nipt-table .comment-col {
    min-width: 360px;
    max-width: 420px;
    text-align: left;
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Son sütunda sağ çizgi olmasın */
.top-nipt-table th:last-child,
.top-nipt-table td:last-child {
    border-right: none;
}

/* Son satırda alt çizgi olmasın */
.top-nipt-table tbody tr:last-child td {
    border-bottom: none;
}

/* Hover */
.top-nipt-table tbody tr:hover td {
    background-color: #f8fafc;
}

.top-nipt-table tbody tr:hover td:nth-child(1),
.top-nipt-table tbody tr:hover td:nth-child(2) {
    background-color: #edf2f7;
}

.top-nipt-table tbody tr:hover .total-col {
    background-color: rgba(13, 110, 253, 0.09);
}

/* Test adı */
.test-name {
    font-weight: 700;
    color: var(--primary);
}

/* Sıralama rozetleri */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border);
}

/* Varsa eski renkli rozet class'ları çalışmaya devam etsin */
.rank-badge.gold {
    background: linear-gradient(135deg, #f6d365, #fda085);
    color: #5a3000;
    border-color: #f6d365;
    box-shadow: 0 2px 8px rgba(246, 211, 101, 0.5);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #333;
    border-color: #c0c0c0;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #e8a96d);
    color: #fff;
    border-color: #cd7f32;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

.rank-badge.low {
    background: var(--bg-light);
    color: var(--text-light);
    border-color: var(--border);
}

/* Mobil uyum */
@media (max-width: 768px) {
    .top-nipt-table-wrapper {
        max-height: 70vh;
        border-radius: 12px;
    }

    .top-nipt-table {
        table-layout: fixed;
        width: 670px;
    }

    .top-nipt-table th,
    .top-nipt-table td {
        padding: 11px 10px;
        font-size: 0.78rem;
        word-break: break-word;
        white-space: normal;
    }

    .top-nipt-table th:nth-child(1),
    .top-nipt-table td:nth-child(1) {
        display: none;
    }

    .top-nipt-table th:nth-child(2),
    .top-nipt-table td:nth-child(2) {
        left: 0;
        width: 100px;
        min-width: 100px;
        max-width: 100px;
        font-size: 0.72rem;
    }

    .top-nipt-table .score-col {
        width: 90px;
        min-width: 90px;
    }

    .top-nipt-table .comment-col {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        font-size: 0.76rem;
    }

    .rank-badge {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }
}

/* Blog Post Layout */
.page-header {
    background-color: var(--primary);
    padding: 160px 0 80px;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.blog-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
}

.article-content h2,
.article-content h3 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    list-style-type: disc;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.widget-links li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.widget-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-links a {
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: capitalize;
}

.widget-links a:before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-blue);
}

.widget-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.bold {
    font-weight: 700;
}

@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

/* Responsive */
@media (max-width: 1450px) {
    .hero .container {
        padding-left: 20px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .hero-bg {
        width: 100%;
        opacity: 0.15;
    }

    .hero {
        padding: 120px 0 80px;
        text-align: center;
        justify-content: center;
    }

    .hero .container {
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
    }

    .hero-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

    .card.premium {
        transform: none;
    }

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

    .contact-wrapper {
        flex-direction: column;
    }

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

@media (max-width: 1200px) {
    .nav {
        gap: 12px;
    }

    .nav a:not(.btn) {
        font-size: 0.85rem;
    }

    .nav .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1050px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .contact-info,
    .contact-form {
        padding: 30px;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* SVG Icon System */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.icon-filled {
    fill: currentColor;
    stroke: none;
}

.whatsapp-icon {
    color: #25d366;
}