/* ==========================================================================
   Cakmak Law - Foreign Investment & Legal Due Diligence Hub Stylesheet
   Luxury Dark Corporate Gold Design System
   ========================================================================== */

/* Hero Section */
.ph-foreign-investment {
    background: radial-gradient(circle at 50% 20%, rgba(197, 160, 89, 0.16) 0%, rgba(16, 9, 6, 0.98) 75%);
    padding: 90px 0 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.ph-foreign-investment .page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #dfba73;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.fdi-flag-badge {
    font-size: 14px;
}

.ph-foreign-investment h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    line-height: 1.25;
    color: #ffffff;
    max-width: 960px;
    margin: 0 auto 20px;
    font-weight: 700;
}

.ph-foreign-investment .page-meta {
    font-size: 16px;
    line-height: 1.7;
    color: #d1d5db;
    max-width: 820px;
    margin: 0 auto 40px;
}

.ph-foreign-investment .page-meta strong {
    color: #dfba73;
}

/* Hero Stats Grid */
.fdi-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 0 auto;
}

.fdi-stat-box {
    background: rgba(26, 17, 13, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.fdi-stat-box:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 160, 89, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.fdi-stat-num {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #c5a059;
    margin-bottom: 6px;
}

.fdi-stat-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.4;
    font-weight: 500;
}

/* Main Section */
.fdi-content-section {
    padding: 60px 0 100px;
    background: #0d0705;
    color: #f5f5f7;
}

/* FDI Card Base */
.fdi-card {
    background: rgba(22, 13, 9, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.fdi-card-header {
    margin-bottom: 32px;
}

.fdi-badge-gold {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #dfba73;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.fdi-card-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: #ffffff;
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.3;
}

.fdi-subtitle {
    font-size: 15px;
    color: #9ca3af;
    line-height: 1.65;
    max-width: 860px;
    margin: 0;
}

/* SECTION 1: DUE DILIGENCE NAVIGATOR */
.fdi-dd-card .fdi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    padding-bottom: 28px;
}

.fdi-header-left {
    flex: 1;
}

.fdi-score-widget {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(14, 8, 5, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.35);
    padding: 16px 24px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.score-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #c5a059;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(18, 9, 6, 0.9) 80%);
    box-shadow: 0 0 16px rgba(197, 160, 89, 0.3);
}

.score-circle span {
    font-size: 20px;
    font-weight: 700;
    color: #dfba73;
    line-height: 1;
}

.score-circle small {
    font-size: 9px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.score-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dd-badge-amber {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    text-align: center;
}

.dd-badge-blue {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
    text-align: center;
}

.dd-badge-green {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    text-align: center;
}

#dd-count-label {
    font-size: 13px;
    color: #9ca3af;
}

/* DD 6 Pillars Grid */
.dd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.dd-pillar {
    background: rgba(18, 10, 7, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.25s ease;
}

.dd-pillar:hover {
    border-color: rgba(197, 160, 89, 0.4);
}

.dd-pillar-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

.pillar-icon {
    font-size: 26px;
}

.dd-pillar-header h3 {
    font-size: 17px;
    color: #ffffff;
    margin: 0 0 2px;
    font-weight: 600;
}

.pillar-sub {
    font-size: 12px;
    color: #dfba73;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.dd-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dd-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #d1d5db;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
    user-select: none;
}

.dd-item:hover {
    background: rgba(197, 160, 89, 0.08);
}

.dd-check {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: #c5a059;
    cursor: pointer;
    flex-shrink: 0;
}

.dd-text strong {
    color: #f3f4f6;
}

.dd-item.checked {
    background: rgba(16, 185, 129, 0.07);
}

.dd-item.checked .dd-text {
    color: #9ca3af;
}

.dd-item.checked .dd-text strong {
    color: #6ee7b7;
}

/* DD Action Panel */
.dd-action-panel {
    margin-top: 34px;
    background: rgba(16, 9, 6, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dd-summary-box {
    flex: 1;
}

.dd-summary-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

#dd-recommendation-text {
    font-size: 14px;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.55;
}

.dd-btn-group {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.btn-dd-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #dfba73;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-dd-copy:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: #dfba73;
    color: #ffffff;
}

.btn-dd-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #1eab52 100%);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-dd-wa:hover {
    background: linear-gradient(135deg, #28e06c 0%, #22bc5a 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

/* SECTION 2: COMPARATIVE ENTITY SELECTION MATRIX */
.fdi-table-responsive {
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
}

.fdi-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.fdi-comparison-table th {
    background: rgba(20, 11, 7, 0.95);
    color: #dfba73;
    font-weight: 700;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    white-space: nowrap;
}

.fdi-comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    line-height: 1.5;
    vertical-align: top;
}

.fdi-comparison-table tr:hover td {
    background: rgba(197, 160, 89, 0.04);
}

.fdi-highlight {
    color: #dfba73;
    font-weight: 700;
}

.tag-success {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tag-warning {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tag-danger {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* SECTION 3: 5-STEP ROADMAP */
.fdi-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.fdi-step-item {
    background: rgba(18, 10, 7, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 22px 18px;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.fdi-step-item:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c5a059;
    background: rgba(197, 160, 89, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.fdi-step-item h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.35;
}

.fdi-step-item p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.55;
    margin: 0;
}

/* SECTION 4: CROSS-BORDER ARBITRATION & MÖHUK */
.mohk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.mohk-box {
    background: rgba(18, 10, 7, 0.75);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 28px;
}

.mohk-title {
    font-size: 18px;
    font-weight: 700;
    color: #dfba73;
    margin-bottom: 14px;
    position: relative;
    padding-left: 14px;
}

.mohk-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 3px;
    background: #c5a059;
    border-radius: 2px;
}

.mohk-box p {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.65;
    margin: 0;
}

.mohk-box strong {
    color: #ffffff;
}

/* SECTION 5: FAQ ACCORDION / LIST */
.fdi-faq-section {
    background: rgba(22, 13, 9, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.faq-item {
    background: rgba(18, 10, 7, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 10px;
    padding: 22px 24px;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(197, 160, 89, 0.4);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #dfba73;
    margin: 0 0 10px;
    line-height: 1.4;
}

.faq-item p {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.65;
    margin: 0;
}

.faq-item strong {
    color: #ffffff;
}

/* SECTION 6: CONVERSION & PARTNER CTA */
.fdi-cta-card {
    background: linear-gradient(135deg, rgba(30, 18, 12, 0.95) 0%, rgba(18, 10, 7, 0.98) 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 16px;
    padding: 44px;
    display: flex;
    align-items: center;
    gap: 36px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.fdi-cta-crest {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.fdi-cta-crest img {
    max-width: 64px;
    height: auto;
    object-fit: contain;
}

.fdi-cta-body {
    flex: 1;
}

.fdi-cta-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #ffffff;
    margin: 0 0 12px;
    font-weight: 700;
}

.fdi-cta-body p {
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 820px;
}

.fdi-cta-body p strong {
    color: #dfba73;
}

.fdi-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-fdi-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.btn-fdi-wa:hover {
    background: linear-gradient(135deg, #2ae26f 0%, #22bc5a 100%);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-fdi-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: #dfba73;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-fdi-mail:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: #dfba73;
    color: #ffffff;
}

/* Toast Feedback */
.fdi-copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e120b;
    border: 1px solid #c5a059;
    color: #dfba73;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.fdi-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .fdi-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .dd-grid {
        grid-template-columns: 1fr;
    }
    .fdi-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mohk-grid {
        grid-template-columns: 1fr;
    }
    .fdi-dd-card .fdi-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .fdi-score-widget {
        width: 100%;
        justify-content: center;
    }
    .dd-action-panel {
        flex-direction: column;
        align-items: flex-start;
    }
    .dd-btn-group {
        width: 100%;
        flex-direction: column;
    }
    .btn-dd-copy, .btn-dd-wa {
        width: 100%;
        justify-content: center;
    }
    .fdi-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .fdi-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .ph-foreign-investment h1 {
        font-size: 28px;
    }
    .fdi-hero-stats {
        grid-template-columns: 1fr;
    }
    .fdi-steps-grid {
        grid-template-columns: 1fr;
    }
    .fdi-card {
        padding: 24px 16px;
    }
    .fdi-faq-section {
        padding: 24px 16px;
    }
}
