/* =========================
   Ayudex Landing — Vanilla CSS
   ========================= */

:root {
    --bg: #070b18;
    --bg2: #0b1230;
    --card: rgba(255, 255, 255, 0.06);
    --stroke: rgba(255, 255, 255, 0.14);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.70);
    --muted2: rgba(255, 255, 255, 0.55);

    --blue: #2f6bff;
    --blue2: #00b7ff;
    --glow: rgba(47, 107, 255, 0.35);
    --shadow: 0 18px 70px rgba(0, 0, 0, 0.35);

    --r: 18px;
    --container: 1140px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f6f8ff;
        --bg2: #eef3ff;
        --card: rgba(10, 30, 80, 0.06);
        --stroke: rgba(10, 30, 80, 0.12);
        --text: rgba(8, 18, 40, 0.92);
        --muted: rgba(8, 18, 40, 0.70);
        --muted2: rgba(8, 18, 40, 0.78);

        --glow: rgba(47, 107, 255, 0.22);
        --shadow: 0 18px 70px rgba(20, 40, 90, 0.10);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--text);
    background: transparent;
    /* IMPORTANTE */
    overflow-x: hidden;
}

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* Background effects */
.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.grid {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(600px 400px at 50% 20%, #000 20%, transparent 70%);
    animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(72px);
    }
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.45;
    transform: translate3d(0, 0, 0);
}

.blob-a {
    left: -120px;
    top: 140px;
    background: radial-gradient(circle at 30% 30%, var(--blue), transparent 60%),
        radial-gradient(circle at 70% 70%, var(--blue2), transparent 55%);
    animation: blobA 10s ease-in-out infinite;
}

.blob-b {
    right: -160px;
    top: -100px;
    background: radial-gradient(circle at 30% 30%, var(--blue2), transparent 58%),
        radial-gradient(circle at 70% 70%, var(--blue), transparent 58%);
    animation: blobB 12s ease-in-out infinite;
}

@keyframes blobA {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, -20px) scale(1.08);
    }
}

@keyframes blobB {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-70px, 40px) scale(1.1);
    }
}

.noise {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.10));
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    overflow: visible;
}

@media (prefers-color-scheme: light) {
    .header {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.70),
                rgba(255, 255, 255, 0.30));
        border-bottom: 1px solid rgba(10, 30, 80, 0.10);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0;
    gap: 16px;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 1;
}

.brand.small {
    opacity: 0.95;
}

.brand-mark {
    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
    margin-top: -6px;
    /* ajusta para que quede centrado visual */
    margin-bottom: -6px;
}

.brand-mark-footer {

    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
    margin-top: -6px;
    /* ajusta para que quede centrado visual */
    margin-bottom: -6px;
}

.brand-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.brand-tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--muted);
    font-weight: 600;
}

.nav a {
    padding: 8px 10px;
    border-radius: 10px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    transform: translateY(-1px);
}

.header-cta {
    display: flex;
    gap: 10px;
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.hamburger span:nth-child(1) {
    top: 13px;
}

.hamburger span:nth-child(2) {
    top: 20px;
}

.hamburger span:nth-child(3) {
    top: 27px;
}

.hamburger.open span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    padding: 0 0 16px 0;
    gap: 10px;
    flex-direction: column;
}

.mobile-nav.open {
    display: flex;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
        border-color 0.2s ease;
}

.btn:active {
    transform: translateY(1px) scale(0.99);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    color: white;
    box-shadow: 0 18px 60px var(--glow);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 70px var(--glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--stroke);
    color: var(--text);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
}

