/* ======================== RESET & BASE ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #ffffff;
    --bg-alt: #faf9f7;
    --surface: #ffffff;
    --surface-hover: #f3f2ef;
    --border: #e5e3de;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #999;
    --accent: #ff7a00;
    --accent-hover: #e86e00;
    --accent-bg: rgba(255, 122, 0, 0.07);
    --user-bubble: #f0eeea;
    --code-bg: #f5f4f1;
    --radius: 6px;
    --radius-sm: 4px;
}

html { scroll-behavior: smooth; }

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    letter-spacing: -0.01em;
}

/* ======================== NAVBAR ======================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
}

.nav-brand {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.nav-brand i { color: var(--accent); }

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
    font-weight: 450;
}

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

.nav-link-cta {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    margin-left: 8px;
}

.nav-link-cta:hover { background: var(--accent-hover); color: #fff; }

.nav-hamburger {
    display: none;
    border: none;
    background: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

/* ======================== HERO ======================== */
.hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 110px 24px 90px;
    text-align: center;
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 9px 22px;
    border-radius: var(--radius);
    margin-bottom: 36px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin-bottom: 28px;
}

.accent { color: var(--accent); }

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 44px;
    font-weight: 400;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    letter-spacing: -0.01em;
}

.btn-cta:hover { background: var(--accent-hover); }
.btn-cta i { font-size: 0.85rem; }

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-cta-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-cta-secondary i { font-size: 0.8rem; }

/* ======================== FEATURES ======================== */
.features {
    padding: 88px 24px;
    max-width: 1040px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 36px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(255, 122, 0, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.feature-card p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======================== SECTION SEPARATOR ======================== */
.features, .stats-section, .mistral-banner, .privacy-notice, .chat-section {
    position: relative;
}

.features::after, .stats-section::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
    opacity: 0.3;
    border-radius: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ======================== STATS ======================== */
.stats-section {
    padding: 72px 24px 80px;
    max-width: 960px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(255, 122, 0, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.stat-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ======================== MISTRAL BANNER ======================== */
.mistral-banner {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 24px;
}

.mistral-inner {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: center;
}

.mistral-logo-wrap {
    flex-shrink: 0;
}

.mistral-logo-img {
    width: 72px;
    height: auto;
}

.mistral-text h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.mistral-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* ======================== PRIVACY NOTICE ======================== */
.privacy-notice {
    padding: 56px 24px;
    max-width: 780px;
    margin: 0 auto;
}

.privacy-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.privacy-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.privacy-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.privacy-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ======================== FADE IN ANIMATION ======================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================== TYPEWRITER ======================== */
#heroTypewriter {
    min-height: 3.2em;
}

#heroTypewriter .cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ======================== ABOUT PHOTO ======================== */
.about-photo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

/* ======================== CHAT SECTION ======================== */
.chat-section {
    padding: 72px 24px 88px;
    max-width: 960px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.chat-container {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 80vh;
    max-height: 800px;
    min-height: 500px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}

.chat-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.chat-header-left i { color: var(--accent); font-size: 1.05rem; }

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.model-selector {
    display: flex;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.model-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 3px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 500;
}

.model-btn.active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.model-btn:hover:not(.active) { color: var(--text-secondary); }

.btn-header-action {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.15s;
}

.btn-header-action:hover { border-color: var(--accent); color: var(--accent); }

/* ======================== MODEL GUIDE ======================== */
.model-guide {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.model-guide-inner {
    padding: 20px 24px;
}

.model-guide h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.model-guide h4 i { color: var(--accent); }

.model-guide > .model-guide-inner > p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.model-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.model-guide-item {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.model-guide-name {
    font-weight: 600;
    font-size: 0.88rem;
}

.model-guide-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.model-guide-limit {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 4px;
}

.model-guide-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Model count badge */
.model-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(0,0,0,0.08);
    border-radius: 3px;
    margin-left: 4px;
    padding: 0 4px;
}

.model-btn.active .model-count {
    background: rgba(255,255,255,0.25);
}

/* ======================== CHAT MESSAGES ======================== */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: var(--bg-alt);
}

.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 10px;
}

.empty-chat i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.empty-chat p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
    max-width: 520px;
}

.suggestion-btn {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-btn i {
    color: var(--accent);
    font-size: 0.78rem;
}

.suggestion-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.08);
}

/* ======================== MESSAGES ======================== */
.message {
    display: flex;
    gap: 14px;
    max-width: 100%;
    animation: fadeIn 0.25s ease;
}

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

.message.user { justify-content: flex-end; }
.message.user .msg-avatar { order: 2; }
.message.user .msg-bubble { order: 1; }

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 2px;
}

