/* Insure Hub Live - Smart Insurance Intelligence Platform */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004499;
    --accent-color: #00aaff;
    --success-color: #00cc66;
    --warning-color: #ff9900;
    --error-color: #ff3333;
    --dark-bg: #0a1628;
    --card-bg: #1a2332;
    --surface-bg: #2a3441;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d1;
    --text-muted: #8a9ba8;
    --aptos-green: #00d4aa;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --gradient-accent: linear-gradient(135deg, #00aaff 0%, #0066cc 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Banner */
.top-banner {
    background: var(--gradient-primary);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--accent-color);
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.brand-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.live-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.aptos-verification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--aptos-green);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 170, 255, 0.1);
    color: var(--accent-color);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 170, 255, 0.3);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.coverage-types {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.coverage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
}

.coverage-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.coverage-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.coverage-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Quick Features */
.quick-features {
    padding: 3rem 0;
    background: var(--surface-bg);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-highlight {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

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

/* Large Chat Section */
.large-chat-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.chat-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.chat-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.chat-intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.chat-intro-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.large-chat-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 170, 255, 0.3);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 600px;
}

/* Chat Sidebar */
.chat-sidebar {
    background: var(--surface-bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.advisor-profile {
    display: flex;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
}

.advisor-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.advisor-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.advisor-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.chat-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.chat-feature i {
    color: var(--accent-color);
    width: 16px;
}

.quick-actions h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.quick-action-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 170, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.quick-action-btn:hover {
    background: var(--accent-color);
    color: white;
}

/* Chat Main */
.chat-main {
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: white;
}

.chat-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chat-title span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--dark-bg);
    min-height: 300px;
    max-height: 400px;
}

.message {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.message-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    flex: 1;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.message-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.message-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.message-feature i {
    color: var(--accent-color);
    width: 16px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

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

.user-message .message-content {
    background: var(--gradient-accent);
}

.user-message .message-avatar {
    background: var(--surface-bg);
}

.chat-input-area {
    padding: 2rem;
    background: var(--card-bg);
    border-top: 1px solid rgba(0, 170, 255, 0.2);
}

.input-suggestions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.suggestion-chip {
    background: rgba(0, 170, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 170, 255, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-chip:hover {
    background: var(--accent-color);
    color: white;
}

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

.chat-input {
    flex: 1;
    padding: 1rem;
    background: var(--dark-bg);
    border: 2px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.chat-input::placeholder {
    color: var(--text-muted);
}

.send-button {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.send-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.input-footer {
    text-align: center;
}

.aptos-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.aptos-badge i {
    color: var(--aptos-green);
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(0, 170, 255, 0.2);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

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

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 170, 255, 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.footer-aptos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--aptos-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .large-chat-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .chat-sidebar {
        order: 2;
        padding: 1.5rem;
    }
    
    .chat-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .live-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 2px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .coverage-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .chat-sidebar {
        padding: 1rem;
    }
    
    .input-suggestions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .coverage-types {
        flex-direction: column;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .chat-input-area {
        padding: 1rem;
    }
}
