/* ============================================
   TITAN - Premium Swiss Advisory
   Main Stylesheet
   ============================================ */

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

:root {
    /* Premium Color Palette */
    --cream: #F5F3ED;
    --cream-light: #FAF9F6;
    --cream-dark: #EDE9E0;
    --deep-navy: #0F2438;
    --navy-light: #1A3654;
    --frame-color: #EDE9E0;
    --terracotta: #C65D3B;
    --terracotta-hover: #B54E2D;
    --terracotta-light: rgba(198, 93, 59, 0.1);
    --gold-accent: #C9A962;
    --stone-gray: #8A8A8A;
    --white: #FFFFFF;
    --border-light: rgba(15, 36, 56, 0.08);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Frame Dimensions */
    --header-height: 60px;
    --footer-height: 50px;
    --sidebar-width: 60px;
    --frame-padding: 6px;
    --content-radius: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-light);
    color: var(--deep-navy);
    line-height: 1.6;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
    width: 100vw;
}

/* ----------------------------------------
   Frame Layout Structure
   ---------------------------------------- */
.frame-container {
    display: grid;
    grid-template-rows: var(--header-height) 1fr var(--footer-height);
    grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width);
    height: 100vh;
    width: 100vw;
    background: var(--frame-color);
}

/* ----------------------------------------
   Header (Top Bar)
   ---------------------------------------- */
.frame-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: var(--frame-color);
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 24px;
    height: 24px;
    color: var(--deep-navy);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-icon:hover {
    opacity: 1;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--deep-navy);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 28px;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-icon:hover {
    background: rgba(15, 36, 56, 0.05);
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    color: var(--deep-navy);
}

.nav-icon.accent svg {
    color: var(--terracotta);
}

/* ----------------------------------------
   Left Sidebar
   ---------------------------------------- */
.frame-sidebar-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background: var(--frame-color);
    gap: 0;
    position: relative;
    z-index: 10;
}

.sidebar-link {
    width: 100%;
    height: var(--sidebar-width);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
    opacity: 0.4;
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent;
    margin: 0;
    border: none;
}

.sidebar-link:hover,
.sidebar-link.active {
    opacity: 1;
    background: var(--cream-light);
    color: var(--terracotta);
    box-shadow: none;
    /* Ensure no shadow leak */
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
}

/* ----------------------------------------
   Right Sidebar
   ---------------------------------------- */
.frame-sidebar-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--frame-color);
    gap: 0;
    position: relative;
    z-index: 10;
}

.scroll-indicator {
    width: 3px;
    height: 80px;
    background: rgba(15, 36, 56, 0.15);
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--terracotta);
    transition: height 0.3s ease;
}

/* ----------------------------------------
   Footer (Bottom Bar)
   ---------------------------------------- */
.frame-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    background: var(--frame-color);
    position: relative;
    z-index: 10;
}

.footer-center {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: rgba(15, 36, 56, 0.4);
    letter-spacing: 0.1em;
}

/* ----------------------------------------
   Main Content Area (Scrollable)
   ---------------------------------------- */
.frame-content {
    position: relative;
    overflow: hidden;
    padding: 0;
    /* No gap between frame and content */
}

.content-viewport {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--cream);
    border-radius: var(--content-radius);
    border: 1px solid var(--border-light);
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
    /* Contain ::before */
}

/* Hide scrollbar but keep functionality */
.content-viewport::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.content-viewport {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Subtle grid pattern on content */
/* Subtle grid pattern on content */
.content-viewport::before {
    content: '';
    position: absolute;
    /* Changed from fixed to contain in parent */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    /* Ensure it covers full scroll height */
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(15, 36, 56, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 36, 56, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ----------------------------------------
   Section Styles (Full Screen Sections)
   ---------------------------------------- */
.section {
    min-height: 100%;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    position: relative;
    padding: 3rem 4rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
    }
}

/* Image Content for Sections 2 & 3 */
/* Image Content for Sections 2 & 3 */
.visual-content {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed container styles as requested */
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    /* Ensure strict containment */
    object-fit: cover;
    display: block;
}

/* Spacing for Section 2 & 3 Titles and Text */
.section-grid .hero-content .heading-display {
    margin-bottom: 1.5rem;
}

.section-grid .hero-content .text-body {
    margin-bottom: 2.5rem;
}

.content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* ----------------------------------------
   Typography Classes
   ---------------------------------------- */
.heading-display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--deep-navy);
}

