:root {
    --bg: #060607;
    --bg-alt: #0e0f11;
    --bg-card: #131417;
    --fg: #ffffff;
    --muted: #a3a3ad;
    --muted-2: #75757e;
    --border: rgba(255, 255, 255, 0.09);
    --accent: #4f7cff;
    --accent-2: #7c5cff;
    --accent-fg: #ffffff;
    --teal: #2dd4bf;
    --radius: 14px;
    --radius-sm: 8px;
    --container: 1600px;
    --content: 900px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Lato', 'Segoe UI', Roboto, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.skip-link {
    position: absolute;
    top: -48px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 6, 7, 0.97);
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    margin: 0;
    padding: 0;
}

.nav-links ul a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.nav-links ul a:hover,
.nav-links ul a.active {
    color: var(--fg);
    border-bottom-color: var(--accent);
}

.nav-cta {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-secondary {
    background: transparent;
    color: var(--fg);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--fg);
}

.btn-lg {
    padding: 16px 30px;
    font-size: 16px;
}

/* ---------- Main / sections ---------- */
.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.section {
    width: 100%;
    padding: 88px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-tight {
    padding: 56px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.tag-software {
    display: inline-block;
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', Consolas, monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: rgba(79, 124, 255, 0.12);
    border: 1px solid rgba(79, 124, 255, 0.35);
    border-radius: 999px;
    padding: 7px 18px;
    margin-bottom: 20px;
}

.section-head {
    max-width: none;
    margin: 0 0 48px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-head h2 {
    font-size: 34px;
    margin: 0 0 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Hero (home) ---------- */
.hero {
    width: 100%;
    padding: 110px 0 90px;
    text-align: center;
}

.hero-inner {
    max-width: none;
    margin: 0 auto;
}

.hero-logo {
    width: 148px;
    height: 148px;
    margin: 0 auto 32px;
    border-radius: 30px;
}

.hero h1 {
    font-size: clamp(34px, 5.5vw, 68px);
    margin: 0 0 20px;
}

.hero .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 20px;
    color: var(--muted);
    line-height: 1.65;
    max-width: none;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-tagline {
    margin-top: 44px;
    font-size: 17px;
    font-weight: 700;
    color: var(--fg);
    padding-top: 24px;
    border-top: 1px solid var(--border);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Steps (flow) ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 17px;
    margin: 0 0 8px;
}

.step-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Process (home, sin cards) ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

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

.process-item {
    padding: 0 32px;
    border-left: 1px solid var(--border);
}

.process-item:first-child {
    border-left: none;
    padding-left: 0;
}

.process-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
}

.process-item h3 {
    font-size: 17px;
    margin: 0 0 10px;
}

.process-item p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Stats row ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 980px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 0 20px;
    border-left: 1px solid var(--border);
}

.stat:first-child {
    border-left: none;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- Cards grid ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(79, 124, 255, 0.14);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.card ul {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 8px 0 0;
    padding-left: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
    width: 100%;
    padding: 72px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.16), rgba(124, 92, 255, 0.12));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-band h2 {
    font-size: 28px;
    margin: 0 0 12px;
}

.cta-band p {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 28px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    width: 100%;
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(30px, 4.8vw, 54px);
    margin: 0 0 14px;
}

.page-hero p {
    color: var(--muted);
    font-size: 18px;
    max-width: none;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Prose / legal content ---------- */
.prose {
    max-width: var(--content);
    margin: 0 auto;
    padding: 64px 24px;
}

.prose h2 {
    font-size: 22px;
    margin: 40px 0 14px;
}

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

.prose p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 15.5px;
    margin: 0 0 14px;
}

.prose ul {
    color: var(--muted);
    line-height: 1.75;
    font-size: 15.5px;
    margin: 0 0 14px;
    padding-left: 20px;
}

.prose li {
    margin-bottom: 6px;
}

.prose strong {
    color: var(--fg);
}

.prose .meta {
    color: var(--muted-2);
    font-size: 13.5px;
    margin-bottom: 36px;
}

.page-content {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    padding: 64px 24px;
}

/* ---------- FAQ (accordion) ---------- */
.faq-list {
    max-width: var(--content);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 22px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-weight: 700;
    font-size: 15.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p, .faq-item ul {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 18px;
    padding-left: 0;
}

.faq-item ul {
    padding-left: 18px;
}

/* ---------- Support page ---------- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: var(--content);
    margin: 0 auto 12px;
}

.support-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.support-item h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-2);
    margin: 0 0 10px;
}

.support-item p, .support-item a {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}

.support-item a {
    color: var(--accent);
}

/* ---------- 404 ---------- */
.error-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px;
}

.error-page h1 {
    font-size: 96px;
    margin: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-page p {
    color: var(--muted);
    font-size: 17px;
    margin: 12px 0 28px;
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: var(--bg-alt);
    width: 100%;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--fg);
}

.footer-download {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-download h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin: 0 0 18px;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.btn-store:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.store-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-store span {
    display: flex;
    flex-direction: column;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.btn-store small {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
}

.btn-store-lg {
    padding: 22px 34px;
    gap: 18px;
    border-radius: var(--radius);
}

.btn-store-lg .store-icon {
    width: 38px;
    height: 38px;
}

.btn-store-lg span {
    font-size: 20px;
}

.btn-store-lg small {
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    color: var(--fg);
    border-color: var(--accent);
}

.footer-copy {
    margin: 0;
    color: var(--accent);
    font-size: 13.5px;
    font-weight: 600;
}

.footer-mark {
    position: absolute;
    right: 24px;
    bottom: 8px;
    z-index: 5;
    display: inline-flex;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.footer-mark:hover {
    opacity: 0.85;
}

.footer-mark img {
    display: block;
    height: 160px;
    width: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .process-item:nth-child(2n+1) {
        border-left: none;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .stat:nth-child(2n+1) {
        border-left: none;
    }

}

@media (max-width: 720px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 50;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 100px 24px 24px;
        gap: 24px;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100%;
    }

    .nav-links ul a {
        display: block;
        padding: 14px 4px;
        width: 100%;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }

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

    .hero {
        padding: 72px 0 56px;
    }

    .btn-store-lg {
        width: 100%;
        padding: 16px 22px;
        gap: 14px;
    }

    .btn-store-lg .store-icon {
        width: 30px;
        height: 30px;
    }

    .btn-store-lg span {
        font-size: 17px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .section {
        padding: 56px 0;
    }

    .steps,
    .cards-grid,
    .cards-grid.cols-2,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .process,
    .stats-row {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .process-item,
    .stat {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 24px;
    }

    .process-item:first-child,
    .stat:first-child {
        border-top: none;
        padding-top: 0;
    }

    .prose,
    .page-content {
        padding: 40px 20px;
    }

    .footer-inner {
        padding-bottom: 96px;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
    }

    .footer-mark {
        right: 12px;
        bottom: 8px;
    }

    .footer-mark img {
        height: 96px;
    }

    .error-page h1 {
        font-size: 64px;
    }
}
