/* Ativosoft Design System */
:root {
    /* Colors */
    --color-primary: #D32F2F;
    /* Red from logo */
    --color-primary-dark: #B71C1C;
    --color-bg-body: #FFFFFF;
    /* White background */
    --color-bg-light: #F5F5F5;
    /* Light gray for sections */
    --color-text-main: #212121;
    /* Dark gray for main text */
    --color-text-muted: #757575;
    /* Muted text */
    --color-accent: #E0E0E0;
    /* Light gray accent/borders */

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --transition: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.my-lg {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-secondary {
    background-color: #616161;
    color: #fff;
    border-color: #616161;
}

.btn-secondary:hover {
    background-color: #424242;
    border-color: #424242;
}

.btn-success {
    background-color: #10b981;
    color: #fff;
    border-color: #10b981;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    display: none;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    min-height: 78px;
}

.nav-container nav {
    flex: 1;
    min-width: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.logo-mark {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 46px;
    height: 30px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-mark img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    object-position: center top;
    transform: translateY(-1px);
}

.logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    font-size: clamp(1.45rem, 1.5vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-wordmark-ativo {
    color: var(--color-primary);
}

.logo-wordmark-soft {
    color: #9ca0a6;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.8vw, 2rem);
    width: 100%;
}

.nav-links li:first-child {
    margin-left: auto;
}

.nav-links li:last-child {
    margin-left: auto;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--color-text-main);
}

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

.nav-links .btn {
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO SPLIT ===== */
.hero.hero-split {
    padding: clamp(5rem, 8vw, 8rem) 0;
    text-align: left;
    background:
        radial-gradient(circle at 12% 8%, rgba(25, 118, 210, 0.08), transparent 42%),
        radial-gradient(circle at 86% 88%, rgba(211, 47, 47, 0.12), transparent 46%),
        linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
}

.hero-split-shell {
    display: grid;
    gap: 1.1rem;
    max-width: 1480px;
}

.hero-split-top {
    display: flex;
    justify-content: center;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.25rem, 2.3vw, 2.4rem);
    align-items: flex-start;
}

.hero-split-copy {
    padding-top: 0.2rem;
    padding-left: clamp(0.35rem, 1vw, 1rem);
}

.hero-split-logo {
    width: min(320px, 56vw);
    margin: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.95rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    background: rgba(211, 47, 47, 0.08);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero.hero-split h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4.3vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero.hero-split .hero-split-text {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-split-points {
    margin-top: 1.35rem;
    display: grid;
    gap: 0.72rem;
    max-width: 760px;
}

.hero-split-points li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--color-text-main);
    font-size: 1rem;
    line-height: 1.45;
}

.hero-split-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1976D2 100%);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.hero-split-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.hero-split-demo {
    padding: 1.1rem;
    border-radius: 24px;
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    background:
        radial-gradient(circle at 82% 18%, rgba(25, 118, 210, 0.28), transparent 45%),
        linear-gradient(150deg, #0f1727 0%, #111e33 48%, #0f1522 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 40px rgba(8, 14, 24, 0.28);
}

.hero-demo-tabs {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.hero-demo-tab {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ecf1fa;
    padding: 0.62rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-demo-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
}

.hero-demo-tab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hero-demo-tab.is-active {
    background: #fff;
    color: #101827;
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

.hero-demo-stage {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #04070d;
}

.hero-demo-media {
    background: #060a12;
}

.hero-demo-video,
.hero-demo-image {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
    display: block;
    background: #060a12;
    cursor: zoom-in;
}

.hero-demo-video[hidden],
.hero-demo-image[hidden] {
    display: none;
}

.hero-demo-caption {
    padding: 0.9rem 1rem 1.05rem;
    background:
        linear-gradient(140deg, rgba(12, 18, 30, 0.95) 0%, rgba(10, 15, 25, 0.98) 100%);
    display: grid;
    gap: 0.3rem;
}

.hero-demo-caption strong {
    font-size: 1.03rem;
    color: #fff;
    letter-spacing: 0.01em;
}

.hero-demo-caption span {
    font-size: 0.92rem;
    color: rgba(233, 240, 252, 0.82);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .hero-split-top {
        justify-content: center;
    }

    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-split-copy {
        text-align: center;
        padding-left: 0;
    }

    .hero-split-logo {
        margin: 0 auto 0.65rem;
    }

    .hero.hero-split .hero-split-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-split-points {
        margin: 1.3rem auto 0;
        text-align: left;
    }

    .hero-split-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero.hero-split {
        padding-top: 4.75rem;
        padding-bottom: 4.2rem;
    }

    .hero-split-logo {
        width: min(250px, 82%);
    }

    .hero-split-copy {
        padding-top: 0;
    }

    .hero-split-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-demo-tabs {
        flex-direction: column;
    }

    .hero-demo-tab {
        font-size: 0.88rem;
    }

    .hero-demo-caption strong {
        font-size: 0.98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-demo-tab {
        transition: none;
    }
}

/* ===== HERO CINEMATIC (ALT 1) ===== */
.hero.hero-cinematic {
    position: relative;
    min-height: clamp(540px, 82vh, 860px);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f1115;
}

.hero-cinematic-media {
    position: absolute;
    inset: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(8, 11, 17, 0.74) 18%, rgba(8, 11, 17, 0.36) 55%, rgba(8, 11, 17, 0.86) 100%),
        radial-gradient(circle at 22% 24%, rgba(211, 47, 47, 0.3), transparent 48%),
        radial-gradient(circle at 82% 78%, rgba(25, 118, 210, 0.24), transparent 46%);
}

.hero-video-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 220px rgba(0, 0, 0, 0.55);
}

.hero-cinematic-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
}

.hero-cinematic-logo {
    width: min(380px, 78vw);
    margin: 0 auto 1.35rem;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.hero-video-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.hero-video-tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.hero.hero-cinematic h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5.5vw, 4.25rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.hero.hero-cinematic p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.02rem, 2vw, 1.3rem);
    max-width: 760px;
    margin-bottom: 0;
}

.hero-cinematic-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
}

.hero.hero-cinematic .btn-primary {
    box-shadow: 0 10px 24px rgba(211, 47, 47, 0.34);
}

.hero.hero-cinematic .btn-outline {
    border-color: rgba(255, 255, 255, 0.78);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero.hero-cinematic .btn-outline:hover {
    background: #fff;
    color: #101418;
}

@media (max-width: 768px) {
    .hero.hero-cinematic {
        min-height: 620px;
    }

    .hero-cinematic-content {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .hero-cinematic-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cinematic-actions .btn {
        width: min(300px, 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        display: none;
    }

    .hero.hero-cinematic {
        background:
            linear-gradient(120deg, #10141c 0%, #1a202b 46%, #11151d 100%);
    }
}

/* ===== LOGO MOTION COLLAGE ===== */
.logo-motion-showcase {
    position: relative;
    max-width: 1020px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 10%, rgba(211, 47, 47, 0.18), transparent 44%),
        radial-gradient(circle at 82% 82%, rgba(25, 118, 210, 0.18), transparent 46%),
        linear-gradient(140deg, #fafafa 0%, #f1f1f1 100%);
    border: 1px solid rgba(33, 33, 33, 0.08);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.logo-motion-showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.logo-collage-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(8, 44px);
    gap: 1rem;
}

.logo-collage-item {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
    background: #111;
    animation: floatTile 8s ease-in-out infinite;
}

.logo-collage-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.04);
}

.logo-collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.15) 45%, transparent 80%);
    pointer-events: none;
}

