/* ===== FONTS ===== */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/inter-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/inter-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/inter-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== DESIGN TOKENS ===== */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-accent: #1aaee4;
    --color-accent-hover: #1390c2;
    --color-accent-light: #e8f7fd;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
    --nav-height: 96px;
    --container-max: 1200px;
    --container-pad: clamp(1rem, 5vw, 2rem);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}
.section { padding-block: 5rem; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-bg-dark); color: var(--color-white); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--color-text-muted); line-height: 1.75; }
.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: .75rem;
}
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 560px; font-size: 1.1rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.nav__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}
.nav__logo img {
    height: 80px;
    width: auto;
    display: block;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav__links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: .4rem .75rem;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
}
.nav__links a:hover, .nav__links a.active {
    color: var(--color-text);
    background: var(--color-bg-alt);
}
.nav__links .nav__cta {
    margin-left: .5rem;
    padding: .55rem 1rem;
    color: var(--color-white);
    background: var(--color-accent);
}
.nav__links .nav__cta:hover,
.nav__links .nav__cta.active { color: var(--color-white); background: var(--color-accent-hover); }
.nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
}
.nav__hamburger span {
    display: block;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 600;
    padding: .6rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
    text-decoration: none;
    line-height: 1;
}
.btn--primary { background: var(--color-accent); color: var(--color-white); }
.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.btn--outline { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.btn--outline:hover { background: var(--color-accent-light); color: var(--color-accent); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-bg-alt); }
.btn--lg { font-size: 1rem; padding: .85rem 1.75rem; }
.btn--white { background: var(--color-white); color: var(--color-accent); }
.btn--white:hover { background: var(--color-accent-light); color: var(--color-accent); }

/* ===== HERO ===== */
.hero {
    padding-block: clamp(4rem, 10vw, 8rem);
    background: var(--color-bg);
    overflow: hidden;
}
.hero--home {
    position: relative;
    min-height: min(760px, calc(100vh - var(--nav-height)));
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5,14,31,.88) 0%, rgba(5,14,31,.70) 42%, rgba(5,14,31,.24) 100%),
        url("/images/banner_visiolog.jpg") center / cover no-repeat;
    color: var(--color-white);
}
.hero--home .hero__grid {
    grid-template-columns: minmax(0, 680px);
}
.hero--home .hero__text {
    max-width: 680px;
}
.hero--home .hero__label {
    background: rgba(255,255,255,.14);
    color: #d9f4ff;
}
.hero--home h1 {
    color: var(--color-white);
    max-width: 620px;
}
.hero--home p {
    color: rgba(255,255,255,.86);
    max-width: 640px;
}
.hero--home .btn--ghost {
    color: var(--color-white);
    border-color: rgba(255,255,255,.62);
}
.hero--home .btn--ghost:hover {
    background: rgba(255,255,255,.12);
}
.hero--dark { background: var(--color-bg-dark); color: var(--color-white); }
.hero--dark h1, .hero--dark h2 { color: var(--color-white); }
.hero--dark p { color: rgba(255,255,255,.7); }
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero__label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: .3rem .75rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.hero--dark .hero__label { background: rgba(37,99,235,.2); color: #93c5fd; }
.hero h1 { margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; margin-bottom: 2rem; max-width: 520px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__image img { width: 100%; object-fit: cover; }
.hero--page {
    padding-block: 4rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}
.hero--page h1 { margin-bottom: .75rem; }
.hero--page p { font-size: 1.15rem; max-width: 600px; }

/* ===== CARDS ===== */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-accent);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card p { font-size: .95rem; }
.card__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 1rem;
}
.card__link:hover { gap: .6rem; }
.card--image { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--image img { width: 100%; height: 200px; object-fit: cover; }
.card--image .card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card--image .card__body h3 { margin-bottom: .5rem; }
.card--image .card__body p { flex: 1; }
.card__meta { font-size: .8rem; color: var(--color-text-muted); margin-bottom: .5rem; }

/* ===== MODULE LAYOUT ===== */
.module-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.module-sidebar { position: sticky; top: calc(var(--nav-height) + 1.5rem); }
.module-sidebar h4 {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: .75rem;
}
.module-sidebar a {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: .45rem .75rem;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
}
.module-sidebar a:hover { color: var(--color-accent); background: var(--color-accent-light); border-color: var(--color-accent); }
.module-sidebar a.active { color: var(--color-accent); background: var(--color-accent-light); border-color: var(--color-accent); font-weight: 600; }
.module-content h2 { margin-bottom: 1rem; }
.module-content p { margin-bottom: 1rem; }
.module-content img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-block: 2rem; width: 100%; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; margin-block: 1.5rem; }
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}
.feature-item__icon { flex-shrink: 0; color: var(--color-accent); margin-top: 2px; }
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item h4 { margin-bottom: .25rem; font-size: 1rem; }
.feature-item p { font-size: .9rem; margin: 0; }

