/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Retrograde Observatory (Magenta-Yellow Gradient Theme) */
    --primary-magenta: #FF00FF;
    --primary-yellow: #FFFF00;
    --gradient-primary: linear-gradient(135deg, #FF00FF 0%, #FFFF00 100%);
    --gradient-secondary: linear-gradient(135deg, #FF00FF 20%, #FFFF00 80%);
    --gradient-accent: linear-gradient(135deg, #FF66FF 0%, #FFFF66 100%);

    /* Launch Button Specific Gradient */
    --launch-red: #FF4000;
    --launch-cyan: #00FFC0;
    --gradient-launch: linear-gradient(135deg, #FF4000 0%, #00FFC0 100%);
    --gradient-launch-accent: linear-gradient(135deg, #FF6620 0%, #33FFD0 100%);
    --primary-pink: #FF66FF;
    --secondary-gray: #6b6b6b;
    --accent-pink: #FFFF99;
    --dark-gray: #333333;
    --light-gray: #f8f8f8;
    --white: #ffffff;
    --border-gray: #e1e1e1;
    --hover-pink: #FF33FF;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Cabin', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);

    /* Sidebar */
    --sidebar-width: 280px;

    /* Responsive Breakpoints */
    --breakpoint-xs: 480px;     /* Small mobile */
    --breakpoint-sm: 768px;     /* Large mobile/Small tablet */
    --breakpoint-md: 1024px;    /* iPad/Tablet */
    --breakpoint-lg: 1280px;    /* Small laptop */
    --breakpoint-xl: 1440px;    /* Large laptop */
    --breakpoint-xxl: 1920px;   /* Desktop */
}

body {
    font-family: var(--font-secondary);
    background: var(--dark-gray);
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Chat interface specific styling */
body.chat-interface {
    overflow: hidden;
    height: 100vh;
}

/* Navigation */
.navbar {
    background: #000000;
    border-bottom: 2px solid var(--primary-magenta);
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 0, 255, 0.3);
}

.nav-container {
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: var(--sidebar-width);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--secondary-gray);
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text-line1,
.brand-text-line2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--dark-gray);
}

.brand-text-line1 {
    margin-bottom: -2px;
}

/* Legacy support for single-line brand text */
.brand-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark-gray);
}

.brand-subtitle {
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.nav-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-button {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-gray);
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background: var(--accent-pink);
    border-color: var(--primary-pink);
}

.nav-button.primary {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: var(--dark-gray);
}

.nav-button.primary:hover {
    background: var(--hover-pink);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Time Intelligence Clock */
.time-intelligence-clock {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.clock-display {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.last-time,
.node-display,
.direction-display,
.compass-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 55px;
    width: 120px;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    box-shadow: 0 2px 8px rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.clock-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
}

.clock-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.2;
}


.movement-indicator {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    line-height: 1.2;
    margin-top: 1px;
}

.movement-indicator:hover {
    transform: scale(1.2);
}

.compass-direction {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

/* Clock Component Prompt Card Styling */
.last-time,
.node-display,
.direction-display,
.compass-display {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: var(--spacing-sm);
    position: relative;
}

.last-time:hover,
.node-display:hover,
.direction-display:hover,
.compass-display:hover {
    background: var(--gradient-accent);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 0, 255, 0.4);
    border-color: var(--primary-yellow);
}

/* Header Expand Toggle */
.header-expand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header-expand-toggle:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
}

.expand-icon {
    font-size: 1.2rem;
    color: var(--white);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.header-expand-toggle.expanded .expand-icon {
    transform: rotate(180deg);
}

.header-expand-toggle.expanded {
    transform: translate(-50%, -50%);
}

/* Header Dropdown */
.header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 0, 40, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
}

.header-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 300px;
}

.extended-time-intelligence {
    padding: var(--spacing-lg);
    margin-left: var(--sidebar-width);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.time-component-grid {
    display: grid;
    grid-template-columns: repeat(3, 160px);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-md);
    align-items: center;
    justify-content: end;
    direction: rtl;
}

.time-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
    height: 50px;
    width: 160px;
    justify-content: center;
    margin: 0 auto;
    direction: ltr;
    box-sizing: border-box;
}

.time-component:hover {
    background: var(--gradient-accent);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 0, 255, 0.4);
    border-color: var(--primary-yellow);
}