.logo-collage-item figcaption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.65rem;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
}

.clip-top-left {
    grid-column: 1 / 6;
    grid-row: 1 / 4;
    animation-delay: 0s;
}

.clip-top-right {
    grid-column: 8 / 13;
    grid-row: 1 / 4;
    animation-delay: 0.8s;
}

.clip-bottom-left {
    grid-column: 1 / 6;
    grid-row: 5 / 9;
    animation-delay: 1.2s;
}

.clip-bottom-right {
    grid-column: 8 / 13;
    grid-row: 5 / 9;
    animation-delay: 2s;
}

.logo-collage-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(360px, 70%);
    padding: 1.25rem 1.5rem;
    transform: translate(-50%, -50%);
    border-radius: 24px;
    border: 1px solid rgba(211, 47, 47, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    text-align: center;
    backdrop-filter: blur(10px);
}

.logo-collage-center::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 30px;
    border: 1px solid rgba(211, 47, 47, 0.26);
    animation: pulseRing 3.8s ease-in-out infinite;
    pointer-events: none;
}

.logo-collage-center img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 0.35rem;
}

.logo-collage-center span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    text-transform: uppercase;
}

@keyframes floatTile {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes pulseRing {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.025);
    }
}

@media (max-width: 900px) {
    .logo-collage-center {
        width: min(320px, 74%);
    }

    .logo-collage-grid {
        grid-template-rows: repeat(8, 38px);
    }
}

