/*
Theme Name: Shyam Invest Theme
Theme URI: https://learningwithshyam.com
Description: Standalone premium investment portfolio theme. No parent theme required.
Author: Antigravity
Version: 3.1.0
*/

/* ============================================================
   RESET & ROOT
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
    /* Brand Colors */
    --c-navy:    #081B33;
    --c-blue:    #2962FF;
    --c-green:   #00C389;
    --c-gold:    #D4AF37;
    --c-red:     #EF4444;

    /* Backgrounds */
    --bg:        #F7F9FC;
    --bg-dark:   #0B1120;
    --bg-card-d: #131E35;
    --bg-card-l: #FFFFFF;

    /* Text */
    --t-main:    #1F2937;
    --t-muted:   #6B7280;
    --t-light:   #9CA3AF;
    --t-white:   #FFFFFF;

    /* UI */
    --border:    #E5E7EB;
    --border-d:  rgba(255,255,255,0.07);
    --shadow:    0 4px 16px rgba(8,27,51,0.08);
    --shadow-lg: 0 16px 40px rgba(8,27,51,0.14);
    --shadow-glow: 0 0 30px rgba(41,98,255,0.15);
    --r-sm:      8px;
    --r-md:      12px;
    --r-lg:      16px;
    --r-xl:      20px;

    /* Typography */
    --f-h:  'Poppins', sans-serif;
    --f-b:  'Inter', sans-serif;
    --f-m:  'IBM Plex Sans', sans-serif;

    /* Layout */
    --nav-h:    68px;
    --max-w:    1200px;
}

body {
    font-family: var(--f-b);
    color: var(--t-main);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--f-h); line-height: 1.2; }

/* ============================================================
   ANIMATIONS & REVEALS
   ============================================================ */
@keyframes siFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes siFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes siFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
@keyframes siPulse {
    0% { box-shadow: 0 0 0 0 rgba(41,98,255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(41,98,255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(41,98,255, 0); }
}

/* Base Reveal Classes (Added by JS on scroll) */
.si-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.si-reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger Delays for child elements */
.si-stagger-1 { transition-delay: 0.1s; }
.si-stagger-2 { transition-delay: 0.2s; }
.si-stagger-3 { transition-delay: 0.3s; }
.si-stagger-4 { transition-delay: 0.4s; }

/* Initial Hero Load Animations */
.si-hero-left .si-hero-eyebrow,
.si-hero-left .si-hero-title,
.si-hero-left .si-hero-sub,
.si-hero-left .si-hero-btns,
.si-hero-left .si-hero-stats {
    opacity: 0;
    animation: siFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.si-hero-left .si-hero-eyebrow { animation-delay: 0.1s; }
.si-hero-left .si-hero-title { animation-delay: 0.2s; }
.si-hero-left .si-hero-sub { animation-delay: 0.3s; }
.si-hero-left .si-hero-btns { animation-delay: 0.4s; }
.si-hero-left .si-hero-stats { animation-delay: 0.5s; }

.si-hero-right {
    opacity: 0;
    animation: siFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.si-hero-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.si-section-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.si-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(8, 27, 51, 0);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.si-nav.scrolled { 
    background: rgba(8, 27, 51, 0.95); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-d);
}

.si-nav-inner-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.si-logo {
    font-family: var(--f-h);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--t-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.si-logo:hover { transform: scale(1.05); }
.si-logo-icon { color: var(--c-blue); }

.si-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}
.si-nav-links li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.si-nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.si-nav-links li a.active { color: #fff; }
.si-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    width: 0; height: 2px;
    background: var(--c-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.si-nav-links li a.active::after, .si-nav-links li a:hover::after {
    width: calc(100% - 2rem);
}

.si-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.si-btn-nav-login {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: color .2s;
}
.si-btn-nav-login:hover { color: #fff; }
.si-btn-nav-register {
    background: var(--c-blue);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.125rem;
    border-radius: var(--r-sm);
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--f-h);
}
.si-btn-nav-register:hover { 
    background: #1A52E0; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(41,98,255,0.3);
}

.si-mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.si-mobile-menu-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

.si-mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--c-navy);
    border-top: 1px solid var(--border-d);
    padding: 1rem 2rem 1.5rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
}
.si-mobile-menu a {
    color: rgba(255,255,255,0.75);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-d);
    font-size: 0.9rem;
}
.si-mobile-actions { display: flex; gap: 1rem; padding-top: 1rem; }
.si-mobile-menu.open { display: flex; animation: siFadeIn 0.3s ease; }

/* ============================================================
   BUTTONS
   ============================================================ */
.si-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--r-sm);
    font-family: var(--f-h);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.si-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 120%; height: 0;
    padding-bottom: 120%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
}
.si-btn:hover::after { transform: translate(-50%, -50%) scale(1); }

