﻿:root {
    --bg-body: #eef2f6;
    --bg-panel: #ffffff;
    --bg-panel-soft: #f7fafc;
    --bg-section-alt: #e8eff7;
    --hero-top: #07152a;
    --hero-mid: #10325a;
    --hero-bottom: #1a5f96;

    --text-main: #0d1b2a;
    --text-muted: #5b6b7d;
    --text-on-dark: #edf3fb;

    --primary: #0c63d6;
    --primary-strong: #084aa4;
    --border-soft: rgba(13, 27, 42, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-soft: 0 14px 35px rgba(6, 17, 35, 0.12);
    --shadow-hero: 0 24px 60px rgba(7, 21, 42, 0.28);
}

* { box-sizing: border-box; }

html,
body {
    padding: 0;
    margin: 0;
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    background:
        radial-gradient(circle at 8% 6%, rgba(12, 99, 214, 0.08), transparent 26%),
        radial-gradient(circle at 92% 14%, rgba(16, 50, 90, 0.08), transparent 32%),
        var(--bg-body);
    color: var(--text-main);
}

h1,
h2,
h3,
.brand-name {
    font-family: "Space Grotesk", "Manrope", sans-serif;
}

a { color: inherit; text-decoration: none; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.brand-name {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 18px;
}

.nav-links a {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
}

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

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ghost-button {
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.7);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    color: var(--text-main);
    transition: 160ms ease;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(13, 27, 42, 0.22);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #1c82ff);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 180ms ease;
}

.primary-button:hover {
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    transform: translateY(-1px);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-weight: 800;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, var(--hero-top) 8%, var(--hero-mid) 56%, var(--hero-bottom) 100%);
    color: var(--text-on-dark);
    padding: 86px 0 72px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.16), transparent 34%),
        radial-gradient(circle at 18% 74%, rgba(255, 255, 255, 0.08), transparent 36%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: 42%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 68%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    gap: 54px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-copy {
    max-width: 660px;
}

.eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
    margin: 0 0 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 4.1vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    max-width: 12ch;
}

.hero-subtitle {
    margin: 0 0 30px;
    color: rgba(237, 243, 251, 0.9);
    line-height: 1.58;
    max-width: 48ch;
    font-size: clamp(17px, 1.1vw, 20px);
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-metrics {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 620px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.metric strong {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-preview .preview-window {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hero);
    transform: translateY(18px);
    width: min(760px, 100%);
    margin-left: auto;
}

.preview-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.preview-title {
    margin-left: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.86;
}

.preview-content {
    padding: 16px;
    display: grid;
    gap: 10px;
}

.preview-bubble {
    padding: 10px 12px;
    border-radius: 10px;
    max-width: 92%;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
}

.preview-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: rgba(237, 243, 251, 0.82);
    font-size: 12px;
    font-weight: 600;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(237, 243, 251, 0.78);
    animation: dot-pulse 1.1s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 120ms; }
.typing-dot:nth-child(3) { animation-delay: 240ms; }

.preview-cta-hint {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 16px 14px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(237, 243, 251, 0.92);
}

.preview-bubble.bot { background: rgba(255, 255, 255, 0.15); }
.preview-bubble.user { background: rgba(12, 99, 214, 0.38); margin-left: auto; }

.section { padding: 84px 0; }
.section-alt { background: var(--bg-section-alt); }

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-inner h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.02em;
}

.section-subtitle {
    margin: 0 0 32px;
    color: var(--text-muted);
    line-height: 1.64;
    max-width: 70ch;
}

.cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-strong), var(--primary), #62a6ff);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card h3 { margin: 0 0 8px; font-weight: 700; }

.card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 600;
}

.steps {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
    background: var(--bg-panel-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    gap: 14px;
    box-shadow: var(--shadow-soft);
}

.cards .card:nth-child(2),
.steps .step:nth-child(2) {
    transform: translateY(14px);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(12, 99, 214, 0.12);
    border: 1px solid rgba(12, 99, 214, 0.25);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.step-body h3 { margin: 0 0 6px; font-weight: 700; }

.step-body p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 600;
}

.faq details {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    box-shadow: 0 10px 28px rgba(6, 17, 35, 0.08);
    margin-bottom: 12px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
    margin: 10px 0 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 600;
}

.footer {
    padding: 22px 0;
    border-top: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.8);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-weight: 700;
}

