:root {
    color-scheme: dark;
    --bg: #08090c;
    --surface: #101218;
    --surface-strong: #171a22;
    --text: #f7f8fb;
    --muted: #b5bac7;
    --muted-strong: #d7dbe4;
    --border: rgba(255, 255, 255, .12);
    --primary: #d41122;
    --primary-strong: #ff3345;
    --secondary: #272d3a;
    --success: #15a36f;
    --warning: #f6b73c;
    --danger: #d41122;
    --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 78% 2%, rgba(212, 17, 34, .24), transparent 28rem),
        linear-gradient(180deg, #101116 0%, var(--bg) 36rem);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    padding: 6px clamp(16px, 4vw, 54px);
    border-bottom: 1px solid var(--border);
    background: rgba(8, 9, 12, .86);
    backdrop-filter: blur(18px);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 34px;
    height: auto;
}

.site-logo span {
    color: #ffffff;
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    color: var(--muted-strong);
    font-size: .88rem;
    font-weight: 650;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
}

.site-nav a:hover {
    color: #ffffff;
}

.nav-cta {
    min-height: 34px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff !important;
}

.content,
.block {
    width: min(1160px, calc(100% - 36px));
    margin-inline: auto;
}

.block {
    margin-block: clamp(44px, 7vw, 92px);
}

.hero-block {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    min-height: calc(100vh - 48px);
    align-items: center;
    margin-block: 0;
    padding-block: clamp(64px, 9vw, 118px);
}

.hero-block::before {
    content: "WordPress tűzfal / mentések / kártevőirtás";
    position: absolute;
    top: clamp(32px, 6vw, 74px);
    left: 0;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: var(--muted-strong);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: normal;
}

.hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 760px;
    padding-top: 44px;
}

.hero-block h1 {
    max-width: 930px;
    margin: 0;
    font-size: clamp(2.04rem, 5.12vw, 4.64rem);
    line-height: 1.01;
}

.hero-block p {
    max-width: 770px;
    margin: 24px 0 0;
    color: var(--muted-strong);
    font-size: clamp(1.06rem, 1.8vw, 1.32rem);
}

.hero-block .hero-highlight {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 22px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 51, 69, .52);
    border-radius: 8px;
    background: rgba(212, 17, 34, .18);
    color: #ffffff;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(212, 17, 34, .18);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.button-primary {
    background: linear-gradient(180deg, var(--primary-strong), var(--primary));
    box-shadow: 0 16px 38px rgba(212, 17, 34, .34);
}

.button-secondary {
    background: var(--secondary);
}

.button-success {
    background: var(--success);
}

.button-warning {
    background: var(--warning);
    color: #111318;
}

.button-danger {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(212, 17, 34, .12);
}

.button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .34);
    filter: brightness(1.06);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .26);
}

.button-primary:hover {
    box-shadow: 0 18px 42px rgba(212, 17, 34, .42);
}

.button-danger:hover {
    background: rgba(212, 17, 34, .2);
    box-shadow: 0 18px 36px rgba(212, 17, 34, .18);
}

.button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .72);
    outline-offset: 3px;
}

.button:disabled {
    cursor: not-allowed;
    opacity: .52;
    box-shadow: none;
}

.button:disabled:hover {
    transform: none;
    filter: none;
}

.block-heading {
    max-width: 820px;
    margin-bottom: 26px;
}

.block-heading h2,
.faq-block h2,
.cta-block h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.block-heading p,
.cta-block p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.columns-block {
    display: grid;
    gap: 18px;
    width: 100%;
    margin-block: 0;
}

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

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

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

.column-item {
    min-width: 0;
}

.card-block {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)),
        var(--surface);
    box-shadow: var(--shadow);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    margin-bottom: 18px;
    padding-inline: 10px;
    border-radius: 6px;
    background: rgba(212, 17, 34, .14);
    color: #ff5362;
    font-size: .8rem;
    font-weight: 900;
}

.card-block h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.prose {
    color: var(--muted);
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose ul {
    padding-left: 1.15rem;
}

.prose table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    color: var(--muted-strong);
}

.prose th,
.prose td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.prose th {
    color: #ffffff;
    background: rgba(255, 255, 255, .06);
}