.component-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.component-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stage component specific styling for longer text */
#currentStage {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    word-spacing: -1px;
    letter-spacing: -0.5px;
}

/* Time Intelligence Card Tooltip */
.prompt-card::after {
    content: "Click for analysis";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
}

.prompt-card:hover::after {
    opacity: 1;
}

/* Fix for time-component + prompt-card combination */
.time-component.prompt-card {
    flex-direction: column !important;
    gap: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Main Container */
.main-container {
    display: flex;
    margin-top: 90px;
    height: calc(100vh - 90px);
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: #000000;
    border-right: 3px solid var(--border-gray);
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 90px;
    height: calc(100vh - 90px);
    z-index: 100;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--white);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-gray);
}

.sidebar-content {
    padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
}

.sidebar-section {
    margin-bottom: var(--spacing-xl);
}

.sidebar-section h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prompt Cards */
.example-prompts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.prompt-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(255, 0, 255, 0.2);
    text-align: center;
}

.prompt-card:hover {
    background: var(--gradient-accent);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 0, 255, 0.4);
    border-color: var(--primary-yellow);
}

.prompt-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--white);
}

.prompt-text {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

.explore-concepts-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--accent-pink);
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.explore-concepts-card:hover {
    background: var(--primary-pink);
    border-color: var(--hover-pink);
}

/* Capabilities */
.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.capability-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.capability-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.capability-text {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

/* Brand Info Section */
.brand-info {
    margin-top: var(--spacing-md);
}

.brand-info p {
    color: var(--white);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
}

.pillars-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 255, 0.2);
}

.pillar-item:hover {
    background: var(--gradient-accent);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 0, 255, 0.4);
    border-color: var(--primary-yellow);
}

.pillar-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--white);
}

.pillar-text {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

/* Lumina Effect Promo */
.lumina-effect-promo {
    margin-top: var(--spacing-md);
}

.lumina-effect-promo p {
    color: var(--secondary-gray);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.sidebar-cta {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-launch);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-md);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 64, 0, 0.3);
    text-align: center;
    min-width: 200px;
}

.sidebar-cta:hover {
    background: var(--gradient-launch-accent);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 64, 0, 0.4);
    border-color: var(--launch-cyan);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.feature-item {
    font-size: 0.8rem;
    color: var(--white);
    padding: var(--spacing-xs) 0;
    border-left: 2px solid var(--primary-pink);
    padding-left: var(--spacing-sm);
}

/* Concept Prompts */
.concept-prompts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Connect Links */
.connect-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.connect-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 0, 255, 0.2);
}

.connect-card:hover {
    background: var(--gradient-accent);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 0, 255, 0.4);
    border-color: var(--primary-yellow);
}

.connect-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--white);
}

.connect-text {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

.connect-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.connect-text-small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Welcome Screen Brand Styling */
.brand-tagline {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    font-family: var(--font-primary);
}

.brand-description {
    font-size: 1rem;
    color: var(--secondary-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl) auto;
}

.lumina-watermark {
    opacity: 0.3;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-section {
    margin: var(--spacing-xl) 0;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-pink), var(--hover-pink));
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-pink);
}

.cta-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-gray);
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* Recent Chats */
.recent-chats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.recent-chat-item {
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recent-chat-item:hover {
    background: var(--accent-pink);
}

.chat-title {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: 2px;
}

.chat-date {
    font-size: 0.75rem;
    color: var(--secondary-gray);
}

/* Chat Area */
.chat-area {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    background: var(--dark-gray);
    min-height: 0;
}

/* Welcome Screen */
.welcome-screen {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    text-align: center;
    min-height: 0;
}

.welcome-content {
    max-width: 800px;
    width: 100%;
}

.welcome-header {
    margin-bottom: var(--spacing-xxl);
}

.lumina-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.logo-icon {
    font-size: 2.5rem;
}

.lumina-logo h1 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.welcome-description {
    font-size: 1rem;
    color: var(--secondary-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Capabilities Preview */
.capabilities-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.capability-preview {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--accent-pink);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.preview-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.capability-preview h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.capability-preview p {
    color: var(--secondary-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Example Conversations */
.example-conversations h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--dark-gray);
}

.conversation-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-sm);
}

.example-bubble {
    background: var(--secondary-gray);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: italic;
    color: var(--white);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(107, 107, 107, 0.3);
    text-align: center;
    opacity: 0.6;
}

.example-bubble:hover {
    background: var(--dark-gray);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(107, 107, 107, 0.6);
    border-color: var(--secondary-gray);
    opacity: 1;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    background: var(--dark-gray);
    min-height: 0;
}

.message {
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.875rem;
    overflow: hidden;
}

.avatar-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.message.user .message-avatar {
    background: var(--secondary-gray);
    color: var(--white);
}

.message.ai .message-avatar {
    background: var(--white);
    border: 2px solid var(--border-gray);
}

.message-content {
    max-width: 70%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 18px;
    color: var(--dark-gray);
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.message.user .message-content {
    background: var(--primary-yellow);
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.4);
}

/* Formatted Message Content */
.message-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.message-content h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    color: var(--secondary-gray);
    font-size: 1rem;
}

