:root {
    --primary: #c20064;
    --primary-dark: #8f004a;
    --accent: #006e89;
    --highlight: #f64c18;
    --green: #6ee49e;
    --primary-text: #9f0052;
    --accent-text: #00536b;
    --sand-text: #6a4e58;
    --dark: #303034;
    --darker: #1f1f23;
    --light: #f8fbfb;
    --soft-pink: #fff3f8;
    --soft-blue: #eef9fb;
    --soft-orange: #fff6ef;
    --gray: #666a70;
    --gray-light: #e9eef0;
    --white: #ffffff;
    --primary-rgb: 194, 0, 100;
    --accent-rgb: 0, 110, 137;
    --highlight-rgb: 246, 76, 24;
    --green-rgb: 110, 228, 158;
    --ink-rgb: 31, 31, 35;
    --white-rgb: 255, 255, 255;
    --border: rgba(31, 31, 35, 0.1);
    --shadow: 0 8px 28px rgba(31, 31, 35, 0.07);
    --shadow-lg: 0 16px 48px rgba(31, 31, 35, 0.11);
    --radius: 8px;
    --transition: all 0.24s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--white);
    color: var(--dark);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.icon-svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.navbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(var(--white-rgb), 0.94);
    border-bottom: 1px solid var(--gray-light);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    width: auto;
    height: 34px;
    max-width: 178px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--dark);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

.nav-links a::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    content: "";
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-cta::after {
    display: none;
}

.nav-support {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-support svg {
    width: 17px;
    height: 17px;
}

.nav-search-item {
    flex: 0 1 218px;
}

.nav-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: min(218px, 22vw);
    min-width: 168px;
    min-height: 40px;
    padding: 0 7px 0 13px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    background: var(--light);
    transition: var(--transition);
}

.nav-search-form:focus-within {
    border-color: rgba(var(--primary-rgb), 0.34);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
}

.nav-search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--darker);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-search-form input::placeholder {
    color: var(--gray);
}

.nav-search-form > button {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--primary-text);
    cursor: pointer;
    transition: var(--transition);
}

.nav-search-form > button:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.nav-search-form > button .icon-svg {
    width: 18px;
    height: 18px;
}

.has-autocomplete {
    position: relative;
}

.search-autocomplete {
    position: absolute;
    z-index: 1300;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(420px, calc(100vh - 120px));
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.nav-search-form .search-autocomplete {
    right: auto;
    width: min(420px, calc(100vw - 32px));
}

.search-autocomplete[hidden] {
    display: none;
}

.search-autocomplete-item {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    flex: none;
    align-items: stretch;
    justify-content: stretch;
    gap: 3px;
    padding: 11px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: var(--transition);
}

.search-autocomplete-item:hover,
.search-autocomplete-item.is-active {
    background: var(--light);
}

.search-autocomplete-type {
    color: var(--primary-text);
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
}

.search-autocomplete-item strong {
    color: var(--darker);
    font-size: 0.94rem;
    line-height: 1.25;
}

.search-autocomplete-item span:last-child {
    color: var(--gray);
    font-size: 0.82rem;
    line-height: 1.35;
}

.search-autocomplete mark {
    padding: 0 2px;
    border-radius: 4px;
    background: rgba(var(--highlight-rgb), 0.14);
    color: var(--darker);
}

.search-autocomplete-empty {
    padding: 12px;
    color: var(--gray);
    font-size: 0.88rem;
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background: var(--dark);
    transition: var(--transition);
}

.hero {
    min-height: 92vh;
    padding: 150px 0 92px;
    background:
        linear-gradient(135deg, var(--white) 0%, var(--soft-pink) 44%, var(--soft-blue) 100%),
        repeating-linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 0 1px, transparent 1px 96px),
        repeating-linear-gradient(0deg, rgba(var(--primary-rgb), 0.03) 0 1px, transparent 1px 96px);
    color: var(--darker);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: 64px;
    align-items: center;
}

