/* ========================================
   MOPI Website – Stylesheet
   Keine externen Abhängigkeiten (DSGVO)
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0055d4; text-decoration: none; transition: color .2s; }
a:hover { color: #0044aa; }
ul { list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4 {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0055d4;
    background: #e8f0fe;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: #666; }
.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: inline; } }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}
.btn-primary {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}
.btn-primary:hover { background: #218838; border-color: #218838; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40, 167, 69, .25); }
.btn-outline {
    background: transparent;
    color: #0055d4;
    border-color: #0055d4;
}
.btn-outline:hover { background: #0055d4; color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; text-align: center; }

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 40px; width: auto; }
.logo-mopi { font-size: 22px; font-weight: 800; color: #0055d4; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links li a {
    font-size: 15px;
    font-weight: 500;
    color: #444;
    transition: color .2s;
}
.nav-links li a:hover { color: #0055d4; }
.nav-cta {
    background: #0055d4 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: #0044aa !important; }
.nav-lang { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.lang-switch { font-size: 13px; font-weight: 600; padding: 4px 8px !important; border-radius: 4px; color: #666 !important; transition: all .2s; }
.lang-switch:hover { color: #0055d4 !important; background: #e8f0fe; }
.lang-switch.lang-active { color: #fff !important; background: #0055d4; pointer-events: none; }
.lang-sep { color: #ccc; font-size: 13px; user-select: none; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all .3s;
    border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #eee;
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }
    .nav-links.active { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #f0f6ff 0%, #fff 40%, #f8fafe 100%);
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
}
.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: #0055d4;
    top: -200px;
    right: -100px;
    animation: heroFloat 20s ease-in-out infinite;
}
.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: #28a745;
    bottom: -100px;
    left: -100px;
    animation: heroFloat 25s ease-in-out infinite reverse;
}
.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: #17a2b8;
    top: 40%;
    left: 30%;
    animation: heroFloat 18s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 20px); }
}
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0055d4;
    background: #e8f0fe;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.hero-headline {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #1a1a2e;
}
.hero-subline {
    font-size: 19px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}
.hero-visual { display: flex; justify-content: center; }
.hero-mockup {
    max-width: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.05);
    animation: heroMockupIn 1s ease-out;
}
@keyframes heroMockupIn {
    from { opacity: 0; transform: translateY(40px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 860px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-ctas { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-mockup { max-width: 400px; }
    .hero { min-height: auto; padding: 120px 0 60px; }
}

/* ---- Problem / Solution ---- */
.section-problem { background: #fff; }
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.problem-card {
    background: #fafbfc;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform .3s, box-shadow .3s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.problem-icon { margin-bottom: 16px; }
.problem-card h3 { font-size: 18px; margin-bottom: 8px; }
.problem-card p { font-size: 15px; color: #666; line-height: 1.6; }

.solution-banner {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-radius: 16px;
    border: 1px solid #c8e6c9;
}
.solution-arrow {
    margin-bottom: 12px;
    animation: arrowBounce 2s ease-in-out infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
.solution-banner p { font-size: 18px; color: #2e7d32; }

/* ---- Features ---- */
.section-features { background: #f8fafe; }
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse .feature-text { order: 2; }
.feature-row-reverse .feature-visual { order: 1; }
.feature-number {
    font-size: 48px;
    font-weight: 800;
    color: #0055d4;
    opacity: .15;
    line-height: 1;
    margin-bottom: 8px;
}
.feature-text h3 { font-size: 28px; margin-bottom: 12px; }
.feature-text > p { font-size: 17px; color: #555; margin-bottom: 20px; line-height: 1.7; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background: #28a745;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
.feature-visual img {
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.04);
}
@media (max-width: 860px) {
    .feature-row { grid-template-columns: 1fr; gap: 32px; }
    .feature-row-reverse .feature-text { order: 1; }
    .feature-row-reverse .feature-visual { order: 2; }
    .feature-row { margin-bottom: 64px; }
}

/* Deep Research Graphic */
.deep-research-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 40px 20px;
    background: #f8fafe;
    border-radius: 16px;
    border: 1px solid #e0e8f5;
}
.dr-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dr-step span { font-size: 13px; font-weight: 600; color: #444; }
.dr-arrow { color: #0055d4; flex-shrink: 0; }
@media (max-width: 560px) {
    .deep-research-graphic { flex-direction: column; }
    .dr-arrow { transform: rotate(90deg); }
}

/* Report Preview Mock */
.report-preview { display: flex; justify-content: center; }
.report-mock {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.04);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}
.report-mock-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
}
.report-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}
.report-mock-dot:nth-child(1) { background: #ff5f57; }
.report-mock-dot:nth-child(2) { background: #febc2e; }
.report-mock-dot:nth-child(3) { background: #28c840; }
.report-mock-title { font-size: 12px; color: #888; margin-left: 8px; }
.report-mock-body { padding: 24px 20px; }
.report-mock-line {
    height: 10px;
    background: #eee;
    border-radius: 5px;
    margin-bottom: 10px;
}
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w90 { width: 90%; }
.report-mock-stats {
    display: flex;
    gap: 16px;
    margin: 20px 0;
}
.report-stat {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #f8fafe;
    border-radius: 8px;
}
.stat-num { display: block; font-size: 24px; font-weight: 700; color: #0055d4; }
.stat-label { font-size: 12px; color: #888; }

/* Booking Demo Visual */
.booking-demo { text-align: center; padding: 40px 20px; }
.booking-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.booking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.booking-step span { font-size: 13px; font-weight: 600; color: #444; }
.booking-connector {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #0055d4, #28a745);
    border-radius: 1px;
}
.booking-time {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-top: 16px;
}

/* Contact Flow Visual */
.contact-flow-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}
.contact-bubble {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.guest-avatar { background: #666; }
.bot-avatar { background: #0055d4; }
.contact-msg {
    background: #f0f4f8;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.contact-bubble-bot .contact-msg { background: #e8f0fe; }
.contact-email-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.contact-email-icon span { font-size: 13px; font-weight: 600; color: #0055d4; }

/* Phone Bot Coming Soon */
.feature-coming-soon { opacity: .85; }
.badge-coming-soon {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e65100;
    background: #fff3e0;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.phone-bot-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
}
.phone-bot-visual svg { opacity: .7; }
.phone-bot-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

/* ---- Integration ---- */
.section-integration { background: #fff; }
.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.integration-steps { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.integration-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-number {
    width: 36px;
    height: 36px;
    background: #0055d4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.integration-step h4 { font-size: 17px; margin-bottom: 4px; }
.integration-step p { font-size: 14px; color: #666; }

.code-window {
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    margin-bottom: 24px;
}
.code-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #181825;
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-filename { font-size: 12px; color: #666; margin-left: 8px; }
.code-window pre {
    padding: 20px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
    font-family: 'SFMono-Regular', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
}
.code-window code { color: #cdd6f4; }
.code-tag { color: #89b4fa; }
.code-prop { color: #a6e3a1; }
.code-key { color: #f9e2af; }
.code-string { color: #f38ba8; }

.widget-preview-wrap img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

@media (max-width: 860px) {
    .integration-content { grid-template-columns: 1fr; }
}

/* ---- DSGVO ---- */
.section-dsgvo {
    background: linear-gradient(180deg, #f8fafe 0%, #fff 100%);
}
.dsgvo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.dsgvo-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform .3s, box-shadow .3s;
}
.dsgvo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.dsgvo-icon { margin-bottom: 14px; }
.dsgvo-card h4 { font-size: 17px; margin-bottom: 6px; }
.dsgvo-card p { font-size: 15px; color: #666; line-height: 1.6; }

/* ---- Pricing ---- */
.section-pricing { background: #fff; }
.pricing-cards {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
}
.pricing-card-main {
    border-color: #0055d4;
    box-shadow: 0 12px 40px rgba(0, 85, 212, .12);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0055d4;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-card h3 { font-size: 24px; margin-bottom: 16px; }
.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 4px;
}
.price-amount { font-size: 56px; font-weight: 800; color: #1a1a2e; line-height: 1; }
.price-currency { font-size: 18px; font-weight: 600; color: #555; }
.price-period { font-size: 15px; color: #888; }
.pricing-note { font-size: 14px; color: #888; margin-bottom: 24px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pricing-features li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #444;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: #28a745;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.pricing-addon-intro { color: #666; margin-bottom: 24px; font-size: 16px; }
.pricing-addons-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.pricing-addons-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafe;
    border-radius: 10px;
    font-size: 15px;
}
.addon-name { font-weight: 500; color: #333; }
.addon-type { font-size: 13px; color: #888; font-weight: 500; }

@media (max-width: 768px) {
    .pricing-cards { grid-template-columns: 1fr; }
}

/* ---- Demo / Referenzen ---- */
.section-demo { background: #f8fafe; }
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.demo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
    color: inherit;
}
.demo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); color: inherit; }
.demo-card-img {
    height: 180px;
    overflow: hidden;
    background: #f0f4f8;
}
.demo-card-img img { width: 100%; height: 100%; object-fit: cover; }
.demo-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe, #f0f6ff);
    color: #0055d4;
    font-size: 18px;
    font-weight: 600;
}
.demo-card-info { padding: 20px; }
.demo-card-info h4 { font-size: 18px; margin-bottom: 4px; }
.demo-card-info p { font-size: 14px; color: #888; margin-bottom: 8px; }
.demo-link {
    font-size: 14px;
    font-weight: 600;
    color: #0055d4;
}

/* ---- Chat Example ---- */
.section-chat-example { background: #fff; }
.chat-demo { max-width: 480px; margin: 0 auto; }
.chat-demo-window {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.05);
}
.chat-demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #0055d4;
    color: #fff;
}
.chat-demo-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.chat-demo-name { font-weight: 600; font-size: 15px; }
.chat-demo-status { font-size: 12px; opacity: .8; }
.chat-demo-messages {
    padding: 20px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    animation: chatMsgIn .4s ease-out;
}
@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-msg-guest {
    background: #f0f4f8;
    color: #333;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-msg-bot {
    background: #e8f0fe;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-demo-input {
    padding: 14px 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #aaa;
}
.chat-demo-conclusion {
    text-align: center;
    margin-top: 24px;
    font-size: 17px;
    font-weight: 600;
    color: #28a745;
}

/* Chat typing indicator */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-self: flex-start;
}
.chat-typing span {
    width: 8px;
    height: 8px;
    background: #bbb;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

/* ---- FAQ ---- */
.section-faq { background: #f8fafe; }
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .3s;
}
.faq-item[open] { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f4f8;
    flex-shrink: 0;
    position: relative;
    transition: transform .3s, background .3s;
}
.faq-toggle::before, .faq-toggle::after {
    content: '';
    position: absolute;
    background: #0055d4;
    border-radius: 1px;
}
.faq-toggle::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-toggle::after {
    width: 2px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .3s;
}
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle { background: #e8f0fe; }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: #666; line-height: 1.7; }

/* ---- Final CTA ---- */
.section-final-cta {
    background: linear-gradient(135deg, #0055d4 0%, #0044aa 100%);
    color: #fff;
    text-align: center;
}
.final-cta-content h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; margin-bottom: 16px; }
.final-cta-content p { font-size: 18px; opacity: .9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.section-final-cta .btn-primary {
    background: #fff;
    color: #0055d4;
    border-color: #fff;
}
.section-final-cta .btn-primary:hover { background: #f0f6ff; border-color: #f0f6ff; }
.section-final-cta .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.section-final-cta .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ---- Footer ---- */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo img { height: 36px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; color: #888; }
.footer h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer address { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.footer a { color: #aaa; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: #666; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Scroll Animations ---- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for child elements */
.anim-fade-up[data-delay="100"] { transition-delay: .1s; }
.anim-fade-up[data-delay="200"] { transition-delay: .2s; }
.anim-fade-up[data-delay="300"] { transition-delay: .3s; }

/* ---- Utility ---- */
.placeholder-visual {
    background: #f8fafe;
    border-radius: 16px;
    padding: 20px;
}

/* Smooth scrollbar for code */
.code-window pre::-webkit-scrollbar { height: 6px; }
.code-window pre::-webkit-scrollbar-track { background: transparent; }
.code-window pre::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

/* Selection color */
::selection { background: #0055d4; color: #fff; }
