:root {
    --bg-deep: #070b1f;
    --bg-mid: #0f1738;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.14);
    --text-main: #f7f8ff;
    --text-muted: #e2e7ff;
    --primary: #8c5bff;
    --primary-2: #34b3ff;
    --highlight: #ff4fd8;
    --stroke: rgba(255, 255, 255, 0.18);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
    --focus-ring: #ffd76a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    font-family: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(145, 73, 255, 0.35), transparent 55%),
        radial-gradient(900px 700px at 95% 0%, rgba(28, 155, 255, 0.25), transparent 50%),
        linear-gradient(140deg, var(--bg-deep), var(--bg-mid));
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: #d9ecff;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(255, 215, 106, 0.24);
}

.ai-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.4;
    animation: floatOrb 11s ease-in-out infinite;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: rgba(123, 82, 255, 0.8);
    top: 8%;
    left: 8%;
}

.orb-2 {
    width: 340px;
    height: 340px;
    background: rgba(31, 171, 255, 0.6);
    top: 25%;
    right: 7%;
    animation-delay: 1.2s;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: rgba(255, 79, 216, 0.45);
    bottom: 6%;
    left: 38%;
    animation-delay: 2.1s;
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.14;
    mask-image: radial-gradient(circle at 50% 20%, black 30%, transparent 80%);
}