.message-content strong {
    font-weight: 600;
    color: var(--dark-gray);
}

.message-content em {
    font-style: italic;
    color: var(--secondary-gray);
}

.message-content ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    list-style: none;
}

.message-content li {
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
    position: relative;
    padding-left: var(--spacing-md);
}

.message-content li::before {
    content: "•";
    color: var(--primary-pink);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.message-content code {
    background: var(--accent-pink);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--dark-gray);
}

.message-content pre {
    background: var(--accent-pink);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
    overflow-x: auto;
    border-left: 4px solid var(--primary-pink);
}

.message-content pre code {
    background: none;
    padding: 0;
    font-size: 0.875rem;
    white-space: pre;
}

.message-content hr {
    border: none;
    border-top: 1px solid var(--border-gray);
    margin: var(--spacing-lg) 0;
}

/* Chat Input */
.chat-input-container {
    padding: var(--spacing-lg);
    border-top: none;
    background: var(--dark-gray);
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 24px;
    padding: var(--spacing-sm);
}

#chatInput {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    resize: none;
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.5;
    padding: var(--spacing-sm) var(--spacing-md);
    max-height: 120px;
    color: var(--dark-gray);
}

#chatInput::placeholder {
    color: var(--secondary-gray);
}

.send-button {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
    color: var(--white);
}

.send-button:hover:not(:disabled) {
    background: var(--gradient-accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.5);
    border-color: var(--primary-yellow);
}

.send-button:disabled {
    background: var(--border-gray);
    cursor: not-allowed;
    color: var(--secondary-gray);
}

.input-footer {
    text-align: center;
    margin-top: var(--spacing-sm);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--secondary-gray);
}

/* Modal Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-lg);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-gray);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--light-gray);
}

.modal-body {
    padding: var(--spacing-xl);
}

/* About Modal Styles */
.about-section {
    margin-bottom: var(--spacing-xl);
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.about-section p {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.about-section ul {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.about-section li {
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-gray);
}

.about-section blockquote {
    background: var(--accent-pink);
    border-left: 4px solid var(--primary-pink);
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    font-style: italic;
    color: var(--dark-gray);
    border-radius: 4px;
}

.about-section strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.about-section em {
    color: var(--secondary-gray);
    font-style: italic;
    font-size: 1.1em;
    display: block;
    text-align: center;
    margin-top: var(--spacing-md);
}

.research-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.pillar {
    background: var(--accent-pink);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.pillar h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.pillar p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Capabilities Modal Styles */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.capability-detail {
    background: var(--accent-pink);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.capability-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.capability-detail .capability-icon {
    font-size: 1.5rem;
}

.capability-detail h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.capability-detail p {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.capability-detail ul {
    list-style: none;
    padding: 0;
}

.capability-detail li {
    color: var(--secondary-gray);
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-lg);
}

.capability-detail li::before {
    content: "•";
    color: var(--primary-pink);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* About Page Styles */
.about-page {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: var(--light-gray);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-lg);
}

.about-hero {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl) 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.about-hero h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-gray);
    font-weight: 500;
    margin: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.about-section {
    background: var(--white);
    padding: var(--spacing-xxl);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.about-section h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: center;
    font-style: italic;
    background: var(--accent-pink);
    padding: var(--spacing-xl);
    border-radius: 8px;
    border-left: 4px solid var(--primary-pink);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.impact-card {
    background: var(--accent-pink);
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--primary-pink);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.impact-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.impact-card p {
    color: var(--secondary-gray);
    line-height: 1.6;
}

.founder-section {
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-pink));
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
}

.founder-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.founder-quote {
    background: var(--white);
    border-left: 4px solid var(--dark-gray);
    padding: var(--spacing-xl);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark-gray);
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.invitation-section {
    background: var(--white);
}

.invitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.invitation-card {
    background: var(--accent-pink);
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.invitation-card:hover {
    border-color: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.invitation-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.invitation-card p {
    color: var(--secondary-gray);
    line-height: 1.6;
}

.closing-quote {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-gray);
}

.closing-quote p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark-gray);
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-pink), var(--hover-pink));
    text-align: center;
}

