:root {
    --bf-bg: #050507;
    --bf-surface: #0c0c10;
    --bf-ink: #f7f7f2;
    --bf-muted: #a6a69e;
    --bf-accent: #d8ff3e;
    --bf-line: rgba(255, 255, 255, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bf-bg);
    color: var(--bf-ink);
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

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

/* Navigation */
.bf-nav {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem clamp(1.25rem, 5vw, 4.5rem);
}

.bf-brand img {
    width: clamp(105px, 12vw, 145px);
    height: auto;
}

.bf-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.25rem);
}

.bf-nav__links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.bf-nav__links a:hover,
.bf-nav__links a:focus-visible {
    color: var(--bf-accent);
}

/* Mobile navigation toggle */
.bf-nav__toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    cursor: pointer;
}

.bf-nav__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--bf-ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.bf-nav__toggle[aria-expanded="true"] .bf-nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.bf-nav__toggle[aria-expanded="true"] .bf-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.bf-nav__toggle[aria-expanded="true"] .bf-nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.bf-lang {
    background: transparent;
    color: var(--bf-ink);
    border: 1px solid var(--bf-line);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    cursor: pointer;
}

.bf-lang option {
    background: var(--bf-surface);
    color: var(--bf-ink);
}

/* Hero */
.bf-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 8.5rem clamp(1.25rem, 6vw, 7rem) 5.5rem;
    background-color: var(--bf-bg);
    background-image:
        linear-gradient(90deg, rgba(3, 3, 5, 0.97) 0%, rgba(3, 3, 5, 0.88) 48%, rgba(3, 3, 5, 0.55) 100%),
        linear-gradient(0deg, rgba(3, 3, 5, 0.95) 0%, rgba(3, 3, 5, 0.15) 60%),
        url('sfondo.jpeg');
    background-size: cover;
    background-position: center;
}

.bf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 78% 35%, rgba(216, 255, 62, 0.11), transparent 42%);
    pointer-events: none;
}

.bf-hero__watermark {
    position: absolute;
    z-index: -1;
    right: -3vw;
    top: 47%;
    transform: translateY(-50%);
    font-family: 'Space Mono', monospace;
    font-size: clamp(12rem, 29vw, 32rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.1em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(216, 255, 62, 0.19);
    pointer-events: none;
    user-select: none;
}

.bf-hero__inner {
    position: relative;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.bf-eyebrow,
.bf-kicker,
.bf-price__label,
.bf-compare__label {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bf-accent);
}

.bf-hero h1 {
    max-width: 15ch;
    margin: 1.4rem 0 1.25rem;
    font-size: clamp(3.2rem, 8vw, 7.4rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.bf-hero__lead {
    max-width: 37rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

/* Price lockup */
.bf-price {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 3vw, 2.75rem);
    margin-top: 2.75rem;
}

.bf-price__was,
.bf-price__now {
    display: flex;
    flex-direction: column;
}

.bf-price__label {
    color: var(--bf-muted);
    margin-bottom: 0.35rem;
}

.bf-price__old {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.58);
    text-decoration-thickness: 2px;
    text-decoration-color: var(--bf-accent);
}

.bf-price__arrow {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--bf-accent);
    padding-bottom: 0.6rem;
}

.bf-price__now strong {
    font-family: 'Space Mono', monospace;
    font-size: clamp(4.2rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: -0.07em;
    color: var(--bf-accent);
}

.bf-price__now small {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    color: var(--bf-muted);
    margin-top: 0.5rem;
}

.bf-price__save {
    margin-top: 1.1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--bf-ink);
}

/* Actions */
.bf-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-top: 2.5rem;
}

.bf-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    background: var(--bf-accent);
    color: #090a06;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bf-cta::after {
    content: '→';
    font-family: 'Space Mono', monospace;
}

.bf-cta:hover,
.bf-cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(216, 255, 62, 0.26);
}

.bf-cta--large {
    margin-top: 2rem;
    padding: 1.15rem 2.2rem;
    font-size: 1.1rem;
}

.bf-secondary {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 0.2rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.bf-secondary:hover,
.bf-secondary:focus-visible {
    color: var(--bf-accent);
    border-color: var(--bf-accent);
}

.bf-deadline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.bf-deadline__dot {
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--bf-accent);
    animation: bfPulse 2s ease-out infinite;
}