/* ===== COMPARISON TABLE ===== */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.compare-table th, .compare-table td {
    padding: .85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: .9rem;
}
.compare-table th { font-weight: 600; background: var(--color-bg-alt); color: var(--color-text); }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: #1aaee4; }
.check svg { width: 18px; height: 18px; }
.dash { color: var(--color-border); }

/* ===== QUOTE / CALLOUT ===== */
.quote-block {
    background: var(--color-accent-light);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-block: 2rem;
}
.quote-block p { font-size: 1.15rem; font-style: italic; color: var(--color-text); margin: 0; }

/* ===== CTA STRIP ===== */
.cta-strip { background: var(--color-accent); color: var(--color-white); padding-block: 4rem; text-align: center; }
.cta-strip h2 { color: var(--color-white); margin-bottom: .75rem; }
.cta-strip p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 540px; margin-inline: auto; margin-bottom: 2rem; }
.cta-strip .btn--white { box-shadow: 0 4px 14px rgba(0,0,0,.15); }

/* ===== CONTACT INFO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}
.contact-detail__icon svg { width: 20px; height: 20px; }
.contact-detail h4 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted); margin-bottom: .25rem; }
.contact-detail p { font-size: 1rem; color: var(--color-text); margin: 0; }
.contact-detail a { color: var(--color-accent); font-weight: 500; }
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrapper iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ===== SUPPORT ===== */
.download-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.download-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; transition: box-shadow .2s, transform .2s; }
.download-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.download-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-text-muted);
}
.download-card__icon svg { width: 28px; height: 28px; }
.download-card h4 { margin-bottom: .5rem; }
.download-card p { font-size: .85rem; margin-bottom: 1.25rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb__sep { color: var(--color-border); }

/* ===== TRY IT OUT WIZARD ===== */
.demo-page {
    min-height: calc(100vh - var(--nav-height));
    padding-block: clamp(3rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 12% 16%, rgba(26,174,228,.18), transparent 28rem),
        linear-gradient(135deg, #071426 0%, #0f2036 55%, #0b2f48 100%);
}
.demo-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.demo-intro { color: var(--color-white); }
.demo-intro .section-label { color: #67d6f5; }
.demo-intro h1 { max-width: 600px; margin-bottom: 1.25rem; font-size: clamp(2.65rem, 6vw, 5rem); }
.demo-intro > p { max-width: 560px; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.demo-back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: 3rem; color: rgba(255,255,255,.65); font-size: .9rem; }
.demo-back:hover { color: var(--color-white); }
.demo-back svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.demo-intro__points { margin-top: 3rem; display: grid; gap: .9rem; }
.demo-intro__points div { display: flex; align-items: center; gap: 1rem; }
.demo-intro__points span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(103,214,245,.35); border-radius: 50%; color: #67d6f5; font-size: .75rem; font-weight: 700; }
.demo-intro__points p { color: rgba(255,255,255,.86); font-size: .95rem; }
.demo-card { min-height: 610px; padding: clamp(1.5rem, 4vw, 3rem); background: var(--color-white); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.28); display: flex; flex-direction: column; justify-content: center; }
.demo-progress { margin-bottom: 2.5rem; }
.demo-progress__meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; font-size: .8rem; font-weight: 600; color: var(--color-text-muted); }
.demo-progress__meta span:last-child { color: var(--color-accent-hover); }
.demo-progress__track { height: 4px; overflow: hidden; border-radius: 10px; background: var(--color-border); }
.demo-progress__track span { display: block; width: 33.333%; height: 100%; background: var(--color-accent); transition: width .3s ease; }
.demo-step { border: 0; min-width: 0; }
.demo-step[hidden] { display: none; }
.demo-step legend { width: 100%; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.demo-step__hint { margin: .6rem 0 2rem; }
.field-group { margin-bottom: 1.25rem; }
.field-group label { display: block; margin-bottom: .45rem; font-size: .88rem; font-weight: 600; color: var(--color-text); }
.field-group input,
.field-group select { width: 100%; min-height: 50px; padding: .78rem .9rem; border: 1px solid #cbd5e1; border-radius: var(--radius-md); background: var(--color-white); color: var(--color-text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field-group input:focus,
.field-group select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(26,174,228,.16); }
.field-group input[aria-invalid="true"] { border-color: #dc2626; }
.field-error { display: block; min-height: 1.25rem; margin-top: .3rem; color: #b91c1c; font-size: .8rem; }
.demo-validation-summary { margin-bottom: 1rem; color: #b91c1c; font-size: .88rem; }
.demo-validation-summary:empty { display: none; }
.demo-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.demo-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 2rem; }
.demo-actions [data-back] { margin-right: auto; }
.demo-actions .btn { min-height: 48px; }
.demo-actions .btn:disabled { opacity: .65; cursor: wait; }
.demo-review { border-top: 1px solid var(--color-border); }
.demo-review div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--color-border); }
.demo-review dt { color: var(--color-text-muted); font-size: .85rem; }
.demo-review dd { overflow-wrap: anywhere; font-weight: 600; }
.demo-privacy { margin-top: 1.25rem; font-size: .78rem; line-height: 1.6; }
.demo-success { text-align: center; outline: none; }
.demo-success__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--color-accent-light); color: var(--color-accent); }
.demo-success__icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-success__eyebrow { display: block; margin-bottom: .6rem; color: var(--color-accent-hover); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.demo-success h2 { margin-bottom: .8rem; }
.demo-success > p { margin: 0 auto 1.5rem; max-width: 480px; }
.demo-success__note { display: flex; gap: .9rem; margin: 0 0 2rem; padding: 1rem; border-radius: var(--radius-md); background: var(--color-bg-alt); text-align: left; }
.demo-success__note svg { flex: 0 0 22px; width: 22px; fill: none; stroke: var(--color-accent); stroke-width: 1.8; }
.demo-success__note p { font-size: .86rem; line-height: 1.6; }

/* ===== BLOG ===== */
.blog-meta { display: flex; gap: 1rem; align-items: center; font-size: .8rem; color: var(--color-text-muted); margin-bottom: .75rem; flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: .3rem; }
.blog-post { max-width: 760px; }
.blog-post h1 { margin-bottom: 1rem; }
.blog-post .blog-meta { margin-bottom: 2rem; }
.blog-post p { margin-bottom: 1.25rem; font-size: 1.05rem; color: var(--color-text); }
.blog-post img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-block: 2rem; width: 100%; }

