:root {
    --public-blue: #1769e0;
    --public-blue-dark: #0f4fa9;
    --public-blue-light: #edf5ff;
    --public-text: #172033;
    --public-muted: #66738a;
    --public-border: #e3eaf5;
    --public-background: #f6f9fd;
    --public-white: #ffffff;
    --public-green: #14805a;
}

html {
    scroll-behavior: smooth;
}

.public-body {
    color: var(--public-text);
    background: var(--public-white);
}

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

/* Header */

.public-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(226, 235, 247, 0.85);
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(12px);
}

.public-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-logo {
    color: var(--public-text);
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.public-logo span {
    color: var(--public-blue);
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.public-nav > a {
    color: var(--public-muted);
    font-size: 0.91rem;
    font-weight: 700;
    text-decoration: none;
}

.public-nav > a:hover,
.public-nav > a.active {
    color: var(--public-blue);
}

.public-login-link {
    margin-left: 0.4rem;
}

.public-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--public-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.public-nav-toggle span {
    width: 19px;
    height: 2px;
    margin: 4px auto;
    display: block;
    background: var(--public-text);
}

/* Buttons */

.public-button {
    padding: 0.78rem 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--public-blue);
    border-radius: 10px;
    color: #fff;
    background: var(--public-blue);
    font-weight: 800;
    text-decoration: none;
    transition: 0.18s ease;
}

.public-button:hover {
    color: #fff;
    background: var(--public-blue-dark);
    border-color: var(--public-blue-dark);
    transform: translateY(-1px);
}

.public-button-small {
    padding: 0.58rem 0.82rem;
    font-size: 0.86rem;
}

.public-button-large {
    padding: 0.95rem 1.35rem;
    font-size: 1rem;
}

.public-button-secondary {
    color: var(--public-blue);
    background: var(--public-blue-light);
    border-color: transparent;
}

.public-button-secondary:hover {
    color: var(--public-blue);
    background: #dcecff;
    border-color: transparent;
}

.public-button-white {
    color: var(--public-blue);
    background: #fff;
    border-color: #fff;
}

.public-button-white:hover {
    color: var(--public-blue-dark);
    background: #edf5ff;
    border-color: #edf5ff;
}

.public-button-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.public-button-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

/* Hero */

.hero-section {
    overflow: hidden;
    padding: 6.5rem 0 5rem;
    background:
        radial-gradient(circle at 80% 22%, #d9ecff, transparent 32%),
        radial-gradient(circle at 15% 3%, #edf5ff, transparent 26%),
        #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
    align-items: center;
    gap: 4rem;
}

.public-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--public-blue);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.section-intro h2,
.screenshot-copy h2,
.security-grid h2,
.final-cta-content h2 {
    margin: 0;
    letter-spacing: -0.06em;
    line-height: 1.05;
}

.hero-content h1 {
    max-width: 700px;
    font-size: clamp(2.7rem, 5.4vw, 4.65rem);
}

.hero-text {
    max-width: 620px;
    margin: 1.4rem 0 0;
    color: var(--public-muted);
    font-size: 1.13rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.45rem;
    color: var(--public-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-checks span::first-letter {
    color: var(--public-green);
}

.hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.hero-payment-card {
    width: min(100%, 340px);
    padding: 1.35rem;
    position: relative;
    z-index: 2;
    border: 1px solid #dbe8fa;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(28, 86, 162, 0.2);
    text-align: center;
}

.hero-payment-top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--public-muted);
    font-size: 0.74rem;
    font-weight: 750;
}

.hero-status {
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    color: #8d5900;
    background: #fff1d6;
}

.hero-payment-card > p {
    margin: 1.5rem 0 0.3rem;
    color: var(--public-muted);
}

.hero-payment-card > strong {
    color: var(--public-blue);
    font-size: 2.25rem;
    letter-spacing: -0.06em;
}

.hero-payment-card > small {
    color: var(--public-muted);
}

.hero-qr {
    width: 200px;
    height: 200px;
    margin: 1.35rem auto;
    padding: 13px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, #1769e0 50%, transparent 50%),
        linear-gradient(#1769e0 50%, transparent 50%);
    background-size: 28px 28px;
}

.hero-qr-inner {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #172033;
    font-size: 1.4rem;
    font-weight: 900;
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid #e0e9f7;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 30px rgba(29, 71, 130, 0.15);
}

.hero-floating-card small,
.hero-floating-card strong {
    display: block;
}

.hero-floating-card small {
    color: var(--public-muted);
    font-size: 0.72rem;
}

.hero-floating-card strong {
    font-size: 0.82rem;
}

.hero-floating-success {
    top: 15%;
    right: 0;
}

.hero-floating-products {
    bottom: 13%;
    left: 0;
}

.hero-success-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--public-green);
    font-weight: 900;
}

/* Banks */

.bank-section {
    padding: 1.5rem 0;
    border-top: 1px solid var(--public-border);
    border-bottom: 1px solid var(--public-border);
    background: #fff;
}

.bank-title {
    margin: 0 0 0.9rem;
    color: var(--public-muted);
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.bank-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.bank-chips span {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--public-border);
    border-radius: 999px;
    color: #66738a;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 750;
}

/* General sections */

.public-section {
    padding: 6rem 0;
}

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

.section-intro {
    max-width: 690px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro h2,
.screenshot-copy h2,
.security-grid h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-intro p {
    margin: 1.1rem auto 0;
    color: var(--public-muted);
    line-height: 1.75;
}

.steps-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step-card,
.feature-card {
    padding: 1.45rem;
    border: 1px solid var(--public-border);
    border-radius: 16px;
    background: #fff;
}

.step-number {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--public-blue);
    background: var(--public-blue-light);
    font-weight: 850;
}

.step-card h3,
.feature-card h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1rem;
}