.eyebrow,
.section-label,
.page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 14px;
    color: var(--primary-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.ai-highlight .section-label,
.system-highlight .section-label,
.page-hero .page-kicker,
.section-dark .section-label {
    color: var(--primary-text);
}

.hero h1,
.page-hero h1 {
    max-width: 780px;
    color: var(--darker);
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    font-weight: 900;
    line-height: 1.08;
}

.hero h1 span {
    color: var(--primary);
}

.hero-lead,
.page-lead {
    max-width: 680px;
    margin-top: 24px;
    color: var(--gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-actions,
.section-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    white-space: normal;
}

.btn svg {
    width: 19px;
    height: 19px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(var(--ink-rgb), 0.18);
    color: var(--darker);
}

.btn-outline:hover {
    border-color: rgba(var(--primary-rgb), 0.36);
    background: rgba(var(--primary-rgb), 0.05);
}

.btn-light {
    border-color: var(--border);
    background: var(--white);
    color: var(--darker);
}

.btn-light:hover {
    border-color: rgba(var(--primary-rgb), 0.48);
    color: var(--primary-text);
    transform: translateY(-2px);
}

.system-panel {
    border: 1px solid rgba(var(--ink-rgb), 0.1);
    border-radius: var(--radius);
    background: rgba(var(--white-rgb), 0.9);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.panel-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.panel-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
}

.panel-dot:nth-child(2) {
    background: var(--accent);
}

.panel-dot:nth-child(3) {
    background: var(--highlight);
}

.panel-title {
    margin-left: 8px;
    color: var(--gray);
    font-size: 0.83rem;
    font-weight: 700;
}

.panel-body {
    padding: 22px;
}

.panel-metric {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.panel-metric:last-child {
    border-bottom: 0;
}

.panel-metric strong {
    display: block;
    color: var(--darker);
    font-size: 1rem;
    line-height: 1.25;
}

.panel-metric span {
    display: block;
    margin-top: 2px;
    color: var(--gray);
    font-size: 0.82rem;
}

.panel-value {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 900;
    white-space: nowrap;
}

.stats {
    position: relative;
    z-index: 2;
    margin-top: -44px;
    padding: 0 0 72px;
}

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

.stat-card {
    min-height: 148px;
    padding: 28px 20px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    color: var(--primary-text);
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    margin-top: 9px;
    color: var(--gray);
    font-size: 0.94rem;
    font-weight: 600;
}

.ai-highlight {
    padding: 94px 0;
    background:
        linear-gradient(135deg, var(--white) 0%, var(--soft-blue) 58%, var(--soft-pink) 100%),
        repeating-linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 0 1px, transparent 1px 92px);
    color: var(--darker);
}

.ai-highlight-layout,
.ai-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    gap: 52px;
    align-items: start;
}

.ai-highlight h2 {
    max-width: 660px;
    color: var(--darker);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
}

.ai-lead {
    max-width: 670px;
    margin-top: 20px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.75;
}

.ai-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(var(--accent-rgb), 0.16);
    border-radius: 999px;
    color: var(--accent-text);
    font-size: 0.82rem;
    font-weight: 750;
}

.ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.ai-agent-grid,
.ai-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ai-agent-card {
    min-height: 182px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(var(--white-rgb), 0.84);
    box-shadow: var(--shadow);
}

.ai-agent-kicker {
    margin-bottom: 10px;
    color: var(--primary-text);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ai-highlight .ai-agent-kicker,
.home-video-block .ai-agent-kicker {
    color: var(--primary-text);
}

.ai-agent-card h3 {
    margin-bottom: 10px;
    color: var(--darker);
    font-size: 1.24rem;
}

.ai-agent-card p {
    color: var(--gray);
    font-size: 0.92rem;
}

.home-video-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.36fr) minmax(320px, 0.64fr);
    gap: 28px;
    align-items: center;
    margin-top: 10px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(var(--white-rgb), 0.84);
    box-shadow: var(--shadow);
}