.cta-section h2 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--dark-gray);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--secondary-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.cta-button.secondary:hover {
    background: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }

    .nav-actions {
        display: none;
    }

    .header-dropdown .nav-actions {
        display: block;
        margin-bottom: var(--spacing-md);
    }

    .header-dropdown .time-intelligence-clock {
        margin-bottom: var(--spacing-md);
    }

    .header-dropdown .clock-display {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .nav-container {
        padding: 0 var(--spacing-lg);
        margin-left: 0;
        justify-content: space-between;
        position: relative;
    }

    .nav-brand {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        padding-left: 0;
        z-index: auto;
    }

    .header-expand-toggle {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: var(--spacing-lg);
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .chat-area {
        margin-left: 0;
    }

    .welcome-content {
        padding: var(--spacing-lg);
    }

    .lumina-logo {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .lumina-logo h1 {
        font-size: 2rem;
    }

    .capabilities-preview {
        grid-template-columns: 1fr;
    }

    .conversation-examples {
        grid-template-columns: 1fr;
    }

    .message-content {
        max-width: 85%;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .research-pillars {
        grid-template-columns: 1fr;
    }

    /* About Page Responsive */
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .about-container {
        padding: var(--spacing-lg);
    }

    .about-hero {
        padding: var(--spacing-lg) 0;
    }

    .about-section {
        padding: var(--spacing-lg);
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .invitation-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .founder-quote {
        font-size: 1.25rem;
    }

    .closing-quote p {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .welcome-content {
        padding: var(--spacing-md);
    }

    .lumina-logo h1 {
        font-size: 1.75rem;
    }

    .welcome-subtitle {
        font-size: 1.1rem;
    }

    .chat-input-container {
        padding: var(--spacing-md);
    }

    .modal-header,
    .modal-body {
        padding: var(--spacing-lg);
    }
}

/* Registration Modal Styles */
.registration-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.registration-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.registration-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 480px;
    width: 85%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(50px) scale(0.9);
    transition: all 0.3s ease;
}

.registration-modal-overlay.active .registration-modal-content {
    transform: translateY(0) scale(1);
}

.registration-modal-header {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 16px 16px 0 0;
}

.registration-modal-header h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.registration-modal-header p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.4;
}

.registration-modal-body {
    padding: var(--spacing-lg);
}

.explore-more-indicator {
    display: inline-block;
    margin-left: 10px;
    color: #FF00FF;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #FF00FF;
    padding: 4px 8px;
    border-radius: 15px;
    background: rgba(255, 0, 255, 0.1);
    font-size: 0.9em;
}

.explore-more-indicator:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 0, 255, 0.3);
}

.explore-more-indicator i {
    margin-right: 4px;
}

/* Pricing Details Modal */
.pricing-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-details-modal.active {
    opacity: 1;
}

.pricing-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #FF00FF;
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.3);
}

.pricing-modal-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-modal-header h3 {
    color: #FF00FF;
    margin: 0;
    font-size: 1.5em;
}

.close-pricing-modal {
    background: none;
    border: none;
    color: #FF00FF;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-pricing-modal:hover {
    transform: scale(1.2);
}

.pricing-modal-body {
    padding: 20px;
}

