*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #080C14;
    --bg2: #0D1424;
    --card: #131D2E;
    --border: rgba(255, 255, 255, 0.07);
    --accent: #22D3EE;
    --accent2: #818CF8;
    --gold: #F59E0B;
    --text: #F1F5F9;
    --muted: #64748B;
    --soft: #94A3B8;
    --radius: 16px;
    --font-head: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--accent);
    color: #000;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

img {
    height: 40px;
    border-radius: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--soft);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(34, 211, 238, 0.05);
}

.nav-cta {
    background: var(--accent);
    color: #000;
    padding: 9px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 20px 5%;
    gap: 4px;
    z-index: 99;
}

.mobile-menu a {
    color: var(--soft);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(34, 211, 238, 0.08) 0%, transparent 70%), radial-gradient(ellipse 60% 60% at 20% 80%, rgba(129, 140, 248, 0.07) 0%, transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.hero-tag::before {
    content: '●';
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--soft);
    max-width: 520px;
    margin-bottom: 48px;
    font-weight: 300;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.4);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(34, 211, 238, 0.05);
}

.hero-visual {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: min(420px, 40vw);
    animation: fadeUp 0.8s 0.2s ease both;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1;
}

.mock-card {
    background: rgba(13, 20, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 20px 24px;
    backdrop-filter: blur(12px);
}

.mock-card.main {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 211, 238, 0.1);
}

.mock-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mock-balance {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.mock-row:last-child {
    border-bottom: none;
}

.mock-cat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-name {
    font-size: 0.88rem;
    color: var(--soft);
}

.mock-amount {
    font-size: 0.88rem;
    font-weight: 600;
}

.mock-amount.neg {
    color: #F87171;
}

.mock-amount.pos {
    color: #34D399;
}

.mock-bar-wrap {
    margin-top: 12px;
}

.mock-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.mock-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
}

.mock-bar-fill {
    height: 100%;
    border-radius: 999px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* SECTIONS */
section {
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 5%;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 4px 12px;
    background: rgba(34, 211, 238, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-sub {
    color: var(--soft);
    font-size: 1.05rem;
    max-width: 540px;
    font-weight: 300;
}

/* ABOUT */
#about {
    background: var(--bg2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}

.feature-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateX(4px);
}

.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feat-title {
    font-weight: 700;
    font-size: 0.97rem;
    margin-bottom: 4px;
}

.feat-desc {
    font-size: 0.88rem;
    color: var(--soft);
    line-height: 1.5;
}

/* TEAM */
#quienes {
    background: var(--bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    border-color: rgba(34, 211, 238, 0.2);
    transform: translateY(-4px);
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.team-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--soft);
    line-height: 1.6;
}

.mission-strip {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(129, 140, 248, 0.06));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
}

.mission-strip blockquote {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    font-style: normal;
    max-width: 700px;
    margin: 0 auto;
}

.mission-strip blockquote span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PRIVACY */
#privacidad {
    background: var(--bg2);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.p-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s;
}

.p-card:hover {
    border-color: rgba(129, 140, 248, 0.3);
}

.p-card h3 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 12px;
}

.p-card p {
    font-size: 0.88rem;
    color: var(--soft);
    line-height: 1.65;
}

.p-card ul {
    list-style: none;
    margin-top: 8px;
}

.p-card ul li {
    font-size: 0.88rem;
    color: var(--soft);
    padding: 4px 0 4px 16px;
    position: relative;
}

.p-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent2);
}

.privacy-note {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    font-size: 0.88rem;
    color: var(--soft);
}

.privacy-note strong {
    color: var(--gold);
}

/* DOWNLOAD */
#descarga {
    background: var(--bg);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.dl-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.dl-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.06), transparent 70%);
    pointer-events: none;
}

.dl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.dl-card.windows::after {
    background: radial-gradient(ellipse at 50% 0%, rgba(129, 140, 248, 0.06), transparent 70%);
}

.dl-card.windows:hover {
    border-color: rgba(129, 140, 248, 0.3);
}

.dl-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
}





.dl-title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.dl-sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.dl-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.dl-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 14px;
    line-height: 1.5;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-download.ios {
    background: #fff;
    color: #000;
}

.btn-download.ios:hover {
    background: #e5e5e5;
}

.btn-download.android {
    background: #34D399;
    color: #000;
}

.btn-download.android:hover {
    background: #10B981;
}

.btn-download.windows {
    background: var(--accent2);
    color: #fff;
}

.btn-download.windows:hover {
    background: #6366F1;
}

.btn-download.disabled {
    background: rgba(255, 255, 255, 0.07);
    color: var(--muted);
    cursor: not-allowed;
    pointer-events: none;
}

.pwa-info {
    margin-top: 48px;
    padding: 28px 32px;
    background: rgba(129, 140, 248, 0.05);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.pwa-icon {
    font-size: 2.5rem;
}

.pwa-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pwa-desc {
    font-size: 0.88rem;
    color: var(--soft);
}

/* FOOTER */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 48px 5% 32px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width:900px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pwa-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width:600px) {
    .section-inner {
        padding: 70px 5%;
    }

    .mission-strip {
        padding: 32px 20px;
    }

    .dl-card {
        padding: 28px 20px;
    }
}