/* ==========================================================================
   BUFFY.COM - PREMIUM FINTECH DESIGN SYSTEM
   Color Palette: Dark Blue, Clean White, Gold Accents, Slate Grays
   ========================================================================== */

:root {
    /* Brand Primary Colors */
    --bg-dark-base: #060A17;
    --bg-dark-surface: #0B132B;
    --bg-card: #1C2541;
    --bg-card-hover: #222E50;
    --bg-card-glass: rgba(28, 37, 65, 0.75);
    
    /* Gold Accent System */
    --gold-primary: #D4AF37;
    --gold-bright: #F4C430;
    --gold-light: #FFE885;
    --gold-dark: #AA771C;
    --gold-gradient: linear-gradient(135deg, #FFF1AC 0%, #F4C430 40%, #D4AF37 70%, #997015 100%);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #0F172A;

    /* Functional Colors */
    --positive: #10B981;
    --positive-glow: rgba(16, 185, 129, 0.2);
    --negative: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Fonts & Radii */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions & Shadows */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 12px 35px -5px rgba(212, 175, 55, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.gold-accent {
    color: var(--gold-bright);
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 32px;
}

/* BUTTONS DESIGN SYSTEM */
.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gold-bright);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-demo-toggle {
    background: linear-gradient(135deg, rgba(28, 37, 65, 0.9), rgba(11, 19, 43, 0.9));
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-demo-toggle:hover {
    border-color: #60A5FA;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* TOAST NOTIFICATION STYLING */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border-left: 4px solid var(--gold-primary);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: toastSlideIn 0.35s ease forwards;
}

.toast.success { border-left-color: var(--positive); }
.toast.info { border-left-color: var(--info); }
.toast.warning { border-left-color: var(--warning); }

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* NAVBAR STYLING */
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 10, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.nav-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.25rem;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.logo-icon.small {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: -3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-bright);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--gold-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* LIVE MARKET TICKER */
.market-ticker-bar {
    background: #040711;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 10px 0;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 45px;
    animation: marquee 35s linear infinite;
}

.ticker-item {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-symbol {
    font-weight: 700;
    color: var(--text-secondary);
}

.t-price {
    font-weight: 600;
}

.t-change.positive { color: var(--positive); }
.t-change.negative { color: var(--negative); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 90px 0 110px 0;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(11, 19, 43, 0) 70%);
    pointer-events: none;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--positive);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--positive);
}

.hero-title {
    font-size: 3.6rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 48px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.badge-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-item i {
    color: var(--gold-bright);
}

/* HERO VISUAL & FLOATING BADGES */
.visual-card-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(28, 37, 65, 0.4));
    box-shadow: var(--shadow-card);
}

.hero-dashboard-img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.floating-badge {
    position: absolute;
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.badge-top-right {
    top: -20px;
    right: -20px;
}

.badge-bottom-left {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.f-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.f-icon.green { background: rgba(16, 185, 129, 0.2); color: var(--positive); }
.f-icon.gold { background: rgba(212, 175, 55, 0.2); color: var(--gold-bright); }

.f-label { display: block; font-size: 0.75rem; color: var(--text-secondary); }
.f-val { font-weight: 700; font-size: 1.05rem; }

/* STATS SECTION */
.stats-section {
    background: var(--bg-dark-surface);
    border-y: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--gold-bright);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* SECTION HEADER STANDARD */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gold-bright);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* FEATURES SECTION */
.features-section {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-bright);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* INVESTMENT PLANS SECTION */
.plans-section {
    background: var(--bg-dark-surface);
    padding: 100px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.plan-card.featured {
    border: 2px solid var(--gold-primary);
    background: linear-gradient(180deg, #1C2541 0%, #151E38 100%);
    box-shadow: var(--shadow-gold);
    transform: scale(1.03);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
}

.plan-tier {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-bright);
}

.plan-min {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0;
}

.min-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 42px;
}

.plan-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--positive);
    font-size: 0.8rem;
}