.home-video-copy h3 {
    margin-bottom: 10px;
    color: var(--darker);
    font-size: 1.38rem;
    line-height: 1.25;
}

.home-video-copy p,
.home-video-fallback {
    color: var(--gray);
}

.home-video-frame {
    width: 100%;
    box-shadow: 0 18px 46px rgba(var(--ink-rgb), 0.24);
}

.home-video-fallback {
    grid-column: 2;
    margin-top: -12px;
    text-align: left;
}

.ai-page-hero .page-lead {
    max-width: 780px;
}

.ai-video-section {
    scroll-margin-top: 88px;
}

.video-frame {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--darker);
    box-shadow: var(--shadow-lg);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback {
    margin-top: 16px;
    color: var(--gray);
    font-size: 0.92rem;
    text-align: center;
}

.video-fallback a {
    color: var(--primary-text);
    font-weight: 800;
    text-decoration: none;
}

.video-fallback a:hover {
    color: var(--sand-text);
}

.efaktura-highlight {
    padding: 92px 0;
    background:
        linear-gradient(135deg, var(--white) 0%, var(--soft-orange) 54%, var(--soft-blue) 100%),
        repeating-linear-gradient(90deg, rgba(var(--highlight-rgb), 0.035) 0 1px, transparent 1px 96px);
    color: var(--darker);
}

.efaktura-highlight-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
    gap: 48px;
    align-items: center;
}

.efaktura-highlight h2 {
    max-width: 720px;
    color: var(--darker);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
}

.efaktura-lead {
    max-width: 720px;
    margin-top: 20px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.75;
}

.efaktura-panel {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(var(--white-rgb), 0.86);
    box-shadow: var(--shadow-lg);
}

.efaktura-date {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--soft-pink);
    color: var(--primary-text);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.efaktura-panel h3 {
    margin-top: 18px;
    color: var(--darker);
    font-size: 1.4rem;
    line-height: 1.22;
}

.efaktura-panel p {
    margin-top: 10px;
    color: var(--gray);
}

.efaktura-flow-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    list-style: none;
}

.efaktura-flow-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    color: var(--darker);
    font-weight: 700;
}

.efaktura-flow-list .icon-svg {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--primary-text);
}

.efaktura-module-grid,
.efaktura-process-grid {
    display: grid;
    gap: 18px;
}

.efaktura-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exchange-module-card,
.efaktura-process-card,
.efaktura-note {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 6px 22px rgba(var(--ink-rgb), 0.04);
}

.exchange-module-card h3,
.efaktura-process-card h3 {
    margin-bottom: 10px;
    color: var(--darker);
    font-size: 1.08rem;
    line-height: 1.25;
}

.exchange-module-card p,
.efaktura-process-card p,
.efaktura-note p {
    color: var(--gray);
    font-size: 0.94rem;
}

.efaktura-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.efaktura-process-card ol {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-left: 20px;
    color: var(--gray);
}

.efaktura-note {
    margin-top: 28px;
    background: var(--soft-blue);
}

.efaktura-note strong {
    color: var(--accent-text);
}

.ai-detail-card {
    min-height: 360px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.ai-detail-card h3 {
    margin-bottom: 12px;
    color: var(--darker);
    font-size: 1.18rem;
    line-height: 1.32;
}

.ai-detail-card p {
    color: var(--gray);
    font-size: 0.94rem;
}

.ai-feature-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    list-style: none;
}

.ai-feature-list li {
    position: relative;
    padding-left: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.ai-feature-list li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    content: "";
}

section,
.section {
    padding: 92px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--soft-blue);
    color: var(--darker);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-header h2 {
    color: var(--darker);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 850;
    line-height: 1.18;
}

.section-dark .section-header h2 {
    color: var(--darker);
}

.section-header p {
    margin-top: 16px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.75;
}