.text-block h1 {
    margin: 0 0 14px;
    font-size: clamp(1.88rem, 4vw, 3.84rem);
    line-height: 1.04;
}

.text-block h2 {
    margin: 0 0 16px;
    color: var(--muted-strong);
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.18;
}

.text-block p {
    max-width: 860px;
    font-size: 1.08rem;
}

.card-block a {
    color: #ffffff;
    font-weight: 850;
}

.card-block .prose img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    object-fit: cover;
    background: #0b0d12;
}

.page-kapcsolat #kapcsolat-adatok .card-block .prose img {
    aspect-ratio: auto;
    border: 0;
    object-fit: contain;
}

.page-kapcsolat #kapcsolat-adatok .image-block {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    margin: 0;
}

.page-kapcsolat #kapcsolat-adatok .image-block img {
    display: block;
    width: min(100%, 420px);
    max-height: 945px;
    border-radius: 8px;
    object-fit: contain;
}

.page-telepites .card-block .prose img {
    aspect-ratio: auto;
    object-fit: contain;
}

.section-block#sos,
.section-block#garancia {
    width: min(1160px, calc(100% - 36px));
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(212, 17, 34, .34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(212, 17, 34, .24), rgba(255, 255, 255, .035) 48%),
        var(--surface-strong);
}

.section-block#sos > .button {
    margin-top: 24px;
}

.pricing-block {
    width: min(1180px, calc(100% - 36px));
}

.pricing-heading h1 {
    margin: 0;
    font-size: clamp(1.88rem, 4vw, 3.84rem);
    line-height: 1.04;
}

.pricing-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(212, 17, 34, .34);
    border-radius: 8px;
    background: rgba(212, 17, 34, .13);
    color: var(--muted-strong) !important;
}

.pricing-context-fee {
    display: inline-block;
    margin: 0 3px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(212, 17, 34, .24);
    color: var(--text);
    font-size: 1.08em;
    font-weight: 900;
    white-space: nowrap;
}

.pricing-context-action {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
}

.billing-toggle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(92px, 1fr));
    gap: 4px;
    width: min(100%, 280px);
    margin: 4px auto 24px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
}

.billing-toggle::before {
    content: "";
    position: absolute;
    inset: 4px auto 4px 4px;
    width: calc((100% - 8px) / 2);
    border-radius: 6px;
    background: linear-gradient(180deg, var(--primary-strong), var(--primary));
    box-shadow: 0 12px 28px rgba(212, 17, 34, .28);
    transition: transform .24s ease;
}

.billing-toggle.is-monthly::before {
    transform: translateX(100%);
}

.billing-toggle-button {
    position: relative;
    z-index: 1;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted-strong);
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    transition: color .18s ease;
}

.billing-toggle-button.is-active {
    color: #ffffff;
}

.pricing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.pricing-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.pricing-table caption {
    padding: 20px 22px 8px;
    color: #ffffff;
    text-align: left;
    font-size: 1.28rem;
    font-weight: 900;
}

.pricing-table th,
.pricing-table td {
    padding: 15px 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
}

.pricing-table thead th {
    color: #ffffff;
    font-size: 1.02rem;
}

.pricing-table tbody th {
    color: var(--muted-strong);
    font-weight: 750;
}

.pricing-table tbody td {
    color: var(--muted);
    font-weight: 700;
}

.pricing-price {
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 950 !important;
}

.feature-yes {
    color: #35d695 !important;
    font-size: 1.18rem;
}

.feature-no {
    color: #858b99 !important;
    font-size: 1.18rem;
}

.pricing-order {
    width: 100%;
    min-width: 132px;
    min-height: 42px;
    padding-inline: 14px;
}

.order-form-block {
    padding-block: clamp(34px, 6vw, 72px);
}

.order-form-block .block-heading h1 {
    margin: 0;
    font-size: clamp(1.88rem, 4vw, 3.84rem);
    line-height: 1.04;
}

.order-summary {
    margin-bottom: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(212, 17, 34, .34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(212, 17, 34, .2), rgba(255, 255, 255, .035) 54%),
        var(--surface);
}

.order-summary p {
    margin: 0;
}

