/* MIT Diamond Style - Auto-themed */
:root {
    --phkl-slate: #14203c;
    --phkl-charcoal: #131c30;
    --phkl-bronze: #f4c71b;
    --phkl-bronze-light: #61b5f2;
    --phkl-bronze-dark: #2c80cb;
    --phkl-white: #ffffff;
    --phkl-offwhite: #f8fafc;
    --phkl-gray-100: #f1f5f9;
    --phkl-gray-200: #e7eaf5;
    --phkl-gray-400: #939fb1;
    --phkl-gray-600: #4f4b68;
    --phkl-gray-800: #1c233f;
    --phkl-text: #144fa6;
    --phkl-success: #0a985f;
    --phkl-radius-sm: 3px;
    --phkl-radius-md: 10px;
    --phkl-radius-lg: 11px;
    --phkl-shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --phkl-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --phkl-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --phkl-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--phkl-text);
    background: var(--phkl-white);
    -webkit-font-smoothing: antialiased;
}

.phkl-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 31px;
}

/* Breadcrumb */
.phkl-breadcrumb {
    background: var(--phkl-gray-100);
    padding: 15px 0;
    border-bottom: 1px solid var(--phkl-gray-200);
}

.phkl-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 11px;
    list-style: none;
    font-size: 14px;
}

.phkl-breadcrumb-item a {
    color: var(--phkl-gray-600);
    text-decoration: none;
    transition: color var(--phkl-transition);
}

.phkl-breadcrumb-item a:hover {
    color: var(--phkl-bronze);
}

.phkl-breadcrumb-divider {
    color: var(--phkl-gray-400);
}

.phkl-breadcrumb-current {
    color: var(--phkl-slate);
    font-weight: 500;
}

/* Header */
.phkl-header {
    background: var(--phkl-white);
    border-bottom: 1px solid var(--phkl-gray-200);
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--phkl-shadow-sm);
}

.phkl-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.phkl-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--phkl-slate);
}

.phkl-logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--phkl-white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.phkl-logo-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.phkl-logo-name span {
    color: var(--phkl-bronze);
}

.phkl-navigation {
    display: flex;
    align-items: center;
    gap: 29px;
}

.phkl-nav-link {
    color: var(--phkl-gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 7px 0;
    position: relative;
    transition: color var(--phkl-transition);
}

.phkl-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--phkl-bronze);
    transition: width var(--phkl-transition);
}

.phkl-nav-link:hover,
.phkl-nav-link.active {
    color: var(--phkl-slate);
}

.phkl-nav-link:hover::after,
.phkl-nav-link.active::after {
    width: 100%;
}

.phkl-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.phkl-burger-line {
    width: 27px;
    height: 2px;
    background: var(--phkl-slate);
    transition: var(--phkl-transition);
}

.phkl-burger.open .phkl-burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.phkl-burger.open .phkl-burger-line:nth-child(2) {
    opacity: 0;
}

.phkl-burger.open .phkl-burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.phkl-mobile-menu {
    display: none;
    background: var(--phkl-white);
    border-top: 1px solid var(--phkl-gray-200);
    padding: 14px 0;
}

.phkl-mobile-menu.open {
    display: block;
}

.phkl-mobile-link {
    display: block;
    padding: 17px 28px;
    color: var(--phkl-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--phkl-gray-100);
    transition: background var(--phkl-transition);
}

.phkl-mobile-link:hover {
    background: var(--phkl-gray-100);
}

/* Hero */
.phkl-hero {
    background: linear-gradient(135deg, var(--phkl-charcoal) 0%, var(--phkl-slate) 100%);
    color: var(--phkl-white);
    padding: 74px 0 63px;
    position: relative;
    overflow: hidden;
}

.phkl-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(73,158,243,0.08));
}