.section-dark .section-header p {
    color: var(--gray);
}

.system-highlight {
    padding: 96px 0;
    background:
        linear-gradient(135deg, var(--white) 0%, var(--soft-pink) 48%, var(--soft-blue) 100%),
        repeating-linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 0 1px, transparent 1px 92px);
    color: var(--darker);
}

.system-highlight-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 64px;
    align-items: start;
}

.system-highlight h2 {
    max-width: 720px;
    color: var(--darker);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
}

.system-highlight-copy p {
    margin-bottom: 16px;
    color: var(--gray);
}

.system-highlight-copy .system-lead {
    margin-top: 20px;
    color: var(--darker);
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.75;
}

.system-highlight .check-item {
    border-color: var(--border);
    background: rgba(var(--white-rgb), 0.84);
    color: var(--darker);
    box-shadow: var(--shadow);
}

.system-highlight-grid .info-card {
    border-color: var(--border);
    background: rgba(var(--white-rgb), 0.84);
    box-shadow: var(--shadow);
}

.system-highlight-grid .info-card h4 {
    color: var(--darker);
}

.system-highlight-grid .info-card p {
    color: var(--gray);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 64px;
    align-items: start;
}

.copy h3 {
    margin-bottom: 14px;
    color: var(--darker);
    font-size: 1.45rem;
}

.copy p {
    margin-bottom: 16px;
    color: var(--gray);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 54px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--darker);
    font-size: 0.92rem;
    font-weight: 650;
}

.check-item svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.info-card {
    min-height: 168px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.info-icon,
.module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.info-card h4 {
    margin-bottom: 8px;
    color: var(--darker);
    font-size: 1.05rem;
}

.info-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.module-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 28px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.module-card:hover {
    border-color: rgba(var(--primary-rgb), 0.38);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.module-card h3 {
    margin-bottom: 9px;
    color: var(--darker);
    font-size: 1.08rem;
    line-height: 1.3;
}

.module-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

.module-card .module-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--primary-text);
    font-size: 0.88rem;
    font-weight: 800;
}

.module-card .module-more svg {
    width: 17px;
    height: 17px;
}

.module-finder,
#katalog-modulov {
    scroll-margin-top: 88px;
}

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

.module-path-card {
    display: flex;
    min-height: 236px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.module-path-kicker {
    margin-bottom: 10px;
    color: var(--primary-text);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.module-path-card h3 {
    margin-bottom: 10px;
    color: var(--darker);
    font-size: 1.12rem;
    line-height: 1.28;
}

.module-path-card p {
    color: var(--gray);
    font-size: 0.92rem;
}

.module-path-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.module-path-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.045);
    color: var(--primary-text);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.module-path-links a:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.08);
}

.module-helper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--soft-pink);
}

.module-helper strong,
.module-helper span {
    display: block;
}

.module-helper strong {
    color: var(--darker);
    font-size: 1rem;
}

.module-helper span {
    margin-top: 3px;
    color: var(--gray);
    font-size: 0.9rem;
}

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

.tech-card {
    min-height: 174px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.tech-card h3 {
    margin: 12px 0 8px;
    color: var(--darker);
    font-size: 1rem;
}

.tech-card p {
    color: var(--gray);
    font-size: 0.88rem;
}

.ref-card {
    min-height: 142px;
    padding: 24px;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.ref-label {
    margin-bottom: 8px;
    color: var(--primary-text);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ref-name {
    margin-bottom: 4px;
    color: var(--darker);
    font-size: 1.05rem;
    font-weight: 800;
}

.ref-detail {
    color: var(--gray);
    font-size: 0.9rem;
}

.reference-segments {
    margin-top: 42px;
}

.reference-segments-header {
    max-width: 780px;
    margin-bottom: 22px;
}

.reference-segments-header h3 {
    margin-bottom: 8px;
    color: var(--darker);
    font-size: 1.45rem;
    line-height: 1.25;
}

.reference-segments-header p {
    color: var(--gray);
    font-size: 0.96rem;
}

.reference-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.reference-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid rgba(var(--ink-rgb), 0.12);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--darker);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    transition: var(--transition);
}

.reference-tab:hover {
    border-color: rgba(var(--primary-rgb), 0.34);
    color: var(--primary-text);
}

.reference-tab.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.18);
}