.heading-xl {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.heading-lg {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.text-body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    color: rgba(15, 36, 56, 0.75);
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.text-italic {
    font-style: italic;
}

/* ----------------------------------------
   CTA Buttons
   ---------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(198, 93, 59, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 93, 59, 0.45);
}

.btn-primary svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(15, 36, 56, 0.6);
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    color: var(--terracotta);
}

/* ----------------------------------------
   Advisor Cards
   ---------------------------------------- */
.cards-section {
    position: relative;
}

.cards-background {
    position: absolute;
    top: 189px;
    right: -4rem;
    width: 107%;
    height: 50%;
    background: url('assets/img/bg-cemento.png') center/cover no-repeat;
    border-radius: 0;
    animation: slideInFromRight 1s ease-out forwards;
    transform: translateX(100%);
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cards-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
}

.cards-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    height: 100%;
    min-height: 500px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .cards-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        gap: 1.5rem;
    }
}

/* Advisor Card - Glassmorphism Style */
.advisor-card {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    aspect-ratio: 2/3;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced blur shadow effect underneath cards */
.advisor-card::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 8%;
    width: 84%;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(35px);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .advisor-card {
        margin: 0;
    }

    /* Increased specificity to override .fade-in.visible */
    .cards-container .advisor-card:nth-child(1) {
        transform: translateY(0px);
    }

    .cards-container .advisor-card:nth-child(2) {
        transform: scale(1.15);
        z-index: 10;
    }

    .cards-container .advisor-card:nth-child(3) {
        transform: translateY(0px);
    }
}

.advisor-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.advisor-card:hover::before {
    bottom: -30px;
    filter: blur(35px);
    opacity: 0.6;
}

@media (min-width: 768px) {

    /* Override hover for the middle card to prevent growth */
    .cards-container .advisor-card:nth-child(2):hover {
        transform: scale(1.15);
    }
}

/* Full bleed photo */
.advisor-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.advisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.15);
}

/* Gradient overlay for text readability */
.advisor-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

/* Age badge */
.advisor-age {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

/* Content overlay */
.advisor-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 2;
}

.advisor-role {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.advisor-stat {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.advisor-stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.advisor-stat-label {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 80px;
}

/* Trend arrow */
.advisor-trend {
    position: absolute;
    bottom: 50px;
    right: 12px;
    z-index: 2;
    opacity: 0.7;
}

.advisor-trend svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

/* ----------------------------------------
   Pillar Cards
   ---------------------------------------- */
.pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .pillars-grid {
        flex-direction: row;
        gap: 1rem;
    }
}

.pillar-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: var(--deep-navy);
    opacity: 0.75;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.875rem;
    color: var(--deep-navy);
}

.pillar-stats {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: rgba(15, 36, 56, 0.7);
}

.pillar-stat {
    display: flex;
    justify-content: space-between;
}

.pillar-stat-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ----------------------------------------
   Success Section
   ---------------------------------------- */
.success-visual {
    position: relative;
    background: linear-gradient(160deg, #5A5A5A 0%, #3A3A3A 50%, #2A2A2A 100%);
    border-radius: 16px;
    padding: 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    min-height: 200px;
}

.success-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.06;
}

.success-chart {
    position: relative;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.success-line {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.8) 70%, rgba(201, 169, 98, 0.9) 100%);
    position: relative;
}

.success-line::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, transparent, transparent 30%, rgba(255, 255, 255, 0.1));
    clip-path: polygon(0 100%, 30% 80%, 50% 60%, 70% 30%, 100% 0, 100% 100%);
}

.success-percentage {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 40px rgba(201, 169, 98, 0.5);
}

/* ----------------------------------------
   Experience Section
   ---------------------------------------- */
.section-center {
    text-align: center;
    justify-content: center;
}

.section-center .section-grid {
    display: block;
    text-align: center;
}

.experience-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.experience-subtitle {
    font-size: 1rem;
    color: rgba(15, 36, 56, 0.7);
    margin-bottom: 2rem;
}

/* ----------------------------------------
   Hero Content Specific
   ---------------------------------------- */
.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    margin-bottom: 1.25rem;
}

margin-bottom: 2rem;
}