.si-btn-primary { background: var(--c-blue); color: #fff; border: 2px solid var(--c-blue); }
.si-btn-primary:hover { background: #1A52E0; border-color: #1A52E0; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(41,98,255,0.35); }

.si-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.si-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; transform: translateY(-3px); }

.si-btn-outline-dark { background: transparent; color: var(--t-main); border: 1.5px solid var(--border); }
.si-btn-outline-dark:hover { border-color: var(--c-blue); color: var(--c-blue); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.si-btn-dark { background: var(--c-navy); color: #fff; border: 2px solid var(--c-navy); }
.si-btn-dark:hover { background: var(--c-blue); border-color: var(--c-blue); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(41,98,255,0.3); }

.si-btn-sm { padding: 0.5rem 1.125rem; font-size: 0.82rem; }

.si-btn-port-detail {
    display: flex; align-items: center; gap: .375rem;
    padding: .6rem 1.25rem; border-radius: var(--r-sm);
    background: rgba(41,98,255,0.08);
    color: var(--c-blue);
    font-family: var(--f-h);
    font-weight: 600;
    font-size: .85rem;
    border: 1px solid rgba(41,98,255,0.2);
    margin-top: 1rem;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    justify-content: center;
}
.si-btn-port-detail:hover { background: var(--c-blue); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(41,98,255,0.2); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.si-hero {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.si-hero::after {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 60%; height: 80%;
    background: radial-gradient(circle, rgba(41,98,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#candlestick-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Hero LEFT */
.si-hero-left, .si-hero-right { position: relative; z-index: 2; }
.si-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(41,98,255,0.15);
    color: #7AABFF;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    border: 1px solid rgba(41,98,255,0.25);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 20px rgba(41,98,255,0.1);
}
.si-hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.si-highlight { color: var(--c-green); text-shadow: 0 0 20px rgba(0,195,137,0.3); }

.si-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2.5rem;
}
.si-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.si-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.si-hero-stat { text-align: center; }
.si-hero-stat-num {
    display: block;
    font-family: var(--f-m);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-green);
    text-shadow: 0 0 10px rgba(0,195,137,0.2);
}
.si-hero-stat-lbl {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.si-hero-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Hero RIGHT - Portfolio Card */
.si-portfolio-card {
    background: var(--bg-card-d);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(41,98,255,0.1);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: siFloat 6s ease-in-out infinite;
}
.si-portfolio-card:hover {
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(41,98,255,0.15);
}

.si-card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}
.si-card-name {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.si-card-returns-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.si-card-returns {
    font-family: var(--f-m);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-green);
}
.si-card-returns-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

.si-card-period-tabs {
    display: flex;
    gap: 0.25rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-sm);
    padding: 4px;
}
.si-period {
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    transition: all .25s ease;
    background: none;
    border: none;
    cursor: pointer;
}
.si-period.active { background: var(--c-blue); color: #fff; box-shadow: 0 2px 8px rgba(41,98,255,0.3); }
.si-period:hover:not(.active) { color: #fff; background: rgba(255,255,255,0.05); }

.si-hero-chart-area {
    width: 100%;
    height: 180px !important;
    min-height: 180px;
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-bottom: 1.25rem;
    display: block;
}

.si-card-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.si-metric {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--r-sm);
    padding: 0.75rem;
    transition: background 0.3s ease;
}
.si-metric:hover { background: rgba(255,255,255,0.06); }
.si-metric-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-bottom: 0.3rem; }
.si-metric-val {
    font-family: var(--f-m);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.si-green { color: var(--c-green) !important; }
.si-red { color: var(--c-red) !important; }

/* Allocation bar in hero card */
.si-card-alloc-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.si-alloc-mini { flex: 1; }
.si-alloc-bar {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    gap: 2px;
    margin-bottom: 0.6rem;
}
.si-alloc-seg { height: 100%; border-radius: 2px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); }
.si-alloc-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.si-alloc-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
}
.si-alloc-legend i {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}
.si-risk-pill { text-align: center; flex-shrink: 0; }
.si-risk-pill-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-bottom: 0.3rem; }
.si-risk-pill-val {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    animation: siPulse 2s infinite;
}
.si-risk-moderate { color: #D4AF37; background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3); }

/* ============================================================
   TICKER
   ============================================================ */
.si-ticker-bar {
    background: #050D1A;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
    padding: 0.75rem 0;
    position: relative;
}
.si-ticker-bar::before, .si-ticker-bar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.si-ticker-bar::before { left: 0; background: linear-gradient(to right, #050D1A, transparent); }
.si-ticker-bar::after  { right: 0; background: linear-gradient(to left,  #050D1A, transparent); }

.si-ticker-inner {
    display: inline-flex;
    animation: si-scroll 40s linear infinite;
    white-space: nowrap;
}
.si-ticker-bar:hover .si-ticker-inner { animation-play-state: paused; }

@keyframes si-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.si-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    font-family: var(--f-m);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: color 0.3s ease;
}
.si-ticker-item:hover { color: #fff; }
.si-ticker-item b { color: #fff; font-weight: 600; font-size: 0.85rem; }
.si-up  { color: var(--c-green); font-style: normal; font-weight: 600; text-shadow: 0 0 8px rgba(0,195,137,0.3); }
.si-down{ color: var(--c-red);   font-style: normal; font-weight: 600; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.si-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.si-section-head h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-navy);
}
.si-section-head p {
    font-size: 1rem;
    color: var(--t-muted);
    margin-top: 0.35rem;
}
.si-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    background: rgba(41,98,255,0.08);
    padding: 4px 12px;
    border-radius: 20px;
}
.si-view-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-blue);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}
.si-view-all:hover { color: #1A52E0; transform: translateX(4px); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.si-about-section {
    background: #fff;
    padding: 7rem 0;
}
.si-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
    align-items: center;
}
.si-about-img-wrap {
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    min-height: 550px;
    background: linear-gradient(140deg, #0B1E38 0%, #0D2759 100%);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-end;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-about-img-wrap:hover { transform: translateY(-10px); box-shadow: 0 24px 50px rgba(8,27,51,0.2); }
.si-about-img-wrap img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s ease;
}
.si-about-img-wrap:hover img { transform: scale(1.05); }

.si-about-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 550px;
    position: relative;
    z-index: 1;
    gap: 1.25rem;
}
.si-about-avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    font-family: var(--f-h);
}
.si-about-signature {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.75rem;
    color: var(--c-gold);
    text-align: center;
    line-height: 1.3;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
}

.si-about-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: 0.5rem;
}
.si-about-title-line {
    font-size: 0.95rem;
    color: var(--t-muted);
    font-weight: 500;
    margin-bottom: 2rem;
}
.si-about-text {
    font-size: 1rem;
    color: var(--t-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Stats */
.si-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.si-stat-box { text-align: center; }
.si-stat-num {
    font-family: var(--f-m);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.si-stat-lbl {
    font-size: 0.75rem;
    color: var(--t-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ============================================================
   PORTFOLIO CARDS (HOME)
   ============================================================ */
.si-portfolios-section {
    background: var(--bg);
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}
.si-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.si-port-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    top: 0;
}
.si-port-card:hover {
    top: -8px;
    box-shadow: 0 20px 40px rgba(8,27,51,0.08);
    border-color: rgba(41,98,255,0.3);
}
.si-port-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.si-port-name { font-family: var(--f-h); font-size: 1.05rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.25rem; }
.si-port-type { font-size: 0.8rem; color: var(--t-muted); font-weight: 500; }
.si-port-badge {
    font-family: var(--f-m);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.si-port-mini-chart {
    width: 100%;
    height: 60px !important;
    min-height: 60px;
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-bottom: 1.25rem;
    display: block;
}
.si-port-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.si-port-stat-lbl { font-size: 0.7rem; color: var(--t-muted); margin-bottom: 0.2rem; }
.si-port-stat-val { font-family: var(--f-m); font-size: 0.9rem; font-weight: 700; color: var(--t-main); }

/* ============================================================
   PLANS SECTION
   ============================================================ */
.si-plans-section {
    background: var(--bg);
    padding: 6rem 0;
}
.si-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.si-plan-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-plan-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.si-plan-card.si-plan-popular { 
    border-color: var(--c-blue); 
    border-width: 2px; 
    box-shadow: 0 12px 40px rgba(41,98,255,0.15); 
    transform: scale(1.03);
}
.si-plan-card.si-plan-popular:hover {
    transform: scale(1.03) translateY(-10px);
}
.si-pop-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--c-blue); color: #fff;
    font-size: 0.75rem; font-weight: 700;
    padding: 6px 18px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(41,98,255,0.3);
}
.si-plan-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.5rem; }
.si-plan-price {
    font-family: var(--f-m);
    font-size: 2.5rem; font-weight: 800;
    color: var(--c-navy);
    margin: 1rem 0 0.5rem;
    line-height: 1;
}
.si-plan-price span { font-size: 0.95rem; color: var(--t-muted); font-weight: 500; font-family: var(--f-b); }
.si-plan-features { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.875rem; }
.si-plan-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: var(--t-main); font-weight: 500; }
.si-check { color: var(--c-blue); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.si-plan-card .si-btn { width: 100%; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.si-faq-section {
    background: #fff;
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}
.si-faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 900px; margin: 0 auto; }
.si-faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all 0.3s ease;
}
.si-faq-item:hover { border-color: rgba(41,98,255,0.3); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.si-faq-item.open { border-color: var(--c-blue); box-shadow: 0 4px 16px rgba(41,98,255,0.1); }
.si-faq-q {
    width: 100%; text-align: left;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1rem; font-weight: 600; color: var(--c-navy);
    font-family: var(--f-h); gap: 1rem;
}
.si-faq-icon { 
    font-size: 1.5rem; 
    color: var(--t-muted); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s; 
    flex-shrink: 0; 
}
.si-faq-item.open .si-faq-icon { transform: rotate(135deg); color: var(--c-blue); }
.si-faq-a {
    display: none;
    padding: 1rem 1.5rem 1.25rem;
    font-size: 0.9rem; color: var(--t-muted); line-height: 1.75;
    border-top: 1px solid var(--border);
}
.si-faq-item.open .si-faq-a { display: block; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.si-page-hero {
    padding: calc(var(--nav-h) + 3rem) 0 3rem;
}
.si-page-hero-dark {
    background: var(--bg-dark);
    color: #fff;
    border-bottom: 1px solid var(--border-d);
    position: relative;
    overflow: hidden;
}
.si-page-hero-dark::after {
    content: '';
    position: absolute;
    top: -50%; left: 0%;
    width: 100%; height: 200%;
    background: radial-gradient(circle at 80% 20%, rgba(41,98,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.si-page-hero-dark h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}
.si-page-hero-dark p { color: rgba(255,255,255,0.6); font-size: 1.05rem; position: relative; z-index: 2; max-width: 600px; }
.si-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}
.si-breadcrumb a { color: rgba(255,255,255,0.6); font-weight: 500; }
.si-breadcrumb a:hover { color: #fff; }
.si-breadcrumb span { color: rgba(255,255,255,0.25); }

/* ============================================================
   ABOUT FULL PAGE
   ============================================================ */
.si-about-full { padding: 6rem 0; }
.si-about-full-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: start;
}
.si-about-img-large {
    min-height: 650px;
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
}
.si-about-qualifications { margin-top: 3rem; }
.si-about-qualifications h3 {
    font-size: 1.25rem;
    color: var(--c-navy);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}
.si-qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.si-qual-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1.25rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.si-qual-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(41,98,255,0.2); }
.si-qual-icon { font-size: 1.5rem; flex-shrink: 0; background: #fff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.si-qual-item strong { display: block; color: var(--c-navy); font-weight: 700; margin-bottom: 0.25rem; }
.si-qual-item span { color: var(--t-muted); font-size: 0.85rem; }
.si-stats-about-page { margin-top: 3rem; }

/* ============================================================
   PORTFOLIO FULL PAGE
   ============================================================ */
.si-port-page-section { padding: 4rem 0 6rem; }

.si-port-plan-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}
.si-plan-tab {
    padding: 0.75rem 2rem;
    font-family: var(--f-h);
    font-size: 1rem;
    font-weight: 600;
    color: var(--t-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .3s, border-color .3s;
}
.si-plan-tab.active { color: var(--c-blue); border-bottom-color: var(--c-blue); }
.si-plan-tab:hover:not(.active) { color: var(--c-navy); }

.si-port-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.5rem;
}
.si-port-section-sub { font-size: 1rem; color: var(--t-muted); margin-bottom: 3rem; }

/* Portfolio Table */
.si-port-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.si-port-list-actions { display: flex; align-items: center; gap: 1rem; }
.si-filter-select {
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--t-main);
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.si-filter-select:focus { border-color: var(--c-blue); }

.si-port-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.si-port-table { width: 100%; border-collapse: collapse; background: #fff; }
.si-port-table thead { background: var(--bg); border-bottom: 1px solid var(--border); }
.si-port-table th {
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--t-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.si-port-table td {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    color: var(--t-main);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.si-port-table tbody tr:last-child td { border-bottom: none; }
.si-port-table tbody tr:hover td { background: var(--bg); }
.si-risk-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.si-risk-moderate { color: #D4AF37; background: rgba(212,175,55,0.12); }
.si-risk-low      { color: var(--c-green); background: rgba(0,195,137,0.1); }
.si-risk-high     { color: var(--c-red); background: rgba(239,68,68,0.1); }

.si-btn-view {
    background: rgba(41,98,255,0.08);
    color: var(--c-blue);
    border: 1px solid rgba(41,98,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.si-btn-view:hover { background: var(--c-blue); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(41,98,255,0.2); }

/* Portfolio Performance Chart area */
.si-port-perf-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    margin-top: 2.5rem;
    box-shadow: var(--shadow);
}
.si-port-perf-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 1.5rem;
}
.si-port-perf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.si-port-perf-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.si-perf-lbl { font-size: 0.8rem; color: var(--t-muted); margin-bottom: 0.35rem; font-weight: 500; }
.si-perf-val { font-family: var(--f-m); font-size: 1.25rem; font-weight: 700; color: var(--t-main); }

.si-port-chart-filters {
    display: flex;
    gap: 0.25rem;
    background: var(--bg);
    border-radius: var(--r-sm);
    padding: 4px;
    border: 1px solid var(--border);
}
.si-chart-filter {
    padding: 0.4rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--t-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
}
.si-chart-filter.active { background: var(--c-blue); color: #fff; box-shadow: 0 2px 6px rgba(41,98,255,0.2); }
.si-chart-filter:hover:not(.active) { background: var(--border); color: var(--t-main); }

.si-portfolio-main-chart {
    width: 100%;
    height: 280px !important;
    min-height: 280px;
    border-radius: var(--r-sm);
    overflow: hidden;
    display: block;
}

/* Asset Allocation & Sectors Grid */
.si-port-alloc-sectors {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.si-alloc-panel, .si-sectors-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.si-alloc-panel h3, .si-sectors-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 2rem;
}
.si-alloc-donut-wrap { display: flex; align-items: center; gap: 3rem; }
.si-alloc-donut { flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05)); }
.si-alloc-legend-list { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.si-alloc-legend-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--t-main);
    font-weight: 500;
}
.si-alloc-legend-row .si-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.si-alloc-legend-row strong { margin-left: auto; font-family: var(--f-m); color: var(--t-main); font-weight: 700; font-size: 1.05rem; }

.si-sectors-list { display: flex; flex-direction: column; gap: 1.25rem; }
.si-sector-row { display: flex; align-items: center; gap: 1rem; }
.si-sector-name { font-size: 0.9rem; font-weight: 500; color: var(--t-main); width: 150px; flex-shrink: 0; }
.si-sector-bar-wrap { flex: 1; height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.si-sector-bar { height: 100%; border-radius: 5px; width: 0%; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.si-sector-pct { font-family: var(--f-m); font-size: 0.9rem; font-weight: 600; color: var(--t-muted); width: 40px; text-align: right; }

/* ============================================================
   FOOTER
   ============================================================ */
.si-footer { background: var(--c-navy); color: rgba(255,255,255,0.6); }
.si-footer-top { padding: 5rem 0; }
.si-footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.si-footer-brand .si-logo { color: #fff; margin-bottom: 1.25rem; display: inline-flex; }
.si-footer-brand p { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.5); }
.si-social-links { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.si-social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-social-links a:hover { border-color: var(--c-blue); color: #fff; background: rgba(41,98,255,0.2); transform: translateY(-3px); }
.si-footer-col h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.si-footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.si-footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color .2s; }
.si-footer-col ul li a:hover { color: #fff; }
.si-footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.25rem; }
.si-newsletter-form { display: flex; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--r-sm); overflow: hidden; transition: border-color 0.3s; }
.si-newsletter-form:focus-within { border-color: var(--c-blue); }
.si-newsletter-input { flex: 1; background: transparent; border: none; padding: 0.75rem 1rem; color: #fff; font-size: 0.9rem; outline: none; }
.si-newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.si-newsletter-btn { background: var(--c-blue); color: #fff; padding: 0.75rem 1.25rem; font-size: 1.1rem; transition: background .3s; }
.si-newsletter-btn:hover { background: #1A52E0; }

.si-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
}
.si-footer-bottom .si-section-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ============================================================
   PAGE CONTENT FALLBACK
   ============================================================ */
.si-page-content { padding: 4rem 0 6rem; min-height: 60vh; line-height: 1.8; }

/* ============================================================
   CONSULT SECTION
   ============================================================ */
.si-consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .si-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .si-footer-grid { grid-template-columns: 1fr 1fr; }
    .si-about-full-grid, .si-about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .si-about-img-large { min-height: 400px; position: static; }
    .si-port-alloc-sectors { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .si-hero-wrap { grid-template-columns: 1fr; gap: 3.5rem; }
    .si-plans-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .si-card-metrics { grid-template-columns: repeat(2, 1fr); }
    .si-stats-row { grid-template-columns: repeat(2, 1fr); }
    .si-qual-grid { grid-template-columns: 1fr; }
    .si-consult-grid { grid-template-columns: 1fr; gap: 3rem; }
    .si-hero-right { animation-delay: 0.6s; }
}
@media (max-width: 768px) {
    .si-nav-links, .si-nav-actions { display: none; }
    .si-mobile-menu-btn { display: flex; }
    .si-hero { padding: calc(var(--nav-h) + 2.5rem) 0 4rem; }
    .si-portfolio-grid { grid-template-columns: 1fr; }
    .si-footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .si-footer-brand { display: flex; flex-direction: column; align-items: center; }
    .si-social-links { justify-content: center; }
    .si-footer-bottom .si-section-container { flex-direction: column; text-align: center; }
    .si-port-perf-header { flex-direction: column; }
    .si-port-perf-stats { gap: 1.25rem; }
    .si-section-head { flex-direction: column; align-items: flex-start; }
    .si-alloc-donut-wrap { flex-direction: column; align-items: flex-start; }
}