/* Sections */
.bf-section {
    padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 6vw, 7rem);
}

.bf-section__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.bf-section--deal {
    background: var(--bf-surface);
}

.bf-section h2 {
    max-width: 22ch;
    margin: 0.9rem 0 2.75rem;
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.bf-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--bf-line);
    border-bottom: 1px solid var(--bf-line);
}

.bf-compare__item {
    padding: 2.5rem 2.5rem 2.5rem 0;
}

.bf-compare__item + .bf-compare__item {
    border-left: 1px solid var(--bf-line);
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.bf-compare__label {
    color: var(--bf-muted);
}

.bf-compare__item--promo .bf-compare__label {
    color: var(--bf-accent);
}

.bf-compare__price {
    margin: 0.6rem 0;
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.bf-compare__item--promo .bf-compare__price {
    color: var(--bf-accent);
}

.bf-compare__text {
    max-width: 28rem;
    color: var(--bf-muted);
}

.bf-compare__deadline {
    margin-top: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--bf-ink);
}

/* Included features */
.bf-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 5vw, 4rem);
}

.bf-list li {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--bf-line);
}

.bf-list li::before {
    content: '+';
    flex: none;
    font-family: 'Space Mono', monospace;
    color: var(--bf-accent);
}

.bf-fee-note {
    max-width: 48rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--bf-muted);
}

/* Final call to action */
.bf-final {
    text-align: center;
    border-top: 1px solid var(--bf-line);
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 255, 62, 0.13), transparent 62%),
        var(--bf-bg);
}

.bf-final h2 {
    margin-left: auto;
    margin-right: auto;
}

.bf-final__text {
    max-width: 36rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.76);
}

/* Footer */
.bf-footer {
    padding: 2.5rem clamp(1.25rem, 6vw, 7rem) 2rem;
    border-top: 1px solid var(--bf-line);
    background: #010102;
}

.bf-footer__inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.bf-footer__inner img {
    width: 120px;
    height: auto;
}

.bf-footer__inner p {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--bf-muted);
}

.bf-footer__vat {
    width: min(100%, 1120px);
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--bf-line);
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--bf-muted);
}

/* Motion */
@keyframes bfIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bfPulse {
    0% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(216, 255, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0); }
}

.bf-hero__inner > * {
    animation: bfIn 0.75s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.bf-hero__inner > *:nth-child(2) { animation-delay: 0.1s; }
.bf-hero__inner > *:nth-child(3) { animation-delay: 0.18s; }
.bf-hero__inner > *:nth-child(4) { animation-delay: 0.26s; }
.bf-hero__inner > *:nth-child(5) { animation-delay: 0.34s; }
.bf-hero__inner > *:nth-child(6) { animation-delay: 0.42s; }
.bf-hero__inner > *:nth-child(7) { animation-delay: 0.5s; }

.bf-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.bf-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .bf-nav {
        padding: 1.1rem 1.25rem;
    }

    .bf-nav__toggle {
        display: inline-flex;
    }

    .bf-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.25rem 1.25rem;
        background: rgba(8, 8, 11, 0.98);
        border-bottom: 1px solid var(--bf-line);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    }

    .bf-nav__links.is-open {
        display: flex;
    }

    .bf-nav__links a {
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--bf-line);
    }

    .bf-nav__links .bf-lang {
        width: 100%;
        margin-top: 1rem;
        padding: 0.6rem 0.7rem;
    }

    .bf-hero {
        padding-top: 7.5rem;
        padding-bottom: 4rem;
    }

    .bf-hero__watermark {
        right: -12vw;
        top: 38%;
        font-size: 58vw;
    }

    .bf-price {
        gap: 1rem 1.5rem;
    }

    .bf-price__arrow {
        display: none;
    }

    .bf-compare {
        grid-template-columns: 1fr;
    }

    .bf-compare__item {
        padding: 1.75rem 0;
    }

    .bf-compare__item + .bf-compare__item {
        border-left: 0;
        border-top: 1px solid var(--bf-line);
        padding-left: 0;
    }

    .bf-list {
        grid-template-columns: 1fr;
    }

    .bf-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .bf-hero__inner > *,
    .bf-deadline__dot {
        animation: none;
    }

    .bf-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