.order-summary-label {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.order-summary-package {
    margin-top: 4px !important;
    color: #ffffff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 950;
}

.order-summary-code {
    margin-top: 2px !important;
    color: var(--muted-strong);
    font-size: .95rem;
    font-weight: 750;
}

.order-form {
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

.order-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.order-form span {
    color: var(--muted-strong);
    font-size: .92rem;
    font-weight: 800;
}

.order-form .required-mark {
    color: var(--primary-strong);
    font-weight: 900;
}

.order-form input,
.order-form select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #0b0d12;
    color: var(--text);
    font: inherit;
}

.order-form input:focus,
.order-form select:focus {
    outline: 2px solid rgba(255, 51, 69, .55);
    outline-offset: 2px;
    border-color: rgba(255, 51, 69, .7);
}

.form-field-full {
    grid-column: 1 / -1;
}

.order-submit {
    margin-top: 22px;
}

.section-block#garancia {
    border-color: rgba(21, 163, 111, .36);
    background:
        linear-gradient(135deg, rgba(21, 163, 111, .18), rgba(255, 255, 255, .035) 48%),
        var(--surface-strong);
}

.faq-block {
    display: grid;
    gap: 12px;
}

.faq-block h2 {
    margin-bottom: 12px;
}

.faq-block details {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.faq-block summary {
    cursor: pointer;
    padding: 18px 20px;
    color: var(--text);
    font-weight: 800;
}

.faq-block details .prose {
    padding: 0 20px 20px;
}

.cta-block {
    padding: clamp(30px, 6vw, 58px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(212, 17, 34, .32), rgba(255, 255, 255, .04) 58%),
        #141720;
    box-shadow: var(--shadow);
}

.hero-image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    border-radius: 8px;
    justify-self: end;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .46);
}

.site-footer {
    width: min(1160px, calc(100% - 36px));
    margin: clamp(44px, 7vw, 88px) auto 0;
    padding: 28px 0 34px;
    border-top: 1px solid var(--border);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px clamp(18px, 3vw, 34px);
    color: var(--muted-strong);
    font-size: .92rem;
    font-weight: 750;
}

.footer-nav a {
    color: inherit;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-consent-button {
    display: block;
    margin: 18px auto 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-consent-button:hover {
    color: #ffffff;
}

.consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    width: min(720px, calc(100% - 36px));
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(16, 18, 24, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner [hidden] {
    display: none !important;
}

.consent-copy strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.consent-copy p {
    margin: 5px 0 0;
    color: var(--muted-strong);
    font-size: .94rem;
    line-height: 1.45;
}

.consent-settings {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
}

.consent-settings[hidden] {
    display: none;
}

.consent-required {
    margin: 0 !important;
    color: var(--muted) !important;
    font-size: .88rem !important;
}

.consent-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.consent-option strong {
    color: #ffffff;
    font-size: .94rem;
}

.consent-option small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.35;
}

.consent-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.consent-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.consent-actions a {
    color: var(--muted-strong);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-actions .button {
    min-height: 40px;
    padding: 8px 13px;
}

@media (max-width: 900px) {
    .site-header {
        position: static;
        align-items: center;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .columns-2,
    .columns-3,
    .columns-4 {
        grid-template-columns: 1fr;
    }

    .hero-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-block::before {
        position: static;
        grid-column: 1;
        grid-row: 1;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: 2;
        padding-top: 0;
    }

    .hero-image {
        grid-column: 1;
        grid-row: 3;
        max-width: 640px;
        justify-self: start;
    }

    .pricing-context {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-context-action {
        width: fit-content;
        white-space: normal;
    }

    .consent-banner {
        grid-template-columns: 1fr;
    }

    .consent-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .site-logo {
        align-self: flex-start;
    }

    .site-logo img {
        width: 32px;
    }

    .site-logo span {
        font-size: 24px;
    }

    .site-nav {
        font-size: .88rem;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .button {
        width: 100%;
    }

    .card-block,
    .section-block#sos,
    .section-block#garancia,
    .cta-block {
        padding: 20px;
    }

    .billing-toggle {
        width: 100%;
    }

    .pricing-table-wrap {
        margin-inline: -2px;
    }

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

    .order-submit {
        width: 100%;
    }

    .consent-actions .button {
        width: auto;
    }
}

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

    .button:hover {
        transform: none;
    }
}