/* ----------------------------------------
   Hero Aurora Gradient Background
   ---------------------------------------- */
.hero-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--cream);
}

.hero-aurora::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(10, 31, 51, 0.15) 0%, rgba(198, 93, 59, 0.08) 40%, transparent 70%);
    filter: blur(60px);
    animation: aurora-breath 10s ease-in-out infinite;
    opacity: 0.8;
}

.hero-aurora::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(198, 93, 59, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    animation: aurora-breath 14s ease-in-out infinite reverse;
}

@keyframes aurora-breath {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* ----------------------------------------
   Functional Functional Badges (Hero)
   ---------------------------------------- */
.functional-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    z-index: 5;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 20;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--deep-navy);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--terracotta);
}

.badge-c-level {
    top: 5%;
    left: 60%;
    z-index: 30;
    animation: float-slow 8s ease-in-out infinite;
}

.badge-exp {
    top: 87%;
    left: 9%;
    z-index: 30;
    animation: float-medium 9s ease-in-out infinite 1s;
    /* 1s delay */
}

.badge-network {
    top: 7%;
    left: 71%;
    z-index: 30;
    animation: float-fast 10s ease-in-out infinite 2s;
    /* 2s delay */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .badge-c-level {
        top: 10%;
        left: 60%;
        transform: scale(0.8);
    }

    .badge-exp {
        top: 55%;
        left: 5%;
        transform: scale(0.8);
    }

    .badge-network {
        display: none;
    }
}

/* ----------------------------------------
   Intro Animation Overlay
   ---------------------------------------- */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--cream);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

#intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--deep-navy);
    font-weight: 700;
    text-align: center;
    opacity: 0;
    width: 100%;
    left: 0;
    top: 50%;
    /* Start slightly below center for the slide-up effect */
    transform: translateY(calc(-50% + 30px));
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: absolute;
    padding: 0 1rem;
}

.intro-text.active {
    opacity: 1;
    /* Move to perfect vertical center */
    transform: translateY(-50%);
}

.intro-logo {
    opacity: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.9) translateY(-50%);
    top: 50%;
    position: absolute;
    left: 0;
    transition: all 0.8s ease-out;
}

.intro-logo.active {
    opacity: 1;
    transform: scale(1) translateY(-50%);
}

.intro-logo img {
    max-width: 300px;
    /* Adjust size as needed */
    height: auto;
    width: 80%;
}


/* ----------------------------------------
   Premium "Fake Button" Tag
   ---------------------------------------- */
.premium-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 36, 56, 1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.premium-tag span {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.premium-dot {
    width: 6px;
    height: 6px;
    background-color: var(--terracotta);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--terracotta);
}

/* ----------------------------------------
   Responsive Adjustments
   ---------------------------------------- */
@media (max-width: 1023px) {
    :root {
        --sidebar-width: 50px;
        --header-height: 56px;
        --footer-height: 46px;
    }

    .section {
        padding: 2rem;
    }

    .sidebar-link,
    .nav-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    :root {
        --sidebar-width: 0px;
    }

    .frame-sidebar-left,
    .frame-sidebar-right {
        display: none;
    }

    .section {
        padding: 1.5rem;
    }

    .heading-xl {
        font-size: 1.75rem;
    }

    .heading-lg {
        font-size: 1.5rem;
    }
}

/* ----------------------------------------
   Fade-in Scroll Animations
   ---------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 3.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays for cards */
.advisor-card:nth-child(1) {
    transition-delay: 3.2s;
}

.advisor-card:nth-child(2) {
    transition-delay: 3.3s;
}

.advisor-card:nth-child(3) {
    transition-delay: 3.4s;
}

/* Micro-interactions */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

/* Card hover micro-interaction */
.advisor-card {
    will-change: transform, box-shadow;
}

.advisor-photo img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.advisor-card:hover .advisor-photo img {
    transform: scale(1.05);
    filter: grayscale(80%) contrast(1.2);
}

/* ----------------------------------------
   Zero-Gravity CTA Section (Experience)
   ---------------------------------------- */
#experience {
    position: relative;
    background-color: var(--cream);
    /* Standard Theme Color */
    overflow: hidden;
    padding: 8rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Noise Texture (Simulated with radial gradient for depth since no asset) */
