:root {
    --bg-0: #050a12;
    --bg-1: #091629;
    --panel: #101f33;
    --panel-soft: rgba(16, 31, 51, 0.76);
    --line: rgba(160, 196, 225, 0.24);
    --text: #e9f4ff;
    --muted: #a2b6cc;
    --accent: #38bdf8;
    --accent-2: #2dd4bf;
    --accent-3: #73f6cf;
    --radius: 18px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --container: 1120px;
}

body {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% -10%, rgba(56, 189, 248, 0.22) 0%, transparent 36%),
        radial-gradient(circle at 90% 0%, rgba(45, 212, 191, 0.2) 0%, transparent 34%),
        linear-gradient(150deg, var(--bg-0) 0%, var(--bg-1) 55%, #082127 100%);
}

.container {
    width: min(var(--container), 92vw);
    margin-inline: auto;
}

.section {
    padding: 5rem 0;
}

.section-accent {
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.08), rgba(45, 212, 191, 0.08));
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-3);
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-lead {
    max-width: 68ch;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    width: auto;
    height: auto;
    margin: 0.8rem;
    clip-path: none;
    background: #fff;
    color: #000;
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    z-index: 9999;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(12px);
    background: rgba(5, 10, 18, 0.7);
    border-bottom: 1px solid rgba(147, 197, 253, 0.18);
}

.site-header.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-link,
.footer-logo {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    width: 160px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.main-nav a {
    color: #d6e8ff;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent-2);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.header-cta {
    white-space: nowrap;
}

.header-cta-secondary {
    opacity: 0.96;
}

.lang-switch select {
    background: rgba(16, 31, 51, 0.9);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 0.65rem;
    padding: 0.45rem 0.6rem;
    min-width: 150px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    margin-left: auto;
    padding: 0.35rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #d8f1ff;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.72rem 1.2rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    color: #04111f;
    background: linear-gradient(100deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
    color: var(--text);
    border: 1px solid rgba(147, 197, 253, 0.4);
    background: rgba(8, 18, 32, 0.65);
}

.btn-sm {
    padding: 0.58rem 0.95rem;
    font-size: 0.9rem;
}

.hero {
    padding-top: 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.inline-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.inline-points li {
    background: rgba(13, 33, 55, 0.8);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.78rem;
    font-size: 0.84rem;
    color: #d1ecff;
}

.hero-visual {
    position: relative;
    min-height: 360px;
}

.mockup {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(115, 246, 207, 0.28);
    box-shadow: var(--shadow);
    background: #08121e;
}

.mockup-main {
    width: 88%;
}

.mockup-side {
    position: absolute;
    right: 0;
    bottom: -28px;
    width: 45%;
    border-color: rgba(56, 189, 248, 0.35);
}

.check-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.check-list li {
    position: relative;
    padding-left: 1.7rem;
    color: #dceaf8;
}

.check-list li::before {
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    position: absolute;
    left: 0;
    top: 0.42rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

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

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

.card {
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.step-card {
    padding: 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(9, 19, 33, 0.82);
}

.step-number {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: #042031;
    background: linear-gradient(100deg, var(--accent-2), var(--accent));
}

.step-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.step-card p {
    color: var(--muted);
}

.screenshots-grid {
    margin-top: 1.75rem;
    row-gap: 1.7rem;
    column-gap: 1.35rem;
    align-items: start;
}

.screens-support-grid {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.75rem;
}

.screenshot-card {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.screenshot-card img {
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid rgba(127, 173, 209, 0.26);
    margin-bottom: 0.72rem;
}

.screenshot-card.is-platform {
    padding: 1.2rem 1.2rem 1.08rem;
    background: rgba(14, 29, 47, 0.9);
}

.screenshot-card.is-platform img {
    border-color: rgba(122, 177, 220, 0.34);
    box-shadow: 0 12px 24px rgba(2, 8, 16, 0.45);
}

.screenshot-card.is-platform h3 {
    margin-top: 0.1rem;
    font-size: 1.17rem;
    line-height: 1.3;
    color: #edf7ff;
}

.screenshot-card.is-mobile,
.screens-extra-card {
    width: 68%;
    max-width: 390px;
    justify-self: center;
    padding: 0.86rem 0.86rem 0.78rem;
    border-color: rgba(132, 167, 197, 0.18);
    background: rgba(11, 24, 40, 0.72);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.screenshot-card.is-mobile img,
.screens-extra-card img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
    display: block;
    margin: 0 auto 0.56rem;
    border-color: rgba(128, 167, 199, 0.14);
    filter: saturate(0.9) brightness(0.95);
}

.screenshot-card.is-mobile h3,
.screens-extra-card h3 {
    margin-bottom: 0.1rem;
    font-size: 0.96rem;
    line-height: 1.35;
    color: #c0d6ea;
}

.screens-extra-grid {
    margin-top: 1.75rem;
    row-gap: 1.1rem;
    align-items: start;
}

.screens-extra-card {
    border-color: rgba(132, 167, 197, 0.18);
}

.screens-insights {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.screens-insight {
    border: 1px solid rgba(127, 173, 209, 0.25);
    border-radius: var(--radius);
    background: rgba(10, 22, 37, 0.78);
    padding: 0.95rem 1rem;
}

.screens-insight h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: #d9eafb;
}

.screens-insight p {
    margin: 0;
    color: #b8cfe2;
    line-height: 1.44;
    font-size: 0.9rem;
}

@media (min-width: 1024px) {
    #capturas img[data-lightbox-trigger] {
        cursor: zoom-in;
    }

    #capturas .screenshots-grid-top {
        margin-top: 1.5rem;
        row-gap: 1.2rem;
    }

    #capturas .screenshots-grid-top .screenshot-card.is-platform {
        width: 100%;
        max-width: none;
        padding: 1.25rem 1.25rem 1.1rem;
    }

    #capturas .screenshots-grid-top .screenshot-card.is-platform h3 {
        font-size: 1.22rem;
    }

    #capturas .screens-support-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 1.15rem;
        align-items: start;
    }

    #capturas .screens-support-grid .screens-support-card {
        width: 100%;
        max-width: none;
        justify-self: stretch;
        padding: 0.9rem 0.9rem 0.82rem;
    }

    #capturas .screens-support-grid .screens-support-card img {
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 0 0 0.55rem;
    }

    #capturas .screens-support-grid .screens-support-card h3 {
        font-size: 1rem;
        min-height: 2.7em;
    }

    #capturas .screens-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 1.05rem;
    }

    #capturas .screens-insight {
        padding: 1rem 1.05rem;
    }

    #capturas .screens-insight h3 {
        font-size: 0.98rem;
    }

    #capturas .screens-insight p {
        font-size: 0.92rem;
    }
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2.2rem;
    background: rgba(2, 8, 16, 0.84);
    backdrop-filter: blur(4px);
}

