/* Premium Styling for animAI Chat Client */

:root {
    --bg-base: #090a0f;
    --bg-surface: rgba(18, 20, 32, 0.65);
    --bg-surface-opaque: #121420;
    --primary: hsl(243, 75%, 59%);
    --primary-light: hsl(243, 75%, 70%);
    --primary-glow: rgba(99, 102, 241, 0.15);
    --accent: hsl(271, 76%, 53%);
    --accent-glow: rgba(168, 85, 247, 0.15);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-focus: rgba(99, 102, 241, 0.5);
    --bubble-user: linear-gradient(135deg, hsl(243, 75%, 59%), hsl(271, 76%, 53%));
    --bubble-ai: rgba(23, 28, 41, 0.6);
    --danger: hsl(351, 89%, 60%);
    --warning: hsl(38, 92%, 50%);
    --success: hsl(142, 70%, 45%);
}

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

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Widget Layout */
.chat-widget {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 40%),
                #090a0f;
}

/* Connection Warning Banner */
.connection-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--warning);
    color: #000000;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.connection-banner.hidden {
    margin-top: -36px;
    opacity: 0;
    pointer-events: none;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.logo-icon {
    font-size: 1.1rem;
    color: #ffffff;
}

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

.header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.status-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background-color: var(--danger);
    box-shadow: 0 0 8px var(--danger);
}

.status-dot.connecting {
    background-color: var(--warning);
    box-shadow: 0 0 8px var(--warning);
    animation: pulse 1s infinite;
}

.status-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-right button {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.header-right button:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

/* Chat Messages Section */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

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

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

/* Welcome Container */
.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 380px;
    margin: auto;
    padding: 20px 10px;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.welcome-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: 1.8rem;
    box-shadow: inset 0 2px 8px rgba(99, 102, 241, 0.1);
}

.welcome-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.welcome-container p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.welcome-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.suggestion-chip {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}

.suggestion-chip:hover {
    background-color: var(--primary-glow);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Chat Message Bubbles */
.message-wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 4px;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(12px);
}

.message-wrapper.user {
    justify-content: flex-end;
}

.message-wrapper.ai {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 85%;
    padding: 12px 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.message-wrapper.user .message-bubble {
    background: var(--bubble-user);
    color: #ffffff;
    border-radius: 18px 18px 2px 18px;
}

.message-wrapper.ai .message-bubble {
    background: var(--bubble-ai);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 18px 18px 18px 2px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-right: 42px;
}

.message-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.message-wrapper.user .message-meta {
    justify-content: flex-end;
    color: rgba(255, 255, 255, 0.7);
}

/* System/Thinking Message Details */
.message-wrapper.thinking {
    justify-content: center;
    margin: 4px 0;
}

.system-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.system-badge i {
    font-size: 0.7rem;
}

.system-badge.thinking i {
    color: var(--primary-light);
    animation: rotate 1.5s linear infinite;
}

.system-badge.error {
    border-color: rgba(239, 68, 68, 0.2);
    background-color: rgba(239, 68, 68, 0.03);
    color: var(--danger);
}

/* Copy Button on Code and Messages */
.copy-btn {
    position: absolute;
    top: 6px;
    right: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.25;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.message-bubble:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

/* Markdown Rendering Custom Styles */
.message-bubble a {
    color: #93a3f8;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(147, 163, 248, 0.3);
    transition: all 0.2s ease;
    word-break: break-word;
}

.message-bubble a:hover {
    color: #bcc4ff;
    text-decoration-color: rgba(188, 196, 255, 0.6);
}

.message-bubble a:visited {
    color: #a78bfa;
}

.message-bubble a:active {
    color: #d1d5ff;
}

.message-bubble p {
    margin-bottom: 8px;
}

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

.message-bubble ul, .message-bubble ol {
    margin-left: 20px;
    margin-bottom: 8px;
}

.message-bubble li {
    margin-bottom: 4px;
}

.message-bubble code {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.85em;
    word-break: break-all;
}

.message-bubble pre {
    margin: 10px 0;
    overflow-x: auto;
    background-color: rgba(10, 11, 16, 0.8) !important;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    padding: 12px 14px;
}

.message-bubble pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.85rem;
    color: inherit;
    word-break: normal;
}

/* Typing Indicator (Typing bubble) */
.typing-indicator-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 20px;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.avatar-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 0.9rem;
    margin-top: 2px;
}

.indicator-bubble {
    background: var(--bubble-ai);
    border: 1px solid var(--border-color);
    border-radius: 14px 14px 14px 2px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.thinking-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 10px;
}

.typing-dots .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-muted);
    display: inline-block;
    animation: jump 1.4s infinite ease-in-out both;
}

.typing-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

/* Chat Input Footer Area */
.chat-input-container {
    padding: 16px 20px;
    background-color: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    z-index: 10;
}

.chat-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background-color: rgba(10, 11, 16, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 8px 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.chat-form textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.4;
    padding: 6px 2px;
    max-height: 120px;
    scroll-behavior: smooth;
    overflow-y: hidden;
}

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

.send-btn,
.stop-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    outline: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.send-btn:hover:not(:disabled),
.stop-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.send-btn:active:not(:disabled),
.stop-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.send-btn:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.stop-btn {
    background: none;
    margin-top: 3px;
    color: var(--danger);
    border: 1px solid #633;
}

button > i.fa-solid,
button > i.fa-regular {
    line-height: 0;
}

/* Helper Utilities */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

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

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

@keyframes jump {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

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


/* Responsive adjustments */
@media (max-width: 480px) {
    .chat-header {
        padding: 12px 14px;
    }
    .chat-messages {
        padding: 16px 14px;
        gap: 16px;
    }
    .chat-input-container {
        padding: 12px 14px;
    }
    .message-bubble {
        max-width: 90%;
    }
}

/* Homepage-specific Styles */
html.home-html, body.home-page {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    background-color: #05060b;
}

.home-page {
    position: relative;
    color: var(--text-main);
}

/* Ambient glow blobs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
}

.glow-1 {
    top: -10%;
    left: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
    top: 35%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.glow-3 {
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.home-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation bar */
.home-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.nav-btn:hover {
    background-color: var(--primary-glow);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 110px 0 90px 0;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-light);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 640px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

/* Features grid */
.features-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: rgba(18, 20, 32, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 36px 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.08) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Call-to-action banner */
.cta-banner {
    padding: 60px 0;
}

.banner-content {
    background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
                rgba(18, 20, 32, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.banner-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.banner-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.banner-cta {
    display: inline-flex;
}

/* Footer styles */
.home-footer {
    padding: 40px 0 60px 0;
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Responsive details for Homepage */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .banner-content {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .home-navbar {
        height: 80px;
    }
    .nav-links {
        gap: 16px;
    }
    .nav-link {
        display: none; /* Hide standard links to keep nav bar neat */
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