.floating-chat-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, var(--primary), #1c82ff);
    color: white;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(12, 99, 214, 0.35);
    z-index: 30;
}

.floating-chat-button:hover { background: linear-gradient(135deg, var(--primary-strong), var(--primary)); }

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 40;
}

body.chat-open .backdrop {
    opacity: 1;
    pointer-events: auto;
}

.chat-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: min(1180px, 82vw);
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--border-soft);
    box-shadow: -16px 0 42px rgba(6, 17, 35, 0.22);
    transform: translateX(110%);
    transition: transform 220ms ease;
    z-index: 45;
    display: flex;
    flex-direction: column;
}

body.chat-open .chat-drawer { transform: translateX(0); }

.chat-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.chat-drawer-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}

.status-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 5px 8px;
    border-radius: var(--radius-sm);
    background: rgba(34, 197, 94, 0.14);
    color: #157b3a;
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.icon-button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    color: var(--text-main);
}

.icon-button:hover { background: rgba(13, 27, 42, 0.05); }

.chat-drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}

.chip-button {
    border: 1px solid rgba(13, 27, 42, 0.16);
    background: rgba(255, 255, 255, 0.65);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
}

.chip-button:hover { background: rgba(13, 27, 42, 0.05); }

.chip-button.chip-secondary {
    background: transparent;
    border-color: rgba(12, 99, 214, 0.35);
}

.chip-button.chip-secondary:hover { background: rgba(12, 99, 214, 0.1); }

.chat-hint {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
}

.chat-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    height: 100%;
    min-height: 0;
}

.chat-layout.no-conversations { grid-template-columns: 1fr; }
.chat-layout.no-conversations .chat-ui { grid-column: 1 / -1; }

.chat-conversations {
    border-right: 1px solid rgba(13, 27, 42, 0.08);
    background: #f2f6fb;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-conversations-header {
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    opacity: 0.92;
}

.chat-conversations-list {
    padding: 12px;
    overflow: auto;
    display: grid;
    gap: 10px;
}

.conv-item {
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    transition: 120ms ease;
}

.conv-item:hover {
    transform: translateY(-1px);
    border-color: rgba(13, 27, 42, 0.2);
}

.conv-item.active {
    border-color: rgba(12, 99, 214, 0.6);
    box-shadow: 0 8px 20px rgba(12, 99, 214, 0.16);
}

.conv-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.conv-meta {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.conv-empty {
    padding: 10px 8px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
}

.chat-ui {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #fdfefe;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-bubble {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: #f0f5fb;
    font-weight: 600;
    line-height: 1.48;
    font-size: 15px;
    color: var(--text-main);
}

.chat-bubble.user {
    margin-left: auto;
    background: rgba(12, 99, 214, 0.12);
    border-color: rgba(12, 99, 214, 0.22);
}

.chat-bubble.bot { margin-right: auto; }
.chat-bubble.meta { opacity: 0.75; font-style: italic; }

.chat-bubble .bubble-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
}

.chat-bubble .action-btn {
    border: 1px solid rgba(13, 27, 42, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-weight: 700;
    cursor: pointer;
}

.chat-bubble .action-btn:hover { background: rgba(255, 255, 255, 0.95); }

.chat-bubble .action-btn.disabled,
.chat-bubble .action-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.chat-bubble .bubble-suggestions .action-btn { min-width: 38px; }

.chat-bubble .bubble-suggestions {
    flex-direction: column;
    align-items: stretch;
}

.chat-bubble .suggestion-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
}

.chat-bubble .suggestion-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(12, 99, 214, 0.12);
    border: 1px solid rgba(12, 99, 214, 0.24);
    font-weight: 800;
}

.chat-bubble .suggestion-label {
    flex: 1;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0.95;
}

.chat-input-bar {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.84);
}

.chat-input-bar input {
    flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(13, 27, 42, 0.14);
    padding: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    color: var(--text-main);
}

.chat-input-bar input::placeholder { color: rgba(91, 107, 125, 0.95); }

.send-button {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #1c82ff);
    color: white;
    font-weight: 800;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 15px;
}

.send-button:hover { background: linear-gradient(135deg, var(--primary-strong), var(--primary)); }

.hidden { display: none !important; }

.user-menu {
    position: relative;
    display: inline-flex;
}