.step-card p,
.feature-card p {
    margin: 0;
    color: var(--public-muted);
    line-height: 1.65;
    font-size: 0.91rem;
}

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

.feature-card {
    min-height: 210px;
    transition: 0.18s ease;
}

.feature-card:hover {
    border-color: #b9d3fb;
    box-shadow: 0 15px 30px rgba(31, 83, 149, 0.09);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--public-blue);
    background: var(--public-blue-light);
    font-size: 1.4rem;
    font-weight: 850;
}

/* Screenshots */

.screenshot-section {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr;
    align-items: center;
    gap: 4rem;
}

.screenshot-section-reverse {
    grid-template-columns: 1.1fr 0.8fr;
}

.screenshot-copy p {
    color: var(--public-muted);
    line-height: 1.75;
}

.public-check-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.public-check-list li {
    margin: 0.7rem 0;
    color: var(--public-text);
    font-weight: 700;
}

.public-check-list li::before {
    margin-right: 0.65rem;
    color: var(--public-green);
    content: "✓";
}

.screenshot-frame {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid #d9e7fa;
    border-radius: 20px;
    background: linear-gradient(135deg, #e7f2ff, #fff);
    box-shadow: 0 20px 45px rgba(32, 80, 141, 0.12);
}

.screenshot-frame img {
    width: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
}

.screenshot-placeholder {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: grid;
    place-content: center;
    gap: 0.65rem;
    color: var(--public-muted);
    text-align: center;
    background: linear-gradient(135deg, #e7f2ff, #fff);
}

.screenshot-frame img[src] + .screenshot-placeholder {
    display: none;
}

/* Security */

.security-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.75fr;
    align-items: center;
    gap: 4rem;
}

.security-text {
    max-width: 650px;
    color: var(--public-muted);
    line-height: 1.75;
}

.security-price-card {
    padding: 2rem;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(145deg, #1769e0, #0b4da9);
    box-shadow: 0 22px 45px rgba(14, 78, 172, 0.23);
}

.security-price-card > p {
    margin-top: 0;
    line-height: 1.5;
    opacity: 0.82;
}

.security-price-card > div {
    margin-top: 1.35rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.security-price-card strong {
    font-size: 1.9rem;
    letter-spacing: -0.05em;
}

.security-price-card span {
    font-size: 0.85rem;
    text-align: right;
    opacity: 0.82;
}

.security-highlight {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Pricing */

.pricing-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 0.8fr 1fr auto;
    align-items: center;
    gap: 2rem;
    border: 1px solid #d6e5fa;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(31, 80, 145, 0.1);
}

.pricing-main p {
    margin: 0;
    color: var(--public-muted);
    font-weight: 700;
}

.pricing-main strong {
    color: var(--public-blue);
    font-size: 3rem;
    letter-spacing: -0.07em;
}

.pricing-main > span {
    color: var(--public-muted);
}

.pricing-main small {
    margin-top: 0.65rem;
    display: block;
    color: var(--public-muted);
    line-height: 1.5;
}

.pricing-features {
    display: grid;
    gap: 0.65rem;
    color: var(--public-text);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Video */

.video-frame {
    position: relative;
    overflow: hidden;
    max-width: 920px;
    min-height: 400px;
    margin: 0 auto;
    border-radius: 20px;
    background: #172033;
    box-shadow: 0 20px 45px rgba(23, 32, 51, 0.18);
}

.video-frame video {
    width: 100%;
    min-height: 400px;
    display: block;
    background: #172033;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.65rem;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(42, 130, 255, 0.45), transparent 25%),
        #172033;
}

.video-frame video[src] + .video-placeholder {
    display: none;
}

/* FAQ */

.faq-container {
    width: min(800px, 100%);
}

.faq-item {
    margin: 0.7rem 0;
    padding: 0 1.15rem;
    border: 1px solid var(--public-border);
    border-radius: 12px;
    background: #fff;
}

.faq-item summary {
    padding: 1.05rem 0;
    cursor: pointer;
    font-weight: 800;
}

.faq-item p {
    margin: 0 0 1.1rem;
    color: var(--public-muted);
    line-height: 1.7;
}

/* Final CTA */

.final-cta-section {
    padding: 5rem 0;
    color: #fff;
    background:
        radial-gradient(circle at 18% 0%, #4293ff, transparent 40%),
        linear-gradient(135deg, #1769e0, #083a83);
}

.final-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.public-eyebrow-light {
    color: #d7eaff;
}

.final-cta-content h2 {
    max-width: 700px;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.82);
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Footer */

.public-footer {
    padding: 4rem 0 1.5rem;
    color: #c4cfdf;
    background: #101a2c;
}

.public-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
}

.public-footer-logo {
    color: #fff;
}

.public-footer p {
    max-width: 300px;
    color: #9daec8;
    line-height: 1.7;
}

.public-footer h3 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 0.95rem;
}

.public-footer a:not(.public-logo) {
    margin: 0.6rem 0;
    display: block;
    color: #b8c5d9;
    font-size: 0.88rem;
    text-decoration: none;
}

.public-footer a:hover {
    color: #fff;
}

.public-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8190a7;
    font-size: 0.78rem;
}

/* Cookies */

.cookie-banner {
    position: fixed;
    z-index: 200;
    right: 1rem;
    bottom: 1rem;
    width: min(520px, calc(100% - 2rem));
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #d5e3f8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 63, 113, 0.18);
}

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

.cookie-banner-content strong {
    font-size: 0.92rem;
}

.cookie-banner-content p {
    margin: 0.35rem 0 0;
    color: var(--public-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--public-blue);
}

/* Mobile */

@media (max-width: 980px) {
    .hero-grid,
    .screenshot-section,
    .screenshot-section-reverse,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

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

    .pricing-card {
        grid-template-columns: 1fr;
    }

    .pricing-card > .public-button {
        width: 100%;
    }

    .final-cta-content {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 760px) {
    .public-header-inner {
        min-height: 66px;
    }

    .public-nav-toggle {
        display: block;
    }

    .public-nav {
        position: absolute;
        z-index: 60;
        top: 100%;
        right: 0;
        left: 0;
        padding: 0.8rem 1rem 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--public-border);
        background: #fff;
        box-shadow: 0 12px 28px rgba(26, 64, 114, 0.14);
    }

    .public-nav.is-open {
        display: flex;
    }

    .public-nav > a {
        padding: 0.75rem;
        border-radius: 8px;
        color: var(--public-text);
    }

    .public-nav > a:hover {
        color: var(--public-blue);
        background: var(--public-blue-light);
    }

    .public-login-link {
        margin-left: 0;
    }

    .hero-section {
        padding: 4.3rem 0 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2.45rem, 12vw, 3.7rem);
    }

    .hero-visual {
        min-height: 370px;
    }

    .hero-floating-success {
        top: 5%;
        right: -0.2rem;
    }

    .hero-floating-products {
        bottom: 2%;
        left: -0.2rem;
    }

    .public-section {
        padding: 4rem 0;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .video-frame,
    .video-frame video {
        min-height: 240px;
    }

    .public-footer-grid {
        grid-template-columns: 1fr;
    }

    .public-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner .public-button {
        width: 100%;
    }
}

/* Blog */

.blog-hero,
.legal-hero {
    padding: 5.5rem 0 4rem;
    color: #fff;
    background:
        radial-gradient(circle at 20% 10%, #4b96ff, transparent 35%),
        linear-gradient(135deg, #1769e0, #093a80);
}

.blog-hero h1,
.legal-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.06em;
}

.blog-hero p,
.legal-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.blog-hero .public-eyebrow,
.legal-hero .public-eyebrow {
    color: #d7eaff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--public-border);
    border-radius: 16px;
    background: #fff;
    transition: 0.18s ease;
}

.blog-card:hover {
    box-shadow: 0 18px 35px rgba(29, 75, 135, 0.12);
    transform: translateY(-3px);
}

.blog-card-image {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, #64a6ff, transparent 30%),
        linear-gradient(135deg, #1769e0, #093a80);
    font-weight: 850;
    text-decoration: none;
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.2rem;
}

.blog-card time {
    color: var(--public-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.blog-card h2 {
    margin: 0.65rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.blog-card h2 a {
    color: var(--public-text);
    text-decoration: none;
}

.blog-card p {
    color: var(--public-muted);
    line-height: 1.65;
    font-size: 0.9rem;
}

.blog-read-link {
    margin-top: 1rem;
    display: inline-block;
    color: var(--public-blue);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-empty {
    padding: 3rem 1rem;
    border: 1px dashed #c8dcf8;
    border-radius: 16px;
    color: var(--public-muted);
    background: var(--public-blue-light);
    text-align: center;
}

.blog-post-header {
    padding: 4rem 0;
    background: var(--public-blue-light);
}

.blog-post-header-inner {
    width: min(840px, calc(100% - 2rem));
}

.blog-back-link {
    color: var(--public-blue);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-post-header time {
    margin-top: 2rem;
    display: block;
    color: var(--public-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.blog-post-header h1 {
    margin: 0.75rem 0;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 1.08;
}

.blog-post-header p {
    max-width: 720px;
    color: var(--public-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.blog-post-cover {
    width: 100%;
    max-height: 480px;
    margin-top: 2rem;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.blog-post-content {
    width: min(760px, calc(100% - 2rem));
    padding-top: 3rem;
    padding-bottom: 4rem;
    color: #344158;
    font-size: 1.06rem;
    line-height: 1.9;
}

.blog-post-cta {
    padding: 4rem 0;
    color: #fff;
    background: linear-gradient(135deg, #1769e0, #093a80);
    text-align: center;
}

.blog-post-cta h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.05em;
}

.blog-post-cta p {
    color: rgba(255, 255, 255, 0.82);
}

/* Contact and legal */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-card {
    padding: 2rem;
    border: 1px solid var(--public-border);
    border-radius: 16px;
    background: #fff;
}

.contact-card h2 {
    margin-top: 0;
}

.contact-card p {
    color: var(--public-muted);
    line-height: 1.7;
}

.contact-card a {
    color: var(--public-blue);
    font-weight: 800;
    text-decoration: none;
}

.legal-content {
    width: min(850px, calc(100% - 2rem));
    color: #3d4a60;
    line-height: 1.85;
}

.legal-content h2 {
    margin-top: 2.5rem;
    color: var(--public-text);
    font-size: 1.3rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .blog-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}