/* ===== FOOTER ===== */
.footer { background: var(--color-bg-dark); color: rgba(255,255,255,.6); padding-block: 4rem 2rem; }
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 2rem;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    text-decoration: none;
}
.footer__logo img {
    height: 32px;
    width: auto;
    display: block;
    border-radius: 3px;
}
.footer__logotext {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1;
}
.footer__brand p { font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer__social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    transition: background .15s, color .15s;
}
.footer__social a:hover { background: var(--color-accent); color: var(--color-white); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h5 { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-white); margin-bottom: 1rem; }
.footer__col a { display: block; font-size: .875rem; color: rgba(255,255,255,.6); padding-block: .3rem; transition: color .15s; }
.footer__col a:hover { color: var(--color-white); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; flex-wrap: wrap; gap: 1rem; }
.footer__bottom a { color: rgba(255,255,255,.4); }
.footer__bottom a:hover { color: rgba(255,255,255,.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__image { display: none; }
    .module-layout { grid-template-columns: 1fr; }
    .module-sidebar { position: static; display: flex; flex-wrap: wrap; gap: .5rem; }
    .module-sidebar h4 { width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer__brand { grid-column: 1 / -1; }
    .demo-shell { grid-template-columns: 1fr; gap: 2.5rem; }
    .demo-intro { text-align: center; }
    .demo-intro > p { margin-inline: auto; }
    .demo-intro__points { max-width: 460px; margin-inline: auto; text-align: left; }
    .demo-back { margin-bottom: 2rem; }
}
@media (max-width: 640px) {
    .nav__links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); padding: 1rem; box-shadow: var(--shadow-md); }
    .nav__links.open { display: flex; }
    .nav__hamburger { display: flex; }
    .nav__links .nav__cta { margin-left: 0; margin-top: .35rem; text-align: center; }
    .footer__grid { grid-template-columns: 1fr; }
    .cta-strip { padding-block: 3rem; }
    .section { padding-block: 3.5rem; }
    .demo-page { padding-block: 2.5rem; }
    .demo-card { min-height: 0; padding: 1.35rem; border-radius: 18px; }
    .demo-intro h1 { font-size: 2.5rem; }
    .demo-intro__points { margin-top: 2rem; }
    .demo-actions { flex-wrap: wrap; }
    .demo-actions .btn { justify-content: center; }
    .demo-actions [data-next], .demo-actions [data-submit] { flex: 1; }
}