.reference-panels {
    min-height: 210px;
}

.reference-panel[hidden] {
    display: none;
}

.reference-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    gap: 48px;
    align-items: stretch;
}

.contact-info h3 {
    margin-bottom: 26px;
    color: var(--darker);
    font-size: 1.35rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.14);
    color: var(--primary-text);
}

.contact-label {
    margin-bottom: 3px;
    color: var(--gray);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-value,
.contact-value a {
    color: var(--darker);
    font-weight: 700;
    text-decoration: none;
}

.contact-value a:hover {
    color: var(--primary-text);
}

.contact-map {
    min-height: 380px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--gray-light);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.page-hero {
    padding: 134px 0 74px;
    background:
        linear-gradient(135deg, var(--white) 0%, var(--soft-pink) 48%, var(--soft-blue) 100%),
        repeating-linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 0 1px, transparent 1px 96px);
    color: var(--darker);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--gray);
    font-size: 0.88rem;
}

.breadcrumbs a {
    color: var(--darker);
    text-decoration: none;
}

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

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    border-radius: 999px;
    background: rgba(var(--white-rgb), 0.64);
    color: var(--accent-text);
    font-size: 0.83rem;
    font-weight: 700;
    max-width: 100%;
}

.search-hero {
    padding-bottom: 54px;
}

.search-page-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 760px;
    gap: 12px;
    margin-top: 30px;
    padding: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.16);
    border-radius: var(--radius);
    background: rgba(var(--white-rgb), 0.82);
    box-shadow: var(--shadow);
}

.search-page-form .search-autocomplete {
    top: calc(100% + 10px);
}

.search-page-form input {
    min-height: 52px;
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--darker);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
}

.search-page-form input::placeholder {
    color: var(--gray);
}

.search-section {
    padding: 64px 0 86px;
}

.search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    color: var(--gray);
    font-size: 0.96rem;
}

.search-summary strong {
    color: var(--darker);
}

.search-results {
    display: grid;
    gap: 16px;
    max-width: 900px;
}

.search-result-card {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 6px 22px rgba(var(--ink-rgb), 0.04);
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.search-result-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--accent-text);
    font-size: 0.76rem;
    font-weight: 800;
}

.search-result-meta span:first-child {
    background: var(--soft-pink);
    color: var(--primary-text);
}

.search-result-card h2 {
    margin-bottom: 4px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.search-result-card h2 a {
    color: var(--darker);
    text-decoration: none;
}

.search-result-card h2 a:hover {
    color: var(--primary-text);
}

.search-result-url {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent-text);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.search-result-card p {
    color: var(--gray);
    font-size: 0.96rem;
}

.search-result-card mark {
    padding: 0 2px;
    border-radius: 4px;
    background: rgba(var(--highlight-rgb), 0.14);
    color: var(--darker);
}

.search-empty {
    max-width: 760px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light);
}

.search-empty h2 {
    margin-bottom: 8px;
    color: var(--darker);
    font-size: 1.45rem;
}

.search-empty p {
    color: var(--gray);
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.search-suggestions button {
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 999px;
    background: var(--white);
    color: var(--primary-text);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.search-suggestions button:hover {
    border-color: rgba(var(--primary-rgb), 0.34);
    background: var(--soft-pink);
}

.detail-section {
    padding: 82px 0;
    scroll-margin-top: 88px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 46px;
    align-items: start;
}

.detail-main h2 {
    margin-bottom: 16px;
    color: var(--darker);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.2;
}

.detail-main > p {
    max-width: 780px;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 1.02rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 44px;
}

.feature-card {
    min-height: 154px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
}

.feature-link-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.feature-link-card:hover {
    border-color: rgba(var(--primary-rgb), 0.34);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--darker);
    font-size: 1rem;
    line-height: 1.35;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

.feature-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary-text);
    font-size: 0.84rem;
    font-weight: 800;
}