.btn-shine {
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: radial-gradient(250px 120px at 20% 10%,
            rgba(255, 255, 255, 0.35),
            transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.btn-primary:hover .btn-shine {
    opacity: 1;
}

/* Hero */
.hero {
    padding: 70px 0 24px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.badge {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-weight: 700;
    width: fit-content;
    box-shadow: var(--shadow);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.16);
}

h1 {
    margin: 18px 0 12px 0;
    font-size: clamp(38px, 4.2vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.grad {
    background: linear-gradient(135deg, var(--blue2), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.stats {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.stat {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.stat-num {
    font-size: 22px;
    font-weight: 900;
}

.stat-label {
    color: var(--muted2);
    font-weight: 700;
    margin-top: 4px;
    font-size: 13px;
}

/* Hero card */
.hero-card {
    position: relative;
    min-height: 430px;
}

.glass {
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-card .glass {
    padding: 18px;
    transform-origin: center;
    animation: floatMain 6s ease-in-out infinite;
}

@keyframes floatMain {

    0%,
    100% {
        transform: translateY(0) rotate(-0.2deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.2deg);
    }
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--blue2);
    box-shadow: 0 0 0 0 rgba(0, 183, 255, 0.35);
    animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 183, 255, 0.45);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(0, 183, 255, 0);
    }
}

.chip {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.22);
    border: 1px solid rgba(47, 107, 255, 0.35);
}

@media (prefers-color-scheme: light) {
    .chip {
        color: rgba(10, 30, 80, 0.9);
    }
}

.card-body h3 {
    margin: 14px 0 10px 0;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.mini {
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
}

.mini-primary {
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.8), rgba(0, 183, 255, 0.7));
}

.card-footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted2);
}

.avatars {
    display: inline-flex;
    align-items: center;
}

.avatars img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    margin-left: -8px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.avatars span {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    margin-left: -8px;
}

.float-card {
    position: absolute;
    width: 180px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    display: flex;
    gap: 10px;
    align-items: center;
    animation: floatMini 5.5s ease-in-out infinite;
}

.float-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 14px 40px var(--glow);
}

.float-card p {
    margin: 0;
    line-height: 1.15;
}

.float-card span {
    color: var(--muted2);
    font-weight: 700;
    font-size: 12px;
}

.float-a {
    left: -14px;
    bottom: 34px;
    animation-delay: 0.2s;
}

.float-b {
    right: -12px;
    bottom: 34px;
    /* mismo nivel que la otra, ajusta a gusto */
    animation-delay: 0.8s;
}

@keyframes floatMini {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Sections */
.section {
    padding: 76px 0;
}

.section,
.section-alt,
.hero,
.footer {
    background: transparent;
}

.section-alt {
    position: relative;
    background: transparent;
}

.section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(900px 380px at 20% 0%,
            rgba(47, 107, 255, 0.10),
            transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%);
    filter: blur(14px);
    opacity: 0.9;
}

.section-head {
    max-width: 64ch;
}

.section-head h2 {
    margin: 0 0 10px 0;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.02em;
}

.sub {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* Steps */
.steps {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.step {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: radial-gradient(circle at 30% 20%, rgba(47, 107, 255, 0.20), transparent 55%);
    transform: rotate(10deg);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.step:hover::before {
    opacity: 1;
}

.step-num {
    font-weight: 900;
    color: var(--blue);
    opacity: 0.75;
}

.step h3 {
    margin: 10px 0 6px 0;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Feature cards */
.cards {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, background 0.22s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
}

.card-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
    display: block;
    color: var(--blue2);
}

/* Trust */
.trust {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: start;
}

.trust-list {
    margin: 18px 0 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-weight: 700;
}

.check {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 8px;
    margin-right: 10px;
    vertical-align: -3px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 14px 45px var(--glow);
}

.trust-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.trust-panel .panel {
    padding: 18px;
}

.panel h3 {
    margin: 0 0 10px 0;
}

.meter {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 800;
}

.bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    overflow: hidden;
    margin-top: 8px;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 18px 70px var(--glow);
}

.panel-note {
    margin-top: 14px;
    color: var(--muted2);
}

/* CTA */
.section-cta {
    padding: 86px 0;
}

.cta {
    display: flex;
    justify-content: center;
}

.cta-box {
    width: min(760px, 100%);
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: radial-gradient(900px 350px at 20% 0%, rgba(47, 107, 255, 0.20), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    text-align: center;
}

.cta-box h2 {
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.cta-box p {
    margin: 0 auto 18px auto;
    color: var(--muted);
    line-height: 1.6;
    max-width: 60ch;
}

.form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 10px;
}

input[type="email"] {
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    padding: 0 14px;
    color: var(--text);
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

@media (prefers-color-scheme: light) {
    input[type="email"]::placeholder {
        color: rgba(8, 18, 40, 0.45);
    }
}

input[type="email"]:focus {
    border-color: rgba(47, 107, 255, 0.55);
    box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.18);
    transform: translateY(-1px);
}

.fine {
    margin-top: 10px;
    color: var(--muted2);
}

/* FAQ */
.faq {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

details {
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    padding: 14px 16px;
}

summary {
    cursor: pointer;
    font-weight: 900;
    letter-spacing: -0.01em;
}

details p {
    margin: 10px 0 0 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 28px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.foot-right {
    display: flex;
    gap: 14px;
    color: var(--muted);
    font-weight: 800;
}

.foot-right a:hover {
    color: var(--text);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal.in {
    animation: pop 0.6s ease both;
}

@keyframes pop {
    from {
        transform: translateY(16px) scale(0.98);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

/* Accessibility helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================
   Propósito / Manifiesto (bonito)
   ========================= */

.purpose-hero {
    margin-top: 22px;
    padding: 22px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    overflow: hidden;
    position: relative;
}

.purpose-hero::before {
    content: "";
    position: absolute;
    inset: -120px;
    background: radial-gradient(circle at 20% 20%, rgba(47, 107, 255, 0.18), transparent 55%);
    transform: rotate(10deg);
    pointer-events: none;
}

.purpose-kicker {
    margin: 0 0 10px 0;
    color: var(--muted2);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.purpose-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.14);
}

.purpose-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.purpose-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.purpose-metrics {
    display: grid;
    gap: 10px;
    align-content: start;
}

.pm {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
}

.pm-n {
    font-weight: 950;
    letter-spacing: -0.01em;
}

.pm-l {
    margin-top: 4px;
    color: var(--muted2);
    font-weight: 800;
    font-size: 13px;
}

.purpose-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.purpose-card {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.purpose-card::before {
    content: "";
    position: absolute;
    inset: -90px;
    background: radial-gradient(circle at 30% 20%, rgba(47, 107, 255, 0.16), transparent 60%);
    transform: rotate(10deg);
    opacity: 0.8;
    pointer-events: none;
}

.pc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pc-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
}

.purpose-card h3 {
    margin: 0;
    letter-spacing: -0.01em;
}

.purpose-card ul {
    margin: 10px 0 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.65;
    display: grid;
    gap: 8px;
}

.pc-note {
    margin: 12px 0 0 0;
    color: var(--muted2);
    line-height: 1.6;
}

.purpose-danger {
    border-color: rgba(255, 255, 255, 0.16);
}

.purpose-danger::before {
    background: radial-gradient(circle at 30% 20%, rgba(0, 183, 255, 0.12), transparent 60%);
}

.purpose-bottom {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.purpose-strip {
    padding: 18px;
    border-radius: 22px;
}

.purpose-strip h3 {
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.purpose-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

/* =========================
   Purpose cards — "chulas" FX
   ========================= */

.fx-card {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

/* borde "neón" sutil */
.fx-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.55), rgba(0, 183, 255, 0.25), rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .45;
    pointer-events: none;
}

/* spotlight que se mueve */
.fx-card::before {
    content: "";
    position: absolute;
    inset: -140px;
    background:
        radial-gradient(circle at 20% 15%, rgba(47, 107, 255, 0.22), transparent 55%),
        radial-gradient(circle at 80% 55%, rgba(0, 183, 255, 0.16), transparent 60%);
    transform: rotate(10deg);
    opacity: .65;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

/* hover */
.fx-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.22);
}

.fx-card:hover::before {
    opacity: .9;
    transform: rotate(8deg) translateY(-10px);
}

/* icon pill con glow */
.fx-icon {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 18px 55px rgba(47, 107, 255, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    position: relative;
}

.fx-icon::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 20px;
    background: radial-gradient(circle at 30% 30%, rgba(47, 107, 255, 0.35), transparent 60%);
    filter: blur(10px);
    opacity: .9;
    pointer-events: none;
}

/* título más "premium" */
.fx-card h3 {
    font-size: 18px;
    letter-spacing: -0.02em;
}

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

/* lista con bullets pro */
.fx-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0 0;
    display: grid;
    gap: 10px;
}

.fx-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.55;
}

.fx-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 14px 45px rgba(47, 107, 255, 0.25);
    opacity: .95;
}

.fx-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    opacity: .9;
}

/* nota final más marcada */
.fx-card .pc-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--muted2);
}

/* variante "danger" (NO buscamos) con tono distinto */
.purpose-danger.fx-card::before {
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 183, 255, 0.18), transparent 55%),
        radial-gradient(circle at 80% 55%, rgba(47, 107, 255, 0.14), transparent 60%);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {

    .fx-card,
    .fx-card::before {
        transition: none !important;
    }

    .fx-card:hover {
        transform: none !important;
    }
}

.card-title {
    margin: 14px 0 10px 0;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* ====== Join / Colabora ====== */
.join-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.join-panel,
.join-formbox {
    padding: 20px;
    border-radius: 22px;
}

.join-kicker {
    margin: 0 0 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-weight: 800;
    width: fit-content;
}

.join-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.16);
}