@media (max-width: 640px) {
    .logo-motion-showcase {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .logo-collage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, 120px);
        gap: 0.65rem;
    }

    .clip-top-left,
    .clip-top-right,
    .clip-bottom-left,
    .clip-bottom-right {
        grid-column: auto;
        grid-row: auto;
    }

    .logo-collage-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 1rem;
    }

    .logo-collage-center::before {
        inset: -8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-collage-item,
    .logo-collage-center::before {
        animation: none;
    }
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
}

.card {
    background: #fff;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-main);
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: var(--spacing-sm) 0;
}

.card-price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: normal;
}

.card-features {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
}

.card-features li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 20px;
    color: var(--color-text-muted);
}

.card-features li::before {
    content: "✓";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--color-bg-light);
    padding: var(--spacing-lg) 0;
    margin-top: auto;
    border-top: 1px solid var(--color-accent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.25rem;
}

.cookie-banner-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.cookie-banner-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cookie-link {
    color: var(--color-primary);
    text-decoration: underline;
    margin-left: 0.35rem;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1210;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal.is-visible {
    display: flex;
}

.cookie-modal-card {
    width: min(560px, 100%);
    background: #fff;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--color-accent);
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.cookie-close-btn {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
}

.cookie-modal-body {
    padding: 1rem 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.cookie-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-sm);
}

.cookie-option-locked {
    opacity: 0.85;
    background: var(--color-bg-light);
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-option strong {
    display: block;
    margin-bottom: 0.2rem;
}

.cookie-option small {
    display: block;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0 1.2rem 1rem;
}

.cookie-manage-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1190;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    background: #fff;
    color: var(--color-text-main);
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.cookie-manage-fab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .cookie-banner-content {
        padding: 0.9rem;
    }

    .cookie-banner-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-manage-fab {
        right: 0.75rem;
        bottom: 0.75rem;
        font-size: 0.8rem;
    }
}

/* ===== HERO SHOWCASE ===== */
.hero-showcase {
    margin-top: 3rem;
    perspective: 1000px;
}

.hero-screenshot {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: rotateX(5deg) rotateY(0deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3px;
}

.hero-screenshot:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hero-screenshot img {
    width: 100%;
    border-radius: calc(var(--radius-md) - 2px);
    display: block;
}

/* Hero Dual Container */
.hero-dual-container {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-dual-container .hero-screenshot {
    position: relative;
    cursor: pointer;
}

.hero-label {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.hero-label.aticost {
    background: var(--color-primary);
    color: #fff;
}

.hero-label.atiprep {
    background: #1976D2;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-dual-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

#lightboxVideo {
    width: min(1200px, 92vw);
    max-height: 82vh;
    background: #000;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    color: #ccc;
    text-align: center;
    padding: 15px 20px;
    font-size: 1rem;
    max-width: 700px;
}

/* ===== BENTO GRID ===== */
.bento-section {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.5rem;
}

.bento-item {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-accent);
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.bento-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

/* Bento item with gradient accent */
.bento-item.accent-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #FF6B6B 100%);
    z-index: 1;
}

/* Product badge on bento items */
.bento-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.bento-badge.aticost {
    background: var(--color-primary);
    color: #fff;
}

.bento-badge.atiprep {
    background: #1976D2;
    color: #fff;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-item {
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.large,
    .bento-item.wide {
        grid-column: span 1;
    }

    .hero-screenshot {
        transform: none;
    }
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    border-radius: var(--radius-sm);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

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

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* ===== AUTH CARD ===== */
.auth-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    max-width: 450px;
    margin: 0 auto;
}

.auth-form {
    text-align: left;
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-danger {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.alert-warning {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.alert-info {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-success {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-warning {
    background: #FFF3E0;
    color: #E65100;
}

.status-danger {
    background: #FFEBEE;
    color: #C62828;
}

.status-info {
    background: #E3F2FD;
    color: #1565C0;
}

/* ===== ACCOUNT PAGE ===== */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.account-header h1 {
    font-size: 2rem;
    margin: 0;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.account-grid-main {
    grid-template-columns: repeat(3, minmax(320px, 1fr));
}

.account-card {
    height: auto;
}

.profile-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-accent);
}

.profile-info .info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.info-value {
    color: var(--color-text-main);
}

.status-section {
    padding: 1rem 0;
}

.demo-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
}

.demo-info .demo-icon {
    font-size: 2rem;
}

.demo-info.licensed {
    background: #E8F5E9;
}

.demo-info.expired {
    background: #FFEBEE;
}

.license-key-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
}

.license-key-box code {
    display: block;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-align: center;
    color: var(--color-primary);
}

/* ===== PURCHASE PAGE ===== */
.purchase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.purchase-card {
    height: auto;
}

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

    .purchase-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ADMIN STYLES ===== */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
    padding: 2rem;
}

.admin-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.stat-card-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.stat-card-primary .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--color-text-main);
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== TABLES ===== */
.table-container {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-accent);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-accent);
}

.admin-table th {
    background: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-text-main);
    white-space: nowrap;
}

