:root {
    /* Colors */
    --bg-deep: #020617;
    --bg-dark: #0F172A;
    --bg-card: rgba(30, 41, 59, 0.5);
    --gold: #EAB308;
    --gold-bright: #fbbf24;
    --gold-dim: #CA8A04;
    --cyan: #22d3ee;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-width: 1200px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.text-gold { color: var(--gold); }
.italic { font-style: italic; }
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(234, 179, 8, 0.1);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* Logo Styling */
.brand-logo {
    height: 140px;
    width: auto;
    object-fit: contain;
}

.brand-logo.mini {
    height: 85px;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

#main-header.scrolled {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-links a:hover {
    color: var(--gold);
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 179, 8, 0.2);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(234, 179, 8, 0.05);
}

/* Sections */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z"/></g></g></svg>');
    z-index: -1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero h1 { font-size: 72px; line-height: 1.1; margin-bottom: 32px; }
.hero p { font-size: 20px; color: var(--text-secondary); max-width: 600px; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 20px; }

/* Hero Stats Sidebar */
.hero-stats-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 30px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.hero-stat-item::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.2), transparent);
    background-size: 200% 100%;
    mask: url('data:image/svg+xml,<svg width="60" height="40" viewBox="0 0 60 40" xmlns="http://www.w3.org/2000/svg"><path d="M0,35 Q15,5 30,25 T60,5" fill="none" stroke="black" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-stat-content {
    position: relative;
    z-index: 2;
}

.hero-stat-value {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.6;
}

.chart-disclaimer {
    font-style: italic;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 20px;
    opacity: 0.8;
}

.service-point {
    font-size: 13px;
    color: var(--gold);
    margin-top: 8px;
    opacity: 0.9;
    font-weight: 500;
}

.service-point.clickable {
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.service-point.clickable:hover {
    color: var(--gold-bright);
    border-bottom-color: var(--gold-bright);
    transform: translateX(5px);
}

/* Layout Sections */
.about, .edge-section, .performance, .services { padding: 80px 0; }
.about-wrapper { text-align: center; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2, .about-content h2 { font-size: 48px; margin-bottom: 24px; }
.section-header p { color: var(--text-secondary); font-size: 17px; }

/* Section Dividers */
.divider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.section-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    position: relative;
}

.section-divider::after {
    content: '↓';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 14px;
}

/* Edge Section Grid */
.edge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.edge-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    text-align: center;
}
.edge-card:hover { 
    background: rgba(234, 179, 8, 0.03);
    border-color: rgba(234, 179, 8, 0.3);
    transform: translateY(-5px);
}
.edge-icon-box { width: 50px; height: 50px; color: var(--gold); margin-bottom: 24px; margin-left: auto; margin-right: auto; }
.edge-card h3 { font-size: 20px; font-family: 'Outfit', sans-serif; margin-bottom: 16px; color: var(--text-primary); }
.edge-card ul { list-style: none; padding: 0; }
.edge-card li { 
    font-size: 14px; 
    color: var(--text-secondary); 
    margin-bottom: 12px; 
    position: relative;
    padding-left: 20px;
    text-align: left;
}
.edge-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(234, 179, 8, 0.3); }

.card-header { display: flex; align-items: center; margin-bottom: 24px; }
.service-icon { width: 44px; height: 44px; color: var(--gold); margin-right: 20px; flex-shrink: 0; }
.service-card h3 { font-size: 22px; font-family: 'Playfair Display', serif; }
.service-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 0; }

/* Performance Chart */
.chart-outer { background: var(--bg-card); padding: 60px 40px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.05); }
.chart-container { height: 450px; margin-bottom: 40px; position: relative; }
.chart-legend { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.legend-row { display: flex; gap: 40px; }
.legend-item { display: flex; align-items: center; gap: 12px; }
.legend-color { width: 24px; height: 3px; border-radius: 2px; }
.legend-color.portfolio { background: var(--gold); }
.legend-color.benchmark { background: var(--cyan); }
.legend-label { font-size: 14px; color: var(--text-secondary); }

.legend-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 1000px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-cagr {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.stat-vs {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.6;
}

/* Watermark Logo Branding (Filling Blank Spaces) */
.hero-stats-sidebar {
    position: relative;
    overflow: hidden;
}

.hero-stats-sidebar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-image: url('logo_premium_final.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 0;
}

.hero-stat-item {
    position: relative;
    z-index: 1;
}

.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background-image: url('logo_premium_final.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.stat-desc {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.contact-header h2 { font-size: 48px; margin-bottom: 24px; }

.vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 6px;
}

.contact-info .label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.contact-info .value {
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.contact-info a.value:hover {
    color: var(--gold);
}

.about-content p {
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 14px; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 1s ease forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero h1 { font-size: 52px; }
    .services-grid, .edge-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-wrapper { gap: 40px; }
}

#mobile-menu-btn, .mobile-menu-btn { display: none !important; }

/* MF Analysis Section */
.mf-analysis { padding: 100px 0; }
.mf-tabs-container { display: flex; justify-content: center; margin-bottom: 40px; }
.mf-tabs {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mf-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mf-tab-btn:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }
.mf-tab-btn.active {
    background: var(--gold);
    color: var(--bg-deep);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.mf-table-outer {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 2px;
}

.mf-table-responsive { overflow-x: auto; }
.mf-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.mf-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.mf-table td {
    padding: 20px 30px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-align: center;
}

.mf-table th:first-child, .mf-table td:first-child {
    text-align: left;
}

.mf-table tr:last-child td { border-bottom: none; }

.mf-table tr.row-our {
    background: rgba(234, 179, 8, 0.05);
}

.mf-table tr.row-our td:first-child {
    font-weight: 700;
    color: var(--gold);
}

.mf-table tr.row-our td { color: var(--text-primary); }

.mf-disclaimer {
    padding: 15px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}
/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
}

.cta-actions {
    flex-shrink: 0;
}

/* Disclaimer Styling */
.inline-disclaimer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mf-risk-disclaimer {
    font-size: 13px;
    color: #ffffff;
    font-style: italic;
    opacity: 0.8;
    max-width: 500px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}