/* ===== CONTACT FORM (/kontakt) ===== */
.hero--overlap { padding-bottom: 6.5rem; }
.cf {
    --color-error: #e5484d;
    --color-ok: #22c55e;
    --ease: cubic-bezier(.2,.8,.2,1);
}
.cf .form-error { background: #fef2f2; color: #b42318; border: 1px solid #fecdd3; border-radius: var(--radius-md); padding: .75rem 1rem; font-size: .9rem; margin-bottom: 1.1rem; }
.cf .form-error[hidden] { display: none; }
.cf .map-wrapper { margin-top: 2rem; border-radius: 20px; }
.cf .map-wrapper iframe { height: 320px; }
.cf {
    margin-top:-4.5rem;
    position:relative;
    z-index:2;
    padding-bottom:5rem;
}
.cf .stage__grid {
    display:grid;
    grid-template-columns:5fr 7fr;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 30px 80px -20px rgba(15,23,42,.35),0 8px 20px rgba(15,23,42,.08);
}
/* left: dark info panel */
.cf .info {
    position:relative;
    background:var(--color-bg-dark);
    color:#fff;
    padding:clamp(1.75rem,4vw,3rem);
    overflow:hidden;
    isolation:isolate;
    display:flex;
    flex-direction:column;
}
.cf .info::before, .cf .info::after {
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(60px);
    z-index:-1;
    animation:cf-drift 14s ease-in-out infinite alternate;
}
.cf .info::before {
    width:340px;
    height:340px;
    background:rgba(26,174,228,.45);
    top:-120px;
    right:-100px;
}
.cf .info::after {
    width:280px;
    height:280px;
    background:rgba(99,102,241,.35);
    bottom:-110px;
    left:-90px;
    animation-duration:18s;
    animation-direction:alternate-reverse;
}
@keyframes cf-drift {to{transform:translate(-50px,40px) scale(1.15)}}
.cf .info .grid-bg {
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.5;
    background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
    background-size:32px 32px;
    mask-image:radial-gradient(ellipse at 30% 20%,#000 0%,transparent 75%);
}
.cf .info h2 {
    font-size:clamp(1.5rem,3vw,2rem);
    margin-bottom:.75rem;
}
.cf .info>p {
    color:rgba(255,255,255,.7);
    margin-bottom:2rem;
}
.cf .status {
    display:inline-flex;
    align-items:center;
    gap:.6rem;
    font-size:.8rem;
    font-weight:600;
    padding:.4rem .85rem;
    border-radius:99px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    margin-bottom:1.5rem;
    align-self:flex-start;
}
.cf .status .dot {
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--color-ok);
    position:relative;
}
.cf .status .dot::after {
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    background:var(--color-ok);
    animation:cf-ping 2s var(--ease) infinite;
}
@keyframes cf-ping {to{transform:scale(3.2);opacity:0}}
.cf .detail {
    display:flex;
    gap:1rem;
    align-items:center;
    padding:.85rem 1rem;
    margin:0 -1rem;
    border-radius:var(--radius-md);
    color:#fff;
    transition:background .25s,transform .25s var(--ease);
}
.cf .detail:hover {
    background:rgba(255,255,255,.07);
    transform:translateX(4px);
}
.cf .detail__icon {
    flex:none;
    width:42px;
    height:42px;
    border-radius:var(--radius-md);
    background:rgba(26,174,228,.16);
    color:var(--color-accent);
    display:grid;
    place-items:center;
    transition:background .25s,color .25s;
}
.cf .detail:hover .detail__icon {
    background:var(--color-accent);
    color:#fff;
}
.cf .detail svg {
    width:20px;
    height:20px;
}
.cf .detail small {
    display:block;
    font-size:.7rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:rgba(255,255,255,.5);
}
.cf .detail span {
    font-weight:600;
}
.cf .info__foot {
    margin-top:auto;
    padding-top:2rem;
    font-size:.85rem;
    color:rgba(255,255,255,.5);
    display:flex;
    align-items:center;
    gap:.6rem;
}
.cf .info__foot svg {
    width:16px;
    height:16px;
    flex:none;
}
/* right: form card */
.cf .form-card {
    background:#fff;
    padding:clamp(1.75rem,4vw,3rem);
    position:relative;
}
.cf .line {
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:4px;
    background:var(--color-border);
    overflow:hidden;
}
.cf .line__fill {
    height:100%;
    width:0;
    background:linear-gradient(90deg,var(--color-accent),#6366f1);
    transition:width .6s var(--ease);
    position:relative;
}
.cf .line__fill::after {
    content:"";
    position:absolute;
    right:0;
    top:0;
    width:40px;
    height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.9));
    animation:cf-shine 1.6s linear infinite;
}
@keyframes cf-shine {from{transform:translateX(-40px);opacity:0}30%{opacity:1}to{transform:translateX(0);opacity:0}}
.cf .form-card h3 {
    font-size:1.5rem;
    margin-bottom:.35rem;
}
.cf .form-card .sub {
    margin-bottom:1.75rem;
    font-size:.95rem;
}
.cf .topics {
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    margin-bottom:1.75rem;
}
.cf .topics input {
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.cf .topics label {
    cursor:pointer;
    font-size:.85rem;
    font-weight:600;
    padding:.55rem 1rem;
    border-radius:99px;
    border:1.5px solid var(--color-border);
    color:var(--color-text-muted);
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    transition:all .25s var(--ease);
    user-select:none;
}
.cf .topics label:hover {
    border-color:var(--color-accent);
    color:var(--color-accent);
}
.cf .topics input:checked+label {
    background:var(--color-accent);
    border-color:var(--color-accent);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 6px 16px -4px rgba(26,174,228,.6);
}
.cf .topics input:focus-visible+label {
    outline:3px solid rgba(26,174,228,.35);
    outline-offset:2px;
}
.cf .row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.1rem;
}
.cf .field {
    position:relative;
    margin-bottom:1.1rem;
}
.cf .field input, .cf .field textarea {
    width:100%;
    font:400 1rem var(--font-sans);
    color:var(--color-text);
    background:var(--color-bg-alt);
    border:1.5px solid transparent;
    border-radius:var(--radius-md);
    padding:1.5rem 2.6rem .6rem 1rem;
    outline:none;
    transition:border-color .2s,background .2s,box-shadow .2s;
}
.cf .field textarea {
    resize:none;
    min-height:130px;
    line-height:1.6;
    padding-top:1.7rem;
}
.cf .field label {
    position:absolute;
    left:1rem;
    top:1.05rem;
    color:var(--color-text-muted);
    pointer-events:none;
    transform-origin:left top;
    transition:transform .25s var(--ease),color .2s;
    font-size:1rem;
}
.cf .field input:focus, .cf .field textarea:focus {
    background:#fff;
    border-color:var(--color-accent);
    box-shadow:0 0 0 4px rgba(26,174,228,.15);
}
.cf .field input:focus+label, .cf .field input:not(:placeholder-shown)+label, .cf .field textarea:focus+label, .cf .field textarea:not(:placeholder-shown)+label {
    transform:translateY(-.7rem) scale(.75);
    color:var(--color-accent);
}
.cf .field .state {
    position:absolute;
    right:.9rem;
    top:1.15rem;
    width:20px;
    height:20px;
    opacity:0;
    transform:scale(.4);
    transition:all .3s var(--ease);
}
.cf .field.valid .state {
    opacity:1;
    transform:none;
    color:var(--color-ok);
}
.cf .field.valid input {
    background:#fff;
    border-color:rgba(34,197,94,.45);
}
.cf .field.invalid input, .cf .field.invalid textarea {
    border-color:var(--color-error);
    background:#fff;
    animation:cf-shake .4s;
}
.cf .field.invalid label {
    color:var(--color-error)!important;
}
.cf .field .err {
    display:block;
    max-height:0;
    overflow:hidden;
    font-size:.78rem;
    color:var(--color-error);
    padding-left:.25rem;
    transition:max-height .25s,margin .25s;
}
.cf .field.invalid .err {
    max-height:24px;
    margin-top:.3rem;
}
@keyframes cf-shake {20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
.cf .count {
    position:absolute;
    right:.9rem;
    bottom:.55rem;
    font-size:.7rem;
    color:var(--color-text-muted);
    opacity:.7;
}
.cf .consent {
    display:flex;
    gap:.7rem;
    align-items:flex-start;
    font-size:.82rem;
    color:var(--color-text-muted);
    margin:.4rem 0 1.5rem;
    cursor:pointer;
}
.cf .consent input {
    position:absolute;
    opacity:0;
}
.cf .consent .box {
    flex:none;
    width:20px;
    height:20px;
    border-radius:6px;
    border:1.5px solid var(--color-border);
    display:grid;
    place-items:center;
    transition:all .2s;
    margin-top:1px;
}
.cf .consent .box svg {
    width:12px;
    height:12px;
    stroke:#fff;
    stroke-width:3;
    fill:none;
    stroke-dasharray:20;
    stroke-dashoffset:20;
    transition:stroke-dashoffset .3s .05s;
}
.cf .consent input:checked+.box {
    background:var(--color-accent);
    border-color:var(--color-accent);
}
.cf .consent input:checked+.box svg {
    stroke-dashoffset:0;
}
.cf .consent input:focus-visible+.box {
    outline:3px solid rgba(26,174,228,.35);
    outline-offset:2px;
}
.cf .consent.invalid .box {
    border-color:var(--color-error);
    animation:cf-shake .4s;
}
.cf .hp {
    position:absolute;
    left:-9999px;
}
/* submit button that morphs */
.cf .send {
    position:relative;
    width:100%;
    height:56px;
    border:0;
    border-radius:var(--radius-md);
    background:var(--color-accent);
    color:#fff;
    font:600 1rem var(--font-sans);
    cursor:pointer;
    overflow:hidden;
    transition:background .3s,transform .2s var(--ease),box-shadow .3s,width .5s var(--ease),border-radius .5s var(--ease);
}
.cf .send:hover {
    background:var(--color-accent-hover);
    box-shadow:0 10px 24px -6px rgba(26,174,228,.6);
    transform:translateY(-2px);
}
.cf .send:active {
    transform:translateY(0);
}
.cf .send .lbl {
    display:inline-flex;
    align-items:center;
    gap:.6rem;
    transition:transform .35s var(--ease),opacity .25s;
}
.cf .send .lbl svg {
    width:18px;
    height:18px;
    transition:transform .35s var(--ease);
}
.cf .send:hover .lbl svg {
    transform:translate(4px,-4px);
}
.cf .send .spin, .cf .send .done {
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    opacity:0;
    pointer-events:none;
}
.cf .send .spin i {
    width:24px;
    height:24px;
    border:3px solid rgba(255,255,255,.35);
    border-top-color:#fff;
    border-radius:50%;
    animation:cf-rot .7s linear infinite;
}
@keyframes cf-rot {to{transform:rotate(360deg)}}
.cf .send .done svg {
    width:28px;
    height:28px;
    stroke:#fff;
    stroke-width:3;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray:30;
    stroke-dashoffset:30;
}
.cf .send.loading {
    width:56px;
    margin-inline:auto;
    display:block;
    border-radius:50%;
}
.cf .send.loading .lbl {
    opacity:0;
    transform:scale(.6);
}
.cf .send.loading .spin {
    opacity:1;
}
.cf .send.success {
    width:56px;
    margin-inline:auto;
    display:block;
    border-radius:50%;
    background:var(--color-ok);
}
.cf .send.success .lbl, .cf .send.success .spin {
    opacity:0;
}
.cf .send.success .done {
    opacity:1;
}
.cf .send.success .done svg {
    animation:cf-draw .5s .15s var(--ease) forwards;
}
@keyframes cf-draw {to{stroke-dashoffset:0}}
/* success panel */
.cf .thanks {
    display:none;
    text-align:center;
    padding:2rem 0;
    animation:cf-rise .6s var(--ease) both;
}
.cf .form-card.sent form {
    display:none;
}
.cf .form-card.sent .thanks {
    display:block;
}
@keyframes cf-rise {from{opacity:0;transform:translateY(16px)}}
.cf .thanks .ring {
    width:84px;
    height:84px;
    margin:0 auto 1.5rem;
    border-radius:50%;
    background:rgba(34,197,94,.12);
    display:grid;
    place-items:center;
    position:relative;
}
.cf .thanks .ring::after {
    content:"";
    position:absolute;
    inset:-10px;
    border-radius:50%;
    border:2px solid rgba(34,197,94,.3);
    animation:cf-ping 2s var(--ease) 2;
}
.cf .thanks .ring svg {
    width:38px;
    height:38px;
    stroke:var(--color-ok);
    stroke-width:3;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray:30;
    stroke-dashoffset:30;
    animation:cf-draw .6s .3s var(--ease) forwards;
}
.cf .thanks h3 {
    font-size:1.75rem;
    margin-bottom:.6rem;
}
.cf .thanks p {
    max-width:380px;
    margin:0 auto 1.75rem;
}
.cf .confetti {
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
}
.cf .confetti i {
    position:absolute;
    top:30%;
    left:50%;
    width:8px;
    height:8px;
    border-radius:2px;
    opacity:0;
    animation:cf-pop 1.1s var(--ease) forwards;
}
@keyframes cf-pop {0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
/* reveal on load */
.cf .reveal {
    animation:cf-rise .8s var(--ease) both;
}
.cf .reveal.d1 {
    animation-delay:.1s;
}
.cf .reveal.d2 {
    animation-delay:.2s;
}
@media (max-width:900px) {
    .cf .stage__grid {
        grid-template-columns:1fr;
    }
    .cf .info__foot {
        display:none;
    }
}
@media (max-width:560px) {
    .cf .row {
        grid-template-columns:1fr;
        gap:0;
    }
    .cf .topics label {
        padding:.5rem .85rem;
    }
}
@media (prefers-reduced-motion:reduce) {
    .cf *, .cf *::before, .cf *::after {
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
}
