/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2d3748;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    background: #ffffff;
    color: #353533;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
}

.navbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.navbar-brand {
    color: #353533;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 130px;
    width: auto;
    margin: -30px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: #425a6c;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(66, 90, 108, 0.08);
    color: #353533;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #353533;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #1a2332 0%, #243447 60%, #2d3f54 100%);
    color: #ffffff;
    padding: 100px 0 110px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-hero {
    background: #f5c518;
    color: #1a2332;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35);
}

.btn-hero:hover {
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.5);
}

.btn-hero-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 107, 107, 0.7);
}

.btn-hero-outline:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #f5c518 0%, #e6b800 100%);
    color: #1a2332;
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: #1a2332;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #f5c518;
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.15);
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a2332;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #718096;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Highlights (Home) ===== */
.highlights {
    background: #f7fafc;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.highlight-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.highlight-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.highlight-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 16px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: #f5c518;
    text-decoration: none;
    transition: color 0.2s;
}

.card-link:hover {
    color: #e6b800;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 32px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.65;
}

/* ===== Tools Page ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tool-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 32px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tool-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.tool-badge {
    display: inline-block;
    background: #fef9e7;
    color: #f5c518;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}


.tool-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 12px;
}

.tool-card p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 20px;
}

.tool-features {
    list-style: none;
    margin-bottom: 24px;
}

.tool-features li {
    font-size: 14px;
    color: #4a5568;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.tool-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #38a169;
    font-weight: 700;
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.blog-tag {
    display: inline-block;
    background: #fef9e7;
    color: #f5c518;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h3 a:hover {
    color: #f5c518;
}

.blog-card p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 13px;
    color: #a0aec0;
}

/* ===== Blog Post (Article) ===== */
.article-header {
    background: linear-gradient(135deg, #1a2332 0%, #243447 60%, #2d3f54 100%);
    color: #ffffff;
    padding: 80px 0 60px;
    text-align: center;
}

.article-header .blog-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.article-header h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 760px;
    margin: 0 auto 16px;
}

.article-meta {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
    margin: 40px 0 16px;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2332;
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 17px;
    line-height: 1.75;
    color: #2d3748;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
    font-size: 17px;
    line-height: 1.75;
    color: #2d3748;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    border-left: 4px solid #f5c518;
    background: #fef9e7;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 17px;
    color: #4a5568;
    border-radius: 0 8px 8px 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.article-body th {
    background: #1a2332;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.article-body td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.article-body tr:nth-child(even) {
    background: #f7fafc;
}

.article-cta {
    background: #f7fafc;
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    margin-top: 48px;
}

.article-cta h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.article-cta p {
    margin-bottom: 20px;
    color: #4a5568;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: #f7fafc;
}

.cta-box {
    background: linear-gradient(135deg, #1a2332 0%, #243447 100%);
    border-radius: 16px;
    padding: 56px 48px;
    text-align: center;
    color: #ffffff;
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ===== Contact Form ===== */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 36px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f5c518;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}

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

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #f5c518 0%, #e6b800 100%);
    color: #1a2332;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.4);
}

/* ===== Page Header (non-hero pages) ===== */
.page-header {
    background: linear-gradient(135deg, #1a2332 0%, #243447 60%, #2d3f54 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
    background: #111921;
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 40px;
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 600px;
    margin: 0 auto;
}

.footer-byline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.footer-byline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-byline a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 960px) and (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 64px 0 72px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .highlights-grid,
    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 26px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    /* Mobile nav */
    .navbar-inner {
        height: 64px;
    }

    .navbar-logo {
        height: 90px;
        margin: -18px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 12px 24px 20px;
        gap: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .contact-form-card {
        padding: 28px 20px;
    }
}

/* ===== Tool Pages (Classify + Tracker) ===== */
.tool-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.tool-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
}

.tool-sidebar {
    position: sticky;
    top: 110px;
}

.result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
    margin-bottom: 20px;
}

/* Wizard styles */
.wizard-section {
    margin-bottom: 30px;
}

.wizard-section.hidden,
.question-block.hidden,
.hidden {
    display: none;
}

.wiz-section-title {
    color: #1a2332;
    border-bottom: 2px solid #f5c518;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 22px;
}

.question-box {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #f5c518;
}