.phkl-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.phkl-hero-label {
    display: inline-block;
    background: rgba(72,164,245,0.2);
    color: var(--phkl-bronze-light);
    padding: 7px 14px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--phkl-radius-sm);
    margin-bottom: 17px;
}

.phkl-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 19px;
    letter-spacing: -2px;
}

.phkl-hero-desc {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.phkl-hero-actions {
    display: flex;
    gap: 19px;
    flex-wrap: wrap;
}

/* Buttons */
.phkl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--phkl-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--phkl-transition);
}

.phkl-btn-primary {
    background: linear-gradient(135deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    color: var(--phkl-white);
    box-shadow: 0 4px 14px rgba(70,161,245,0.35);
}

.phkl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61,167,237,0.45);
}

.phkl-btn-outline {
    background: transparent;
    color: var(--phkl-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.phkl-btn-outline:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
}

/* Trust Badges */
.phkl-trust-bar {
    background: var(--phkl-gray-100);
    padding: 21px 0;
    border-bottom: 2px solid var(--phkl-gray-200);
}

.phkl-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 47px;
    flex-wrap: wrap;
}

.phkl-badge {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 15px;
    color: var(--phkl-gray-600);
}

.phkl-badge-icon {
    width: 32px;
    height: 32px;
    background: var(--phkl-white);
    border: 1px solid var(--phkl-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.phkl-badge-text {
    font-weight: 500;
}

/* Main Content */
.phkl-main {
    padding: 58px 0;
}

.phkl-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 47px;
}

.phkl-article {
    max-width: 760px;
    margin: 0 auto;
}

.phkl-article h2 {
    font-size: 33px;
    font-weight: 700;
    color: var(--phkl-slate);
    margin: 46px 0 23px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--phkl-gray-200);
    letter-spacing: -0.6px;
}

.phkl-article h2:first-of-type {
    margin-top: 0;
}

.phkl-article h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--phkl-slate);
    margin: 35px 0 17px;
}

.phkl-article p {
    margin-bottom: 18px;
    color: var(--phkl-text);
}

.phkl-article ul,
.phkl-article ol {
    margin: 23px 0;
    padding-left: 24px;
}

.phkl-article li {
    margin-bottom: 7px;
    padding-left: 10px;
}

.phkl-article li::marker {
    color: var(--phkl-bronze);
}

.phkl-article strong {
    color: var(--phkl-slate);
    font-weight: 600;
}

/* Article Image */
.phkl-article-figure {
    margin: 39px 0;
    border-radius: var(--phkl-radius-lg);
    overflow: hidden;
    box-shadow: var(--phkl-shadow-lg);
}

.phkl-article-img {
    width: 100%;
    height: auto;
    display: block;
}

.phkl-article-caption {
    background: var(--phkl-gray-100);
    padding: 15px 17px;
    font-size: 12px;
    color: var(--phkl-gray-600);
    text-align: center;
}

/* Key Points Box */
.phkl-keypoints {
    background: var(--phkl-gray-100);
    border-left: 4px solid var(--phkl-bronze);
    padding: 28px;
    border-radius: 0 var(--phkl-radius-md) var(--phkl-radius-md) 0;
    margin: 29px 0;
}

.phkl-keypoints-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--phkl-slate);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.phkl-keypoints-list {
    list-style: none;
    padding: 0;
}

.phkl-keypoints-list li {
    padding: 9px 0 6px 31px;
    position: relative;
}

.phkl-keypoints-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--phkl-bronze);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* FAQ Accordion */
.phkl-faq-section {
    margin: 63px 0;
    padding: 59px 0;
    background: var(--phkl-gray-100);
}

.phkl-faq-header {
    text-align: center;
    margin-bottom: 41px;
}

.phkl-faq-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--phkl-slate);
    margin-bottom: 15px;
}

.phkl-faq-subtitle {
    font-size: 18px;
    color: var(--phkl-gray-600);
}