.admin-table tbody tr:hover {
    background: var(--color-bg-light);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .nav-container {
        min-height: 72px;
    }

    .logo-mark {
        width: 40px;
        height: 27px;
    }

    .logo-mark img {
        width: 40px;
        height: 40px;
    }

    .logo-wordmark {
        font-size: min(1.45rem, 7.4vw);
    }

    /* Mobile Menu Styles */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        /* Push to the right */
        margin-left: auto;
    }

    /* Remove nav from flex flow on mobile so it doesn't affect spacing */
    nav {
        position: absolute;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--color-text-main);
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 72px;
        /* Header height */
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 99;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li:first-child,
    .nav-links li:last-child {
        margin-left: 0;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-tabs {
        overflow-x: auto;
    }
}

/* ===== CHATBOT ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.chatbot-root {
    --chatbot-bottom-offset: 1rem;
    position: fixed;
    right: 1rem;
    bottom: var(--chatbot-bottom-offset);
    z-index: 1205;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    pointer-events: none;
}

.chatbot-root>* {
    pointer-events: auto;
}

.chatbot-fab {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.chatbot-fab-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.chatbot-fab-label {
    font-size: 0.92rem;
}

.chatbot-panel {
    width: min(390px, calc(100vw - 1.5rem));
    max-height: min(78vh, 640px);
    background: #fff;
    border: 1px solid var(--color-accent);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    display: grid;
    grid-template-rows: auto auto auto 1fr auto auto;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.chatbot-root.is-open .chatbot-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--color-accent);
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
}

.chatbot-header p {
    margin: 0.1rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.chatbot-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 0.3rem;
}

.chatbot-disclaimer {
    margin: 0;
    padding: 0.65rem 1rem;
    font-size: 0.76rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-accent);
}

.chatbot-disclaimer a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.chatbot-starters {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--color-accent);
}

.chatbot-starter-btn {
    border: 1px solid var(--color-accent);
    background: #fff;
    color: var(--color-text-main);
    border-radius: 999px;
    padding: 0.33rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.chatbot-starter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.chatbot-messages {
    padding: 0.8rem 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #fff;
}

.chatbot-msg {
    max-width: 90%;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.42;
    padding: 0.55rem 0.7rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.chatbot-msg-user {
    align-self: flex-end;
    background: var(--color-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chatbot-msg-assistant {
    align-self: flex-start;
    background: var(--color-bg-light);
    color: var(--color-text-main);
    border: 1px solid var(--color-accent);
    border-bottom-left-radius: 4px;
}

.chatbot-msg-typing {
    font-style: italic;
    opacity: 0.8;
}

.chatbot-lead-prompt,
.chatbot-lead-form {
    margin: 0 1rem 0.7rem;
    padding: 0.65rem;
    border-radius: 12px;
    border: 1px solid var(--color-accent);
    background: #fafafa;
}

.chatbot-lead-prompt p,
.chatbot-lead-form p {
    margin: 0 0 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.chatbot-lead-form h4 {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
}

.chatbot-lead-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-main);
    margin-bottom: 0.45rem;
}

.chatbot-lead-form input {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.45rem 0.5rem;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

.chatbot-lead-submit {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.55rem 0.75rem;
}

.chatbot-input-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--color-accent);
    background: #fff;
}

.chatbot-input-form textarea {
    width: 100%;
    resize: none;
    min-height: 42px;
    max-height: 140px;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    font: inherit;
    line-height: 1.4;
}

.chatbot-send-btn {
    align-self: end;
    min-width: 72px;
    padding: 0.55rem 0.8rem;
}

.chatbot-send-btn:disabled,
.chatbot-lead-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .chatbot-root {
        right: 0.75rem;
    }

    .chatbot-fab-label {
        font-size: 0.85rem;
    }

    .chatbot-panel {
        width: calc(100vw - 1.5rem);
        max-height: min(80vh, 700px);
    }

    .chatbot-msg {
        max-width: 96%;
    }
}