.message.user .msg-avatar { background: var(--user-bubble); color: var(--text-secondary); }
.message.assistant .msg-avatar { background: var(--accent); color: #fff; }

.msg-bubble {
    max-width: 80%;
    line-height: 1.7;
    font-size: 0.95rem;
}

.message.user .msg-bubble {
    background: var(--user-bubble);
    padding: 12px 16px;
    border-radius: var(--radius);
}

.message.assistant .msg-bubble {
    padding: 4px 0;
}

.msg-content { word-wrap: break-word; overflow-wrap: break-word; }
.msg-content p { margin-bottom: 0.6em; }
.msg-content p:last-child { margin-bottom: 0; }
.msg-content ul, .msg-content ol { margin: 0.5em 0; padding-left: 1.4em; }
.msg-content li { margin-bottom: 0.25em; }
.msg-content code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.88em;
    font-family: 'SF Mono', 'Fira Code', monospace;
    border: 1px solid var(--border);
}
.msg-content pre {
    background: var(--code-bg);
    padding: 14px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 0.6em 0;
    border: 1px solid var(--border);
}
.msg-content pre code { background: none; padding: 0; border: none; }
.msg-content h1, .msg-content h2, .msg-content h3 { margin: 0.7em 0 0.3em; font-weight: 600; }
.msg-content h1 { font-size: 1.15em; }
.msg-content h2 { font-size: 1.05em; }
.msg-content h3 { font-size: 0.95em; }
.msg-content strong { font-weight: 600; }
.msg-content a { color: var(--accent); text-decoration: none; }
.msg-content a:hover { text-decoration: underline; }
.msg-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    color: var(--text-secondary);
    margin: 0.5em 0;
}

.msg-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.rag-indicator {
    font-size: 0.78rem;
    color: var(--accent);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* ======================== TYPING ======================== */
.typing-dots {
    display: flex;
    gap: 5px;
    padding: 8px 0;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: bounce 1.4s infinite ease-in-out;
}

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

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* ======================== INPUT ======================== */
.chat-input-area {
    padding: 14px 20px 18px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 10px 8px 16px;
    transition: border-color 0.15s;
}

.input-wrapper:focus-within { border-color: var(--accent); }

#msgInput {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    outline: none;
    max-height: 150px;
    line-height: 1.5;
    padding: 6px 0;
}

#msgInput::placeholder { color: var(--text-muted); }

.btn-send {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    font-size: 0.85rem;
}

.btn-send:hover { background: var(--accent-hover); }
.btn-send:disabled { opacity: 0.3; cursor: not-allowed; }

.chat-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.disclaimer-logo {
    width: 14px;
    height: auto;
    opacity: 0.6;
}

/* ======================== FOOTER ======================== */
.site-footer {
    text-align: center;
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 22px;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}

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

.footer-brand {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.footer-brand i { color: var(--accent); margin-right: 4px; }

.footer-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ======================== PAGE HERO (subpages) ======================== */
.page-hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 88px 24px 52px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 14px;
}

.page-hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 24px 88px;
}

/* ======================== PREZZI PAGE ======================== */
.free-banner {
    text-align: center;
    padding: 48px 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.free-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.free-banner h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
}

.free-banner p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

.free-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.free-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.free-feature i { color: var(--accent); font-size: 0.8rem; }

.free-note {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.free-note p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    text-align: center;
}

.free-note a { color: var(--accent); text-decoration: none; font-weight: 500; }
.free-note a:hover { text-decoration: underline; }

/* ======================== CHI SIAMO PAGE ======================== */
.about-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 40px 36px;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.about-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-card-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.about-role {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.about-bio p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
}

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

.about-details {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-detail i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.about-detail h4 {
    font-size: 0.97rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.about-detail p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-detail a { color: var(--accent); text-decoration: none; font-weight: 500; }
.about-detail a:hover { text-decoration: underline; }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 768px) {
    .nav-hamburger { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 12px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-link-cta { margin-left: 0; text-align: center; }
    .hero { padding: 60px 20px 50px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-sub { font-size: 1.05rem; }
    .features { padding: 48px 20px; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .mistral-inner { flex-direction: column; text-align: center; }
    .privacy-inner { flex-direction: column; text-align: center; align-items: center; }
    .privacy-icon { margin-bottom: 4px; }
    .chat-container { height: 75vh; max-height: 700px; min-height: 420px; }
    .chat-section { padding: 40px 16px 56px; }
    .section-title { font-size: 1.4rem; }
    .model-guide-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 60px 20px 36px; }
    .page-hero h1 { font-size: 2rem; }
    .page-content { padding: 36px 20px 56px; }
    .about-card { padding: 28px 20px; }
    .free-banner { padding: 32px 20px; }
    .free-features { flex-direction: column; align-items: center; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2rem; }
    .chat-header-bar { flex-direction: column; gap: 10px; align-items: flex-start; }
    .chat-header-right { width: 100%; justify-content: flex-end; }
    .about-card-header { flex-direction: column; text-align: center; }
}
