/*
Theme Name: Astra AADEC Child
Theme URI: https://aadec.us
Description: AADEC Client Portal - Child theme for Astra
Author: AADEC
Template: astra
Version: 1.0.0
*/

/* ========================================
   AADEC WEBSITE - COMPLETE CSS
   All Pages + Desk Template + Mobile
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Lato:wght@300;400;700&display=swap');

/* ========================================
   GLOBAL FONT - LATO
   ======================================== */

body,
p,
div,
span,
a,
li,
input,
textarea,
button {
    font-family: 'Lato', sans-serif !important;
}

/* ========================================
   FORCE OVERRIDES & RESETS
   ======================================== */

html,
body,
.site,
#page,
.ast-container,
.site-content,
#primary,
article,
.entry-content {
    background-color: #0A1628 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header,
.site-footer,
header,
footer,
#masthead,
.entry-header,
#secondary,
nav.main-navigation,
#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}

/* Remove tap highlights globally */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* ========================================
   DESIGN SYSTEM VARIABLES
   ======================================== */

:root {
    --navy: #0A1628;
    --navy-transparent: rgba(10, 22, 40, 0.95);
    --accent-gray: #8B8B8B;
    --mid-gray: #A8A8A8;
    --light-gray: #B8B8B8;
    --lighter-gray: #C8C8C8;
    --lightest-gray: #D8D8D8;
    --pure-white: #FFFFFF;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
}

/* ========================================
   BASE STYLES
   ======================================== */

body {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    line-height: 1.75;
    font-size: 17px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.miami-statement strong {
    color: var(--pure-white);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   NAVIGATION (SHARED)
   ======================================== */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 48px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 22, 40, 1) 0%, rgba(10, 22, 40, 0.95) 60%, transparent 100%);
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 32px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    outline: none !important;
    touch-action: manipulation;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav-links {
    display: flex;
    gap: 56px;
    align-items: center;
}

.nav-links a,
.nav-links .user-name,
.nav-links .logout-link {
    color: var(--lighter-gray);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 300;
    transition: color 0.4s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent !important;
}

.nav-links .user-name {
    color: var(--mid-gray);
    cursor: default;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--pure-white);
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: var(--pure-white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

.hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.008) 2px,
        rgba(255, 255, 255, 0.008) 4px
    );
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.618fr;
    gap: 120px;
    align-items: start;
    position: relative;
}

.logo-column {
    padding-top: 24px;
}