.phkl-faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.phkl-faq-item {
    background: var(--phkl-white);
    border: 1px solid var(--phkl-gray-200);
    border-radius: var(--phkl-radius-md);
    margin-bottom: 11px;
    overflow: hidden;
    transition: box-shadow var(--phkl-transition);
}

.phkl-faq-item:hover {
    box-shadow: var(--phkl-shadow-md);
}

.phkl-faq-item.open {
    border-color: var(--phkl-bronze);
    box-shadow: 0 4px 16px rgba(65,160,239,0.15);
}

.phkl-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 23px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.phkl-faq-question {
    font-size: 17px;
    font-weight: 600;
    color: var(--phkl-slate);
}

.phkl-faq-chevron {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--phkl-gray-400);
    transition: transform var(--phkl-transition);
}

.phkl-faq-item.open .phkl-faq-chevron {
    transform: rotate(180deg);
    color: var(--phkl-bronze);
}

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

.phkl-faq-item.open .phkl-faq-answer {
    max-height: 500px;
}

.phkl-faq-answer-inner {
    padding: 0 25px 22px;
    color: var(--phkl-text);
    line-height: 1.7;
}

/* Footer */
.phkl-footer {
    background: var(--phkl-charcoal);
    color: rgba(255,255,255,0.8);
    padding: 67px 0 32px;
}

.phkl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
    margin-bottom: 50px;
}

.phkl-footer-brand {
    max-width: 280px;
}

.phkl-footer-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.phkl-footer-logo-mark {
    width: 34px;
    height: 36px;
    background: linear-gradient(145deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--phkl-white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.phkl-footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--phkl-white);
}

.phkl-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.phkl-footer-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--phkl-white);
    margin-bottom: 21px;
}

.phkl-footer-links {
    list-style: none;
}

.phkl-footer-links li {
    margin-bottom: 10px;
}

.phkl-footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--phkl-transition);
}

.phkl-footer-links a:hover {
    color: var(--phkl-bronze-light);
}

.phkl-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.phkl-footer-disclaimer {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 15px;
}

.phkl-footer-copy {
    font-size: 16px;
    color: rgba(255,255,255,0.4);
}

/* Exit Popup */
.phkl-exit-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.phkl-exit-overlay.visible {
    display: flex;
    opacity: 1;
}

.phkl-exit-modal {
    background: var(--phkl-white);
    max-width: 480px;
    width: 90%;
    padding: 38px;
    border-radius: var(--phkl-radius-lg);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.phkl-exit-overlay.visible .phkl-exit-modal {
    transform: scale(1);
}

.phkl-exit-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--phkl-gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 17px;
    color: var(--phkl-gray-600);
    transition: background var(--phkl-transition);
}

.phkl-exit-close:hover {
    background: var(--phkl-gray-200);
}

.phkl-exit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(145deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 31px;
}

.phkl-exit-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--phkl-slate);
    margin-bottom: 9px;
}

.phkl-exit-text {
    font-size: 18px;
    color: var(--phkl-gray-600);
    margin-bottom: 23px;
}

.phkl-exit-cta {
    width: 100%;
    padding: 19px;
    background: linear-gradient(135deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    color: var(--phkl-white);
    border: none;
    border-radius: var(--phkl-radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--phkl-transition);
}

.phkl-exit-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(73,163,245,0.4);
}

/* Contact Page Styles */
.phkl-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 45px;
    margin-top: 42px;
}

.phkl-contact-info {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.phkl-contact-card {
    display: flex;
    gap: 19px;
    align-items: flex-start;
}

.phkl-contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    border-radius: var(--phkl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phkl-contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--phkl-white);
}

.phkl-contact-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--phkl-slate);
    margin-bottom: 5px;
}

.phkl-contact-value {
    font-size: 14px;
    color: var(--phkl-gray-600);
}

.phkl-form-wrap {
    background: var(--phkl-gray-100);
    padding: 39px;
    border-radius: var(--phkl-radius-lg);
}