.pricing-plan h4 {
    color: #FF00FF;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.subscription-features h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.features-list li {
    color: #ddd;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    line-height: 1.4;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-details {
    background: rgba(255, 0, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.pricing-details p {
    color: #ddd;
    margin: 5px 0;
}

.registration-form-group {
    margin-bottom: var(--spacing-md);
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #FF00FF;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 8px 32px rgba(255, 0, 255, 0.3);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    pointer-events: auto;
    cursor: pointer;
    position: relative;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

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

.notification .notification-title {
    color: #FF00FF;
    font-weight: 600;
    font-size: 15px;
}

.notification .notification-close {
    background: none;
    border: none;
    color: #FF00FF;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.notification .notification-close:hover {
    transform: scale(1.2);
}

.notification .notification-message {
    color: #ddd;
    margin-bottom: 12px;
}

.notification .notification-action {
    background: linear-gradient(135deg, #FF00FF 0%, #8A2BE2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.notification .notification-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.4);
}

/* Timeline specific notification styling */
.notification.timeline-notification {
    border-color: #FF6B6B;
}

.notification.timeline-notification .notification-title {
    color: #FF6B6B;
}

.notification.timeline-notification .notification-close {
    color: #FF6B6B;
}

.notification.timeline-notification .notification-action {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        font-size: 13px;
        padding: 14px 16px;
    }
}

.registration-form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.registration-form-group input,
.registration-form-group select,
.registration-form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.registration-form-group input:focus,
.registration-form-group select:focus,
.registration-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-magenta);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
    transform: translateY(-1px);
}

.registration-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.registration-form-group small {
    display: block;
    margin-top: var(--spacing-xs);
    color: var(--secondary-gray);
    font-size: 0.9rem;
    font-style: italic;
}

.signin-link-container {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-gray);
}

.signin-text {
    color: var(--secondary-gray);
    font-size: 0.95rem;
    margin: 0;
}

.signin-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signin-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.registration-form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: space-between;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.registration-skip-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    color: var(--secondary-gray);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.registration-skip-btn:hover {
    background: var(--light-gray);
    color: var(--dark-gray);
    transform: translateY(-2px);
}

.registration-submit-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 2;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.registration-submit-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
}

.registration-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsiveness for Registration Modal */
@media (max-width: 768px) {
    .registration-modal-content {
        width: 95%;
        margin: var(--spacing-md);
    }

    .registration-modal-header,
    .registration-modal-body {
        padding: var(--spacing-lg);
    }

    .registration-modal-header h2 {
        font-size: 1.5rem;
    }

    .registration-form-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .registration-skip-btn,
    .registration-submit-btn {
        flex: none;
    }
}

/* PIN Verification Modal Styles */
.pin-modal-overlay, .login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pin-modal-overlay.active, .login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pin-modal-content, .login-modal-content {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 40, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(50px) scale(0.9);
    transition: all 0.3s ease;
}

.pin-modal-overlay.active .pin-modal-content,
.login-modal-overlay.active .login-modal-content {
    transform: translateY(0) scale(1);
}

