:root {
    --bg-navy: #0D0F1C;
    --bg-navy-light: #1A1C2D;
    --brand-blue: #00BFFF;
    --brand-magenta: #C43BFF;
    --brand-gradient: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-magenta) 100%);
    --text-light: #F0F2FF;
    --text-dark: #0D0F1C;
    --text-secondary: #9B9EBA;
    --border-color: rgba(155, 158, 186, 0.2);
    --font-main: "Albert Sans", sans-serif;
    --header-height-mobile: 80px;
    --header-height-desktop: 90px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background-color: var(--bg-navy); color: var(--text-light); font-family: var(--font-main); line-height: 1.6; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
a { color: var(--text-light); text-decoration: none; transition: color 0.2s ease; }
ul, li { list-style: none; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; }
.section-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; height: var(--header-height-mobile); transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
@media (min-width: 992px) { .main-header { height: var(--header-height-desktop); } }
.main-header.is-top { background-color: transparent; border-color: transparent; }
.main-header:not(.is-top) { background: rgba(13, 15, 28, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 1.2rem; }
.logo img { height: 32px; }
.desktop-nav, .mobile-sidebar { display: none; }
@media (min-width: 992px) {
    .main-nav { display: block; flex-grow: 1; }
    .desktop-nav { display: flex; justify-content: flex-end; align-items: center; width: 100%; }
    .desktop-nav > li { position: relative; }
    .desktop-nav > li > a { display: block; padding: 0 1.5rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s ease; }
    .desktop-nav > li > a:hover { color: var(--text-light); }
    .desktop-nav .has-deskmenu > a::after { content: '▾'; font-size: 0.7em; margin-left: 0.5rem; display: inline-block; transition: transform 0.2s ease; }
    .desktop-nav .has-deskmenu:hover > a::after { transform: rotate(180deg); }
    .header-actions-container { margin-left: 2rem; }
    .header-actions { display: flex; gap: 1rem; }
    .desktop-nav .deskmenu { position: absolute; top: 100%; left: 0; background: var(--bg-navy-light); border: 1px solid var(--border-color); border-radius: 8px; min-width: 220px; padding: 0.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; z-index: 100; }
    .desktop-nav > li:hover > .deskmenu { opacity: 1; visibility: visible; transform: translateY(0); }
    .desktop-nav .deskmenu li a { display: block; padding: 0.6rem 1rem; color: var(--text-secondary); border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; }
    .desktop-nav .deskmenu li a:hover { background-color: var(--brand-blue); color: var(--text-light); }
}
.menu-toggle { display: block; background: none; border: none; cursor: pointer; padding: 10px; z-index: 9999; }
@media (min-width: 992px) { .menu-toggle { display: none; } }
.hamburger { width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger span { width: 100%; height: 2px; background: var(--text-light); transition: all 0.3s ease-in-out; }
.backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 9997; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s; }
body.nav-open .backdrop { opacity: 1; visibility: visible; }
@media (max-width: 991px) {
    .mobile-sidebar { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 80%; max-width: 350px; height: 100%; background-color: var(--bg-navy-light); box-shadow: -10px 0 30px rgba(0,0,0,0.3); transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 9998; }
}
body.nav-open .mobile-sidebar { transform: translateX(0); }
.mobile-sidebar-header { display: flex; justify-content: space-between; align-items: center; height: var(--header-height-mobile); padding: 0 1.5rem; background-color: var(--bg-navy); border-bottom: 1px solid var(--border-color); }
.close-menu-btn { background: none; border: none; padding: 10px; cursor: pointer; color: var(--text-secondary); }
.close-menu-btn:hover { color: var(--text-light); }
.mobile-sidebar-links { flex-grow: 1; padding: 1rem 0; list-style: none; overflow-y: auto; }
.mobile-sidebar-links > li > a { display: flex; justify-content: space-between; align-items: center; color: var(--text-light); font-size: 1.2rem; font-weight: 600; padding: 1.25rem 1.5rem; position: relative; }
.has-submenu > a::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--text-secondary); transition: transform 0.3s ease; }
.has-submenu.is-open > a { background-color: rgba(0, 191, 255, 0.1); color: var(--brand-blue); }
.has-submenu.is-open > a::after { transform: rotate(45deg); }
.submenu { list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; background-color: rgba(0,0,0,0.2); border-left: 3px solid transparent; }
.has-submenu.is-open .submenu { padding-top: 0.5rem; padding-bottom: 0.5rem; border-left-color: var(--brand-blue); }
.submenu li a { display: block; font-size: 1rem; font-weight: 400; padding: 0.75rem 2.5rem; color: var(--text-secondary); transition: color 0.2s ease, padding-left 0.2s ease; }
.submenu li a:hover { color: var(--text-light); padding-left: 2.75rem; }
.mobile-sidebar-actions { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-top: 1px solid var(--border-color); }
.mobile-sidebar-actions .btn { width: 100%; text-align: center; }
.btn { display: inline-block; padding: 0.8rem 1.75rem; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: 1px solid transparent; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-primary { background: var(--brand-gradient); color: var(--text-light); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(0, 191, 255, 0.4); }
.btn-secondary { background-color: rgba(255, 255, 255, 0.05); color: var(--text-light); border: 1px solid var(--border-color); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); border-color: var(--text-light); }
.hero-section { min-height: 100vh; display: flex; align-items: center; text-align: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: 50%; left: 50%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 60%); transform: translate(-50%, -50%); z-index: -1; }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s ease-out forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.hero-content { max-width: 800px; margin: 0 auto; padding-top: var(--header-height-desktop); }
.hero-title { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -2.5px; min-height: 1.2em; transition: opacity 0.5s ease-in-out; }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: var(--text-secondary); margin: 0 auto 2.5rem; max-width: 55ch; }
.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.ticker-section { padding: 1rem 0; background-color: var(--bg-navy); }
.ticker-wrap { width: 100%; overflow: hidden; }
.ticker-move { display: flex; animation: scroll 40s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 0.75rem; padding: 0 2rem; color: var(--text-secondary); font-weight: 500; font-size: 1rem; white-space: nowrap; }
.ticker-item img { height: 24px; width: 24px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.section-metrics { padding: 7rem 0; background-color: var(--bg-navy-light); }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background-color: var(--border-color); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; }
.metric-item { padding: 2.5rem 1.5rem; text-align: center; background-color: var(--bg-navy-light); }
.metric-label { display: block; font-size: 1rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.metric-value { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 700; color: var(--text-light); line-height: 1; background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-tech-tokens { padding: 8rem 0; background-color: white; color: var(--text-dark); position: relative; z-index: 1; }
.section-tech-tokens::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('../images/office-bg.jpg'); background-size: cover; background-position: center; opacity: 0.05; z-index: -1; }
.tech-tokens-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: flex-start; }
.tech-content-left { position: sticky; top: 150px; }
.tech-content-left p { color: #555; font-size: 1.1rem; max-width: 45ch; }
.tech-tokens-right { position: relative; height: 380px; overflow: hidden; }
.token-list-wrapper { display: flex; flex-direction: column; }
.token-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem; background-color: #f7f9fc; border: 1px solid #eef2f7; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 1.5rem; transition: opacity 0.5s ease, transform 0.5s ease; flex-shrink: 0; }
.token-item.exiting { opacity: 0; transform: translateY(-50px); }
.token-item img { height: 56px; width: 56px; }
.token-item h3 { color: var(--text-dark); font-size: 1.5rem; margin-bottom: 0.25rem; }
.token-item p { color: #555; }
.tracker-wrapper { margin-top: 3rem; border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,0.1); background-color: var(--bg-navy); position: relative; height: 77px; }
.tradingview-widget-container { height: 77px; }

/* === REFINED PORTFOLIO & PERSPECTIVE SECTION - V2 FIX === */
.section-portfolio { padding: 7rem 0; background-color: var(--bg-navy-light); overflow: hidden; }
.portfolio-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.holdings-container h3, .accounts-container h3 { font-size: 1.5rem; margin-bottom: 2rem; color: var(--text-light); }
.holdings-list { display: flex; flex-direction: column; gap: 1rem; }
.holding-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: rgba(13, 15, 28, 0.6); border: 1px solid var(--border-color); border-radius: 12px; position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.holding-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.holding-info { display: flex; align-items: center; gap: 1rem; }
.holding-info img { height: 40px; width: 40px; }
.asset-name strong { display: block; font-size: 1.1rem; }
.asset-name span { color: var(--text-secondary); font-size: 0.9rem; }
.holding-value { font-size: 1.1rem; font-weight: 600; text-align: right; }
.accounts-list { display: flex; flex-direction: column; gap: 0.5rem; }
.account-item { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); transition: background-color 0.3s ease; }
.rank { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); width: 20px; text-align: center; }
.account-info { flex-grow: 1; }
.account-info strong { display: block; font-size: 1.1rem; }
.account-info span { color: var(--text-secondary); font-size: 0.9rem; }