.glass-nav {
    backdrop-filter: blur(10px);
    background: rgba(7, 10, 24, 0.55);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.glass-nav.nav-scrolled {
    background: rgba(9, 14, 34, 0.9);
    border-bottom-color: rgba(130, 164, 255, 0.25);
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.nav-logo {
    display: block;
    width: auto;
    height: 34px;
    max-width: 170px;
    object-fit: contain;
}

.brand-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 0 12px rgba(141, 91, 255, 0.9);
}

.brand-text {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.navbar-toggler-text {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.nav-link {
    color: #eef3ff;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(106, 180, 255, 0.65);
}

.btn-login {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: linear-gradient(135deg, rgba(141, 91, 255, 0.36), rgba(52, 179, 255, 0.32));
}

.btn-login:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.section {
    position: relative;
    padding-top: 96px;
    scroll-margin-top: 110px;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 90px;
}

.hero-section h1 {
    font-size: 3.25rem;
    line-height: 1.1;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f4f6ff;
    background: rgba(82, 72, 158, 0.42);
    border: 1px solid rgba(221, 226, 255, 0.42);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 15px;
}

h1,
h2,
h3 {
    letter-spacing: 0.01em;
}

.lead,
.hero-copy,
.section-intro,
p {
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    border-radius: 24px;
    padding: 12px;
    background: linear-gradient(155deg, rgba(73, 58, 166, 0.46), rgba(29, 101, 170, 0.3));
    border: 1px solid rgba(194, 191, 255, 0.3);
    box-shadow: var(--shadow);
}

.hero-image,
.detail-image {
    width: 100%;
    border-radius: 18px;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    object-fit: cover;
}

.about-image-wrap {
    display: inline-block;
    max-width: 100%;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(202, 207, 255, 0.25);
    box-shadow: var(--shadow);
}

.about-image {
    display: block;
    width: auto;
    max-width: min(100%, 460px);
    height: auto;
    border-radius: 14px;
    object-fit: contain;
}

.hero-image {
    max-height: 640px;
}

.floating-card {
    position: absolute;
    background: rgba(11, 18, 44, 0.88);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #f8fbff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.card-a {
    top: -14px;
    right: 16px;
}

.card-b {
    bottom: 14px;
    left: 14px;
}

.tag {
    font-size: 0.83rem;
    color: #f5f8ff;
    border: 1px solid rgba(214, 228, 255, 0.36);
    background: rgba(14, 20, 43, 0.72);
    border-radius: 999px;
    padding: 7px 12px;
}

.btn-gradient {
    background: linear-gradient(130deg, #6440d8, #166ec6);
    color: white;
    border: 0;
    box-shadow: 0 12px 34px rgba(45, 114, 255, 0.35);
    font-weight: 700;
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 700;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(165deg, rgba(18, 26, 58, 0.92), rgba(12, 18, 42, 0.9));
    border: 1px solid rgba(206, 212, 255, 0.25);
    border-radius: 18px;
    padding: 24px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(207, 220, 255, 0.5);
    box-shadow: 0 20px 42px rgba(26, 9, 66, 0.4);
}

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.96rem;
    color: #e3e9ff;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: linear-gradient(145deg, rgba(140, 91, 255, 0.36), rgba(52, 179, 255, 0.28));
    border: 1px solid rgba(213, 226, 255, 0.35);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #eef5ff;
}

.about-image-wrap,
.detail-image {
    box-shadow: var(--shadow);
}

@media (min-width: 992px) {
    #bemutatkozas .reveal:first-child {
        text-align: center;
    }
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.highlight-grid span {
    background: rgba(12, 18, 42, 0.88);
    border: 1px solid rgba(208, 215, 255, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    color: #f3f7ff;
    font-size: 0.93rem;
}

.contact-card,
.form-card {
    background: linear-gradient(165deg, rgba(18, 26, 58, 0.94), rgba(11, 16, 37, 0.92));
    border: 1px solid rgba(202, 207, 255, 0.28);
    border-radius: 18px;
    padding: 24px;
}

.contact-list li {
    margin-bottom: 10px;
    color: #e7ecff;
}

.form-control {
    border-radius: 10px;
    border-color: rgba(196, 211, 255, 0.38);
    background: rgba(11, 15, 36, 0.7);
    color: #f9fbff;
}

.form-control:focus {
    color: #fff;
    border-color: rgba(117, 164, 255, 0.85);
    box-shadow: 0 0 0 0.22rem rgba(87, 136, 255, 0.23);
    background: rgba(11, 15, 36, 0.9);
}

.form-label {
    color: #e5ecff;
}

.form-required-note {
    color: #edf2ff;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.form-label-required::after {
    content: " *";
    color: #ff7d96;
    font-weight: 700;
}

.form-control.is-invalid {
    border-color: rgba(255, 99, 132, 0.92);
    background: rgba(45, 11, 23, 0.7);
    box-shadow: 0 0 0 0.22rem rgba(255, 99, 132, 0.18);
}

.form-control.is-invalid:focus {
    border-color: rgba(255, 99, 132, 1);
    box-shadow: 0 0 0 0.24rem rgba(255, 99, 132, 0.22);
    background: rgba(45, 11, 23, 0.82);
}

.form-feedback {
    min-height: 1.2rem;
    margin-top: 7px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #ff9bb0;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.form-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    background: rgba(6, 9, 22, 0.75);
    border-top: 1px solid rgba(197, 207, 255, 0.22);
}

.site-footer p,
.site-footer a {
    color: #eef3ff;
}

.text-light-emphasis {
    color: #e1e7ff !important;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatOrb {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 108px;
    }

    .hero-section h1 {
        font-size: 2.7rem;
    }

    .floating-card {
        font-size: 0.8rem;
    }

    .nav-logo {
        height: 30px;
        max-width: 150px;
    }

    .brand-text {
        font-size: 0.98rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand-logo {
        gap: 8px;
    }

    .nav-logo {
        height: 26px;
        max-width: 126px;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .navbar-toggler-text {
        font-size: 0.88rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding-top: 76px;
    }

    .hero-tags {
        gap: 8px;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .contact-card,
    .form-card {
        padding: 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }
}

.dropdown-menu {
    background: rgba(11, 15, 36, 0.97);
    border: 1px solid rgba(206, 212, 255, 0.25);
    border-radius: 14px;
    padding: 8px;
    box-shadow: var(--shadow);
}

.dropdown-item {
    color: #eef3ff;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(140, 91, 255, 0.28);
    color: #ffffff;
}

.nav-link.dropdown-toggle::after {
    opacity: 0.7;
}

.seo-breadcrumb {
    padding-top: 108px;
}

.seo-breadcrumb .breadcrumb {
    margin-bottom: 0;
    padding: 10px 0;
    font-size: 0.86rem;
}

.seo-breadcrumb .breadcrumb-item,
.seo-breadcrumb .breadcrumb-item a {
    color: #cdd6ff;
}

.seo-breadcrumb .breadcrumb-item.active {
    color: #f5f7ff;
}

.seo-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #8f9bd6;
}

.page-hero-section {
    padding-top: 40px;
    padding-bottom: 70px;
}

.page-hero-section h1 {
    font-size: 2.6rem;
    line-height: 1.15;
}

.cta-banner {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(100, 64, 216, 0.32), rgba(22, 110, 198, 0.28));
    border: 1px solid rgba(206, 212, 255, 0.3);
    box-shadow: var(--shadow);
}

.process-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.process-step {
    background: linear-gradient(165deg, rgba(18, 26, 58, 0.92), rgba(12, 18, 42, 0.9));
    border: 1px solid rgba(206, 212, 255, 0.22);
    border-radius: 18px;
    padding: 22px;
}

.process-step-number {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.93rem;
    margin-bottom: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.tech-item {
    background: rgba(12, 18, 42, 0.78);
    border: 1px solid rgba(208, 215, 255, 0.22);
    border-radius: 16px;
    padding: 20px;
}

.tech-item h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.tech-item p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

.faq-accordion .accordion-item {
    background: transparent;
    border: 1px solid rgba(206, 212, 255, 0.22);
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: rgba(14, 20, 43, 0.82);
    color: #f5f8ff;
    font-weight: 700;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(140, 91, 255, 0.22);
    color: #ffffff;
}

.faq-accordion .accordion-button::after {
    filter: invert(1) brightness(2);
}

.faq-accordion .accordion-body {
    background: rgba(10, 14, 34, 0.9);
    color: #e3e9ff;
}

.related-links-card {
    background: rgba(12, 18, 42, 0.78);
    border: 1px solid rgba(208, 215, 255, 0.22);
    border-radius: 18px;
    padding: 26px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-links a {
    display: inline-block;
    font-size: 0.9rem;
    color: #f5f8ff;
    border: 1px solid rgba(214, 228, 255, 0.36);
    background: rgba(14, 20, 43, 0.72);
    border-radius: 999px;
    padding: 8px 14px;
}

.related-links a:hover {
    border-color: rgba(207, 220, 255, 0.6);
    color: #ffffff;
}

.link-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.link-card {
    display: block;
    background: linear-gradient(165deg, rgba(18, 26, 58, 0.92), rgba(12, 18, 42, 0.9));
    border: 1px solid rgba(206, 212, 255, 0.25);
    border-radius: 18px;
    padding: 22px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 220, 255, 0.5);
    color: #ffffff;
}

.link-card h3 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.link-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.article-card,
.case-study-card {
    display: block;
    height: 100%;
    background: linear-gradient(165deg, rgba(18, 26, 58, 0.92), rgba(12, 18, 42, 0.9));
    border: 1px solid rgba(206, 212, 255, 0.25);
    border-radius: 18px;
    padding: 22px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.article-card:hover,
.case-study-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 220, 255, 0.5);
    color: #ffffff;
}

.article-card-meta {
    font-size: 0.8rem;
    color: #b9c3ff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.article-card h3,
.case-study-card h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.article-card p,
.case-study-card p {
    font-size: 0.93rem;
    margin-bottom: 0;
}

.empty-state {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 18px;
    background: rgba(12, 18, 42, 0.78);
    border: 1px solid rgba(208, 215, 255, 0.22);
}

.footer-col-title {
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.footer-col-list li {
    margin-bottom: 9px;
}

.footer-col-list a {
    color: #dfe6ff;
    font-size: 0.93rem;
}

.footer-about {
    color: #dfe6ff;
    font-size: 0.93rem;
    max-width: 46ch;
}

.footer-copy {
    color: #b7c0ea;
    font-size: 0.85rem;
    border-top: 1px solid rgba(197, 207, 255, 0.16);
    padding-top: 18px;
}

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
}

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    color: #ffffff;
}

.article-body p,
.article-body li {
    color: var(--text-muted);
}

.article-body ul,
.article-body ol {
    padding-left: 1.3rem;
}

@media (max-width: 767.98px) {
    .page-hero-section h1 {
        font-size: 2.1rem;
    }

    .cta-banner {
        padding: 28px 20px;
    }

    .seo-breadcrumb {
        padding-top: 96px;
    }
}

@media (forced-colors: active) {
    :root {
        --focus-ring: Highlight;
    }

    .ai-bg,
    .brand-dot,
    .floating-card {
        display: none;
    }

    body,
    .glass-nav,
    .feature-card,
    .contact-card,
    .form-card,
    .about-image-wrap,
    .hero-visual,
    .highlight-grid span,
    .tag,
    .btn-gradient,
    .btn-outline-light,
    .btn-login,
    .form-control {
        forced-color-adjust: auto;
        background: Canvas;
        color: CanvasText;
        border-color: CanvasText;
        box-shadow: none;
    }

    a,
    .nav-link,
    .brand-text,
    .form-label,
    .form-required-note,
    .site-footer p,
    .site-footer a {
        color: LinkText !important;
    }
}