.feature-more svg {
    width: 16px;
    height: 16px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0 44px;
}

.benefit {
    min-height: 118px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--light);
    color: var(--darker);
    font-size: 0.92rem;
    font-weight: 700;
}

.side-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light);
}

.side-panel h2,
.side-panel h3 {
    margin-bottom: 14px;
    color: var(--darker);
    font-size: 1.05rem;
}

.side-panel p {
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 0.9rem;
}

.plain-list,
.side-list {
    list-style: none;
}

.plain-list {
    display: grid;
    gap: 10px;
    margin-bottom: 42px;
}

.plain-list li,
.side-list li {
    position: relative;
    padding-left: 20px;
    color: var(--gray);
    font-size: 0.93rem;
}

.plain-list li::before,
.side-list li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    content: "";
}

.side-list {
    display: grid;
    gap: 11px;
    margin-bottom: 24px;
}

.related-submodules a {
    color: var(--darker);
    font-weight: 700;
    text-decoration: none;
}

.related-submodules a:hover {
    color: var(--primary-text);
}

.side-panel-link {
    width: 100%;
    margin-bottom: 24px;
}

.cta-band {
    padding: 54px 0;
    background: var(--soft-pink);
    color: var(--darker);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-content h2 {
    max-width: 680px;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.18;
}

.cta-content p {
    max-width: 620px;
    margin-top: 10px;
    color: var(--gray);
}

.gdpr-section {
    padding: 86px 0;
    background: var(--light);
    scroll-margin-top: 88px;
}

.gdpr-content {
    display: none;
    margin-top: 34px;
}

.gdpr-page .gdpr-content {
    margin-top: 0;
}

.gdpr-section.is-visible .gdpr-content,
.gdpr-section:target .gdpr-content {
    display: block;
}

.gdpr-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.gdpr-header h2 {
    color: var(--darker);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.18;
}

.gdpr-header p {
    max-width: 720px;
    margin-top: 12px;
    color: var(--gray);
    font-size: 1.02rem;
}

.gdpr-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.gdpr-close,
.gdpr-section.is-visible .gdpr-open,
.gdpr-section:target .gdpr-open {
    display: none;
}

.gdpr-section.is-visible .gdpr-close,
.gdpr-section:target .gdpr-close {
    display: inline-flex;
}

.gdpr-open,
.gdpr-close {
    flex: 0 0 auto;
}

.gdpr-layout,
.gdpr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gdpr-grid {
    margin-top: 18px;
}

.gdpr-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.gdpr-card h3,
.gdpr-block h3 {
    margin-bottom: 12px;
    color: var(--darker);
    font-size: 1.13rem;
    line-height: 1.3;
}

.gdpr-card p,
.gdpr-card li,
.gdpr-purpose-body p,
.gdpr-office {
    color: var(--gray);
    font-size: 0.93rem;
}

.gdpr-card p + p {
    margin-top: 12px;
}

.gdpr-card a {
    color: var(--primary-text);
    font-weight: 700;
    text-decoration: none;
}

.gdpr-card a:hover {
    color: var(--sand-text);
}

.gdpr-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.gdpr-list li {
    position: relative;
    padding-left: 20px;
}

.gdpr-list li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    content: "";
}

.gdpr-block {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.gdpr-purpose-list {
    display: grid;
    gap: 10px;
}

.gdpr-purpose-list details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light);
    overflow: hidden;
}

.gdpr-purpose-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 18px;
    color: var(--darker);
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: 800;
    list-style: none;
}

.gdpr-purpose-list summary::-webkit-details-marker {
    display: none;
}

