/* ==========================================================================
   Phillip Portföy Yönetimi — Comprehensive Institutional Stylesheet
   ========================================================================== */

/* Typography & Base Tokens */
.portfoy-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.portfoy-hero {
    background: linear-gradient(135deg, #071224 0%, #0d224a 45%, #153874 100%);
    color: #ffffff;
    padding: 64px 0 54px;
    position: relative;
    overflow: hidden;
}

.portfoy-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portfoy-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portfoy-hero__inner {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.portfoy-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fdba74;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.portfoy-hero__title {
    font-size: clamp(32px, 3.8vw, 46px);
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 18px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.portfoy-hero__title span {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfoy-hero__desc {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 28px;
    max-width: 620px;
}

.portfoy-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.portfoy-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #f97316;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    border: none;
    cursor: pointer;
}

.portfoy-btn-primary:hover {
    background: #ea580c;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.portfoy-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.portfoy-btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.portfoy-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
}

.portfoy-stat-item h4 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.portfoy-stat-item p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.portfoy-hero__media {
    position: relative;
    text-align: center;
}

.portfoy-hero__card-preview {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.portfoy-hero__card-preview img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   QUICK ANCHOR NAV RIBBON
   -------------------------------------------------------------------------- */
.portfoy-quick-nav {
    background: #0b1a36;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.portfoy-quick-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.portfoy-quick-nav__link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.portfoy-quick-nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   SECTION COMMON STYLES
   -------------------------------------------------------------------------- */
.portfoy-section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.portfoy-section-badge {
    display: inline-block;
    color: #f97316;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(249, 115, 22, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.portfoy-section-title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.portfoy-section-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   2. WHY PHILLIP PORTFÖY (4 PILLARS)
   -------------------------------------------------------------------------- */
.portfoy-why {
    padding: 76px 0;
    background: #ffffff;
}

.portfoy-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfoy-why-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    transition: all 0.25s ease;
}

.portfoy-why-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    background: #ffffff;
}

.portfoy-why-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.portfoy-why-card:hover .portfoy-why-ico {
    background: #1e3a8a;
    color: #ffffff;
}

.portfoy-why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.portfoy-why-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   3. SERVICES GRID
   -------------------------------------------------------------------------- */
.portfoy-services {
    padding: 80px 0;
    background: #f8fafc;
}

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

.portfoy-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 26px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfoy-service-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.portfoy-service-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #fff7ed;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.portfoy-service-card:hover .portfoy-service-icon {
    background: #f97316;
    color: #ffffff;
}

.portfoy-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

.portfoy-service-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1;
}

.portfoy-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.portfoy-service-card ul li {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfoy-service-card ul li i {
    color: #10b981;
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   INTERACTIVE STRATEGY FINDER (QUIZ WIDGET)
   -------------------------------------------------------------------------- */
.portfoy-quiz-section {
    padding: 76px 0;
    background: linear-gradient(135deg, #091a3e 0%, #112d65 100%);
    color: #ffffff;
}

.portfoy-quiz-section .portfoy-section-title {
    color: #ffffff;
}

.portfoy-quiz-section .portfoy-section-desc {
    color: #94a3b8;
}

.portfoy-quiz-container {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 36px 32px;
    backdrop-filter: blur(12px);
}

.portfoy-quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.portfoy-quiz-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fdba74;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portfoy-quiz-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0d224a;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.portfoy-quiz-select option {
    background: #0d224a;
    color: #ffffff;
}

.portfoy-quiz-select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.portfoy-quiz-result {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.portfoy-quiz-result-info h4 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfoy-quiz-result-info p {
    margin: 0;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.portfoy-quiz-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.portfoy-quiz-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
}

/* --------------------------------------------------------------------------
   4. ASSET ALLOCATION MODELS
   -------------------------------------------------------------------------- */
.portfoy-allocation {
    padding: 80px 0;
    background: #ffffff;
}

.portfoy-allocation__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfoy-allocation-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
}

.portfoy-allocation-card:hover {
    border-color: #1e3a8a;
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.08);
    transform: translateY(-3px);
}

.portfoy-allocation-card--featured {
    border: 2px solid #f97316;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12);
}

.portfoy-allocation-pill {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.portfoy-allocation-pill--safe { background: #ecfdf5; color: #059669; }
.portfoy-allocation-pill--balanced { background: #eff6ff; color: #2563eb; }
.portfoy-allocation-pill--growth { background: #fff7ed; color: #ea580c; }
.portfoy-allocation-pill--absolute { background: #faf5ff; color: #9333ea; }

.portfoy-allocation-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.portfoy-allocation-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px;
}

.portfoy-alloc-bar-wrap {
    margin-bottom: 18px;
}

.portfoy-alloc-bar {
    height: 10px;
    border-radius: 999px;
    display: flex;
    overflow: hidden;
    margin-bottom: 10px;
}

.portfoy-alloc-seg {
    height: 100%;
}

.seg-fixed { background: #10b981; }
.seg-equity { background: #f97316; }
.seg-fx { background: #3b82f6; }
.seg-alt { background: #8b5cf6; }

.portfoy-alloc-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: #475569;
}

.portfoy-alloc-legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portfoy-alloc-legend-item span:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfoy-alloc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   INTERACTIVE COMPOUND RETURN & WEALTH CALCULATOR
   -------------------------------------------------------------------------- */
.portfoy-calc-section {
    padding: 80px 0;
    background: #f8fafc;
}

.portfoy-calc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.portfoy-calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.portfoy-calc-controls {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.portfoy-calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfoy-calc-field-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.portfoy-calc-val-badge {
    color: #f97316;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 1.05rem;
}

.portfoy-calc-range {
    width: 100%;
    accent-color: #f97316;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}

.portfoy-calc-horizon-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.portfoy-calc-hz-btn {
    padding: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portfoy-calc-hz-btn.active,
.portfoy-calc-hz-btn:hover {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}

.portfoy-calc-display {
    background: linear-gradient(135deg, #071224 0%, #0e2754 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfoy-calc-display-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 6px;
}

.portfoy-calc-total {
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    margin: 0 0 20px;
}

.portfoy-calc-total span {
    color: #10b981;
}

.portfoy-calc-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    text-align: left;
}

.portfoy-calc-bd-item span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.portfoy-calc-bd-item strong {
    font-size: 1.05rem;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
}

.portfoy-calc-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    margin-top: 16px;
}

.portfoy-calc-bar-principal {
    background: #3b82f6;
    height: 100%;
}

.portfoy-calc-bar-profit {
    background: #10b981;
    height: 100%;
}

/* --------------------------------------------------------------------------
   5. FUNDS SHOWCASE
   -------------------------------------------------------------------------- */
.portfoy-funds {
    padding: 80px 0;
    background: #ffffff;
}

.portfoy-funds-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.portfoy-filter-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portfoy-filter-btn:hover,
.portfoy-filter-btn.active {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}

.portfoy-funds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.portfoy-fund-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.portfoy-fund-card:hover {
    border-color: #f97316;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.08);
    transform: translateY(-3px);
}

.portfoy-fund-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.portfoy-fund-code {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e3a8a;
    font-family: 'JetBrains Mono', monospace;
}

.portfoy-fund-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.portfoy-fund-badge--tefas {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.portfoy-fund-badge--serbest {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.portfoy-fund-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.4;
}

.portfoy-fund-strategy {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
    flex-grow: 1;
}

.portfoy-fund-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.portfoy-metric-item span {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.portfoy-metric-item strong {
    font-size: 0.88rem;
    color: #0f172a;
}

.portfoy-risk-meter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.portfoy-risk-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.portfoy-risk-dot.active-low { background: #10b981; }
.portfoy-risk-dot.active-med { background: #f59e0b; }
.portfoy-risk-dot.active-high { background: #ef4444; }

.portfoy-fund-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.portfoy-fund-detail-btn {
    padding: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.portfoy-fund-detail-btn:hover {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}

/* --------------------------------------------------------------------------
   SEARCHABLE FUND COMPARISON TABLE
   -------------------------------------------------------------------------- */
.portfoy-table-section {
    padding: 80px 0;
    background: #f8fafc;
}

.portfoy-table-search-bar {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.portfoy-table-search-input {
    width: 100%;
    padding: 14px 20px 14px 44px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.portfoy-table-search-input:focus {
    border-color: #f97316;
}

.portfoy-table-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.portfoy-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.portfoy-comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.portfoy-comp-table thead {
    background: #0f172a;
    color: #ffffff;
}

.portfoy-comp-table th {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portfoy-comp-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.portfoy-comp-table tbody tr:hover {
    background: #f8fafc;
}

.portfoy-table-code {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    color: #1e3a8a;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   INVESTMENT COMMITTEE & STRATEGY PHILOSOPHY
   -------------------------------------------------------------------------- */
.portfoy-phil {
    padding: 80px 0;
    background: #ffffff;
}

.portfoy-phil-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfoy-phil-card {
    border-left: 4px solid #f97316;
    background: #f8fafc;
    border-radius: 0 14px 14px 0;
    padding: 24px 20px;
    transition: all 0.25s ease;
}

.portfoy-phil-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transform: translateX(4px);
}

.portfoy-phil-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.portfoy-phil-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   MANAGED ASSET CLASSES & UNIVERSE
   -------------------------------------------------------------------------- */
.portfoy-universe {
    padding: 80px 0;
    background: #09152b;
    color: #ffffff;
}

.portfoy-universe .portfoy-section-title { color: #ffffff; }
.portfoy-universe .portfoy-section-desc { color: #94a3b8; }

.portfoy-universe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfoy-universe-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.portfoy-universe-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-3px);
}

.portfoy-universe-card i {
    font-size: 1.8rem;
    color: #fdba74;
    margin-bottom: 14px;
    display: inline-block;
}

.portfoy-universe-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}

.portfoy-universe-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   TAX & REGULATORY HIGHLIGHTS
   -------------------------------------------------------------------------- */
.portfoy-tax {
    padding: 80px 0;
    background: #ffffff;
}

.portfoy-tax-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfoy-tax-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
}

.portfoy-tax-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.portfoy-tax-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.portfoy-tax-card p {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. HOW TO INVEST (3 EASY STEPS)
   -------------------------------------------------------------------------- */
.portfoy-how {
    padding: 76px 0;
    background: #f8fafc;
}

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

.portfoy-how-card {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.portfoy-how-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f97316;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.portfoy-how-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.portfoy-how-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   7. PROCESS
   -------------------------------------------------------------------------- */
.portfoy-process {
    padding: 80px 0;
    background: #0a1730;
    color: #ffffff;
}

.portfoy-process .portfoy-section-title { color: #ffffff; }
.portfoy-process .portfoy-section-desc { color: #94a3b8; }

.portfoy-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfoy-process-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 28px 22px;
}

.portfoy-process-step {
    font-size: 1.85rem;
    font-weight: 800;
    color: rgba(249, 115, 22, 0.7);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 12px;
}

.portfoy-process-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}

.portfoy-process-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.portfoy-faq {
    padding: 80px 0;
    background: #ffffff;
}

.portfoy-faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.portfoy-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease;
}

.portfoy-faq-item.active {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.portfoy-faq-question {
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.portfoy-faq-question i {
    color: #64748b;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.portfoy-faq-item.active .portfoy-faq-question i {
    transform: rotate(180deg);
    color: #f97316;
}

.portfoy-faq-answer {
    padding: 0 24px 22px;
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.65;
    display: none;
}

.portfoy-faq-item.active .portfoy-faq-answer {
    display: block;
}

/* --------------------------------------------------------------------------
   9. CONTACT / ADVISORY BOX
   -------------------------------------------------------------------------- */
.portfoy-contact {
    padding: 80px 0;
    background: #f8fafc;
}

.portfoy-contact__box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    max-width: 860px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. FUND DETAILS MODAL
   -------------------------------------------------------------------------- */
.portfoy-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portfoy-modal-backdrop.active {
    display: flex;
}

.portfoy-modal-dialog {
    background: #ffffff;
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    animation: portfoyModalFade 0.25s ease-out;
}

@keyframes portfoyModalFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.portfoy-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.portfoy-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.portfoy-modal-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.portfoy-modal-code {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e3a8a;
    font-family: 'JetBrains Mono', monospace;
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 10px;
}

.portfoy-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.portfoy-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.portfoy-modal-row span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.portfoy-modal-row strong {
    font-size: 0.95rem;
    color: #0f172a;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .portfoy-funds-grid { grid-template-columns: repeat(2, 1fr); }
    .portfoy-why__grid { grid-template-columns: repeat(2, 1fr); }
    .portfoy-allocation__grid { grid-template-columns: repeat(2, 1fr); }
    .portfoy-phil-grid { grid-template-columns: repeat(2, 1fr); }
    .portfoy-tax-grid { grid-template-columns: repeat(2, 1fr); }
    .portfoy-calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .portfoy-hero__inner { grid-template-columns: 1fr; }
    .portfoy-services__grid { grid-template-columns: 1fr 1fr; }
    .portfoy-process-grid { grid-template-columns: 1fr 1fr; }
    .portfoy-universe-grid { grid-template-columns: 1fr 1fr; }
    .portfoy-hero__stats { grid-template-columns: repeat(2, 1fr); }
    .portfoy-quiz-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .portfoy-services__grid { grid-template-columns: 1fr; }
    .portfoy-funds-grid { grid-template-columns: 1fr; }
    .portfoy-allocation__grid { grid-template-columns: 1fr; }
    .portfoy-why__grid { grid-template-columns: 1fr; }
    .portfoy-how__grid { grid-template-columns: 1fr; }
    .portfoy-process-grid { grid-template-columns: 1fr; }
    .portfoy-universe-grid { grid-template-columns: 1fr; }
    .portfoy-phil-grid { grid-template-columns: 1fr; }
    .portfoy-tax-grid { grid-template-columns: 1fr; }
    .portfoy-contact__box { padding: 24px; }
    .portfoy-calc-card { padding: 24px; }
    .portfoy-quick-nav__list { gap: 6px; }
    .portfoy-quick-nav__link { font-size: 0.78rem; padding: 4px 8px; }
    .portfoy-modal-grid { grid-template-columns: 1fr; }
}