.user-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 12px 32px rgba(6, 17, 35, 0.15);
    z-index: 30;
}

.menu-item {
    width: 100%;
    text-align: left;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 0;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-main);
}

.menu-item:hover { background: rgba(13, 27, 42, 0.06); }

.menu-item.danger { color: #e11d48; }
.menu-item.danger:hover { background: rgba(225, 29, 72, 0.1); }

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.5);
    z-index: 60;
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 65;
    padding: 18px;
}

.modal-card {
    width: min(420px, 100%);
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(6, 17, 35, 0.22);
    padding: 14px 14px 16px;
    color: var(--text-main);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.modal-header h3 {
    margin: 0;
    font-weight: 700;
}

.modal-form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.field span {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 13px;
}

.field input {
    border-radius: 10px;
    border: 1px solid rgba(13, 27, 42, 0.14);
    padding: 12px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    color: var(--text-main);
}

.primary-button.full {
    width: 100%;
    border-radius: 10px;
    padding: 12px 14px;
}

.modal-error {
    margin-top: 10px;
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.2);
    color: #9f1239;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
}

body.dark {
    --bg-body: #08101d;
    --bg-panel: #0e1b2f;
    --bg-panel-soft: #0c1728;
    --bg-section-alt: #07101f;
    --text-main: #e4ecf8;
    --text-muted: #a9b8cb;
    --border-soft: rgba(169, 184, 203, 0.16);
}

body.dark .topbar {
    background: rgba(4, 10, 20, 0.72);
    border-bottom-color: rgba(169, 184, 203, 0.2);
}

body.dark .nav-links a { color: rgba(169, 184, 203, 0.92); }
body.dark .nav-links a:hover { color: var(--text-main); }

body.dark .ghost-button {
    background: rgba(12, 23, 40, 0.85);
    border-color: rgba(169, 184, 203, 0.24);
    color: var(--text-main);
}

body.dark .ghost-button:hover { background: rgba(12, 23, 40, 0.98); }

body.dark .footer {
    background: rgba(4, 10, 20, 0.72);
    border-top-color: rgba(169, 184, 203, 0.2);
}

body.dark .card,
body.dark .step,
body.dark .faq details,
body.dark .chat-ui,
body.dark .conv-item,
body.dark .modal-card,
body.dark .user-menu-dropdown {
    border-color: rgba(169, 184, 203, 0.16);
    box-shadow: none;
}

body.dark .chat-drawer,
body.dark .chat-tools,
body.dark .chat-messages,
body.dark .chat-input-bar {
    background: #07101f;
}

body.dark .chat-conversations {
    background: #0a1527;
    border-right-color: rgba(169, 184, 203, 0.14);
}

body.dark .chat-bubble {
    background: rgba(14, 27, 47, 0.82);
    border-color: rgba(169, 184, 203, 0.16);
    color: var(--text-main);
}

body.dark .chat-bubble.user {
    background: rgba(12, 99, 214, 0.2);
    border-color: rgba(12, 99, 214, 0.3);
}

body.dark .chat-input-bar input,
body.dark .field input {
    background: rgba(10, 21, 39, 0.85);
    border-color: rgba(169, 184, 203, 0.2);
    color: var(--text-main);
}

body.dark .chat-input-bar input::placeholder { color: rgba(169, 184, 203, 0.9); }

.hero-copy,
.hero-preview,
.card,
.step,
.faq details {
    animation: ui-fade-up 520ms ease both;
}

.hero-preview { animation-delay: 80ms; }
.cards .card:nth-child(2),
.steps .step:nth-child(2) { animation-delay: 100ms; }
.cards .card:nth-child(3),
.steps .step:nth-child(3) { animation-delay: 150ms; }

@keyframes ui-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-1px); }
}

@media (max-width: 980px) {
    .topbar-inner { max-width: 100%; }
    .nav-links { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { max-width: 100%; }
    .hero-subtitle { max-width: 100%; font-size: 17px; }
    .hero-preview .preview-window { width: 100%; }
    .hero-metrics { grid-template-columns: 1fr; max-width: 100%; }
    .cards .card:nth-child(2),
    .steps .step:nth-child(2) { transform: none; }
}

@media (max-width: 760px) {
    .cards,
    .steps { grid-template-columns: 1fr; }

    .chat-drawer { width: 100%; }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-conversations { display: none; }

    .footer-inner {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
}