.gdpr-purpose-list summary::after {
    flex: 0 0 auto;
    color: var(--primary);
    content: "+";
    font-size: 1.25rem;
    font-weight: 800;
}

.gdpr-purpose-list details[open] summary {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.gdpr-purpose-list details[open] summary::after {
    content: "-";
}

.gdpr-purpose-body {
    display: grid;
    gap: 8px;
    padding: 16px 18px 18px;
}

.gdpr-rights {
    margin-top: 18px;
}

.gdpr-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gdpr-rights-grid div {
    min-height: 116px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--light);
}

.gdpr-rights-grid strong,
.gdpr-rights-grid span {
    display: block;
}

.gdpr-rights-grid strong {
    margin-bottom: 6px;
    color: var(--darker);
    font-size: 0.94rem;
}

.gdpr-rights-grid span {
    color: var(--gray);
    font-size: 0.88rem;
}

.gdpr-office {
    margin-top: 18px;
}

.footer {
    padding: 44px 0 30px;
    background: var(--white);
    border-top: 1px solid var(--border);
    color: var(--gray);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-logo img {
    width: auto;
    height: 28px;
    max-width: 148px;
    object-fit: contain;
    filter: none;
    opacity: 0.76;
}

.footer p {
    font-size: 0.84rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.84rem;
    text-decoration: none;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1040px) {
    .hero-layout,
    .split,
    .system-highlight-layout,
    .contact-container,
    .ai-highlight-layout,
    .ai-overview-grid,
    .home-video-block,
    .efaktura-highlight-layout,
    .gdpr-layout,
    .gdpr-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .home-video-fallback {
        grid-column: 1;
    }

    .side-panel {
        position: static;
    }

    .modules-grid,
    .module-path-grid,
    .tech-grid,
    .ref-grid,
    .reference-card-grid,
    .efaktura-module-grid,
    .efaktura-process-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1120px) {
    .nav-links {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 20px 24px 24px;
        border-bottom: 1px solid var(--gray-light);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .nav-cta {
        min-height: 40px;
        align-items: center;
    }

    .nav-search-item,
    .nav-search-form {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }

    .nav-search-form .search-autocomplete {
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, 1160px);
    }

    .nav-links {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 20px 24px 24px;
        border-bottom: 1px solid var(--gray-light);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .nav-cta {
        min-height: 40px;
        align-items: center;
    }

    .nav-search-item,
    .nav-search-form {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }

    .nav-search-form .search-autocomplete {
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 118px 0 70px;
    }

    .page-hero {
        padding: 112px 0 62px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .hero-lead,
    .page-lead {
        font-size: 1rem;
    }

    .search-page-form {
        grid-template-columns: 1fr;
    }

    section,
    .section,
    .detail-section {
        padding: 68px 0;
    }

    .stats {
        margin-top: 0;
        padding: 28px 0 58px;
    }

    .stats-grid,
    .modules-grid,
    .module-path-grid,
    .tech-grid,
    .ref-grid,
    .reference-card-grid,
    .efaktura-module-grid,
    .efaktura-process-grid,
    .ai-agent-grid,
    .ai-detail-grid,
    .feature-grid,
    .benefit-grid,
    .check-grid,
    .info-grid,
    .gdpr-rights-grid {
        grid-template-columns: 1fr;
    }

    .ai-highlight .ai-agent-grid {
        display: none;
    }

    .gdpr-section {
        padding: 68px 0;
    }

    .gdpr-header {
        flex-direction: column;
    }

    .gdpr-actions,
    .gdpr-actions .btn {
        width: 100%;
    }

    .system-panel {
        display: none;
    }

    .hero-actions,
    .page-actions,
    .ai-actions,
    .section-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .page-actions .btn,
    .ai-actions .btn,
    .section-actions .btn {
        width: 100%;
    }

    .cta-content,
    .module-helper,
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .module-helper .btn {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .module-card {
        min-height: 230px;
    }
}