.product-lightbox.is-open {
    display: flex;
}

.product-lightbox-image {
    max-width: min(92vw, 1300px);
    max-height: 86vh;
    width: auto;
    height: auto;
    border-radius: 0.9rem;
    border: 1px solid rgba(150, 193, 228, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    background: #08121e;
}

.product-lightbox-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, 0.4);
    background: rgba(10, 23, 39, 0.88);
    color: #e9f4ff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
    background: rgba(20, 44, 71, 0.96);
}

body.lightbox-open {
    overflow: hidden;
}

.cta-final-box {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 2.4rem 1.2rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.16), transparent 48%),
        radial-gradient(circle at 85% 60%, rgba(45, 212, 191, 0.18), transparent 45%),
        rgba(8, 18, 32, 0.9);
}

.cta-final-box h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.cta-final-box p {
    max-width: 58ch;
    margin: 0 auto;
    color: var(--muted);
}

.cta-final-box .hero-actions {
    justify-content: center;
}

.legal-main .legal-content {
    padding-top: 1rem;
}

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

.legal-card h2 {
    font-size: 1.12rem;
    margin-bottom: 0.45rem;
}

.back-link {
    display: inline-flex;
    color: var(--accent-2);
    margin-bottom: 1.15rem;
}

.site-footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(147, 197, 253, 0.18);
    padding: 2.6rem 0 1.6rem;
    background: rgba(3, 9, 18, 0.8);
}

.footer-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-block h2 {
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.footer-block p {
    color: var(--muted);
    max-width: 40ch;
}

.footer-mail {
    display: inline-block;
    margin-top: 0.65rem;
    color: var(--accent-2);
}

.footer-langs,
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
}

.footer-langs a,
.footer-legal-links a {
    color: #d3e5f8;
    font-size: 0.92rem;
}

.footer-langs a[aria-current="true"] {
    color: var(--accent-2);
    font-weight: 700;
}

.footer-bottom {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(147, 197, 253, 0.18);
    color: var(--muted);
    font-size: 0.9rem;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