.pin-modal-header, .login-modal-header {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pin-modal-header h2, .login-modal-header h2 {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.pin-modal-header p, .login-modal-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pin-modal-body, .login-modal-body {
    padding: var(--spacing-lg);
}

.pin-form-group, .login-form-group {
    margin-bottom: var(--spacing-md);
}

.pin-form-group label, .login-form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.pin-form-group input, .login-form-group input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.pin-form-group input:focus, .login-form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(100, 255, 200, 0.2);
}

.pin-form-actions, .login-form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.pin-cancel-btn, .login-cancel-btn {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pin-cancel-btn:hover, .login-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.pin-submit-btn, .login-submit-btn {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-color), #4a9d7f);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pin-submit-btn:hover, .login-submit-btn:hover {
    background: linear-gradient(135deg, #4a9d7f, var(--accent-color));
    transform: translateY(-1px);
}

.pin-submit-btn:disabled, .login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 📞 CONTACT US MODAL STYLES */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(50px) scale(0.9);
    transition: all 0.3s ease;
}

.contact-modal-overlay.active .contact-modal-content {
    transform: translateY(0) scale(1);
}

.contact-modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-modal-header h2 {
    color: #00BFFF;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.contact-modal-body {
    padding: 25px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 191, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-cancel-btn,
.contact-submit-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.contact-submit-btn {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    color: white;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #1E90FF, #00BFFF);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive contact modal */
@media (max-width: 768px) {
    .contact-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .contact-modal-header,
    .contact-modal-body {
        padding: 20px;
    }

    .contact-form-actions {
        flex-direction: column;
    }
}

/* 🔧 ACTION BUTTONS SECTION STYLES */
.action-buttons-section {
    margin-top: 20px;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 📞 CONTACT US BUTTON STYLES */
.contact-us-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg,
        rgba(0, 191, 255, 0.8),
        rgba(30, 144, 255, 0.9)
    );
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-us-btn:hover {
    background: linear-gradient(135deg,
        rgba(0, 191, 255, 1),
        rgba(30, 144, 255, 1)
    );
    border-color: rgba(0, 191, 255, 0.6);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 191, 255, 0.4);
}

.contact-us-btn:active {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-us-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* 🗑️ DELETE DATA BUTTON STYLES */
.delete-data-section {
    margin-top: 20px;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.delete-data-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg,
        rgba(220, 20, 60, 0.8),
        rgba(139, 0, 0, 0.9)
    );
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.delete-data-btn:hover {
    background: linear-gradient(135deg,
        rgba(220, 20, 60, 1),
        rgba(139, 0, 0, 1)
    );
    border-color: rgba(220, 20, 60, 0.6);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

.delete-data-btn:active {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.delete-data-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .delete-data-section {
        padding: 12px 15px;
        margin-top: 15px;
    }

    .delete-data-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ===============================================
   📱 COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   =============================================== */

/* 💻 Large Laptop & Desktop (1440px+) */
@media (min-width: 1440px) {
    .nav-container {
        padding: 0 var(--spacing-xxl);
        max-width: 1800px;
        margin: 0 auto;
    }

    .sidebar {
        --sidebar-width: 320px;
    }

    .chat-area {
        margin-left: 320px;
        max-width: calc(100vw - 320px);
    }

    .welcome-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: var(--spacing-xxl);
    }

    .capabilities-preview {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }

    .conversation-examples {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    .time-intelligence-clock {
        font-size: 1.2rem;
    }

    .last-time,
    .node-display,
    .direction-display,
    .compass-display {
        height: 50px;
        width: 115px;
    }

    .sidebar-section {
        padding: var(--spacing-lg);
    }
}

/* 💻 Standard Laptop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .nav-container {
        padding: 0 var(--spacing-xl);
    }

    .extended-time-intelligence {
        padding: var(--spacing-md);
        justify-content: flex-end;
    }

    .time-component-grid {
        grid-template-columns: repeat(4, 140px);
        grid-template-rows: repeat(2, 1fr);
        gap: var(--spacing-sm);
        justify-content: end;
    }

    .time-component {
        padding: var(--spacing-xs) var(--spacing-sm);
        height: 45px;
        width: 140px;
        box-sizing: border-box;
    }

    .last-time,
    .node-display,
    .direction-display,
    .compass-display {
        height: 50px;
        width: 110px;
    }

    .clock-label {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }

    .clock-value {
        font-size: 0.9rem;
    }

    /* Stage component responsive adjustments - Laptop */
    #currentStage {
        font-size: 0.8rem;
        letter-spacing: -0.8px;
        word-spacing: -2px;
    }

    .sidebar {
        --sidebar-width: 300px;
    }

    .chat-area {
        margin-left: 300px;
        max-width: calc(100vw - 300px);
    }

    .welcome-content {
        max-width: 1000px;
        margin: 0 auto;
        padding: var(--spacing-xl);
    }

    .capabilities-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .conversation-examples {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .lumina-logo h1 {
        font-size: 2.5rem;
    }

    .welcome-subtitle {
        font-size: 1.3rem;
    }

    .message-content {
        max-width: 75%;
    }
}

/* 📱 iPad & Large Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-container {
        padding: 0 var(--spacing-lg);
        justify-content: flex-end;
        position: relative;
        margin-left: 0 !important;
    }
    .nav-brand {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        padding-left: var(--spacing-lg);
    }
    .header-expand-toggle {
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .extended-time-intelligence {
        padding: var(--spacing-md);
        margin-left: 0;
        justify-content: flex-end;
    }

    .time-component-grid {
        grid-template-columns: repeat(4, 120px);
        grid-template-rows: repeat(2, 1fr);
        gap: var(--spacing-sm);
        justify-content: end;
    }

    .time-component {
        padding: var(--spacing-xs) var(--spacing-sm);
        height: 40px;
        width: 120px;
        box-sizing: border-box;
    }

    .last-time,
    .node-display,
    .direction-display,
    .compass-display {
        height: 45px;
        width: 105px;
    }

    .clock-label {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }

    .clock-value {
        font-size: 0.85rem;
    }

    .component-label {
        font-size: 0.7rem;
    }

    .component-value {
        font-size: 1rem;
    }

    /* Stage component responsive adjustments - iPad */
    #currentStage {
        font-size: 0.75rem;
        letter-spacing: -1px;
        word-spacing: -2px;
        line-height: 1.1;
    }

    .sidebar {
        --sidebar-width: 100%;
        transform: translateX(-100%);
        z-index: 1000;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .chat-area {
        margin-left: 0;
        padding: var(--spacing-lg);
    }

    .welcome-content {
        padding: var(--spacing-lg);
        max-width: 90%;
        margin: 0 auto;
    }

    .capabilities-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .conversation-examples {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .lumina-logo {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-md);
    }

    .lumina-logo h1 {
        font-size: 2.2rem;
    }

    .welcome-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .message-content {
        max-width: 80%;
    }

    .chat-input-container {
        padding: var(--spacing-lg);
    }

    .chat-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Touch-friendly sidebar */
    .prompt-card {
        padding: var(--spacing-md);
        min-height: 60px;
        display: flex;
        align-items: center;
    }

    .connect-card {
        padding: var(--spacing-md);
        min-height: 60px;
    }

    /* iPad-specific registration modal */
    .registration-modal-content {
        margin: 5vh auto;
        max-width: 600px;
        width: 85%;
    }

    .registration-form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* 📱 Large Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    .nav-brand {
        left: var(--spacing-md);
    }

    .extended-time-intelligence {
        padding: var(--spacing-sm);
        margin-left: 0;
        justify-content: flex-end;
    }

    .time-component-grid {
        grid-template-columns: repeat(4, 100px);
        grid-template-rows: repeat(2, 1fr);
        gap: var(--spacing-xs);
        justify-content: end;
    }

    .time-component {
        padding: var(--spacing-xs) var(--spacing-sm);
        height: 35px;
        width: 115px;
        box-sizing: border-box;
    }

    .component-label {
        font-size: 0.6rem;
    }

    .component-value {
        font-size: 0.9rem;
    }

    .last-time,
    .node-display,
    .direction-display,
    .compass-display {
        height: 40px;
        width: 100px;
        padding: var(--spacing-xs);
    }

    .clock-label {
        font-size: 0.55rem;
        margin-bottom: 1px;
    }

    .clock-value {
        font-size: 0.8rem;
    }

    /* Stage component responsive adjustments - Large Mobile */
    #currentStage {
        font-size: 0.7rem;
        letter-spacing: -1.2px;
        word-spacing: -3px;
        line-height: 1.0;
    }

    .header-expand-toggle {
        width: 35px;
        height: 35px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .expand-icon {
        font-size: 1rem;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.9rem;
    }

    .welcome-content {
        padding: var(--spacing-md);
    }

    .lumina-logo {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .lumina-logo h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .welcome-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .capabilities-preview {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .conversation-examples {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .message-content {
        max-width: 88%;
    }

    .chat-input-container {
        padding: var(--spacing-md);
    }

    .chat-input {
        font-size: 16px;
        padding: var(--spacing-md);
    }

    .send-button {
        padding: var(--spacing-md);
        width: 50px;
        height: 50px;
    }

    /* Touch-optimized sidebar */
    .sidebar {
        --sidebar-width: 100%;
    }

    .sidebar-section {
        padding: var(--spacing-md);
    }

    .prompt-card {
        padding: var(--spacing-md);
        min-height: 55px;
        font-size: 0.95rem;
    }

    .prompt-icon {
        font-size: 1.3rem;
        min-width: 35px;
    }

    /* Mobile registration modal */
    .registration-modal-content {
        margin: 2vh auto;
        width: 92%;
        max-height: 95vh;
        overflow-y: auto;
    }
}

/* 📱 Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-sm);
    }
    .nav-brand {
        left: var(--spacing-sm);
    }

    .extended-time-intelligence {
        padding: var(--spacing-xs);
        margin-left: 0;
        justify-content: flex-end;
    }

    .time-component-grid {
        grid-template-columns: repeat(2, 120px);
        grid-template-rows: repeat(4, 1fr);
        gap: var(--spacing-xs);
        justify-content: end;
    }

    .time-component {
        padding: var(--spacing-xs) var(--spacing-sm);
        height: 40px;
        width: 120px;
        box-sizing: border-box;
    }

    .component-label {
        font-size: 0.55rem;
        margin-bottom: 2px;
    }

    .component-value {
        font-size: 0.8rem;
    }

    /* Stage component responsive adjustments - Small Mobile */
    #currentStage {
        font-size: 0.65rem;
        letter-spacing: -1.5px;
        word-spacing: -3px;
        line-height: 0.9;
    }

    .header-expand-toggle {
        width: 30px;
        height: 30px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .expand-icon {
        font-size: 0.9rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .time-intelligence-clock {
        font-size: 0.85rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .last-time,
    .node-display,
    .direction-display,
    .compass-display {
        height: 45px;
        width: 105px;
        padding: var(--spacing-xs);
    }

    .clock-label {
        font-size: 0.6rem;
        margin-bottom: 1px;
    }

    .clock-value {
        font-size: 0.85rem;
    }

    .welcome-content {
        padding: var(--spacing-sm);
    }

    .lumina-logo h1 {
        font-size: 1.6rem;
        line-height: 1.1;
    }

    .welcome-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }

    .message-content {
        max-width: 92%;
        font-size: 0.95rem;
    }

    .chat-input {
        font-size: 16px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .send-button {
        width: 45px;
        height: 45px;
        padding: var(--spacing-sm);
    }

    /* Compact sidebar for small screens */
    .sidebar-section h4 {
        font-size: 1rem;
    }

    .prompt-card {
        padding: var(--spacing-sm) var(--spacing-md);
        min-height: 50px;
        font-size: 0.9rem;
    }

    .prompt-icon {
        font-size: 1.2rem;
        min-width: 30px;
    }

    .prompt-text {
        line-height: 1.3;
    }

    /* Very compact registration modal */
    .registration-modal-content {
        margin: 1vh auto;
        width: 95%;
        max-height: 98vh;
        padding: var(--spacing-md);
    }

    .registration-modal-header {
        padding: var(--spacing-md) 0;
    }

    .registration-modal-header h2 {
        font-size: 1.3rem;
    }

    .registration-form-group {
        margin-bottom: var(--spacing-md);
    }

    .registration-form-group label {
        font-size: 0.9rem;
    }

    .registration-form-group input,
    .registration-form-group select,
    .registration-form-group textarea {
        font-size: 16px; /* Prevent zoom */
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* 🖥️ Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
    .nav-container {
        max-width: 2000px;
        padding: 0 var(--spacing-xxl);
    }

    .welcome-content {
        max-width: 1400px;
        padding: var(--spacing-xxl) var(--spacing-xl);
    }

    .capabilities-preview {
        grid-template-columns: repeat(4, 1fr);
    }

    .conversation-examples {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 🎯 Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .prompt-card,
    .connect-card,
    .capability-card {
        min-height: 50px;
        padding: var(--spacing-md);
    }

    .send-button {
        min-height: 50px;
        min-width: 50px;
    }

    .delete-data-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .sidebar-toggle,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
}

/* 🌐 Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 500px) {
    .welcome-content {
        padding: var(--spacing-md);
    }

    .lumina-logo h1 {
        font-size: 1.5rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .capabilities-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .registration-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* 🔧 Print styles */
@media print {
    .sidebar,
    .chat-input-container,
    .mobile-menu-toggle,
    .sidebar-toggle,
    .registration-modal-overlay {
        display: none !important;
    }

    .chat-area {
        margin-left: 0 !important;
    }

    .message {
        break-inside: avoid;
    }
}

/* ✨ MOMENT STARTED NOTIFICATION STYLES ✨ */
.moment-started-notification {
    border-left: 4px solid #FFD700 !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

.moment-notification {
    padding: 5px 0;
}

.moment-notification .archetype-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.moment-notification .archetype {
    color: #FFD700;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.moment-notification .temporal-essence {
    color: #E6E6FA;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-left: 8px;
}