.join-title {
    margin: 10px 0 12px 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.join-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-weight: 750;
}

.join-note {
    margin: 14px 0 0 0;
    color: var(--muted2);
    line-height: 1.6;
}

.join-formtitle {
    margin: 0 0 8px 0;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.join-formsub {
    margin: 0 0 14px 0;
    color: var(--muted);
    line-height: 1.6;
}

.join-form {
    display: grid;
    gap: 10px;
}

.join-row input,
.join-row select,
.join-row textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 700;
    outline: none;
    padding: 12px 14px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.join-row select {
    height: 46px;
    padding: 0 14px;
    appearance: none;
}

.join-row textarea {
    resize: vertical;
    min-height: 110px;
}

.join-row input:focus,
.join-row select:focus,
.join-row textarea:focus {
    border-color: rgba(47, 107, 255, 0.55);
    box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.18);
    transform: translateY(-1px);
}

.join-fine {
    margin: 0;
    color: var(--muted2);
}

/* =========================
   Responsive layout
   ========================= */

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

    .cards {
        grid-template-columns: 1fr;
    }

    .trust {
        grid-template-columns: 1fr;
    }

    .purpose-hero {
        grid-template-columns: 1fr;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .purpose-bottom {
        grid-template-columns: 1fr;
    }

    .join-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {

    .nav,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: inline-block;
    }
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .header-inner {
        height: 72px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 64px;
        height: 64px;
        margin-top: -2px;
        margin-bottom: -2px;
    }

    .brand-tag {
        display: none;
    }

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

    h1 {
        font-size: clamp(32px, 7vw, 44px);
    }

    .lead {
        font-size: 16px;
    }

    .badge {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .card-actions {
        flex-direction: column;
    }

    .card-actions .mini {
        width: 100%;
        justify-content: center;
    }

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

    .stat {
        padding: 12px;
    }

    .stat-num {
        font-size: 20px;
    }

    .hero-card {
        min-height: 360px;
    }

    .hero-card .glass {
        padding: 14px;
    }

    .float-card {
        display: none;
    }

    .section {
        padding: 56px 0;
    }

    .section-cta {
        padding: 64px 0;
    }

    .section-head {
        max-width: 52ch;
    }

    .cards,
    .steps,
    .purpose-grid,
    .purpose-bottom,
    .join-grid {
        gap: 12px;
    }

    .card,
    .step,
    .purpose-card,
    .pm,
    .join-panel,
    .join-formbox,
    .cta-box,
    .stat,
    .panel,
    details,
    .purpose-hero {
        padding: 16px;
    }

    .cta-box p {
        margin-bottom: 14px;
    }

    .trust-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .trust-actions .btn {
        width: 100%;
    }

    .mobile-nav {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .form {
        grid-template-columns: 1fr;
    }

    .join-row textarea {
        min-height: 96px;
    }

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

    .foot-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .brand-mark,
    .brand-mark-footer {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .brand-name {
        font-size: 16px;
    }
}