.logo-mark {
    width: 100%;
    max-width: 380px;
    height: auto;
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.logo-line {
    width: 100%;
    max-width: 380px;
    height: 2px;
    background: var(--pure-white);
    margin: 64px 0 32px;
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

.establishment {
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--light-gray);
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1s backwards;
}

.content-column {
    padding-top: 0;
}

.manifesto {
    font-size: 44px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    color: var(--pure-white) !important;
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.declaration {
    font-size: 21px;
    line-height: 1.8;
    color: var(--lightest-gray) !important;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s backwards;
}

.miami-statement {
    font-size: 19px;
    line-height: 1.85;
    color: var(--lighter-gray) !important;
    max-width: 580px;
    padding-left: 32px;
    border-left: 1px solid var(--border-medium);
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.4s backwards;
}

/* ========================================
   HERITAGE PAGE STYLES
   ======================================== */

.heritage-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 200px 0 100px;
}

.heritage-hero::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 500px;
    background-image: url('https://www.aadec.us/wp-content/uploads/2025/10/Dad-dark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.page-title {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--pure-white);
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.heritage-content {
    padding: 60px 0 120px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.heritage-intro,
.heritage-body {
    font-size: 22px;
    line-height: 1.8;
    color: var(--lightest-gray);
    margin-bottom: 48px;
    opacity: 0;
}

.heritage-intro {
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.heritage-body {
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.heritage-intro strong {
    color: var(--pure-white);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.heritage-conclusion {
    font-size: 22px;
    line-height: 1.8;
    color: var(--lightest-gray);
    font-style: italic;
    text-align: center;
    padding: 48px 80px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

.heritage-conclusion em {
    font-style: italic;
    color: var(--pure-white);
}

/* ========================================
   FOUNDER MEMORIAL (HERITAGE PAGE)
   ======================================== */

.founder-memorial-heritage {
    padding: 120px 0 140px;
    position: relative;
    text-align: center;
}

.founder-image-heritage {
    width: 320px;
    height: auto;
    border-radius: 4px;
    opacity: 0.92;
    filter: grayscale(100%);
    margin: 0 auto 48px;
    display: block;
    border: 1px solid var(--border-subtle);
}

.founder-name-heritage {
    font-size: 32px;
    color: var(--pure-white);
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.founder-years-heritage {
    margin-top: 12px;
    font-size: 18px;
    letter-spacing: 4px;
    font-family: 'Inter', sans-serif;
    color: var(--light-gray);
    font-weight: 300;
}

.founder-tribute {
    margin-top: 24px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: var(--accent-gray);
    font-weight: 300;
    font-style: italic;
}

/* ========================================
   COUNSEL PAGE - IMMERSIVE CHAT
   ======================================== */

.counsel-section {
    min-height: 100vh;
    padding: 140px 0 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counsel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.aadec.us/wp-content/uploads/2025/10/office.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.counsel-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 22, 40, 0.55) 100%);
    z-index: 1;
}

.counsel-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.counsel-chat-wrapper {
    width: 100%;
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.chat-container {
    background: rgba(10, 22, 40, 0.92);
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.chat-header {
    padding: 15px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.victoria-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: var(--lighter-gray);
    font-weight: 300;
}

.chat-messages {
    min-height: 280px;
    max-height: 280px;
    height: auto;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 75%;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.victoria {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-sender {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    color: var(--accent-gray);
    margin-bottom: 6px;
}

.message-content {
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lightest-gray);
    border: 1px solid var(--border-subtle);
}

.message.victoria .message-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-medium);
}

.message.user .message-content {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.2);
}

.message-time {
    font-size: 11px;
    color: var(--accent-gray);
    font-family: 'Inter', sans-serif;
    margin-top: 4px;
}

.typing-indicator {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--mid-gray);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.chat-input-wrapper {
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.02);
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--pure-white);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    resize: none;
    max-height: 120px;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: var(--pure-white); /* ADD THIS LINE */
}

.chat-input::placeholder {
    color: var(--accent-gray);
}

.send-button {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-button:hover {
    background: rgba(74, 222, 128, 0.25);
    border-color: rgba(74, 222, 128, 0.5);
    transform: translateY(-2px);
}

.send-button:active {
    transform: translateY(0);
}

.send-button svg {
    color: #4ADE80;
}

/* ========================================
   ARCHIVE PAGE STYLES
   ======================================== */

.archive-hero {
    padding: 180px 0 80px;
    position: relative;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
    flex-wrap: wrap;
}

.archive-search {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 14px 20px;
    color: var(--pure-white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    max-width: 360px;
    flex: 1;
    transition: all 0.3s ease;
}

.archive-search:focus {
    outline: none;
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.archive-search::placeholder {
    color: var(--accent-gray);
}

.filter-tabs {
    display: flex;
    gap: 32px;
}

.filter-tab {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: var(--accent-gray);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 300;
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--pure-white);
    border-bottom-color: var(--pure-white);
}

.archive-content {
    padding: 0 0 120px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.archive-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.4s ease;
    cursor: pointer;
    opacity: 0;
    animation: reveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.archive-card:hover {
    border-color: var(--border-medium);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.archive-category {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 300;
}

.archive-category.whitepapers {
    background: rgba(74, 222, 128, 0.1);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.archive-category.insights {
    background: rgba(96, 165, 250, 0.1);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.archive-category.resources {
    background: rgba(251, 191, 36, 0.1);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.archive-title {
    font-size: 24px;
    color: var(--pure-white);
    margin-bottom: 12px;
    font-weight: 300;
    line-height: 1.4;
}

.archive-excerpt {
    font-size: 16px;
    color: var(--lighter-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.archive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--accent-gray);
    font-family: 'Inter', sans-serif;
    flex-wrap: wrap;
    gap: 12px;
}

.archive-date {
    letter-spacing: 0.5px;
}

.archive-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.archive-link {
    color: var(--lighter-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    font-size: 13px;
    -webkit-tap-highlight-color: transparent !important;
}

.archive-link:hover {
    color: var(--pure-white);
}

.archive-link svg {
    width: 14px;
    height: 14px;
}

.archive-link.download-btn {
    color: #4ADE80;
    font-weight: 400;
}

.archive-link.download-btn:hover {
    color: #22C55E;
}

.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--accent-gray);
    font-size: 17px;
}

/* ========================================
   DESK PAGE STYLES
   ======================================== */

.desk-section {
    min-height: 100vh;
    padding: 140px 0 60px;
    position: relative;
}

.desk-welcome {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--pure-white);
    margin-bottom: 16px;
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.desk-subtitle {
    font-size: 19px;
    color: var(--lighter-gray);
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 700px;
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.desk-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.desk-category {
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.category-title {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: var(--mid-gray);
    font-weight: 300;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.category-title svg {
    color: var(--accent-gray);
}

.desk-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.desk-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.desk-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-medium);
    transform: translateX(4px);
}

.item-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    flex-shrink: 0;
}

.item-info {
    flex: 1;
}

.item-title {
    font-size: 18px;
    color: var(--pure-white);
    margin-bottom: 4px;
    font-weight: 300;
}

.item-meta {
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: var(--accent-gray);
    letter-spacing: 0.3px;
}

.empty-message {
    color: var(--accent-gray);
    font-size: 15px;
    font-style: italic;
    padding: 20px 0;
}

/* ========================================
   VICTORIA FLOATING BUTTON & PANEL
   ======================================== */

.victoria-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
}

.victoria-floating-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.victoria-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.victoria-label {
    display: none;
}

.victoria-chat-panel {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 400px;
    max-width: calc(100vw - 64px);
    background: rgba(10, 22, 40, 0.98);
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    max-height: 500px;
}

.victoria-header {
    padding: 15px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.victoria-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    color: var(--lighter-gray);
}

.victoria-close {
    background: none;
    border: none;
    color: var(--accent-gray);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.victoria-close:hover {
    color: var(--pure-white);
}

.victoria-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.victoria-messages::-webkit-scrollbar {
    width: 6px;
}

.victoria-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.victoria-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.victoria-typing {
    padding: 0 24px 16px;
    display: flex;
    gap: 6px;
}

.victoria-typing span {
    width: 8px;
    height: 8px;
    background: var(--mid-gray);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.victoria-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.victoria-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

.victoria-input-area {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.victoria-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--pure-white);
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    resize: none;
    max-height: 100px;
}

.victoria-input:focus {
    outline: none;
    border-color: rgba(74, 222, 128, 0.4);
}

.victoria-input::placeholder {
    color: var(--accent-gray);
}

.victoria-send {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.victoria-send:hover {
    background: rgba(74, 222, 128, 0.25);
}

.victoria-send svg {
    color: #FFFFFF;
}

/* ========================================
   FOOTER (SHARED)
   ======================================== */

.footer {
    padding: 120px 0 80px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.motto {
    font-size: 11px;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--mid-gray);
    opacity: 1;
    animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 2s backwards;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 60px;
    }

    .navigation {
        padding: 40px 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .logo-column {
        max-width: 400px;
    }
    
    .desk-items {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 32px;
    }

    /* Mobile Navigation */
    .navigation {
        padding: 20px 24px;
        background: rgba(10, 22, 40, 0.98);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s ease;
        padding: 60px 40px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 9998;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a,
    .nav-links .user-name,
    .nav-links .logout-link {
        font-size: 16px;
        letter-spacing: 2px;
        opacity: 0;
    }

    .nav-links.active a,
    .nav-links.active .user-name,
    .nav-links.active .logout-link {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active .user-name { transition-delay: 0.4s; }
    .nav-links.active .logout-link { transition-delay: 0.5s; }

    .nav-links a::after {
        display: none;
    }

    /* Homepage Mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .manifesto {
        font-size: 32px;
    }

    .declaration {
        font-size: 19px;
        margin-bottom: 32px;
    }

    .miami-statement {
        font-size: 17px;
        padding-left: 24px;
    }

    /* Heritage Page Mobile */
    .heritage-hero {
        padding: 140px 0 60px;
    }

    .heritage-hero::before {
        width: 300px;
        height: 420px;
        opacity: 0.02;
    }

    .page-title {
        font-size: 42px;
    }

    .heritage-intro,
    .heritage-body,
    .heritage-conclusion {
        font-size: 18px;
        padding: 32px 24px;
    }

    .founder-memorial-heritage {
        padding: 80px 0 100px;
    }

    .founder-image-heritage {
        width: 260px;
    }

    /* Counsel Page Mobile */
    .counsel-section {
        padding: 100px 0 40px;
        min-height: 100vh;
    }

    .counsel-section .container {
        padding: 0 20px;
    }

    .counsel-chat-wrapper {
        width: 100%;
    }

    .chat-container {
        border-radius: 12px;
    }

    .chat-messages {
        min-height: 350px;
        max-height: 450px;
        padding: 16px;
    }

    .message {
        max-width: 85%;
    }

    .message-content {
        font-size: 16px;
        padding: 12px 16px;
    }

    .chat-input-wrapper {
        padding: 16px;
    }

    .chat-input {
        font-size: 16px;
    }

    /* Archive Page Mobile */
    .archive-hero {
        padding: 140px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .archive-search {
        max-width: 100%;
        width: 100%;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .archive-card {
        padding: 24px;
    }

    .archive-title {
        font-size: 20px;
    }

    .filter-tabs {
        gap: 20px;
    }

    /* Desk Page Mobile */
    .desk-section {
        padding: 100px 0 60px;
    }

    .desk-welcome {
        font-size: 36px;
    }

    .desk-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .desk-items {
        grid-template-columns: 1fr;
    }

    .victoria-chat-panel {
        right: 16px;
        bottom: 90px;
        width: calc(100vw - 32px);
    }

    .victoria-floating-btn {
        bottom: 24px;
        right: 24px;
    }

    /* Footer Mobile */
    .footer {
        padding: 80px 0 60px;
    }
}

/* ========================================
   VICTORIA DISCLAIMER & ACTIVE STATES
   ======================================== */

/* Victoria Disclaimer Footer */
.victoria-disclaimer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    backdrop-filter: blur(10px);
    z-index: 9997;
}

@media (max-width: 768px) {
    .victoria-disclaimer {
        display: none;
    }
}



/* ============================================
   FILE MANAGER STYLES
   Add these to your existing style.css
   ============================================ */

/* File Menu Button */
.file-menu-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 10px;
    transition: all 0.2s ease;
}

.file-menu-btn:hover {
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 4px;
}

/* Context Menu */
.file-context-menu {
    position: fixed;
    background: #1E293B;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    padding: 8px;
    z-index: 10000;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.context-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.context-menu-item:hover {
    background: rgba(74, 222, 128, 0.1);
    color: #4ADE80;
}

.menu-icon {
    margin-right: 10px;
    font-size: 16px;
}

/* File Items */
.file-item-container {
    margin-bottom: 5px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-item:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(74, 222, 128, 0.3);
}

.item-main {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
}

.expand-icon {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    width: 16px;
}

.item-icon {
    font-size: 20px;
}

.item-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.item-menu-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.item-menu-btn:hover {
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.1);
}

/* Folder Children */
.folder-children {
    margin-top: 5px;
}

.folder-item {
    background: rgba(30, 41, 59, 0.6);
    border-left: 3px solid rgba(74, 222, 128, 0.3);
}

/* Loader */
.file-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(74, 222, 128, 0.2);
    border-top-color: #4ADE80;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* Messages */
.file-message {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.file-message.show {
    opacity: 1;
    transform: translateX(0);
}

.file-message-success {
    background: #059669;
}

.file-message-error {
    background: #DC2626;
}

.file-message-info {
    background: #3B82F6;
}

/* Empty State */
.empty-message {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .file-item {
        padding: 10px 12px;
    }
    
    .item-name {
        font-size: 14px;
    }
    
    .file-context-menu {
        min-width: 160px;
    }
    
    .file-message {
        right: 10px;
        left: 10px;
        top: 70px;
    }
}

/* ============================================
   MEDIA PLAYER MODAL STYLES
   Add to your theme's style.css or as a separate CSS snippet
   ============================================ */

/* Modal Backdrop */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content */
.media-modal-content {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.media-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 22, 40, 0.98);
}

/* Hide header title in PDF modal - only show close button */
.pdf-modal-content .media-modal-header h3 {
    display: none;
}

.media-modal-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.media-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.media-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Media Player Container */
.media-player-container {
    padding: 24px;
    background: #0A1628;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Audio Player */
audio.media-player {
    width: 100%;
    max-width: 600px;
    height: 54px;
    outline: none;
}

/* Video Player */
video.media-player {
    width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    outline: none;
}

/* ============================================
   PDF MODAL STYLES
   ============================================ */

.pdf-modal-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.pdf-viewer-container {
    padding: 0;
    background: #0A1628;
    height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background: white;
}

/* Victoria button in PDF modal */
.victoria-pdf-btn {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
}

.victoria-pdf-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.pdf-viewer-container {
    position: relative; /* So Victoria button can position inside */
}
```

---

## ✅ **SAVE AND TEST**

1. **Save both files** (file-manager.js and style.css)
2. **Clear browser cache** (Cmd+Shift+R or Ctrl+Shift+R)
3. **Go to desk**: `/desk/stanleyh/`
4. **Click any PDF**

**You should see:**
- ✅ PDF displays full screen
- ✅ Victoria floating button in bottom-right corner
- ✅ Clicking Victoria shows alert message
- ✅ Button hovers/animates nicely

---

## 📸 **WHAT IT SHOULD LOOK LIKE:**
```
┌────────────────────────────────────────┐
│ 📄 Document.pdf              ×         │
├────────────────────────────────────────┤
│                                        │
│     PDF CONTENT HERE                   │
│                                        │
│                                        │
│                          🤖 Victoria   │ ← Bottom right
│                                        │
└────────────────────────────────────────┘

/* Mobile adjustments */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95vw;
        max-height: 85vh;
    }
    
    .pdf-viewer-container {
        min-height: 60vh;
        max-height: 70vh;
    }
    
    .pdf-viewer {
        height: 65vh;
    }
}

/* Modal Actions */
.media-modal-actions {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-download {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid #4ADE80;
    color: #4ADE80;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download:hover {
    background: #4ADE80;
    color: #0A1628;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .pdf-viewer-container {
        height: calc(100vh - 40px);
    }
    
    .pdf-viewer {
        height: 100%;
    }
}


/* Victoria on top of modals - Phase 3 */
.victoria-chat-panel {
    z-index: 9999999 !important;
}