/* === INSTITUTIONAL, BRIDGE, CORE VALUES, TESTIMONIALS (UNCHANGED) === */
/* ... All styles from the previous final response for these sections go here ... */
.section-institutional { position: relative; padding: 8rem 0; color: white; background-image: linear-gradient(rgba(13, 15, 28, 0.92), rgba(13, 15, 28, 0.92)), url('../images/institutional-bg.jpg'); background-size: cover; background-position: center; background-attachment: fixed; z-index: 1; }
.institutional-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.institutional-pillar-card { background-color: var(--bg-navy); padding: 3rem; border-radius: 16px; border: 1px solid var(--border-color); }
.institutional-pillar-card p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; }
.institutional-pillar-card p:last-of-type { margin-top: 1.5rem; }
.institutional-features-stack { display: flex; flex-direction: column; gap: 2rem; }
.institutional-feature-card { background: rgba(26, 28, 45, 0.6); backdrop-filter: blur(10px); border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; text-align: center; }
.institutional-feature-card .feature-icon { width: 56px; height: 56px; margin: 0 auto 1.5rem auto; background: var(--brand-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.institutional-feature-card .feature-icon svg { width: 28px; height: 28px; color: white; }
.institutional-feature-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.institutional-feature-card p { color: var(--text-secondary); font-size: 0.95rem; }
.section-bridge { padding: 7rem 0; background-color: var(--bg-navy); }
.bridge-visual { display: flex; align-items: center; justify-content: space-between; margin-top: 4rem; }
.bridge-node { text-align: center; flex-shrink: 0; }
.node-icon { width: 80px; height: 80px; margin: 0 auto 1rem auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); background: var(--bg-navy-light); box-shadow: 0 0 20px rgba(0,0,0,0.2); }
.node-icon svg { width: 32px; height: 32px; }
.bridge-node--tradfi .node-icon { color: var(--text-secondary); }
.bridge-node--defi .node-icon { color: var(--brand-blue); }
.bridge-node span { font-weight: 600; font-size: 1.1rem; }
.bridge-path { flex-grow: 1; height: 100px; position: relative; margin: 0 -2rem; }
.bridge-path svg { width: 100%; height: 100%; }
.bridge-pulse { width: 20px; height: 20px; background: white; border-radius: 50%; box-shadow: 0 0 10px white, 0 0 20px var(--brand-blue); position: absolute; offset-path: path('M 0 50 Q 100 0, 200 50 T 400 50'); animation: move-pulse 5s linear infinite; }
@keyframes move-pulse { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
.section-core-values { padding: 7rem 0; background-color: var(--bg-navy-light); }
.core-values-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.core-values-image img { width: 100%; height: auto; border-radius: 16px; }
.accordion { border-top: 1px solid var(--border-color); }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-header { background: none; border: none; width: 100%; text-align: left; padding: 1.75rem 0; font-size: 1.3rem; font-weight: 600; color: var(--text-light); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header::after { content: '+'; font-size: 1.5rem; transition: transform 0.3s ease; color: var(--text-secondary); }
.accordion-item.is-active .accordion-header { color: var(--brand-blue); }
.accordion-item.is-active .accordion-header::after { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, padding-bottom 0.4s ease-in-out; }
.accordion-item.is-active .accordion-content { padding-bottom: 1.75rem; }
.accordion-content p { color: var(--text-secondary); max-width: 60ch; }
.section-testimonials { padding: 7rem 0; background: var(--bg-navy) url('../images/testimonials-bg.svg') no-repeat center center; background-size: cover; }
.testimonial-slider { padding-bottom: 4rem; }
.swiper-wrapper { align-items: stretch; } /* FIX: Align slides properly */
.swiper-slide { height: auto; display: flex; } /* FIX: Ensure slides are flex containers */
.testimonial-card { background: rgba(26, 28, 45, 0.7); backdrop-filter: blur(10px); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem; width: 100%; display: flex; flex-direction: column; justify-content: space-between; } /* FIX: Make card fill the slide and use flexbox */
.testimonial-card p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 2rem; font-style: italic; flex-grow: 1; }
.author { border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.author strong { display: block; font-size: 1.1rem; }
.author span { font-size: 0.9rem; color: #F0B90B; }
.swiper-pagination-bullet { background: var(--text-secondary); }
.swiper-pagination-bullet-active { background: var(--brand-blue); }

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 991px) {
    .tech-tokens-grid { grid-template-columns: 1fr; }
    .tech-content-left { position: static; text-align: center; margin-bottom: 3rem; }
    .tech-content-left .section-title, .tech-content-left p { margin-left: auto; margin-right: auto; }
    .tech-tokens-right { height: 380px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .institutional-grid { grid-template-columns: 1fr; }
    .bridge-visual { flex-direction: column; gap: 2rem; }
    .bridge-path { transform: rotate(90deg); width: 100px; height: 300px; margin: -2rem 0; }
    .core-values-grid { grid-template-columns: 1fr; }
    .core-values-image { max-width: 500px; margin: 0 auto 3rem auto; }
}

.main-footer {
    padding: 6rem 0 0 0;
    background-color: var(--bg-navy-light);
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; /* 5 columns for better spacing */
    gap: 2.5rem;
    padding-bottom: 5rem;
}
.footer-column-brand {
    grid-column: 1 / 2;
}
.footer-column-subscribe {
    grid-column: 5 / 6;
}
.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-column a {
    color: var(--text-secondary);
}
.footer-column a:hover {
    color: var(--brand-blue);
}
.footer-column .tagline {
    margin-top: 1rem;
    color: var(--text-secondary);
    max-width: 30ch;
}
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.footer-socials a:hover {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--text-light);
    transform: translateY(-3px);
}
.footer-subscribe-form {
    display: flex;
    position: relative;
    margin-top: 1.5rem;
}
.footer-subscribe-form input {
    width: 100%;
    height: 48px;
    padding: 0 50px 0 1.25rem;
    background-color: var(--bg-navy);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
}
.footer-subscribe-form input:focus {
    outline: none;
    border-color: var(--brand-blue);
}
.footer-subscribe-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}
.footer-subscribe-form button:hover {
    transform: translateY(-50%) scale(1.1);
}
.footer-bar {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-bar a {
    color: var(--text-secondary);
}
.footer-bar a:hover {
    color: var(--text-light);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    }
    .footer-column-brand {
        grid-column: 1 / 3; /* Span full width */
        margin-bottom: 2rem;
    }
    .footer-column-subscribe {
        grid-column: 1 / 3; /* Span full width */
        margin-top: 2rem;
    }
}
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .footer-column-brand,
    .footer-column-subscribe {
        grid-column: auto;
        margin: 0;
    }
    .footer-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}