.phkl-form-field {
    margin-bottom: 21px;
}

.phkl-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--phkl-slate);
    margin-bottom: 11px;
}

.phkl-form-input,
.phkl-form-select,
.phkl-form-textarea {
    width: 100%;
    padding: 14px 13px;
    font-size: 17px;
    font-family: inherit;
    border: 1px solid var(--phkl-gray-200);
    border-radius: var(--phkl-radius-md);
    background: var(--phkl-white);
    transition: all var(--phkl-transition);
}

.phkl-form-input:focus,
.phkl-form-select:focus,
.phkl-form-textarea:focus {
    outline: none;
    border-color: var(--phkl-bronze);
    box-shadow: 0 0 0 3px rgba(72,169,244,0.15);
}

.phkl-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.phkl-form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--phkl-bronze), var(--phkl-bronze-dark));
    color: var(--phkl-white);
    border: none;
    border-radius: var(--phkl-radius-md);
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--phkl-transition);
}

.phkl-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71,159,245,0.4);
}

.phkl-form-success {
    display: none;
    padding: 19px;
    background: #d2f5e0;
    border: 2px solid #9de9d1;
    border-radius: var(--phkl-radius-md);
    color: #0a594c;
    text-align: center;
    margin-top: 21px;
}

.phkl-form-success.show {
    display: block;
}

/* Page Header */
.phkl-page-header {
    background: var(--phkl-gray-100);
    padding: 46px 0;
    text-align: center;
    border-bottom: 2px solid var(--phkl-gray-200);
}

.phkl-page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--phkl-slate);
    margin-bottom: 9px;
}

.phkl-page-subtitle {
    font-size: 18px;
    color: var(--phkl-gray-600);
}

/* Responsive */
@media (max-width: 992px) {
    .phkl-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 43px;
    }

    .phkl-footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .phkl-header { position: relative !important; }
    .phkl-navigation {
        display: none;
    }

    .phkl-burger {
        display: flex;
    }

    .phkl-hero {
        padding: 46px 0;
    }

    .phkl-hero-title {
        font-size: 32px;
    }

    .phkl-hero-desc {
        font-size: 17px;
    }

    .phkl-hero-actions {
        flex-direction: column;
    }

    .phkl-btn {
        width: 100%;
    }

    .phkl-trust-badges {
        gap: 21px;
    }

    .phkl-article h2 {
        font-size: 28px;
    }

    .phkl-article h3 {
        font-size: 20px;
    }

    .phkl-faq-title {
        font-size: 28px;
    }

    .phkl-footer-grid {
        grid-template-columns: 1fr;
        gap: 33px;
    }

    .phkl-footer-brand {
        grid-column: span 1;
    }

    .phkl-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phkl-form-wrap {
        padding: 27px;
    }
}

@media (max-width: 480px) {
    .phkl-wrapper {
        padding: 0 17px;
    }

    .phkl-hero-title {
        font-size: 28px;
    }

    .phkl-badge-text {
        font-size: 12px;
    }

    .phkl-keypoints {
        padding: 23px;
    }

    .phkl-faq-toggle {
        padding: 17px 18px;
    }

    .phkl-faq-question {
        font-size: 15px;
    }

    .phkl-exit-modal {
        padding: 28px;
    }
}

/* Companies Comparison Table - Diamond Academic Style */
.phkl-matrix-section {
    margin: 45px 0;
    background: var(--phkl-white);
    border-radius: var(--phkl-radius-lg);
    box-shadow: var(--phkl-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--phkl-gray-200);
}

.phkl-matrix-header {
    background: linear-gradient(135deg, var(--phkl-charcoal) 0%, var(--phkl-slate) 100%);
    padding: 19px 31px;
    border-bottom: 4px solid var(--phkl-bronze);
}

.phkl-matrix-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--phkl-white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.phkl-matrix-scroll {
    overflow-x: auto;
}

