/* Root Variables - NATALIE Brand Colors */
:root {
    /* Primary Colors (from logo) */
    --primary-color: #145A5D;
    --primary-dark: #0d3d40;
    --primary-medium: #8CB496;
    --primary-light: #B3CFBB;
    --primary-lightest: #D6EDE1;
    
    /* Secondary Colors */
    --secondary-color: #CDDDAB;
    --accent-purple: #82426F;
    --accent-pink: #D7B1CC;
    --accent-peach: #F9D9B9;
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #D6EDE1;
    --border-color: #B3CFBB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
}

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

/* Header Styles */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 1rem; */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
}

.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9375rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.btn-login {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--radius-md);
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-dark);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    padding: 0;
    width: 100%;
}

.dropdown-menu li.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.dropdown-title {
    display: block;
    padding: 0.875rem 1.25rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
}

.dropdown-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 0 1.25rem 0.5rem 1.25rem;
    justify-content: center;
}

.dropdown-action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: 1px solid var(--primary-light);
    background-color: var(--primary-lightest);
    box-shadow: var(--shadow-sm);
}

a.dropdown-action-button {
    color: white;
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-sm);
}

a.dropdown-action-button:hover,
a.dropdown-action-button:focus {
    background-color: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-md);
    color: white;
}

.dropdown-action-button:hover,
.dropdown-action-button:focus {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.dropdown-action-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.dropdown-action-button svg {
    flex-shrink: 0;
}

.dropdown-action-button span {
    white-space: nowrap;
}

/* Scrollbar styling for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-medium);
}

.dropdown-menu li.dropdown-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 0.25rem 1.25rem;
    padding: 0;
    list-style: none;
    display: block !important;
    width: calc(100% - 2.5rem);
    flex: none !important;
    align-items: unset;
    gap: 0;
    min-height: 1px;
    border: none;
}

.chart-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.chart-expand-button {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 90, 93, 0.15);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    align-self: center;
    z-index: 1;
    margin-top: 0.5rem;
}

.chart-expand-button:hover,
.chart-expand-button:focus {
    transform: scale(1.05);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 90, 93, 0.25);
}

.chart-expand-button:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.chart-expand-button svg {
    pointer-events: none;
    flex-shrink: 0;
}

.chart-expand-label {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}

.chart-viewer-page {
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.chart-viewer-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(20, 90, 93, 0.2);
}

.chart-viewer-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.chart-viewer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.chart-viewer-logo img {
    width: 48px;
    height: auto;
}

.chart-viewer-main {
    flex: 1;
    padding: 3rem 0;
}

.chart-viewer-panel {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(20, 90, 93, 0.12);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chart-viewer-info h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.chart-viewer-controls {
    background: rgba(20, 90, 93, 0.04);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.chart-viewer-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.chart-viewer-input {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 160px;
}

.chart-viewer-input label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.chart-viewer-input input[type="date"] {
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(20, 90, 93, 0.25);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #ffffff;
}

.chart-viewer-input input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 90, 93, 0.15);
}

.chart-viewer-controls-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-update-range {
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-update-range:hover,
.btn-update-range:focus {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(20, 90, 93, 0.2);
}

.btn-update-range:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
}
.btn-reset-zoom {
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-reset-zoom:hover,
.btn-reset-zoom:focus {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 90, 93, 0.2);
}

.btn-reset-zoom:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
}

.chart-viewer-subtitle,
.chart-viewer-source {
    margin: 0.25rem 0;
    color: var(--text-secondary);
}

.chart-viewer-canvas-wrapper {
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    min-height: 400px;
}

.chart-viewer-canvas-wrapper canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh;
}

.chart-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    z-index: 10;
    gap: 1rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

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

.btn-update-range:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.chart-loading-indicator[hidden] {
    display: none !important;
}

.chart-viewer-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(20, 90, 93, 0.08);
    color: var(--primary-dark);
    font-weight: 500;
}

.chart-viewer-message.is-error {
    background: rgba(217, 55, 72, 0.12);
    color: #a52b3a;
}

.chart-viewer-footer {
    background: #ffffff;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-close-viewer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-close-viewer:hover,
.btn-close-viewer:focus {
    background: #ffffff;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-close-viewer:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .chart-viewer-panel {
        padding: 1.75rem;
    }

    .chart-viewer-form {
        flex-direction: column;
        align-items: stretch;
    }

    .chart-viewer-info h1 {
        font-size: 1.4rem;
    }

    .chart-viewer-canvas-wrapper {
        padding: 1rem;
    }

    .chart-viewer-logo span {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-medium) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* AI Expert Agent Section */
.ai-agent-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.ai-agent-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.ai-agent-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-medium) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.ai-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.ai-agent-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ai-agent-header p {
    opacity: 0.95;
    font-size: 1.125rem;
}

.chat-interface {
    padding: 2rem;
}

.chat-messages {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.message {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease;
}

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

.assistant-message .message-content {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    margin-left: auto;
    max-width: 80%;
}

.message-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.message-content li {
    margin: 0.5rem 0;
}

.chat-input-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.chat-input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-send {
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.suggested-questions {
    margin-top: 1.5rem;
}

.suggestions-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.chip:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Sections Overview */
.sections-overview {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.section-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.section-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--primary-dark);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.card-features span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Audiences Section */
.audiences-section {
    padding: 5rem 0;
}

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.audience-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.audience-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.audience-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.audience-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.funding {
    margin-top: 1rem;
    font-size: 0.75rem;
    font-style: italic;
}

.social-links {
    margin-top: 0.5rem;
}

.contact-email {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .audiences-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .chat-input-container {
        flex-direction: column;
    }

    .btn-send {
        width: 100%;
        justify-content: center;
    }

    .ai-agent-card {
        border-radius: var(--radius-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .logo-image {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.25rem;
    }

    .logo .tagline {
        font-size: 0.75rem;
    }

    .ai-agent-header h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Loading Dots Animation */
.loading-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.loading-dots span {
    animation: loading-pulse 1.4s ease-in-out infinite;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

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

@keyframes loading-pulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Alpha Version Banner */
.alpha-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
    position: relative;
    z-index: 999;
}

.alpha-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.alpha-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.alpha-message {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .alpha-banner {
        padding: 1rem 0;
    }
    
    .alpha-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .alpha-message {
        font-size: 0.875rem;
    }
}

/* Alpha Warning Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    margin: 1rem;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

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

.modal-header {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    margin: 0.75rem 0;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.modal-body p:first-child {
    margin-top: 0;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body strong {
    color: #ef4444;
    font-weight: 700;
}

.modal-footer {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
}

.btn-close-modal {
    padding: 0.875rem 2.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-close-modal:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-close-modal:active {
    transform: translateY(0);
}