.question-label {
    font-size: 16px;
    color: #1a2332;
    margin-bottom: 15px;
    display: block;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.radio-option:hover {
    background: #edf2f7;
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.radio-text {
    display: flex;
    flex-direction: column;
}

.radio-text strong {
    color: #2d3748;
}

.option-desc {
    font-size: 13px;
    color: #718096;
    margin-top: 4px;
}

.rule-tag {
    display: inline-block;
    background: #fef9e7;
    color: #f5c518;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
    font-weight: normal;
}

/* Classification result styles */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-item {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #cbd5e0;
}

.rule-item.rule-determining {
    border-left-color: #f5c518;
    background: #fef9e7;
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.rule-number {
    font-weight: bold;
    color: #1a2332;
    font-size: 16px;
}

.rule-class {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.class-i {
    background: #c6f6d5;
    color: #22543d;
}

.class-iia {
    background: #bee3f8;
    color: #2a4365;
}

.class-iib {
    background: #faf089;
    color: #744210;
}

.class-iii {
    background: #fed7d7;
    color: #742a2a;
}

.determining-badge {
    background: #f5c518;
    color: #1a2332;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rule-info {
    color: #4a5568;
    margin-bottom: 8px;
}

.rule-reason {
    color: #718096;
    font-size: 14px;
    padding-left: 15px;
    border-left: 2px solid #cbd5e0;
}

/* History panel items */
.history-item {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

/* Tracker list items */
.tracker-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tracker-list-item {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tracker-list-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Tool page responsive */
@media (max-width: 768px) {
    .tool-layout {
        grid-template-columns: 1fr;
    }

    .tool-sidebar {
        position: static;
    }

    .tool-content-card,
    .result-card {
        padding: 20px 16px;
    }

    .wiz-section-title {
        font-size: 18px;
    }

    .question-box {
        padding: 16px;
    }
}

/* ===== Print Stylesheet ===== */
@media print {
    .no-print,
    .navbar,
    .nav-toggle,
    .tool-sidebar {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .page-header {
        background: none !important;
        color: #000 !important;
        padding: 20px 0;
    }

    .page-header h1 {
        color: #000 !important;
        font-size: 24pt;
    }

    .page-header p {
        color: #333 !important;
    }

    .tool-layout {
        display: block;
    }

    .tool-content-card,
    .result-card {
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
        margin-bottom: 16px;
    }

    .btn {
        display: none !important;
    }

    .section {
        padding: 20px 0;
    }

    .footer {
        display: none;
    }

    a {
        color: #000;
        text-decoration: none;
    }

    .rule-class {
        border: 1px solid #999;
    }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a2332;
    color: rgba(255, 255, 255, 0.9);
    padding: 16px 24px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    display: none;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.cookie-banner p {
    font-size: 14px;
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #f5c518;
    text-decoration: underline;
}

.cookie-btn {
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #f5c518;
    color: #1a2332;
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== Legal Page Links in Footer ===== */
.footer-legal {
    margin-top: 12px;
    font-size: 13px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* ===== Newsletter Signup ===== */
.newsletter-section {
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    padding: 48px 0;
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-inner h3 {
    font-size: 22px;
    color: #1a2332;
    margin-bottom: 8px;
}

.newsletter-inner p {
    color: #718096;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
    border-color: #f5c518;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.newsletter-form button {
    padding: 12px 24px;
    background: #f5c518;
    color: #1a2332;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #e6b800;
}

.newsletter-privacy {
    font-size: 12px;
    color: #a0aec0;
    margin-top: 10px;
}

.newsletter-privacy a {
    color: #718096;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ===== Social Share Buttons ===== */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 32px 0;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.share-bar span {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.85;
}

.share-btn-linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn-x {
    background: #1a2332;
    color: #fff;
}

.share-btn-email {
    background: #718096;
    color: #fff;
}

/* ===== Author Byline ===== */
.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin: 32px 0;
    background: #f7fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a2332;
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info .author-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a2332;
    margin: 0 0 2px;
}

.author-info .author-role {
    font-size: 13px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Pricing Grid ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.pricing-card-featured {
    border: 2px solid #f5c518;
    position: relative;
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.15);
}

.pricing-badge {
    display: inline-block;
    background: #fef9e7;
    color: #f5c518;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.pricing-badge-featured {
    background: #f5c518;
    color: #1a2332;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 800;
    color: #1a2332;
    margin: 16px 0 8px;
    line-height: 1;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: #718096;
}

.pricing-desc {
    font-size: 14px;
    color: #718096;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 14px;
    color: #4a5568;
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid #f7fafc;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.included::before {
    content: "\2713";
    position: absolute;
    left: 4px;
    color: #38a169;
    font-weight: 700;
    font-size: 14px;
}

.pricing-features li.excluded {
    color: #a0aec0;
}

.pricing-features li.excluded::before {
    content: "\2717";
    position: absolute;
    left: 4px;
    color: #cbd5e0;
    font-weight: 700;
    font-size: 14px;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-pricing:hover {
    transform: translateY(-2px);
}

.btn-pricing-primary {
    background: linear-gradient(135deg, #f5c518 0%, #e6b800 100%);
    color: #1a2332;
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.3);
}

.btn-pricing-primary:hover {
    box-shadow: 0 6px 18px rgba(245, 197, 24, 0.45);
}

.btn-pricing-outline {
    background: #ffffff;
    color: #1a2332;
    border: 2px solid #e2e8f0;
}

.btn-pricing-outline:hover {
    border-color: #f5c518;
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.15);
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

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

.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.65;
}

/* ===== Consultant Directory ===== */
.consultants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.consultant-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.consultant-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.consultant-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.consultant-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a2332;
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.consultant-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 2px;
}

.consultant-role {
    font-size: 13px;
    color: #718096;
}

.consultant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.consultant-tag {
    display: inline-block;
    background: #fef9e7;
    color: #b8860b;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.consultant-bio {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

.consultant-meta {
    font-size: 13px;
    color: #718096;
    margin-bottom: 16px;
}

.consultant-meta span {
    margin-right: 16px;
}

/* ===== Consultant Filters ===== */
.consultant-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
    border-color: #f5c518;
    color: #1a2332;
}

.filter-btn.active {
    background: #f5c518;
    color: #1a2332;
    border-color: #f5c518;
    font-weight: 600;
}

/* ===== Responsive: Pricing + Consultants ===== */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card-featured {
        order: -1;
    }
}

/* ===== CRO Directory ===== */
.cro-avatar {
    background: #1a4d2e !important;
    color: #a8e6cf !important;
}

.cro-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.cro-intro h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 12px;
}

.cro-intro p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
}

.cro-guide {
    max-width: 900px;
    margin: 0 auto;
}

.cro-guide h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 32px;
}

.cro-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cro-guide-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
}

.cro-guide-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
}

.cro-guide-item p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.cro-categories {
    margin-bottom: 0;
}

.cro-categories h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 32px;
}

.cro-coming-soon {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.cro-coming-soon h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 12px;
}

.cro-coming-soon p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
}

.cro-dual-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.cro-dual-cta .cta-box {
    text-align: center;
}

@media (max-width: 768px) {
    .cro-guide-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cro-dual-cta {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