.btn-plan {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-starter, .btn-pro, .btn-inst {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-starter:hover, .btn-pro:hover, .btn-inst:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-growth {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-growth:hover {
    filter: brightness(1.1);
}

/* CALCULATOR COMPONENT */
.calculator-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.calc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
}

.calc-title-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gold-icon {
    font-size: 2rem;
    color: var(--gold-bright);
}

.calc-badge {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.calc-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

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

.calc-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.calc-label strong {
    color: var(--gold-bright);
    font-size: 1rem;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}

.calc-select {
    width: 100%;
    background: rgba(11, 19, 43, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.calc-results {
    background: rgba(11, 19, 43, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
}

.result-box.main {
    margin-bottom: 20px;
}

.res-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.res-val {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold-bright);
}

.result-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.res-subval {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.res-subval.positive { color: var(--positive); }

.compliance-disclaimer {
    margin-top: 36px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.compliance-disclaimer i {
    color: var(--negative);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* MARKETS SECTION */
.markets-section {
    padding: 100px 0;
}

.market-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.m-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.m-tab.active, .m-tab:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.asset-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.asset-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.asset-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--gold-bright);
}

.asset-name { font-weight: 700; font-size: 1rem; }
.asset-symbol { font-size: 0.78rem; color: var(--text-secondary); }

.asset-pricing { text-align: right; }
.asset-price { font-weight: 700; font-size: 1.05rem; }
.asset-yield { font-size: 0.82rem; font-weight: 600; }
.asset-yield.positive { color: var(--positive); }
.asset-yield.negative { color: var(--negative); }

.crypto-disclosure {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cd-icon { font-size: 1.5rem; color: var(--gold-bright); }

/* PORTFOLIO SECTION */
.portfolio-section {
    background: var(--bg-dark-surface);
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

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

.pillar-item {
    display: flex;
    gap: 20px;
}

.p-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-item h4 { font-size: 1.15rem; margin-bottom: 6px; }
.pillar-item p { font-size: 0.92rem; color: var(--text-secondary); }

.allocation-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.donut-chart-box {
    width: 240px;
    height: 240px;
    margin: 24px auto;
}

.legend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.leg-item { display: flex; align-items: center; gap: 8px; }
.leg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.c-blue { background: #3B82F6; }
.c-gold { background: #F4C430; }
.c-green { background: #10B981; }
.c-purple { background: #8B5CF6; }
.c-cyan { background: #06B6D4; }

/* ABOUT SECTION */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advisor-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-card);
}

.adv-badge {
    font-size: 0.78rem;
    color: var(--gold-bright);
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
}

.lead-p {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.val-box {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.val-box h4 { margin: 10px 0 6px 0; font-size: 1rem; }
.val-box p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0; }

/* TESTIMONIALS SECTION */
.testimonials-section {
    background: var(--bg-dark-surface);
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.t-stars { color: var(--gold-bright); margin-bottom: 16px; font-size: 0.9rem; }
.t-text { font-size: 0.95rem; color: var(--text-secondary); font-style: italic; margin-bottom: 24px; }

.t-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.t-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-primary); }
.t-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-author h4 { font-size: 1rem; }
.t-author span { display: block; font-size: 0.78rem; color: var(--text-secondary); }
.verified-badge { color: var(--positive) !important; font-weight: 600; margin-top: 2px; }

/* BLOG SECTION */
.blog-section { padding: 100px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.blog-card:hover { transform: translateY(-5px); border-color: var(--gold-primary); }

.blog-img-holder {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 16px;
}

.blog-img-1 { background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(11,19,43,0.9)), url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?auto=format&fit=crop&w=600&q=80'); }
.blog-img-2 { background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(11,19,43,0.9)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=600&q=80'); }
.blog-img-3 { background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(11,19,43,0.9)), url('https://images.unsplash.com/photo-1642543492481-44e81e3914a7?auto=format&fit=crop&w=600&q=80'); }

.blog-category {
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.blog-content { padding: 24px; }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 20px; }

.btn-read-more {
    background: none;
    border: none;
    color: var(--gold-bright);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FAQ SECTION */
.faq-section { background: var(--bg-dark-surface); padding: 100px 0; }

.faq-search-box {
    max-width: 600px;
    margin: 0 auto 40px auto;
    position: relative;
}

.faq-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.faq-search-box input {
    width: 100%;
    padding: 16px 20px 16px 54px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.faq-search-box input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--gold-bright); }

/* CONTACT SECTION */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.c-info-list { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.c-info-item { display: flex; gap: 16px; align-items: flex-start; }

.c-icon {
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-bright);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.c-info-item h5 { font-size: 0.95rem; }
.c-info-item p { font-size: 0.88rem; color: var(--text-secondary); }

.map-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #1C2541, #0B132B);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.9rem; }
.pin-gold { color: var(--gold-bright); font-size: 1.4rem; }

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-card h3 { margin-bottom: 24px; font-size: 1.5rem; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(11, 19, 43, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold-primary);
}

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.small-link { font-size: 0.8rem; color: var(--gold-bright); }

/* USER DASHBOARD VIEW */
.dashboard-view {
    background: var(--bg-dark-base);
    min-height: 100vh;
    padding-bottom: 60px;
}

.dashboard-view.hidden { display: none; }

.dashboard-header-bar {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-welcome h2 { font-size: 1.8rem; }
.dash-welcome p { font-size: 0.88rem; color: var(--text-secondary); }

.dash-quick-actions { display: flex; gap: 12px; }

.dashboard-content { margin-top: 30px; }

.dash-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.dash-metric-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
}

.m-title { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 6px; }
.m-val { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.m-change { font-size: 0.82rem; font-weight: 600; }
.m-sub { font-size: 0.78rem; color: var(--text-muted); }

.dash-charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.dash-chart-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.chart-timeframe { display: flex; gap: 6px; background: rgba(0,0,0,0.3); padding: 4px; border-radius: var(--radius-sm); }
.tf-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

.tf-btn.active { background: var(--gold-gradient); color: var(--text-dark); }

.chart-canvas-holder { position: relative; height: 320px; width: 100%; }
.donut-holder { height: 200px; }

.allocation-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; }
.alloc-row { display: flex; justify-content: space-between; color: var(--text-secondary); }

.dash-table-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.table-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.btn-text { background: none; border: none; color: var(--gold-bright); cursor: pointer; font-weight: 600; }

.dash-table { width: 100%; border-collapse: collapse; text-align: left; }
.dash-table th { padding: 12px; color: var(--text-muted); font-size: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dash-table td { padding: 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 0.9rem; }

.tx-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.82rem; }
.status-pill { padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.status-pill.success { background: rgba(16, 185, 129, 0.15); color: var(--positive); }

/* AUTH MODALS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 17, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.hidden { display: none; }

.auth-modal {
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.auth-modal.hidden { display: none; }

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h3 { font-size: 1.5rem; margin-top: 10px; }
.auth-header p { font-size: 0.88rem; color: var(--text-secondary); }

.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-secondary); }
.gold-link { color: var(--gold-bright); font-weight: 700; }

.pin-code-group { display: flex; gap: 10px; justify-content: center; margin: 24px 0; }
.pin-input {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    background: rgba(11, 19, 43, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--gold-bright);
}

/* FOOTER */
.site-footer {
    background: #03060F;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0 30px 0;
}

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

.footer-tagline { font-weight: 700; color: var(--gold-bright); margin: 12px 0; }
.footer-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; }

.social-links { display: flex; gap: 14px; }
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-links a:hover { background: var(--gold-gradient); color: var(--text-dark); }

.footer-col h4 { font-size: 1.05rem; margin-bottom: 20px; color: var(--text-primary); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-secondary); }
.footer-col ul li a:hover { color: var(--gold-bright); }

.newsletter-box { display: flex; gap: 8px; margin: 16px 0 8px 0; }
.newsletter-box input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: white;
    font-size: 0.85rem;
    flex-grow: 1;
}

.newsletter-sub { font-size: 0.75rem; color: var(--text-muted); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .hero-grid, .portfolio-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid, .testimonials-grid, .blog-grid, .assets-grid { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-body { grid-template-columns: 1fr; }
    .dash-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-charts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .nav-actions .btn-secondary, .nav-actions .btn-primary { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid, .testimonials-grid, .blog-grid, .assets-grid, .plans-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