.phkl-matrix-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.phkl-matrix-table thead {
    background: var(--phkl-gray-100);
}

.phkl-matrix-table th {
    padding: 15px 22px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--phkl-slate);
    text-transform: uppercase;
    letter-spacing: 0.11px;
    border-bottom: 3px solid var(--phkl-gray-200);
}

.phkl-matrix-table td {
    padding: 18px;
    border-bottom: 2px solid var(--phkl-gray-200);
    font-size: 15px;
    color: var(--phkl-text);
}

.phkl-matrix-table tbody tr {
    transition: background var(--phkl-transition);
}

.phkl-matrix-table tbody tr:hover {
    background: var(--phkl-offwhite);
}

.phkl-matrix-table tbody tr.recommended {
    background: linear-gradient(90deg, rgba(70,166,237,0.08), transparent);
    border-left: 4px solid var(--phkl-bronze);
}

.phkl-matrix-table .firm-name {
    font-weight: 600;
    color: var(--phkl-slate);
}

.phkl-matrix-table .firm-name .rec-tag {
    background: var(--phkl-bronze);
    color: var(--phkl-white);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 11px;
    border-radius: 5px;
    margin-left: 6px;
    vertical-align: middle;
}

.phkl-matrix-table .gold-stars {
    color: var(--phkl-bronze);
}

.phkl-matrix-table .val-yes {
    color: var(--phkl-success);
    font-weight: 600;
}

.phkl-matrix-table .val-no {
    color: #d62e1d;
}

@media (max-width: 768px) {
    .phkl-matrix-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 17px;
    }

    .phkl-matrix-card {
        background: var(--phkl-white);
        border: 1px solid var(--phkl-gray-200);
        border-radius: var(--phkl-radius-md);
        overflow: hidden;
    }

    .phkl-matrix-card.recommended {
        border: 2px solid var(--phkl-bronze);
    }

    .phkl-matrix-card-top {
        background: var(--phkl-gray-100);
        padding: 21px 21px;
        border-bottom: 1px solid var(--phkl-gray-200);
    }

    .phkl-matrix-card-name {
        font-size: 18px;
        font-weight: 700;
        color: var(--phkl-slate);
        margin-bottom: 4px;
    }

    .phkl-matrix-card-stars {
        color: var(--phkl-bronze);
        font-size: 14px;
    }

    .phkl-matrix-card-body {
        padding: 18px 19px;
    }

    .phkl-matrix-card-line {
        display: flex;
        justify-content: space-between;
        padding: 13px 0;
        border-bottom: 2px solid var(--phkl-gray-100);
        font-size: 14px;
    }

    .phkl-matrix-card-line:last-child {
        border-bottom: none;
    }

    .phkl-matrix-card-key {
        color: var(--phkl-gray-600);
    }

    .phkl-matrix-card-val {
        font-weight: 600;
        color: var(--phkl-text);
    }
}