#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle vignette to focus center */
    pointer-events: none;
    z-index: 1;
}

.zero-gravity-content {
    position: relative;
    z-index: 20;
    /* High z-index to stay above floating shapes */
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.zg-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--deep-navy);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.zg-subtext {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--deep-navy);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-terracotta {
    background-color: var(--terracotta);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-terracotta:hover {
    background-color: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(198, 93, 59, 0.2);
}

/* Floating Elements Container */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    /* Behind text */
}

.float-shape {
    position: absolute;
    border-radius: 4px;
}

/* Shape Type A: Concrete (Grey, textured look) */
.shape-concrete {
    background-color: #D4D4D4;
    /* Light grey concrete */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

/* Shape Type B: Glass */
.shape-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

/* Shape Type C: Blueprint (Thin blue lines) */
.shape-blueprint {
    border: 1px solid rgba(15, 36, 56, 0.3);
    /* Navy opacity */
    background: transparent;
}

.shape-crosshair {
    width: 20px;
    height: 20px;
    position: absolute;
}

.shape-crosshair::before,
.shape-crosshair::after {
    content: '';
    position: absolute;
    background-color: var(--deep-navy);
}

.shape-crosshair::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.shape-crosshair::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
}


/* Animation Keyframes */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float-medium {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(-3deg);
    }
}

@keyframes float-fast {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(4deg);
    }
}

/* Positioning & Specific Animations */
/* Bottom Right - Concrete */
.pos-2 {
    bottom: 20%;
    right: 10%;
    width: 180px;
    height: 180px;
    animation: float-medium 10s ease-in-out infinite;
}

/* Top Right - Crosshair */
.pos-3 {
    top: 25%;
    right: 20%;
    animation: float-fast 12s ease-in-out infinite;
    opacity: 0.6;
}

/* Bottom Left - Blueprint Box */
.pos-4 {
    bottom: 15%;
    left: 15%;
    width: 100px;
    height: 100px;
    animation: float-slow 9s ease-in-out infinite;
}

/* Center Left - Concrete Small */
.pos-5 {
    top: 45%;
    left: 5%;
    width: 60px;
    height: 60px;
    animation: float-fast 7s ease-in-out infinite;
}

/* Top Center - Glass Small */
.pos-6 {
    top: 10%;
    left: 55%;
    width: 80px;
    height: 80px;
    animation: float-medium 11s ease-in-out infinite;
    border-radius: 50%;
}

/* ----------------------------------------
   Living Data UI Chips (Floating Elements)
   ---------------------------------------- */
.visual-content {
    position: relative;
    /* Ensure chips float relative to this container */
}

.floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 5;
    /* Above background, below main image usually */
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--deep-navy);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.chip-icon {
    width: 14px;
    height: 14px;
    color: var(--deep-navy);
}

.chip-icon-terracotta {
    color: var(--terracotta);
}

/* Specific Positions for Section 2 (Pillars) */
.chip-secure {
    top: 10%;
    right: 5%;
    animation: float-slow 7s ease-in-out infinite;
}

.chip-systems {
    bottom: 20%;
    left: -5%;
    animation: float-medium 9s ease-in-out infinite;
}

.chip-status {
    top: 40%;
    right: -10%;
    animation: float-fast 8s ease-in-out infinite;
    padding: 4px 10px;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.7);
}

/* Specific Positions for Section 3 (Success) */
.chip-risk {
    top: 15%;
    left: 0%;
    animation: float-medium 8s ease-in-out infinite;
}

.chip-growth {
    bottom: 15%;
    right: 5%;
    animation: float-slow 10s ease-in-out infinite;
}

.chip-verified {
    top: 50%;
    left: -10%;
    animation: float-fast 6s ease-in-out infinite;
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .floating-chip {
        transform: scale(0.8);
    }

    .chip-systems,
    .chip-status,
    .chip-verified {
        display: none;
    }

    /* Hide some on mobile to reduce clutter */
}



@media (max-width: 768px) {
    #experience {
        padding: 4rem 1rem;
        min-height: 60vh;
    }

    .pos-1,
    .pos-2,
    .pos-4,
    .pos-5,
    .pos-6 {
        transform: scale(0.6);
        opacity: 0.5;
    }

    /* Minimize distraction on mobile */
    .zg-headline {
        font-size: 2.5rem;
    }
}