/* Force Mobile Table Cards */
@media screen and (max-width: 768px) {
    .phkl-companies-section .phkl-companies-table-wrapper {
        overflow: visible !important;
        background: transparent !important;
    }

    .phkl-companies-section table.phkl-companies-table {
        display: block !important;
        width: 100% !important;
    }

    .phkl-companies-section .phkl-companies-table thead {
        display: none !important;
    }

    .phkl-companies-section .phkl-companies-table tbody,
    .phkl-companies-section .phkl-companies-table tr {
        display: block !important;
        width: 100% !important;
    }

    .phkl-companies-section .phkl-companies-table tbody tr.phkl-company-row {
        background: #fff !important;
        margin-bottom: 20px !important;
        border-radius: 13px !important;
        box-shadow: 0 5px 23px rgba(87,37,47,0.1) !important;
        padding: 23px !important;
        border: 2px solid rgba(86,27,40,0.08);
    }

    .phkl-companies-section .phkl-companies-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border: none !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }

    .phkl-companies-section .phkl-companies-table td:last-child {
        border-bottom: none !important;
    }

    .phkl-companies-section .phkl-companies-table td::before {
        content: attr(data-label) !important;
        font-weight: 700 !important;
        color: #551a36 !important;
        flex-shrink: 0 !important;
        margin-right: 15px !important;
        font-size: 0.85rem !important;
    }

    .phkl-companies-section .phkl-td-company {
        flex-direction: column !important;
        text-align: center !important;
        padding-bottom: 13px !important;
        border-bottom: 3px solid #f2dccb !important;
    }

    .phkl-companies-section .phkl-td-company::before {
        display: none !important;
    }

    .phkl-companies-section .phkl-td-rank {
        justify-content: center !important;
        padding-top: 0 !important;
        border-bottom: none !important;
    }

    .phkl-companies-section .phkl-td-rank::before {
        display: none !important;
    }

    .phkl-companies-section .phkl-td-action {
        flex-direction: column !important;
        padding-top: 15px !important;
        border-top: 3px solid #f5dfd1 !important;
        border-bottom: none !important;
    }

    .phkl-companies-section .phkl-td-action::before {
        display: none !important;
    }

    .phkl-companies-section .phkl-td-action .phkl-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 22px !important;
        font-size: 1rem !important;
    }
}

/* Company Logo Styles */
.phkl-company-logo {
    width: auto !important;
    height: 45px !important;
    max-width: 140px !important;
    max-height: 45px !important;
    object-fit: contain !important;
    margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
    .phkl-company-logo {
        display: block !important;
        margin: 0 auto 18px auto !important;
    }

    .phkl-companies-section .phkl-td-company .phkl-company-info {
        text-align: center;
    }
}


/* Hamburger Menu Styles */
.phkl-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.phkl-menu-line {
    width: 27px;
    height: 3px;
    background: var(--phkl-text, #293f4b);
    border-radius: 1px;
    transition: 0.3s;
}

.phkl-menu-toggle.active .phkl-menu-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.phkl-menu-toggle.active .phkl-menu-line:nth-child(2) {
    opacity: 0;
}

.phkl-menu-toggle.active .phkl-menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .phkl-menu-toggle {
        display: flex;
    }
}


/* Header Container Fix */
.phkl-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phkl-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* Navigation Responsive Fix */
@media (max-width: 768px) {
    .phkl-nav {
        display: none !important;
    }

    .phkl-menu-toggle {
        display: flex !important;
    }
}


/* Mobile Navigation Hidden by Default */
.phkl-mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 17px 22px;
    border-top: 2px solid #eee;
}

.phkl-mobile-nav.active {
    display: flex;
}

.phkl-mobile-link {
    padding: 12px 0;
    color: var(--phkl-text, #323850);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.phkl-mobile-link:last-child {
    border-bottom: none;
}

.phkl-mobile-link:hover {
    color: var(--phkl-accent, #f40a1a);
}


/* SVG Logo & Mobile Fixes */
.phkl-logo-svg {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

.phkl-logo-text {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .phkl-logo-svg {
        width: 28px;
        height: 28px;
    }
}

/* Company logos 50% width on mobile portrait */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .phkl-company-logo {
        width: 50vw !important;
        max-width: 50vw !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* Center company logos on mobile */
@media screen and (max-width: 768px) {
    .phkl-company-logo {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .phkl-company-info {
        text-align: center !important;
    }

    .phkl-company-name {
        text-align: center !important;
    }

    .phkl-company-badge {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* Max width 1400px for desktop */
.phkl-wrapper, .phkl-content, .phkl-hero-inner, .phkl-companies-container, 
.phkl-article, .phkl-container, .phkl-footer-inner, .phkl-main {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center buttons in company cards */
.phkl-company-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.phkl-td-action {
    text-align: center !important;
}
.phkl-action-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 9px !important;
}
